]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add __poll and __ppoll to libc.abilist
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e9142a17
AJ
12012-04-06 Andreas Jaeger <aj@suse.de>
2
3 * abilist/libc.abilist: Add __poll and __ppoll.
4
ff9f1c5f
DM
52012-04-05 David S. Miller <davem@davemloft.net>
6
dcd2ae90
DM
7 * scripts/check-local-headers.sh: Accept a host triplet in the
8 path matched by the exclude regexp.
9
993eb054
DM
10 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11 definition.
12 * sysdeps/powerpc/powerpc32/dl-machine.h
13 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14 * sysdeps/s390/s390-32/dl-machine.h
15 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16 * sysdeps/sparc/sparc32/dl-machine.h
17 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18 * sysdeps/sparc/sparc64/dl-machine.h
19 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20
ff9f1c5f
DM
21 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22 lazy binding.
48e2e132 23 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24 undefined symbol errors.
25
48e2e132 26 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27 DT_NEEDED entries.
28
e80d6f94
MM
292012-04-05 Michael Matz <matz@suse.de>
30
31 [BZ #13592]
32 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33
349fa79f
AJ
342012-04-05 Andreas Jaeger <aj@suse.de>
35
36 [BZ #13908]
37 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38 comment.
39
f402708f
KK
402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41
42 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43 which ROUND is no valid rounding mode.
44
2ecccfc9
KK
452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46
47 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48 read again.
49 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50
8a53f50f
KK
512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52
53 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54 an exception using FPU order intentionally.
55
562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57
58 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62
d653abb7
SJ
632012-04-05 Simon Josefsson <simon@josefsson.org>
64
65 [BZ #12340]
66 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67 EINVAL when BUFLEN is too smal.
68
c3b1bf7d
TS
692012-04-05 Thomas Schwinge <thomas@codesourcery.com>
70
71 [BZ #13553]
72 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74
b1aa60f3
AJ
752012-04-03 Andreas Jaeger <aj@suse.de>
76
c3b1bf7d 77 [BZ #13938]
67f60a26
AJ
78 * manual/setjmp.texi (System V contexts): Fix sentence.
79
b1aa60f3
AJ
80 [BZ #13926]
81 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
82 New macro for this case.
83 [!__GNUC__] (__bswap_64): New inline function for this case.
84 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85 * bits/byteswap.h: Likewise.
86 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
87 ull, guard with __GLIBC_HAVE_LONG_LONG.
88
89 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
90 __GLIBC_HAVE_LONG_LONG.
91
92 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
93 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
94
39c59c35
TMQMF
952012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
96
97 [BZ #13691]
98 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
99 inptr and inend, rather than using last_ch.
100
135ffda8
DM
1012012-04-02 David S. Miller <davem@davemloft.net>
102
103 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
104 * stdio-common/printf-parse.h (read_int): Change return type to
105 'int', return -1 on INT_MAX overflow.
106 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
107 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
108 overflows INT_MAX. Check for overflow of in-format-string precision
109 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
110 SIZE_MAX not INT_MAX for integer overflow test.
111 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
112 skip the construct in the format string but do not record anything.
113 * stdio-common/bug22.c: Adjust to test both width/prevision
114 INT_MAX overflow as well as total length INT_MAX overflow. Check
115 explicitly for proper errno values.
116
228c019e
TS
1172012-04-02 Thomas Schwinge <thomas@codesourcery.com>
118
302cadd3
TS
119 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
120 CHAR_MAX.
121 * string/test-strcmp.c [! WIDE]: Likewise.
122 * time/tst-mktime2.c: Likewise for INT_MAX.
123 * string/test-string.h: #include <sys/param.h> for MIN.
124
228c019e
TS
125 * csu/init-first.c (__libc_init_first): Call __ctype_init.
126 * sysdeps/i386/init-first.c (init): Likewise.
127 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
128 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
129 * sysdeps/sh/init-first.c (init): Likewise.
130
cfa633f5
UD
1312012-04-01 Ulrich Drepper <drepper@gmail.com>
132
133 * po/ru.po: Update from translation team.
d1635ef8 134 * po/vi.po: Likewise.
cfa633f5 135
6cd0a5ea
SP
1362012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
137
138 * resolv/nss_dns/dns-host.c: Merge copyright years.
139
4b43400f
LD
1402012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
141
142 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
143 Optimize memcpy with prefetch if
144 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
145 src, dst pointers have unequal 16 byte alignments.
146
48c41d04
SP
1472012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
148
149 [BZ #13928]
150 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
151 from a CNAME entry and return the minimum ttl for the query.
152 (gaih_getanswer_slice): Likewise.
153
b8dc394d
JL
1542012-03-30 Jeff Law <law@redhat.com>
155
156 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
157 due to long keys.
158 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
159 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
160
2f5a5ed0
JL
161 * resolv/nss_dns/dns-host.c: Update copyright year.
162
1d39e359
UD
1632012-03-30 Ulrich Drepper <drepper@gmail.com>
164
c030f70c 165 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 166 requests to save a system call. Fix check that all bytes are sent.
c030f70c 167
1d39e359
UD
168 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
169 comments for sendmmsg.
170
1712012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
172
173 [BZ #13691]
174 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
175 with only 1 character between 0x0041 and 0x01b0.
176 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
177 * wcsmbs/tst-mbsnrtowcs.c: New file.
178
20fde227
DM
1792012-03-29 David S. Miller <davem@davemloft.net>
180
181 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
182 small copies by hand.
183
984a4237
JL
1842012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
185
186 [BZ #13761]
187 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
188 _nss_compat_initgroups_dyn): Fall back to malloc/free
189 for large group memberships.
190
18c9d62b
DM
1912012-03-28 David S. Miller <davem@davemloft.net>
192
88d85d4f
DM
193 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
194 that branches into memcpy.
195 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
197 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
198 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
200 bits.
201 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
202 implementation too.
203 * sysdeps/sparc/mempcpy.S: New file.
204
e5aa83e1
DM
205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
206 the IFUNC routine in the libc case.
207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
208
88570753
DM
209 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
210 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
211 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
212 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
213 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
214 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
215 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
216 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
217
249d7567
DM
218 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
219 loop to 256 bytes instead of 64 bytes and fix test signedness.
220
18c9d62b
DM
221 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
222 * sysdeps/sparc/sparc32/Makefile: rather than here...
223 * sysdeps/sparc/sparc64/Makefile: and here.
224
05f3d1f6
UD
2252012-03-28 Ulrich Drepper <drepper@gmail.com>
226
227 * malloc/mallocbug.c: Avoid warnings about unused variables.
228
86ae07a8
JL
2292012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
230
231 [BZ #13760]
232 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
233 in the right place. Discard and retry query if response is
234 larger than input buffer size.
235
41bf21a1
JM
2362012-03-28 Joseph Myers <joseph@codesourcery.com>
237
d6270972
JM
238 [BZ #369]
239 [BZ #2678]
240 [BZ #3866]
241 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
242 x for large integer exponent.
243 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
244 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
245 sign of result as needed afterwards.
246 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
247 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
248 result for underflowing pow the same as for overflow.
249 (__kernel_standard_l): Handle powl overflow and underflow here
250 rather than calling __kernel_standard.
251 * math/libm-test.inc (pow_test): Add more tests.
252
414fca03 253 [BZ #3868]
41bf21a1
JM
254 [BZ #13879]
255 [BZ #13910]
256 [BZ #13911]
257 [BZ #13912]
258 [BZ #13913]
259 [BZ #13915]
260 [BZ #13916]
261 [BZ #13917]
262 [BZ #13918]
263 [BZ #13919]
264 [BZ #13920]
265 [BZ #13921]
266 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
267 * sysdeps/ieee754/k_standard.c: Include <float.h>.
268 (__kernel_standard_l): New function.
269 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
270 __kernel_standard.
271 * math/w_acosl.c (__acosl): Likewise.
272 * math/w_asinl.c (__asinl): Likewise.
273 * math/w_atan2l.c (__atan2l): Likewise.
274 * math/w_atanhl.c (__atanhl): Likewise.
275 * math/w_coshl.c (__coshl): Likewise.
276 * math/w_exp10l.c (__exp10l): Likewise.
277 * math/w_exp2l.c (__exp2l): Likewise.
278 * math/w_fmodl.c (__fmodl): Likewise.
279 * math/w_hypotl.c (__hypotl): Likewise.
280 * math/w_j0l.c (__j0l, __y0l): Likewise.
281 * math/w_j1l.c (__j1l, __y1l): Likewise.
282 * math/w_jnl.c (__jnl, __ynl): Likewise.
283 * math/w_lgammal.c (__lgammal): Likewise.
284 * math/w_log10l.c (__log10l): Likewise.
285 * math/w_log2l.c (__log2l): Likewise.
286 * math/w_logl.c (__logl): Likewise.
287 * math/w_powl.c (__powl): Likewise.
288 * math/w_remainderl.c (__remainderl): Likewise.
289 * math/w_scalbl.c (sysv_scalbl): Likewise.
290 * math/w_sinhl.c (__sinhl): Likewise.
291 * math/w_sqrtl.c (__sqrtl): Likewise.
292 * math/w_tgammal.c (__tgammal): Likewise.
293 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
294 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
295 * math/libm-test.inc (acos_test): Add more tests.
296 (acosh_test): Likewise.
297 (asin_test): Likewise.
298 (atanh_test): Likewise.
299 (exp_test): Likewise.
300 (exp10_test): Likewise.
301 (exp2_test): Likewise.
302 (expm1_test): Likewise.
303 (lgamma_test): Likewise.
304 (log_test): Likewise.
305 (log10_test): Likewise.
306 (log1p_test): Likewise.
307 (log2_test): Likewise.
308 (pow_test): Do not allow some spurious overflow exceptions.
309 (sqrt_test): Add more tests.
310 (tgamma_test): Likewise.
311 (y0_test): Likewise.
312 (y1_test): Likewise.
313 (yn_test): Likewise.
314
dd62fda6
AB
3152012-03-27 Anton Blanchard <anton@samba.org>
316
317 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
318 MAP_HUGETLB.
319 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
320 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
321 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
322
1e3cdfda
AJ
3232012-03-27 David S. Miller <davem@davemloft.net>
324
b855ab85
DM
325 * conform/Makefile: Run run-conformtest.sh using $(BASH).
326
1e3cdfda
AJ
327 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
328 have-as-vis3 check.
329
3302012-03-27 Andreas Jaeger <aj@suse.de>
331
332 * sysdeps/x86_64/elf/configure.in: Moved to ...
333 * sysdeps/x86_64/configure.in: ... here.
334 * sysdeps/x86_64/elf/start.S: Moved to ...
335 * sysdeps/x86_64/start.S: ... here.
336 * sysdeps/x86_64/elf/configure: Delete.
337
338 * sysdeps/x86_64/configure.in: Merge contents from
339 sysdeps/i386/configure.in (without i686 check).
340
341 * sysdeps/i386/elf/Versions: Merge into ...
342 * sysdeps/i386/Versions: ... this.
343 * sysdeps/i386/elf/Versions: Delete file.
344 * sysdeps/i386/elf/start.S: Moved to ...
345 * sysdeps/i386/start.S: ...here.
346 * sysdeps/i386/elf/configure.in: Merge into...
347 * sysdeps/i386/configure.in: ...here.
348 * sysdeps/i386/elf/configure.in: Delete file.
349 * sysdeps/i386/elf/configure: Delete file.
350
351 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
352 * debug/backtracesyms.c: ... here.
353 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
354 * debug/backtracesymsfd.c: ... here.
355 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
356 * sysdeps/generic/ifunc-sel.h: ... here.
357
358 * sysdeps/unix/i386/start.c: Delete file.
359 * sysdeps/unix/sparc/start.c: Delete file.
360 * sysdeps/unix/start.c: Delete file.
361
362 * sysdeps/sh/elf/configure.in: Moved to ...
363 * sysdeps/sh/configure.in: ... here.
364 * sysdeps/sh/elf/start.S: Moved to ...
365 * sysdeps/sh/start.S: ... here.
366 * sysdeps/sh/elf/configure: Delete file.
367
368 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
369 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
370 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
371 * sysdeps/powerpc/powerpc64/entry.h: ... here.
372 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
373 * sysdeps/powerpc/powerpc64/start.S: here.
374 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
375 * sysdeps/powerpc/powerpc64/Makefile: ... this.
376 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
377 * sysdeps/powerpc/powerpc64/configure.in: ... this.
378 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
379
380 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
381 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
382 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
383 * sysdeps/powerpc/powerpc32/start.S: ... here.
384 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
385 * sysdeps/powerpc/powerpc32/configure.in: ... this.
386 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
387
388 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
389 * sysdeps/powerpc/ifunc-sel.h: ... here.
390 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
391 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
392
393 * sysdeps/sparc/elf/configure.in: Moved to ...
394 * sysdeps/sparc/configure.in: ... here.
395 * sysdeps/sparc/elf/configure: Delete file.
396 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
397 * sysdeps/sparc/sparc32/start.S: ... here.
398 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
399 * sysdeps/sparc/sparc64/start.S: ... here.
400 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
401 * sysdeps/sparc/sparc32/Makefile: ... this.
402 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
403 * sysdeps/sparc/sparc64/Makefile: ... this.
404
405 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
406 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
407 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
408 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
409 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
410 * sysdeps/s390/s390-32/setjmp.S: ... here.
411 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
412 * sysdeps/s390/s390-32/configure.in: ... here.
413 * sysdeps/s390/s390-32/elf/configure: Delete file.
414 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
415 * sysdeps/s390/s390-32/start.S: ... here.
416
417 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
418 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
419 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
420 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
421 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
422 * sysdeps/s390/s390-64/setjmp.S: ... here.
423 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
424 * sysdeps/s390/s390-64/configure.in: ... here
425 * sysdeps/s390/s390-64/elf/configure: Delete file.
426 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
427 * sysdeps/s390/s390-64/start.S: ... here.
428 * sysdeps/s390/s390-64/elf/configure: Delete.
429
430 * configure.in: Remove support for elf directories in sysdeps.
431
432 * configure: Regenerated.
433 * sysdeps/i386/configure: Regenerated.
434 * sysdeps/powerpc/powerpc32/configure: Regenerated.
435 * sysdeps/powerpc/powerpc64/configure: Regenerated.
436 * sysdeps/s390/s390-32/configure: Regenerated.
437 * sysdeps/s390/s390-64/configure: Regenerated.
438 * sysdeps/sh/configure: Regenerated.
439 * sysdeps/sparc/configure: Regenerated.
440 * sysdeps/x86_64/configure: Regenerated.
441
a3f61311
AS
4422012-03-26 Andreas Schwab <schwab@linux-m68k.org>
443
c876e002
AS
444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
445
a3f61311
AS
446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
447 denormal result into account.
448
ac4c54f0
RM
4492012-03-25 Roland McGrath <roland@hack.frob.com>
450
451 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
452 Reported by Allan McRae <allan@archlinux.org>.
453
6a9b9c02
JL
4542012-03-23 Jeff Law <law@redhat.com>
455
456 * nss/getnssent.c (__nss_getent): Fix typo.
457
4c42a0c1
DM
4582012-03-23 David S. Miller <davem@davemloft.net>
459
460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
461
1532c7ac
L
4622012-03-23 H.J. Lu <hongjiu.lu@intel.com>
463
464 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
465 to pad to uint64_t for each field.
466 (dl_tls_index): Replace unsigned long with uint64_t.
467
3ff42526
PP
4682012-03-23 Daniel Jacobowitz <dmj@google.com>
469 Paul Pluzhnikov <ppluzhnikov@google.com>
470
471 [BZ #6528]
472 * grp/Makefile (otherlibs): Don't set it.
473 * inet/Makefile (otherlibs): Likewise.
474 * login/Makefile (otherlibs): Likewise.
475 * nscd/Makefile (otherlibs): Likewise.
476 * posix/Makefile (otherlibs): Likewise.
477 * pwd/Makefile (otherlibs): Likewise.
478 * rt/Makefile (otherlibs): Likewise.
479 * sunrpc/Makefile (otherlibs): Likewise.
480 * nss/Makefile (otherlibs): Likewise.
481 Add libnss_files to routines and static-only-routines.
482 ($(objpfx)getent): Remove rule.
483 * resolv/Makefile: Add libnss_dns and libresolv to routines and
484 static-only-routines.
485
7c69cd14
JM
4862012-03-22 Joseph Myers <joseph@codesourcery.com>
487
488 [BZ #13892]
489 * math/s_cexp.c: Include <float.h>.
490 (__cexp): Handle exp result overflowing not necessarily
491 overflowing both real and imaginary parts of result.
492 * math/s_cexpf.c: Likewise.
493 * math/s_cexpl.c: Likewise.
494 * math/libm-test.inc (cexp_test): Add more tests.
495 * sysdeps/i386/fpu/libm-test-ulps: Update.
496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
497
81b035fe
L
4982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
499
500 * include/link.h (ELFW): New macro.
501 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
502 Replace ELF64_R_TYPE with ELFW(R_TYPE).
503
1da7940c
L
5042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
505
506 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
507 with uint64_t.
508
b749dbb9
L
5092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
510
511 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
512 declaration.
513 (struct La_x32_retval): Likewise.
514
2ff87f3f
L
5152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
516
517 * sysdeps/x86_64/preconfigure.in: New file.
518 * sysdeps/x86_64/preconfigure: New generated file.
519
c0df8e69
JM
5202012-03-22 Joseph Myers <joseph@codesourcery.com>
521
48e44791
JM
522 [BZ #13824]
523 * math/e_exp2l.c: Include <float.h>.
524 (__ieee754_exp2l): Handle overflow and underflow cases
525 separately. Only pass fractional part of argument to
526 __ieee754_expl.
527 * math/libm-test.inc (exp2_test): Add more tests.
528
c0df8e69
JM
529 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
530 negating x to take absolute value.
531 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
532 Likewise.
533 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
534 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
535 Likewise.
536 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
537 computing low part if x was negated.
538 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
539
c8e43ba7
L
5402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
541
542 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
543 la_x32_gnu_pltexit.
544 (pltexit): Cast int_retval to ptrdiff_t.
545 * elf/tst-auditmod3b.c: Likewise.
546 * elf/tst-auditmod4b.c: Likewise.
547 * elf/tst-auditmod5b.c: Likewise.
548 * elf/tst-auditmod6b.c: Likewise.
549 * elf/tst-auditmod6c.c: Likewise.
550 * elf/tst-auditmod7b.c: Likewise.
551
552 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
553 and x32_gnu_pltexit.
554
555 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
556 __ELF_NATIVE_CLASS.
557 (La_x32_regs): New macro.
558 (La_x32_retval): Likewise.
559 (la_x32_gnu_pltenter): New function prototype.
560 (la_x32_gnu_pltexit): Likewise.
561
7998fa78
AS
5622012-03-21 Andreas Schwab <schwab@linux-m68k.org>
563
dcb33988
AS
564 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
565 exponent.
566
233fc563
AS
567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
568
7998fa78
AS
569 * configure.in (libc_cv_cc_nofma): Check for option to disable
570 generation of FMA instructions.
571 * configure: Regenerate.
572 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
573 * sysdeps/ieee754/dbl-64/Makefile: New file.
574 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
575 Remove brandred-fma4.
576 (CFLAGS-brandred-fma4.c): Remove.
577 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
578 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
579 define.
580 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
581 define.
582
8e95c99a
L
5832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
584
585 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
586 LLONG_MAX != LONG_MAX.
587 (_itoa_word): Use _ITOA_WORD_TYPE on value.
588 (_fitoa_word): Likewise.
589 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
590 LLONG_MAX != LONG_MAX.
591 * stdio-common/_itowa.h: Include <_itoa.h>.
592 (_itowa_word): Use _ITOA_WORD_TYPE on value.
593 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
594 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
595 only if not defined.
596 (_ITOA_WORD_TYPE): Likewise.
597 (_itoa_word): Use _ITOA_WORD_TYPE on value.
598 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
599
6f4db457
DM
6002012-03-21 David S. Miller <davem@davemloft.net>
601
602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
603
7785fe5a
L
6042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
605
606 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
607 of x86_64 when setting libc_cv_slibdir, libdir and
608 libc_cv_localedir.
609 * sysdeps/unix/sysv/linux/configure: Regenerated.
610
4535cd55
JM
6112012-03-21 Joseph Myers <joseph@codesourcery.com>
612
613 * manual/lang.texi (Old Varargs): Remove section.
614 (How Variadic): Update menu.
615 (va_start): Do not mention varargs.h.
616
17228132
TS
6172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
618 Joseph Myers <joseph@codesourcery.com>
619
620 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
621 link test.
622 * configure: Regenerated.
623
8149f976
TS
6242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
625
05f3d1f6
UD
626 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
627 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
628 conformtest.pl
8149f976 629
1a4ac776
JM
6302012-03-21 Joseph Myers <joseph@codesourcery.com>
631
be22ce65
JM
632 * NOTES: Remove.
633 * Makefile (files-for-dist): Remove NOTES.
634 (NOTES): Remove rule.
635 * README: Don't refer to NOTES.
636 * manual/creature.texi: Don't include macros.texi.
637 * manual/intro.texi (creature.texi): Remove comment referring to
638 NOTES.
639
40b601fb
JM
640 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
641 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
642 * configure: Regenerated.
643 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
644 LIBC_TRY_CC_OPTION.
645 (libc_cv_as_i686): Likewise.
646 (libc_cv_cc_avx): Likewise.
647 (libc_cv_cc_sse2avx): Likewise.
648 (libc_cv_cc_fma4): Likewise.
649 (libc_cv_cc_novzeroupper): Likewise.
650 * sysdeps/i386/configure: Regenerated.
651
1a4ac776
JM
652 [BZ #13883]
653 * sysdeps/i386/fpu/s_cexp.S: Remove.
654 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
655 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
656 * math/libm-test.inc (cexp_test): Add more tests.
657 * sysdeps/i386/fpu/libm-test-ulps: Update.
658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
659
a458e7fe
AM
6602012-03-21 Allan McRae <allan@archlinux.org>
661
662 * timezone/Makefile: Do not install iso3166.tab and zone.tab
663
0cb7efc5
JM
6642012-03-21 Joseph Myers <joseph@codesourcery.com>
665
666 [BZ #13871]
667 * math/w_exp2.c: Do not include <float.h>.
668 (o_threshold, u_threshold): Remove.
669 (__exp2): Calculate result before checking finiteness and calling
670 __kernel_standard.
671 * math/w_exp2f.c: Likewise.
672 * math/w_exp2l.c: Likewise.
673 * math/libm-test.inc (exp2_test): Require overflow exception for
674 1e6 input.
2460d3aa
JM
675
676 [BZ #3866]
677 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
678 range of signed 64-bit integers before using fistpll. Remove
679 checks for whether integers fit in mantissa bits.
680 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
681 the range of signed 32-bit integers before using fistpl. Remove
682 checks for whether integers fit in mantissa bits.
683 * sysdeps/i386/fpu/e_powl.S (p64): New object.
684 (__ieee754_powl): Test for y outside the range of signed 64-bit
685 integers before using fistpll. Reduce 64-bit values to 63-bit
686 ones as needed.
687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
688 divide-by-zero is raised for zero to large negative powers.
689 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
690 (__ieee754_powl): Test for y outside the range of signed 64-bit
691 integers before using fistpll. Reduce 64-bit values to 63-bit
692 ones as needed.
693 * math/libm-test.inc (pow_test): Add more tests.
694
eb96ffb0
L
6952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
696
697 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
698 <stdio-common/_itoa.h>.
699 * debug/segfault.c: Likewise.
700 * elf/dl-cache.c: Likewise.
701 * elf/dl-minimal.c: Likewise.
702 * elf/dl-misc.c: Likewise.
703 * elf/dl-sysdep.c: Likewise.
704 * elf/dl-version.c: Likewise.
705 * elf/rtld.c: Likewise.
706 * hurd/hurdsock.c: Likewise.
707 * hurd/lookup-retry.c: Likewise.
708 * malloc/malloc.c: Likewise.
709 * malloc/mtrace.c: Likewise.
710 * nscd/nscd_getgr_r.c: Likewise.
711 * nscd/nscd_getpw_r.c: Likewise.
712 * nscd/nscd_getserv_r.c: Likewise.
713 * posix/getopt_init.c: Likewise.
714 * posix/wordexp.c: Likewise.
715 * stdio-common/_itoa.c: Likewise.
716 * stdio-common/printf_fphex.c: Likewise.
717 * stdio-common/vfprintf.c: Likewise.
718 * string/_strerror.c: Likewise.
719 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
720 * sysdeps/i386/i686/hp-timing.h: Likewise.
721 * sysdeps/mach/_strerror.c: Likewise.
722 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
723 * sysdeps/mach/hurd/sethostid.c: Likewise.
724 * sysdeps/mach/hurd/xmknodat.c: Likewise.
725 * sysdeps/mach/xpg-strerror.c: Likewise.
726 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
727 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
728 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
729 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
730 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
731 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
732 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
733 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
734 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
735 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
736 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
737 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
738 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
739 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
740 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
741 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
742 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
743 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
744 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
745 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
746 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
747
748 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
749
750 * stdio-common/_itoa.h: Moved to ...
751 * sysdeps/generic/_itoa.h: Here.
752
753 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
754
755 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
756 instead of "_itoa.h" and "_itowa.h".
757 * stdio-common/vfprintf.: Likewise.
758
d1af992d
L
7592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
760
761 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
762 <bits/wordsize.h>.
763 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
764 (__signbit): Likwise.
765 (llrintf): Likwise.
766 (llrint): Likwise.
767
114883e0
L
7682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
769
770 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
771 __WORDSIZE != 64.
772
c135cc1b
JM
7732012-03-20 Joseph Myers <joseph@codesourcery.com>
774
775 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
776 OVERFLOW_EXCEPTION_OK.
777 * math/libm-test.inc ("Philosophy"): Update comment about
778 exception testing.
779 (OVERFLOW_EXCEPTION): Define.
780 (OVERFLOW_EXCEPTION_OK): Likewise.
781 (INVALID_EXCEPTION_OK): Renumber.
782 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
783 (IGNORE_ZERO_INF_SIGN): Likewise.
784 (test_exceptions): Handle FE_OVERFLOW.
785 (exp10_test): Expect overflow exceptions.
786 (exp2_test): Likewise.
787 (expm1_test): Likewise.
788 (nextafter_test): Likewise.
789 (pow_test): Likewise.
790 (scalbn_test): Likewise.
791 (scalbln_test): Likewise.
792
95443d88
L
7932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
794
795 * sysdeps/x86_64/bits/atomic.h
796 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
797 64bit integer.
798 (atomic_exchange_acq): Likewise.
799 (__arch_exchange_and_add_body): Likewise.
800 (__arch_add_body): Likewise.
801 (atomic_add_negative): Likewise.
802 (atomic_add_zero): Likewise.
803
490df6c4
L
8042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
805
c2722551 806 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
807 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
808
5e52b189
L
8092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
810
811 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
812 Check __x86_64__ instead of __WORDSIZE.
813
a9879d4c
L
8142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
815
816 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
817
5df98260
DM
8182012-03-19 David S. Miller <davem@davemloft.net>
819
e1497744
DM
820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
821
5df98260
DM
822 * sysdeps/sparc/fpu/fenv_private.h: New file.
823 * sysdeps/sparc/fpu/math_private.h: Use it.
824 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
825 Remove.
826 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
827 (libc_feholdexcept_setroundl): Remove.
828 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
829 Remove.
830 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
831 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
832
b4c35121
L
8332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
834
835 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
836 int64_t instead of long int.
837 (INSERT_WORDS64): Likwise.
838
56965fd7
L
8392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
840
841 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
842 _Unwind_GetCFA return to _Unwind_Ptr first.
843
83d1aec8
JM
8442012-03-19 Joseph Myers <joseph@codesourcery.com>
845
1897ad44
JM
846 [BZ #13629]
847 * math/s_clog.c: Include <float.h>.
848 (__clog): Scale large or subnormal inputs.
849 * math/s_clogf.c: Likewise.
850 * math/s_clogl.c: Likewise.
851 * math/s_clog10.c: Include <float.h>.
852 (M_LOG10_2): Define.
853 (__clog10): Scale large or subnormal inputs.
854 * math/s_clog10f.c: Likewise.
855 * math/s_clog10l.c: Likewise.
856 * math/libm-test.inc (clog_test): Add more tests.
857 (clog10_test): Likewise.
858 * sysdeps/i386/fpu/libm-test-ulps: Update.
859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
860
7726d6a9
JM
861 [BZ #11451]
862 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
863 x and y.
864 * math/libm-test.inc (atan2_test): Add another test.
865
83d1aec8
JM
866 * Makerules (common-objdir-compile): Remove.
867 * sysdeps/unix/Makefile (config-generated): Do not add
868 $(unix-generated) to variable.
869 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
870 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
871 Remove rule.
872 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
873 Likewise.
874 [generic bits/local_lim.h] (before-compile): Do not append to
875 variable.
876 [generic bits/local_lim.h] (common-generated): Likewise.
877 [generic sys/param.h] (before-compile): Do not append to variable.
878 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
879 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
880 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
881 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
882 include.
883 [generic sys/param.h] (sys/param.h-includes): Remove variable.
884 [generic sys/param.h] (sys/param.h-includes): Remove rule.
885 [generic sys/param.h] ($(addprefix
886 $(common-objpfx),$(sys/param.h-includes))): Likewise.
887 [generic sys/param.h] (common-generated): Do not append to
888 variable.
889 [generic sys/param.h] (sysdep_headers): Likewise.
890 [generic bits/errno.h] (before-compile): Do not append to
891 variable.
892 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
893 rule.
894 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
895 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
896 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
897 [generic bits/errno.h] (common-generated): Do not append to
898 variable.
899 [generic bits/ioctls.h] (before-compile): Do not append to
900 variable.
901 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
902 rule.
903 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
904 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
905 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
906 rule.
907 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
908 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
909 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
910 [generic bits/ioctls.h] (common-generated): Do not append to
911 variable.
912 [generic sys/syscall.h] (syscall.h): Remove variable.
913 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
914 rule.
915 [generic sys/syscall.h] (before-compile): Do not append to
916 variable.
917 [generic sys/syscall.h] (common-generated): Likewise.
918 * sysdeps/unix/errnos-tmpl.c: Remove file.
919 * sysdeps/unix/errnos.awk: Likewise.
920 * sysdeps/unix/ioctls-tmpl.c: Likewise.
921 * sysdeps/unix/ioctls.awk: Likewise.
922 * sysdeps/unix/mk-local_lim.c: Likewise.
923 * sysdeps/unix/snarf-ioctls: Likewise.
924
4851a949
RH
9252012-03-19 Richard Henderson <rth@twiddle.net>
926
bd37f2ee
RH
927 * sysdeps/i386/fpu/fenv_private.h: New file.
928 * sysdeps/i386/fpu/math_private.h: Use it.
929 (math_opt_barrier, math_force_eval): Remove.
930 (libc_feholdexcept_setround_53bit): Remove.
931 (libc_feupdateenv_53bit): Remove.
932 * sysdeps/x86_64/fpu/math_private.h: Likewise.
933 (math_opt_barrier, math_force_eval): Remove.
934 (libc_feholdexcept): Remove.
935 (libc_feholdexcept_setround): Remove.
936 (libc_fetestexcept, libc_fesetenv): Remove.
937 (libc_feupdateenv_test): Remove.
938 (libc_feupdateenv, libc_feholdsetround): Remove.
939 (libc_feresetround): Remove.
940
d0adc922
RH
941 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
942 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
943
0fe0f1f8
RH
944 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
945 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
946 (libc_feupdateenv_testl): New.
947 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
948 (libc_feupdateenv_testf): New.
949 (libc_feupdateenv): Use libc_feupdateenv_test.
950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
951 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
952
eb92c487
RH
953 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
954 (libc_feholdsetroundf, libc_feholdsetroundl): New.
955 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
956 (libc_feresetround_noex): New.
957 (libc_feresetround_noexf): New.
958 (libc_feresetround_noexl): New.
959 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
960 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
961 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
962 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
963 SET_RESTORE_ROUND.
964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
966 (__cos): Likewise.
967 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
968 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
969 SET_RESTORE_ROUND_NOEX.
970 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
971 SET_RESTORE_ROUND_NOEXF.
972 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
973 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
974 (libc_feholdsetroundf): New.
975 (libc_feresetround, libc_feresetroundf): New.
976
7d2e8012
RH
977 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
978 (libc_feholdexcept_setround_53bit): Convert from macro to function.
979 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
980
b4dabbb4
RH
981 * sysdeps/generic/math_private.h: Include <fenv.h>.
982 (default_libc_feholdexcept): New.
983 (default_libc_feholdexcept_setround): New.
984 (default_libc_fesetenv, default_libc_feupdateenv): New.
985 (libc_feholdexcept): Only define if undefined.
986 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
987 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
988 (libc_feholdexcept_setroundl): Likewise.
989 (libc_feholdexcept_setround_53bit): Likewise.
990 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
991 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
992 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
993 (libc_feupdateenv_53bit): Likewise.
994 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
995 (libc_feholdexcept): Convert from macro to inline function.
996 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
997 (libc_fesetenv, libc_feupdateenv): Likewise.
998
4851a949
RH
999 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1000 not previously defined.
1001 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1002 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1003 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1004 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1005 * sysdeps/ieee754/flt-32/math_private.h: New file.
1006 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1007 math_private.h below SET_FLOAT_WORD.
1008 (__isnan, __isinf_ns, __finite): Remove.
1009 (__isnanf, __isinf_nsf, __finitef): Remove.
1010
e79d442e
AS
10112012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1012
1013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1014
90b80344
DM
10152012-03-17 David S. Miller <davem@davemloft.net>
1016
1017 [BZ #6471]
1018 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1019 for 2.16.
1020
edc21804
DM
10212012-03-16 David S. Miller <davem@davemloft.net>
1022
77e927af
DM
1023 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1024 warnings.
1025
374976dd
DM
1026 [BZ #6471]
1027 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1028 properly.
1029 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1030 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1031 sysdep_routines when subdir is sysvipc.
1032 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1033 __getshmlba helper.
1034
edc21804
DM
1035 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1036
473c3ef3
L
10372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1040 [__LP64__].
1041
eb0f39b6
L
10422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1045 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1046 (__lround): Renamed to ...
1047 (__llround): This. Replace long int with long long int.
1048 Define lround functions as aliases of llround functions.
1049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1050
6b6cd74b
L
10512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1054 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1055 adresses to uintptr_t. Replace "long int" and "unsigned long
1056 int" with "greg_t" on va_arg.
1057
f1a77b01
L
10582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1059
1060 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1061 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1062
1063 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1064 Move e_machine check before EI_CLASS check. Handle x32
1065 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1066 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1067 SKIP_EM_IA_64 and include
1068 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1069
1070 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1071 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1072 (add_system_dir): New macro.
1073
1074 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1075 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1076
11b90b9f
JM
10772012-03-16 Joseph Myers <joseph@codesourcery.com>
1078
c36e1d23
JM
1079 [BZ #2551]
1080 [BZ #2552]
1081 [BZ #2553]
1082 [BZ #2554]
1083 [BZ #2562]
1084 [BZ #2563]
1085 [BZ #2565]
1086 [BZ #2566]
1087 [BZ #2576]
1088 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1089 (y0): Likewise.
1090 * math/w_j0f.c (j0f): Likewise.
1091 (y0f): Likewise.
1092 * math/w_j0l.c (__j0l): Likewise.
1093 (__y0l): Likewise.
1094 * math/w_j1.c (j1): Likewise.
1095 (y1): Likewise.
1096 * math/w_j1f.c (j1f): Likewise.
1097 (y1f): Likewise.
1098 * math/w_j1l.c (__j1l): Likewise.
1099 (__y1l): Likewise.
1100 * math/w_jn.c (jn): Likewise.
1101 (yn): Likewise.
1102 * math/w_jnf.c (jnf): Likewise.
1103 (ynf): Likewise.
1104 * math/w_jnl.c (__jnl): Likewise.
1105 (__ynl): Likewise.
1106 * math/libm-test.inc (j0_test): Add more tests.
1107 (j1_test): Likewise.
1108 (jn_test): Likewise. Add trailing semicolon to existing test.
1109 (y0_test): Likewise.
1110 (y1_test): Likewise.
1111 * sysdeps/i386/fpu/libm-test-ulps: Update.
1112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1113
11b90b9f
JM
1114 [BZ #13851]
1115 [BZ #13854]
1116 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1117 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1118 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1119 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1120 (__tanl): Set errno for infinite argument.
1121 * sysdeps/i386/fpu/mptan.c: Remove.
1122 * sysdeps/i386/fpu/s_tan.S: Likewise.
1123 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1124 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1125 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1126 * math/libm-test.inc (tan_test): Add more tests and enable more
1127 tests for double and long double.
1128 * sysdeps/i386/fpu/libm-test-ulps: Update.
1129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1130
6a1bd2a1
JK
11312012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1132
1133 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1134 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1135
10a803e0
RM
11362012-03-16 Roland McGrath <roland@hack.frob.com>
1137
1138 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1139 * configure.in: Use it for both main tree and add-ons.
1140 * configure: Regenerated.
1141
f196c7f7
L
11422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1145
8848d99d
JM
11462012-03-16 Joseph Myers <joseph@codesourcery.com>
1147
96cbe7f4
JM
1148 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1149 in comment.
1150
8848d99d
JM
1151 [BZ #13851]
1152 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1153 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1154 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1155 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1156 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1157 infinite argument.
1158 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1160 != 0 for prec == 2.
1161 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1162 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1163 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1164 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1165 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1166 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1167 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1168 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1169 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1170 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1171 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1172 * math/libm-test.inc (cos_test): Add more tests and enable more
1173 tests for long double.
1174 (sin_test): Likewise.
1175 (sincos_test): Likewise.
1176 * sysdeps/i386/fpu/libm-test-ulps: Update.
1177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1178
dd7f4703
DM
11792012-03-16 David S. Miller <davem@davemloft.net>
1180
1181 * sysdeps/sparc/fpu/math_private.h: New file.
1182
006f1daa
DM
11832012-03-15 David S. Miller <davem@davemloft.net>
1184
c0c83bc8
DM
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1186 file.
e6a62e18 1187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1189 file.
e6a62e18
DM
1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1196 sysdep routines.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1198
88cb87d9
DM
1199 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1200 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1201
006f1daa 1202 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1204 sparc-ifunc.h
006f1daa 1205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1207 Likewise.
1208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1209 Likewise.
006f1daa
DM
1210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1214 Likewise.
006f1daa
DM
1215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1220 Likewise.
1221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1222 Likewise.
006f1daa
DM
1223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1244 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1247
11e0098e
AS
12482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1249
1250 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1251 scaling.
1252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1253
e85b09d0
AJ
12542012-03-15 Andreas Jaeger <aj@suse.de>
1255
1256 [BZ #13852]
1257 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1258 ieee754/flt-32 implementation for sin, cos and sincos.
1259 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1260 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1261 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1262 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1263 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1264 ieee754/flt-32 implementation for tan.
1265
1266 * math/libm-test.inc (cos_test): Enable some large input tests for
1267 float as well
1268 (sin_test): Likewise.
1269 (sincos_test): Likewise.
1270 (tan_test): Add tests for large input.
1271
1272 * sysdeps/i386/fpu/libm-test-ulps: Update.
1273
81c64153
AJ
12742012-03-15 Andreas Jaeger <aj@suse.de>
1275
1276 [BZ #13658]
1277 * math/libm-test.inc (cos_test): Add more test cases.
1278 (sin_test): Likewise.
1279 (sincos_test): Likewise.
1280
7bbfa5c6
AJ
12812012-03-15 Andreas Jaeger <aj@suse.de>
1282
1283 [BZ #13837]
1284 * math/libm-test.inc (cos_test): Add a test case for large input
1285 value.
1286 (sin_test): Likewise.
1287 (sincos_test): Likewise.
1288
12892012-03-15 Andreas Jaeger <aj@suse.de>,
1290 Joseph Myers <joseph@codesourcery.com>
1291
1292 [BZ #13658]
0671f479 1293 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1294 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1295 * sysdeps/i386/fpu/branred.c: Likewise.
1296 * sysdeps/i386/fpu/dosincos.c: Likewise.
1297 * sysdeps/i386/fpu/mpa.c: Likewise.
1298 * sysdeps/i386/fpu/s_cos.S: Likewise.
1299 * sysdeps/i386/fpu/s_sin.S: Likewise.
1300 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1301 * sysdeps/i386/fpu/sincos32.c: Likewise.
1302
1303 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1304 Define.
1305 (libc_feupdateenv_53bit): Define.
1306 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1307 Define.
1308 (libc_feupdateenv_53bit): Define.
1309
1310 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1311 53 bit (without extend i386 double precision).
1312
1313 * math/libm-test.inc (sincos_test): Add tests for large input.
1314 (sin): Likewise.
1315 (cos): Likewise.
1316
1317 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1318
9cad04ea
AS
13192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1320
1321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1322
f7062b9a
DM
13232012-03-15 David S. Miller <davem@davemloft.net>
1324
1325 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1326 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1327 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1328 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1341 file.
f7062b9a 1342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1344 file.
f7062b9a 1345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1347 file.
f7062b9a 1348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1350 file.
f7062b9a
DM
1351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1353 fmin/fmax sysdep routines.
1354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1355
7bd951ff
DM
13562012-03-14 David S. Miller <davem@davemloft.net>
1357
559398ab
DM
1358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1381 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1387 routines.
1388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1389 file.
559398ab 1390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1392 file.
559398ab 1393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1395 file.
559398ab 1396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1398 file.
559398ab 1399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1401 file.
559398ab 1402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1404 file.
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1406 file.
1407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1408 file.
1409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1410 file.
1411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1412 New file.
1413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1414 file.
1415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1416 file.
559398ab 1417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1419 file.
559398ab 1420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1422 file.
559398ab 1423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1425 file.
559398ab 1426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1428 VIS3 routines.
559398ab
DM
1429
1430 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1431 New file.
1432
5a1c1e32
DM
1433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1434
eae47a36
DM
1435 * sysdeps/sparc/configure.in: New file.
1436 * sysdeps/sparc/configure: Generate.
1437 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1438 * configure: Regenerate.
1439 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1440 * config.make.in (have-as-vis3): New.
1441 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1442 available use -Av9d instead of -Av9a.
1443 * sysdeps/sparc/sparc64/Makefile: Likewise.
1444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1446 New file.
1447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1448 file.
1449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1450 New file.
1451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1452 file.
eae47a36
DM
1453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1458
c0c83bc8
DM
1459 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1460 fzeros/fnegs to load 0x80000000 into a float register instead of
1461 using the stack.
7bd951ff
DM
1462 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1463
bd951ccb
JM
14642012-03-14 Joseph Myers <joseph@codesourcery.com>
1465
1466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1467 bits/syscall.h.
1468 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1469 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1470 ($(inst_includedir)/bits/syscall.h): Remove rule.
1471 ($(objpfx)bits/syscall.d): Include instead of
1472 $(objpfx)syscall-list.d.
1473 (generated): Change syscall-list.h and syscall-list.d to
1474 bits/syscall.h and bits/syscall.d.
1475
bb4e6db2
RM
14762012-03-14 Roland McGrath <roland@hack.frob.com>
1477
1478 [BZ #13846]
1479 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1480
aa4a2ae1
JM
14812012-03-14 Joseph Myers <joseph@codesourcery.com>
1482
e456826d
JM
1483 [BZ #13841]
1484 * math/s_csqrt.c: Include <float.h>.
1485 (__csqrt): Scale large or subnormal inputs.
1486 * math/s_csqrtf.c: Likewise.
1487 * math/s_csqrtl.c: Likewise.
1488 * math/libm-test.inc (csqrt_test): Add more tests.
1489 * sysdeps/i386/fpu/libm-test-ulps: Update.
1490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1491
aa4a2ae1
JM
1492 [BZ #13840]
1493 * math/libm-test.inc (hypot_test): Add more tests.
1494
7c10fd35
DM
14952012-03-13 David S. Miller <davem@davemloft.net>
1496
1497 [BZ #13840]
1498 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1499 double-precision for the calculation instead of scaling.
1500
f453b98b
JM
15012012-03-13 Joseph Myers <joseph@codesourcery.com>
1502
1503 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1504 manipulate bits before adding and subtracting TWO52[sx].
1505 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1506 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1507 Likewise.
1508 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1509
09a3453f
DM
15102012-03-13 David S. Miller <davem@davemloft.net>
1511
8e59da90
DM
1512 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1513 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1515 rtld-global-offsets.h
1516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1517
2a8ab7f2
DM
1518 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1519 large parameters.
1520
10f62770
DM
1521 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1522
5f0bdb18
DM
1523 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1524 'err' in the ifdef scope in which it is actually used.
1525
09a3453f
DM
1526 * nss/nss_db/db-init.c: Include string.h
1527
b4b2eb5e
DM
15282012-03-12 David S. Miller <davem@davemloft.net>
1529
98bb2f1c
DM
1530 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1531 masking out of the most significant byte of random value used.
1532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1533 Fix coding style in previous change.
1534
b4b2eb5e
DM
1535 * sysdeps/unix/sysv/linux/kernel-features.h
1536 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1537 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1538 expression.
1539 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1540 later.
1541
6e226b09
DM
15422012-03-11 David S. Miller <davem@davemloft.net>
1543
a1bcbd40
DM
1544 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1545 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1546 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1547 for 'resultvar' otherwise things get truncated on 64-bit.
1548
cb9d6174
DM
1549 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1550 Fix masking out of the most significant byte of random value used.
1551
6e226b09
DM
1552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1553
058c132d
AS
15542012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1555
1556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1557
2d2cd515
DM
15582012-03-09 David S. Miller <davem@davemloft.net>
1559
1560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1561 variables with appropriate CPP guards.
1562 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1563 frame pointer, not the stack pointer. Correct layout comments. Fix test
1564 on resulting framesize and the management of the outregs buffer for pltexit.
1565 Preserve floating point return values across _dl_call_pltexit call.
1566 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1567 framesize and the management of the outregs buffer for pltexit.
1568 Preserve floating point return values across _dl_call_pltexit
1569 call.
1570 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1571 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1572 (print_exit): Fix format string for return register value.
1573
9a07f9d0
JM
15742012-03-10 Joseph Myers <joseph@codesourcery.com>
1575
1576 * sunrpc/Makefile (others): Add rpcgen.
1577 ($(objpfx)rpcgen): Remove special build rule and dependency on
1578 libc.
1579 * sunrpc/rpcgen.c: New file.
1580
547b5e30
PE
15812012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1582
c524201a
PE
1583 [BZ #13673]
1584 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1585 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1586 * sysdeps/i386/crti.S: Likewise.
1587 * sysdeps/i386/crtn.S: Likewise.
1588 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1589 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1590 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1591 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1592 * sysdeps/sh/crti.S: Likewise.
1593 * sysdeps/sh/crtn.S: Likewise.
1594 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1595
7b6235f2
PE
1596 [BZ #13673]
1597 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1598 with URL.
1599 * locale/programs/locfile-kw.gperf: Likewise.
1600 * locale/programs/charmap-kw.h: Regenerated.
1601 * locale/programs/locfile-kw.h: Likewise.
1602
547b5e30
PE
1603 [BZ #13673]
1604 * intl/plural.y: Replace FSF snail mail address with URL.
1605 * intl/plural.c: Regenerated.
1606
5f0a5dae
RH
16072012-03-09 Richard Henderson <rth@twiddle.net>
1608
1609 * include/math_private.h: Remove file.
1610 * math/math_private.h: Move file ...
1611 * sysdeps/generic/math_private.h: ... here.
1612
b8c03620
RH
1613 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1614 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1615 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1616
4e234f5d 1617 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1618 and <math_private.h>.
1619 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1620 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1621 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1622 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1623 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1624 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1625 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1627 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1628 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1630 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1631 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1633 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1634 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1636 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1637 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1638 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1641 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1643 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1644 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1645 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1651 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1652 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1653 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1654 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1655 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1656 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1657 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1659 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1660 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1661 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1662 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1664 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1665 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1666 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1667 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1668 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1669 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1670 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1671 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1672 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1673 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1674 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1675 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1676 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1677 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1678 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1680 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1683 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1684 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1686 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1688 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1689 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1690 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1707 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1708 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1709 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1710 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1711 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1712 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1713 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1714 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1715 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1716 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1718 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1719 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1720 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1721 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1722 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1723 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1724 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1725 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1726 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1727 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1729 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1730 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1731 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1732 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1733 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1734 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1735 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1736 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1737 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1738 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1740 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1741 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1742 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1743 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1744 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1745 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1746 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1747 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1748 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1749 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1750 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1751 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1752 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1753 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1755 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1756 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1757 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1758 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1759 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1760 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1761 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1762 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1763 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1764 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1765 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1766 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1767 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1768 * sysdeps/ieee754/k_standard.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1779 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1781 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1782 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1783 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1786 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1788 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1796 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1797 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1799 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1800 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1801 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1802 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1803 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1804 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1805 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1809 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1811 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1819 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1820 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1821 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1884 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1888 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1891 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1896 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1901 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1917 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1918 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1919 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1929 * sysdeps/ieee754/s_lib_version.c: Likewise.
1930 * sysdeps/ieee754/s_matherr.c: Likewise.
1931 * sysdeps/ieee754/s_signgam.c: Likewise.
1932 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1933 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1934 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1935 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1936 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1937 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1938 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1939 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1940 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1941 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1942 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1943 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1944 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1945 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1946 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1947 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1948 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1949 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1950 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1951 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1953
1991fa03
JM
19542012-03-09 Joseph Myers <joseph@codesourcery.com>
1955
1956 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1957 * sunrpc/rpc_main.c: Likewise.
1958 * sunrpc/rpc_svcout.c: Likewise.
1959
60d6f5a6
DM
19602012-03-09 David S. Miller <davem@davemloft.net>
1961
1962 * include/math_private.h: New file.
1963
4962050e
JM
19642012-03-09 Joseph Myers <joseph@codesourcery.com>
1965
02a6f887
JM
1966 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1967 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1968 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1969 from <bits/socket_type.h>.
1970 (enum __socket_type): Don't define here.
1971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1973 bits/socket_type.h.
1974
c6e013c1
JM
1975 [BZ #13566]
1976 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1977 checking __USE_GNU.
1978
4962050e
JM
1979 * Makerules ($(inst_includedir)/%.h): New rule.
1980 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1981 (install-others): Remove variable setting.
1982 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1983
38842f45
RH
19842012-03-08 Richard Henderson <rth@twiddle.net>
1985
67bb6da6
RH
1986 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1987 from macro to inline function; merge with the
1988 !__LIBC_INTERNAL_MATH_INLINES version.
1989 (__ieee754_sqrtf): Likewise.
1990
15194b4b
RH
1991 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1992 to inline function.
1993 (__rintf, __floor, __floorf): Likewise.
1994
64e21ede
RH
1995 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1996 macro to inline function.
1997 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1998
38842f45
RH
1999 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2000 not <math/math_private.h>.
2001
c64bf5fe
DM
20022012-03-08 David S. Miller <davem@davemloft.net>
2003
2004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2005 copyright year.
2006 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2007
82d86f28
TS
20082012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2009
2010 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2011 normalization.
2012 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2013 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2014
aea5d727
UD
20152012-03-08 Ulrich Drepper <drepper@gmail.com>
2016
2017 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2018 be defined individually, they must be defined as a block. Define
2019 S for printing a string instead of hidint the different by using a
2020 macro for adding the 'l'.
2021 * stdio-common/tst-fphex-wide.c: Adjust.
2022
70bca0a3
MP
20232012-03-07 Marek Polacek <polacek@redhat.com>
2024
2025 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2026
65b81130
MP
20272012-03-08 Marek Polacek <polacek@redhat.com>
2028
2029 [BZ #13806]
2030 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2031 * stdio-common/tst-fphex.c: Define a few macros to make the
2032 test reusable. Use them.
2033 * stdio-common/tst-fphex-wide.c: New file.
2034
07037eeb
JM
20352012-03-08 Joseph Myers <joseph@codesourcery.com>
2036
a7a93d50
JM
2037 [BZ #6911]
2038 * manual/macros.texi (gnusystems): New macro.
2039 (nongnusystems): Likewise.
2040 (gnulinuxhurdsystems): Likewise.
2041 (gnuhurdsystems): Likewise..
2042 (gnulinuxsystems): Likewise.
2043 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2044 variants of the GNU system, not "GNU system".
2045 * manual/conf.texi: Likewise.
2046 * manual/errno.texi: Likewise. Update example of errno macro
2047 expansion.
2048 * manual/filesys.texi: Likewise.
2049 (getumask): Document as specific to GNU/Hurd.
2050 * manual/install.texi: Likewise. Reword some references to
2051 GNU/Linux.
2052 * manual/intro.texi: Likewise.
2053 * manual/io.texi: Likewise.
2054 (File Name Portability): Detail which constraints are inapplicable
2055 to all GNU systems and which are only inapplicable to GNU/Hurd.
2056 * manual/job.texi: Likewise.
2057 * manual/llio.texi: Likewise.
2058 (O_NOCTTY): Document as present on GNU/Linux.
2059 * manual/maint.texi: Likewise.
2060 * manual/memory.texi: Likewise.
2061 * manual/pattern.texi: Likewise.
2062 * manual/pipe.texi: Likewise.
2063 * manual/process.texi: Likewise.
2064 * manual/resource.texi: Likewise.
2065 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2066 child on GNU/Hurd.
2067 * manual/setjmp.texi: Likewise.
2068 * manual/signal.texi: Likewise.
2069 * manual/startup.texi: Likewise.
2070 * manual/stdio.texi: Likewise.
2071 * manual/terminal.texi: Likewise.
2072 (ONLCR): Document as POSIX.
2073 (OXTABS): Document availability on GNU/Linux as XTABS.
2074 (ONOEOT): Document availability separately from other bits.
2075 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2076 * manual/time.texi: Likewise.
2077 * manual/users.texi: Likewise.
2078 * INSTALL: Regenerated.
2079 * sysdeps/gnu/errlist.c: Regenerated.
2080
07037eeb
JM
2081 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2082 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2083 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2084 puts.
2085 * configure: Regenerated.
2086
d1d3431a
JM
20872012-03-07 Joseph Myers <joseph@codesourcery.com>
2088
af6a1e37
JM
2089 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2090 default includes instead of AC_HEADER_CHECK.
2091 * sysdeps/i386/configure: Regenerated.
2092
d1d3431a
JM
2093 [BZ #10716]
2094 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2095 * math/s_cacoshf.c (__cacoshf): Likewise.
2096 * math/s_cacoshl.c (__cacoshl): Likewise.
2097 * math/s_casinh.c (__casinh): Set signs of result from argument.
2098 * math/s_casinhf.c (__casinhf): Likewise.
2099 * math/s_casinhl.c (__casinhl): Likewise.
2100 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2101 (casinh_test): Add more tests.
2102 * sysdeps/i386/fpu/libm-test-ulps: Update.
2103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2104
482ff4da
UD
21052012-03-07 Ulrich Drepper <drepper@gmail.com>
2106
872fda05
UD
2107 * po/zh_TW.po: Update from translation team.
2108
a4300c7a
UD
2109 * login/Makefile (distribute): Remove variable.
2110 * catgets/Makefile: Likewise.
2111 * mach/Makefile: Likewise.
2112 * malloc/Makefile: Likewise.
2113 * misc/Makefile: Likewise.
2114 * iconv/Makefile: Likewise.
2115 * nscd/Makefile: Likewise.
2116 * hurd/Makefile: Likewise.
2117 * manual/Makefile: Likewise.
2118 * locale/Makefile: Likewise.
2119 * intl/Makefile: Likewise.
2120 * conform/Makefile: Likewise.
2121 * nss/Makefile: Likewise.
2122 * time/Makefile: Likewise.
2123 * soft-fp/Makefile: Likewise.
2124 * dirent/Makefile: Likewise.
2125 * gmon/Makefile: Likewise.
2126 * po/Makefile: Likewise.
2127 * rt/Makefile: Likewise.
2128 * socket/Makefile: Likewise.
2129 * math/Makefile: Likewise.
2130 * signal/Makefile: Likewise.
2131 * debug/Makefile: Likewise.
2132 * elf/Makefile: Likewise.
2133 * timezone/Makefile: Likewise.
2134 * stdlib/Makefile: Likewise.
2135 * iconvdata/Makefile: Likewise.
2136 * sunrpc/Makefile: Likewise.
2137 * io/Makefile: Likewise.
2138 * argp/Makefile: Likewise.
2139 * inet/Makefile: Likewise.
2140 * hesiod/Makefile: Likewise.
2141 * grp/Makefile: Likewise.
2142 * csu/Makefile: Likewise.
2143 * wctype/Makefile: Likewise.
2144 * crypt/Makefile: Likewise.
2145 * libio/Makefile: Likewise.
2146 * string/Makefile: Likewise.
2147 * nis/Makefile: Likewise.
2148 * resolv/Makefile: Likewise.
2149 * stdio-common/Makefile: Likewise.
2150 * wcsmbs/Makefile: Likewise.
2151 * dlfcn/Makefile: Likewise.
2152 * posix/Makefile: Likewise.
2153
482ff4da
UD
2154 * timezone/Makefile: Don't install timezone files, just the programs
2155 and scripts.
2156
f72ed77d
UD
21572012-03-06 Ulrich Drepper <drepper@gmail.com>
2158
a000466f
UD
2159 * nss/databases.def: Add missing gshadow entry.
2160
f72ed77d
UD
2161 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2162
a53b7a4e
MP
21632012-03-06 Marek Polacek <polacek@redhat.com>
2164
2165 [BZ #13726]
2166 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2167 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2168 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2169 * stdio-common/tst-long-dbl-fphex.c: New file.
2170
e9258400
DM
21712012-03-06 David S. Miller <davem@davemloft.net>
2172
2173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2174 (set_obp_int): New function.
2175 (get_obp_int): New function.
2176 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2177 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2178 Avoid unused variable warnings on 'val' and use builtin_expect.
2179 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2180 __builtin_expect.
e9258400
DM
2181 (INLINE_CLONE_SYSCALL): Likewise.
2182
3bd2c723
DM
21832012-03-05 David S. Miller <davem@davemloft.net>
2184
2185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2186
bbb78d03
AS
21872012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2188
884c5db4
AS
2189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2190
bbb78d03
AS
2191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2192 only for |x| >= 40.
2193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2194
1c9f702a 21952012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2196
2197 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2198 Replace gettimeofday with __vdso_gettimeofday.
2199
7be16f82
RM
2200 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2201 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2202 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2203
2204 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2205 time with __vdso_time.
2206
ed58a00f
JM
22072012-03-05 Joseph Myers <joseph@codesourcery.com>
2208
2209 * manual/lang.texi (size_t): Note types to which size_t may be
2210 equivalent with the GNU C Library, but do not describe when
2211 differences between them are significant.
2212
30ee4ced
AJ
22132012-03-05 Andreas Jaeger <aj@suse.de>
2214
2215 * sysdeps/i386/fpu/libm-test-ulps: Update.
2216
b7cd39e8
JM
22172012-03-05 Joseph Myers <joseph@codesourcery.com>
2218
2219 [BZ #3976]
2220 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2221 (__ieee754_pow): Save and restore rounding mode and use
2222 round-to-nearest for main computations.
2223 * math/libm-test.inc (pow_test_tonearest): New function.
2224 (pow_test_towardzero): Likewise.
2225 (pow_test_downward): Likewise.
2226 (pow_test_upward): Likewise.
2227 (main): Call the new functions.
2228 * sysdeps/i386/fpu/libm-test-ulps: Update.
2229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2230
2231 [BZ #3976]
2232 * math/libm-test.inc (cosh_test_tonearest): New function.
2233 (cosh_test_towardzero): Likewise.
2234 (cosh_test_downward): Likewise.
2235 (cosh_test_upward): Likewise.
2236 (sinh_test_tonearest): Likewise.
2237 (sinh_test_towardzero): Likewise.
2238 (sinh_test_downward): Likewise.
2239 (sinh_test_upward): Likewise.
2240 (main): Call the new functions.
2241 * sysdeps/i386/fpu/libm-test-ulps: Update.
2242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2243
6c6a98c9
TV
22442012-03-05 Tom de Vries <tom@codesourcery.com>
2245
2246 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2247 default stack guard is set in last bytes.
2248 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2249
21bb2d2e 22502012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2251
21bb2d2e 2252 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2253
21bb2d2e
AJ
2254 [BZ #13656]
2255 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2256 possibly allocate from heap instead of stack.
2257 * stdio-common/bug-vfprintf-nargs.c: New file.
2258 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2259
c6922934
AS
22602012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2261
2262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2263
bc957d53
MP
22642012-03-03 Marek Polacek <polacek@redhat.com>
2265
2266 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2267 * math/math_private.h: Likewise.
2268 * stdlib/tst-strtod.c: Likewise.
2269 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2270 * sysdeps/x86_64/bits/atomic.h: Likewise.
2271
6358490d
DM
22722012-03-02 David S. Miller <davem@davemloft.net>
2273
2274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2278 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2279 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2280 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2281 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2282
01ae168d
RM
22832012-03-02 Roland McGrath <roland@hack.frob.com>
2284
d9a17c07
RM
2285 [BZ #13792]
2286 * manual/examples/README: New file, says the example source files
2287 can be used under GPL>=2.
2288 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2289 line containing just "*/".
2290 * manual/examples/add.c: Add copyright header (GPL>=2).
2291 * manual/examples/argp-ex1.c: Likewise.
2292 * manual/examples/argp-ex2.c: Likewise.
2293 * manual/examples/argp-ex3.c: Likewise.
2294 * manual/examples/argp-ex4.c: Likewise.
2295 * manual/examples/atexit.c: Likewise.
2296 * manual/examples/db.c: Likewise.
2297 * manual/examples/dir.c: Likewise.
2298 * manual/examples/dir2.c: Likewise.
2299 * manual/examples/execinfo.c: Likewise.
2300 * manual/examples/filecli.c: Likewise.
2301 * manual/examples/filesrv.c: Likewise.
2302 * manual/examples/fmtmsgexpl.c: Likewise.
2303 * manual/examples/genpass.c: Likewise.
2304 * manual/examples/inetcli.c: Likewise.
2305 * manual/examples/inetsrv.c: Likewise.
2306 * manual/examples/isockad.c: Likewise.
2307 * manual/examples/longopt.c: Likewise.
2308 * manual/examples/memopen.c: Likewise.
2309 * manual/examples/memstrm.c: Likewise.
2310 * manual/examples/mkfsock.c: Likewise.
2311 * manual/examples/mkisock.c: Likewise.
2312 * manual/examples/mygetpass.c: Likewise.
2313 * manual/examples/pipe.c: Likewise.
2314 * manual/examples/popen.c: Likewise.
2315 * manual/examples/rprintf.c: Likewise.
2316 * manual/examples/search.c: Likewise.
2317 * manual/examples/select.c: Likewise.
2318 * manual/examples/setjmp.c: Likewise.
2319 * manual/examples/sigh1.c: Likewise.
2320 * manual/examples/sigusr.c: Likewise.
2321 * manual/examples/stpcpy.c: Likewise.
2322 * manual/examples/strdupa.c: Likewise.
2323 * manual/examples/strftim.c: Likewise.
2324 * manual/examples/strncat.c: Likewise.
2325 * manual/examples/subopt.c: Likewise.
2326 * manual/examples/swapcontext.c: Likewise.
2327 * manual/examples/termios.c: Likewise.
2328 * manual/examples/testopt.c: Likewise.
2329 * manual/examples/testpass.c: Likewise.
2330 * manual/examples/timeval_subtract.c: Likewise.
2331
01ae168d
RM
2332 [BZ #13792]
2333 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2334 function to ...
2335 * manual/timeval_subtract.c.texi: ... here, new file.
2336
49efa33d
DM
23372012-03-02 David S. Miller <davem@davemloft.net>
2338
2339 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2340
28afd92d
JM
23412012-03-02 Joseph Myers <joseph@codesourcery.com>
2342
804360ed
JM
2343 [BZ #3976]
2344 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2345 (__sin): Save and restore rounding mode and use round-to-nearest
2346 for all computations.
2347 (__cos): Save and restore rounding mode and use round-to-nearest
2348 for all computations.
2349 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2350 <fenv.h>.
2351 (tan): Save and restore rounding mode and use round-to-nearest for
2352 all computations.
2353 * math/libm-test.inc (cos_test_tonearest): New function.
2354 (cos_test_towardzero): Likewise.
2355 (cos_test_downward): Likewise.
2356 (cos_test_upward): Likewise.
2357 (sin_test_tonearest): Likewise.
2358 (sin_test_towardzero): Likewise.
2359 (sin_test_downward): Likewise.
2360 (sin_test_upward): Likewise.
2361 (tan_test_tonearest): Likewise.
2362 (tan_test_towardzero): Likewise.
2363 (tan_test_downward): Likewise.
2364 (tan_test_upward): Likewise.
2365 (main): Call the new functions.
2366 * sysdeps/i386/fpu/libm-test-ulps: Update.
2367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2368
a6d06d7b
JM
2369 [BZ #10135]
2370 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2371 small n, then large n, before computing and testing k+n.
2372 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2374 Likewise.
2375 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2376 Likewise.
2377 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2378 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2379 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2380 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2381 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2382 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2383 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2384 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2385 * math/libm-test.inc (scalbn_test): Add more tests.
2386 (scalbln_test): Likewise.
2387
07e12bb3
JM
2388 * manual/filesys.texi (mode_t): Describe constraints on size and
2389 signedness, not exact equivalence to a particular type.
2390 (ino_t): Likewise.
2391 (ino64_t): Likewise.
2392 (dev_t): Likewise.
2393 (nlink_t): Likewise.
2394 (blkcnt_t): Likewise.
2395 (blkcnt64_t): Likewise.
2396 * manual/llio.texi (off_t): Likewise.
2397
28afd92d
JM
2398 [BZ #3976]
2399 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2400 (__ieee754_exp): Save and restore rounding mode and use
2401 round-to-nearest for all computations.
2402 * math/libm-test.inc (exp_test_tonearest): New function.
2403 (exp_test_towardzero): Likewise.
2404 (exp_test_downward): Likewise.
2405 (exp_test_upward): Likewise.
2406 (main): Call the new functions.
2407 * sysdeps/i386/fpu/libm-test-ulps: Update.
2408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2409
b1eeb65d
CD
24102012-03-01 Chris Demetriou <cgd@google.com>
2411
2412 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2413 have predictable order.
2414
53362a4b
DM
24152012-03-01 David S. Miller <davem@davemloft.net>
2416
3c969083
DM
2417 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2418
759707de
DM
2419 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2420 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2421 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2422 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2423
dfdb8ff2
DM
2424 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2425 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2426 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2428 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2429 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2430 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2431 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2432 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2433
ead89f96
DM
2434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2435
7f66bd07
DM
2436 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2437 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2438 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2439
53362a4b
DM
2440 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2441 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2442 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2443 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2444 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2447 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2448 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2449 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2450 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2451 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2453 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2456 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2457 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2458 * sysdeps/sparc/elf/configure: Regenerated.
2459
7b1902cb
JM
24602012-03-01 Joseph Myers <joseph@codesourcery.com>
2461
bec039bc
JM
2462 * configure.in (AS, LD): Require binutils 2.20 or later.
2463 * configure: Regenerated.
2464 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2465 as required minimum version.
2466 * INSTALL: Regenerated.
2467
7b1902cb
JM
2468 [BZ #2541]
2469 [BZ #4108]
2470 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2471 before squaring exponent.
2472 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2473 bottom long double and 27 bits of top long double before squaring
2474 exponent.
2475 * math/libm-test.inc (erfc_test): Add more tests.
2476 * sysdeps/i386/fpu/libm-test-ulps: Update.
2477 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2479
f775c276
KT
24802012-03-01 Kai Tietz <ktietz@redhat.com>
2481
2482 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2483 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2484 containing bit-fields.
2485 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2486 * soft-fp/single.h (_FP_UNION_S): Likewise.
2487 * soft-fp/double.h (_FP_UNION_D): Likewise.
2488
5b8a4d4a
JM
24892012-02-29 Joseph Myers <joseph@codesourcery.com>
2490
0bab47b6
JM
2491 [BZ #13786]
2492 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2493 not include ../strcmp.S.
2494 [USE_AS_STRNCASECMP_L]: Likewise.
2495 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2496 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2497 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2498 (__strncasecmp_l_ia32): Define as alias to
2499 __strncasecmp_l_nonascii.
2500
0fcad3e2
JM
2501 [BZ #5794]
2502 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2503 * sysdeps/i386/fpu/libm-test-ulps: Update.
2504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2505
5b8a4d4a
JM
2506 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2508
8fdceb2e
JL
25092012-02-29 Jeff Law <law@redhat.com>
2510
2511 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2512 out of bounds read.
2513
1f393a11
MP
25142012-02-29 Marek Polacek <polacek@redhat.com>
2515
2516 [BZ #13706]
2517 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2518 * elf/Makefile: Add rules to run tst-unused-dep.out.
2519
8847f037
DM
25202012-02-28 David S. Miller <davem@davemloft.net>
2521
2522 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2523 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2525 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2526 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2527 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2528
169d7f11
JM
25292012-02-29 Joseph Myers <joseph@codesourcery.com>
2530
2531 * math/libm-test.inc (llround_test): Move one test from
2532 lround_test. Use TEST_f_L in moved test.
2533 (lround_test): Move misplaced test to llround_test. Add testcase
2534 from bug 2561.
2535
39adf059
UD
25362012-02-28 Ulrich Drepper <drepper@gmail.com>
2537
2538 * sysdeps/x86_64/fpu/e_expf.S: New file.
2539 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2540
71b5d1c5
SB
25412012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2542
2543 [BZ #13637]
2544 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2545 of remain_len that may cause incomplete multi-byte character and
2546 false match.
2547 * posix/bug-regex33.c: New file.
2548 * posix/Makefile (tests): Add bug-regex33.
2549
1f77f049
JM
25502012-02-28 Joseph Myers <joseph@codesourcery.com>
2551
2552 * manual/macros.texi: New file.
2553 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2554 * manual/libc.texinfo: Include macros.texi.
2555 * manual/creatute.texi: Likewise.
2556 * manual/install.texi: Likewise.
2557 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2558 @glibcadj{} in references to the GNU C Library.
2559 * manual/charset.texi: Likewise.
2560 * manual/conf.texi: Likewise.
2561 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2562 when not using those macros.
2563 * manual/creature.texi: Likewise.
2564 * manual/crypt.texi: Likewise.
2565 * manual/errno.texi: Likewise.
2566 * manual/filesys.texi: Likewise.
2567 * manual/header.texi: Likewise.
2568 * manual/install.texi: Likewise.
2569 * manual/intro.texi: Likewise.
2570 * manual/io.texi: Likewise.
2571 * manual/job.texi: Likewise.
2572 * manual/lang.texi: Likewise.
2573 * manual/libc.texiinfo: Likewise.
2574 * manual/llio.texi: Likewise.
2575 * manual/locale.texi: Likewise.
2576 * manual/maint.texi: Likewise.
2577 * manual/math.texi: Likewise.
2578 * manual/memory.texi: Likewise.
2579 * manual/message.texi: Likewise.
2580 * manual/nss.texi: Likewise.
2581 * manual/pattern.texi: Likewise.
2582 * manual/process.texi: Likewise.
2583 * manual/resource.texi: Likewise.
2584 * manual/search.texi: Likewise.
2585 * manual/setjmp.texi: Likewise.
2586 * manual/signal.texi: Likewise.
2587 * manual/socket.texi: Likewise.
2588 * manual/startup.texi: Likewise.
2589 * manual/stdio.texi: Likewise.
2590 * manual/string.texi: Likewise.
2591 * manual/sysinfo.texi: Likewise.
2592 * manual/syslog.texi: Likewise.
2593 * manual/terminal.texi: Likewise.
2594 * manual/time.texi: Likewise.
2595 * manual/users.texi: Likewise.
2596 * INSTALL: Regenerated.
2597 * NOTES: Regenerated.
d40c5d54 2598 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2599
450bf206
AS
26002012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2601
2602 * include/dirent.h: Include <dirstream.h> before
2603 <dirent/dirent.h>.
2604
741a235b
DM
26052012-02-28 David S. Miller <davem@davemloft.net>
2606
2607 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2608 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2609 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2610 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2611
d6b5aa58
DM
26122012-02-27 David S. Miller <davem@davemloft.net>
2613
1aff59a3
DM
2614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2616 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2617 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2618
d6b5aa58
DM
2619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2620 frame pointer instead of stack pointer relative arg slot.
2621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2622 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2623 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2624
433f48bf
CD
26252012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2626
2627 [BZ #3992]
2628 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2629
d674b76d
DM
26302012-02-27 David S. Miller <davem@davemloft.net>
2631
2632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2636 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2637 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2638 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2639 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2640
0e7727f7
JM
26412012-02-27 Joseph Myers <joseph@codesourcery.com>
2642
2643 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2644 later. Allow versions 5-9.
43be4ca2 2645 * configure: Regenerated.
0e7727f7
JM
2646 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2647 required minimum version and 4.6 as recommended version. Do not
2648 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2649 * INSTALL: Regenerated.
0e7727f7 2650
a78bc654
DM
26512012-02-27 David S. Miller <davem@davemloft.net>
2652
428d5830
DM
2653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2657 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2658 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2659 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2660 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2661
a78bc654
DM
2662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2663 manipulate bits before adding and subtracting TWO112[sx].
2664 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2665
4579f81c
RM
26662012-02-27 Roland McGrath <roland@hack.frob.com>
2667
36c8acb4
RM
2668 [BZ #13775]
2669 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2670 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2671 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2672 being in POSIX, because they are in 1003.1-2008.
2673
84ad622b
RM
2674 * rt/tst-aio.c: Include <fcntl.h>.
2675 * rt/tst-aio7.c: Likewise.
2676 * rt/tst-aio64.c: Likewise.
2677
4579f81c
RM
2678 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2679
abd923db
JM
26802012-02-27 Joseph Myers <joseph@codesourcery.com>
2681
2682 * manual/install.texi (--with-headers): Describe headers as
2683 interface headers, not private headers.
2684 (Specific advice for GNU/Linux systems): Describe use of headers
2685 from "make headers_install", not private headers from older
2686 kernels.
43be4ca2 2687 * INSTALL: Regenerated.
abd923db
JM
2688 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2689 Change to 2.6.19.
2690 * sysdeps/unix/sysv/linux/configure: Regenerated.
2691
6664049b
JM
2692 * manual/llio.texi (fclean): Remove documentation.
2693
bb8b6697
JM
2694 * manual/Makefile (libc-texi-generated): New variable. Include
2695 version.texi.
2696 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2697 $(libc-texi-generated), not duplicated list of files.
2698 (version.texi, stamp-version): New rules.
2699 (realclean): Remove $(libc-texi-generated), not individual files
2700 from that list. Do not remove dir-add.texinfo.
2701 * manual/libc.texinfo: Comment out uses of edition numbers and
2702 references to printed manual. Remove last-updated dates.
2703 (EDITION): Comment out.
2704 (ISBN): Likewise.
2705 (VERSION, UPDATED): Remove.
2706 (version.texi): Include.
2707
12e5c3b9
AS
27082012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2709
2710 * sysdeps/posix/spawni.c: Include <signal.h>.
2711 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2712 * sysdeps/pthread/aio_fsync.c: Likewise.
2713
4efeffc1 27142012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2715
ba63ba08
UD
2716 * conform/Makefile (tests): Run only when not cross-compiling and
2717 when fast-check is not defined.
2718
d94a4670
UD
2719 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2720 * conform/data/limits.h-data: Fixes for POSIX2008.
2721 * conform/run-conformtest.sh: Run all tests.
2722 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2723 headers.
2724 * include/bits/dlfcn.h: Likewise.
2725 * include/langinfo.h: Likewise.
2726 * include/monetary.h: Likewise.
2727 * include/sys/poll.h: Likewise.
2728
2729 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2730 for __USE_GNU.
2731 * posix/spawn.h: Define __need_sigset_t.
2732 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2733 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2734 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2735 to get sigevent_t only.
2736 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2737 only for __USE_GNU.
2738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2739 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2740 process_vm_writev only for __USE_GNU.
2741 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2742
2743 * conform/Makefile: For now ignore errors from run-conformtest.
2744 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2745 POSIX to avoid namespace pollution. Don't prepend headers.
2746 * conform/data/aio.h-data: Fixes for POSIX testing.
2747 * conform/data/fcntl.h-data: Likewise.
2748 * conform/data/glob.h-data: Likewise.
2749 * conform/data/grp.h-data: Likewise.
2750 * conform/data/pthread.h-data: Likewise.
2751 * conform/data/pwd.h-data: Likewise.
2752 * conform/data/signal.h-data: Likewise.
2753 * conform/data/spawn.h-data: Likewise.
2754 * conform/data/stdio.h-data: Likewise.
2755 * conform/data/stdlib.h-data: Likewise.
2756 * conform/data/stropts.h-data: Likewise.
2757 * conform/data/sys/mman.h-data: Likewise.
2758 * conform/data/sys/stat.h-data: Likewise.
2759 * conform/data/sys/types.h-data: Likewise.
2760 * conform/data/sys/wait.h-data: Likewise.
2761 * conform/data/time.h-data: Likewise.
2762 * conform/data/unistd.h-data: Likewise.
2763 * conform/data/utime.h-data: Likewise.
2764
2765 * io/sys/stat.h: fchmod was always in POSIX.
2766 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2767 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2768 * rt/aio.h: Define __need_timespec before including <time.h>.
2769 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2770 struct. Add forward declaration of pthread_attr_t and use it in
2771 sigevent.
2772 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2773 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2774 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2775 always remove CLK_TCK definition.
2776
c20105c3
AS
27772012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2778
2779 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2780
7a270350
UD
27812012-02-25 Ulrich Drepper <drepper@gmail.com>
2782
31341567
UD
2783 * conform/run-conformtest.sh: New file.
2784 * conform/Makefile: Run run-conformtest for tests.
2785 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2786 support.
2787
2788 * conform/data/uchar.h-data: New file.
2789 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2790 * conform/data/arpa/inet.h-data: Likewise.
2791 * conform/data/assert.h-data: Likewise.
2792 * conform/data/complex.h-data: Likewise.
2793 * conform/data/cpio.h-data: Likewise.
2794 * conform/data/ctype.h-data: Likewise.
2795 * conform/data/dirent.h-data: Likewise.
2796 * conform/data/dlfcn.h-data: Likewise.
2797 * conform/data/errno.h-data: Likewise.
2798 * conform/data/fcntl.h-data: Likewise.
2799 * conform/data/float.h-data: Likewise.
2800 * conform/data/fmtmsg.h-data: Likewise.
2801 * conform/data/fnmatch.h-data: Likewise.
2802 * conform/data/ftw.h-data: Likewise.
2803 * conform/data/glob.h-data: Likewise.
2804 * conform/data/grp.h-data: Likewise.
2805 * conform/data/iconv.h-data: Likewise.
2806 * conform/data/inttypes.h-data: Likewise.
2807 * conform/data/langinfo.h-data: Likewise.
2808 * conform/data/libgen.h-data: Likewise.
2809 * conform/data/limits.h-data: Likewise.
2810 * conform/data/locale.h-data: Likewise.
2811 * conform/data/math.h-data: Likewise.
2812 * conform/data/monetary.h-data: Likewise.
2813 * conform/data/mqueue.h-data: Likewise.
2814 * conform/data/ndbm.h-data: Likewise.
2815 * conform/data/net/if.h-data: Likewise.
2816 * conform/data/netdb.h-data: Likewise.
2817 * conform/data/netinet/in.h-data: Likewise.
2818 * conform/data/nl_types.h-data: Likewise.
2819 * conform/data/poll.h-data: Likewise.
2820 * conform/data/pthread.h-data: Likewise.
2821 * conform/data/pwd.h-data: Likewise.
2822 * conform/data/regex.h-data: Likewise.
2823 * conform/data/sched.h-data: Likewise.
2824 * conform/data/search.h-data: Likewise.
2825 * conform/data/semaphore.h-data: Likewise.
2826 * conform/data/setjmp.h-data: Likewise.
2827 * conform/data/signal.h-data: Likewise.
2828 * conform/data/spawn.h-data: Likewise.
2829 * conform/data/stdarg.h-data: Likewise.
2830 * conform/data/stdio.h-data: Likewise.
2831 * conform/data/stdlib.h-data: Likewise.
2832 * conform/data/string.h-data: Likewise.
2833 * conform/data/strings.h-data: Likewise.
2834 * conform/data/stropts.h-data: Likewise.
2835 * conform/data/sys/ipc.h-data: Likewise.
2836 * conform/data/sys/mman.h-data: Likewise.
2837 * conform/data/sys/msg.h-data: Likewise.
2838 * conform/data/sys/resource.h-data: Likewise.
2839 * conform/data/sys/select.h-data: Likewise.
2840 * conform/data/sys/sem.h-data: Likewise.
2841 * conform/data/sys/shm.h-data: Likewise.
2842 * conform/data/sys/socket.h-data: Likewise.
2843 * conform/data/sys/stat.h-data: Likewise.
2844 * conform/data/sys/statvfs.h-data: Likewise.
2845 * conform/data/sys/time.h-data: Likewise.
2846 * conform/data/sys/timeb.h-data: Likewise.
2847 * conform/data/sys/times.h-data: Likewise.
2848 * conform/data/sys/types.h-data: Likewise.
2849 * conform/data/sys/uio.h-data: Likewise.
2850 * conform/data/sys/un.h-data: Likewise.
2851 * conform/data/sys/utsname.h-data: Likewise.
2852 * conform/data/sys/wait.h-data: Likewise.
2853 * conform/data/syslog.h-data: Likewise.
2854 * conform/data/tar.h-data: Likewise.
2855 * conform/data/termios.h-data: Likewise.
2856 * conform/data/utime.h-data: Likewise.
2857 * conform/data/utmpx.h-data: Likewise.
2858 * conform/data/varargs.h-data: Likewise.
2859 * conform/data/wchar.h-data: Likewise.
2860 * conform/data/wctype.h-data: Likewise.
2861 * conform/data/wordexp.h-data: Likewise.
2862
2863 * include/stropts.h: New file.
2864 * include/uchar.h: New file.
2865 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2866 * include/assert.h: Likewise.
2867 * include/ctype.h: Likewise.
2868 * include/dirent.h: Likewise.
2869 * include/dlfcn.h: Likewise.
2870 * include/fcntl.h: Likewise.
2871 * include/fnmatch.h: Likewise.
2872 * include/glob.h: Likewise.
2873 * include/grp.h: Likewise.
2874 * include/libio.h: Likewise.
2875 * include/locale.h: Likewise.
2876 * include/math.h: Likewise.
2877 * include/net/if.h: Likewise.
2878 * include/netdb.h: Likewise.
2879 * include/netinet/in.h: Likewise.
2880 * include/pthread.h: Likewise.
2881 * include/pwd.h: Likewise.
2882 * include/regex.h: Likewise.
2883 * include/sched.h: Likewise.
2884 * include/search.h: Likewise.
2885 * include/setjmp.h: Likewise.
2886 * include/signal.h: Likewise.
2887 * include/stdio.h: Likewise.
2888 * include/stdlib.h: Likewise.
2889 * include/string.h: Likewise.
2890 * include/sys/cdefs.h: Likewise.
2891 * include/sys/mman.h: Likewise.
2892 * include/sys/msg.h: Likewise.
2893 * include/sys/resource.h: Likewise.
2894 * include/sys/select.h: Likewise.
2895 * include/sys/socket.h: Likewise.
2896 * include/sys/stat.h: Likewise.
2897 * include/sys/statvfs.h: Likewise.
2898 * include/sys/time.h: Likewise.
2899 * include/sys/times.h: Likewise.
2900 * include/sys/uio.h: Likewise.
2901 * include/sys/utsname.h: Likewise.
2902 * include/sys/wait.h: Likewise.
2903 * include/termios.h: Likewise.
2904 * include/time.h: Likewise.
2905 * include/ulimit.h: Likewise.
2906 * include/unistd.h: Likewise.
2907 * include/utime.h: Likewise.
2908 * include/wchar.h: Likewise.
2909 * include/wctype.h: Likewise.
2910 * include/wordexp.h: Likewise.
2911
2912 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2913
7a270350
UD
2914 * time/time.h: TIME_UTC must be a macro.
2915 Make timespec_get available for ISO C11 only as well.
2916
7724defc
UD
29172012-02-24 Ulrich Drepper <drepper@gmail.com>
2918
2919 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2920 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2921
6b1d1d46
JM
29222012-02-24 Joseph Myers <joseph@codesourcery.com>
2923
2924 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2925
0f8bbd69
JM
29262012-02-24 Joseph Myers <joseph@codesourcery.com>
2927
2928 * manual/texinfo.tex: Update to version 2012-01-19.16.
2929
66ab80bc
JM
29302012-02-24 Joseph Myers <joseph@codesourcery.com>
2931
2932 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2933
74981cc5
RM
29342012-02-24 Roland McGrath <roland@hack.frob.com>
2935
ee968201
RM
2936 [BZ #13738]
2937 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2938 * manual/fdl-1.3.texi: New file.
2939 * manual/fdl-1.1.texi: File removed.
2940
74981cc5
RM
2941 [BZ #13738]
2942 * manual/libc.texinfo (FDL_VERSION): New @set.
2943 Use it for mention of FDL in cover text.
2944 (Documentation License): Use it in @include file name.
2945
7bb764bc
JM
29462012-02-22 Joseph Myers <joseph@codesourcery.com>
2947 Roland McGrath <roland@hack.frob.com>
2948
2949 [BZ #5461]
2950 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2951 not LONG_LONG_MAX and LONG_LONG_MIN.
2952 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2953 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2954 name.
2955 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2956
6cbeae47
JM
29572012-02-22 Joseph Myers <joseph@codesourcery.com>
2958
2959 [BZ #2547]
2960 [BZ #11365]
2961 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2962 manipulate bits before adding and subtracting TWO23[sx].
2963 * math/libm-test.inc (nearbyint_test): Add more tests.
2964
fe45ce09
JM
29652012-02-22 Joseph Myers <joseph@codesourcery.com>
2966
2967 [BZ #2548]
2968 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2969 bits before adding and subtracting TWO23[sx].
2970 * math/libm-test.inc (rint_test): Add more tests.
2971 (rint_test_tonearest): Likewise.
2972 (rint_test_towardzero): Likewise.
2973 (rint_test_downward): Likewise.
2974 (rint_test_upward: Likewise.
2975
ff3b3d82
JM
29762012-02-22 Joseph Myers <joseph@codesourcery.com>
2977
2978 [BZ #10110]
2979 * include/stdc-predef.h: New file. Extracted from features.h.
2980 * include/features.h: Include stdc-predef.h.
2981 * Makefile (headers): Add stdc-predef.h.
2982 * CONFORMANCE (Compiler limitations): Update.
2983
ef0aab35
JM
29842012-02-22 Joseph Myers <joseph@codesourcery.com>
2985
2986 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2987
58639409
DM
29882012-02-21 David S. Miller <davem@davemloft.net>
2989
2990 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2991 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2992
c0e70b25
DM
29932012-02-20 David S. Miller <davem@davemloft.net>
2994
2995 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2996 using a normal save/restore sequence, rather than allocating a
2997 dummy stack frame just to store a frame pointer and restore.
2998 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2999
fb06851d
JM
30002012-02-21 Joseph Myers <joseph@codesourcery.com>
3001
3002 * manual/install.texi: Fix stray word in line-wrapped comment.
3003
7a8b71c3
DM
30042012-02-20 David S. Miller <davem@davemloft.net>
3005
d510c123
DM
3006 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3007 both binutils and gcc support GOTDATA.
3008
0722d7c2
DM
3009 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3010 "rd %pc" in the PIC register setup sequences.
3011
3d2b3019
DM
3012 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3013 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3014 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3015 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3016 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3019 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3021 (SYSCALL_ERROR_HANDLER): Likewise.
3022 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3023 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3025 (SYSCALL_ERROR_HANDLER): Likewise.
3026
c80098a9
DM
3027 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3028 (HAVE_GCC_GOTDATA): New.
3029 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3030 relocation support in both binutils and gcc.
3031 * sysdeps/sparc/elf/configure: Regenerate.
3032
3a2545a0
DM
3033 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3034 * sysdeps/sparc/sparc32/elf/configure: Delete.
3035 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3036 * sysdeps/sparc/sparc64/elf/configure: Delete.
3037 * sysdeps/sparc/elf/configure.in: New file.
3038 * sysdeps/sparc/elf/configure: Generate.
3039
7a8b71c3
DM
3040 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3041 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3042 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3043 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3044 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3045
f1e86fca
JM
30462012-02-21 Joseph Myers <joseph@codesourcery.com>
3047
3048 * manual/install.texi: Do not mention specific glibc version
3049 numbers.
3050 * manual/libc.texinfo (VERSION, UPDATED): Update.
3051 (@copying): Use @copyright{} and range of years.
3052
0e7dfaef
JM
30532012-02-21 Joseph Myers <joseph@codesourcery.com>
3054
3055 [BZ #13695]
3056 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3057 [crti.S not in sysdirs] (generated): Do not append.
3058 [crti.S not in sysdirs] (omit-deps): Likewise.
3059 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3060 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3061 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3062 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3063 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3064 Likewise.
3065 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3066 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3067 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3068 * csu/defs.awk: Remove file.
3069 * sysdeps/generic/initfini.c: Likewise.
3070 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3071 variable.
3072 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3073 Likewise.
3074
599af3ca
JM
30752012-02-20 Joseph Myers <joseph@codesourcery.com>
3076
3077 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3078 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3079 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3080 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3081 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3082 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3083 <bits/epoll.h>.
3084 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3085 (__EPOLL_PACKED): Define to empty if not defined by
3086 <bits/epoll.h>.
3087 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3089 bits/epoll.h.
3090
0e499750
JM
30912012-02-20 Joseph Myers <joseph@codesourcery.com>
3092
3093 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3094 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3095 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3096 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3097 <bits/timerfd.h>.
3098 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3100 bits/timerfd.h.
3101
5ad91f6e
JM
31022012-02-20 Joseph Myers <joseph@codesourcery.com>
3103
3104 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3105 in C locale.
3106 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3107 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3110
06b99b02
AJ
31112012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3112
3113 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3114 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3115
7638c0fd
AS
31162012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3117
3118 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3119 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3120 defined.
3121 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3122 Likewise.
3123 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3124 entry for 2.16.
3125
92221550
AJ
31262012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3127
3128 * math/w_acos.c: Use non-signaling floating-point comparisons.
3129 * math/w_acosf.c: Likewise.
3130 * math/w_acosh.c: Likewise.
3131 * math/w_acoshf.c: Likewise.
3132 * math/w_acoshl.c: Likewise.
3133 * math/w_acosl.c: Likewise.
3134 * math/w_asin.c: Likewise.
3135 * math/w_asinf.c: Likewise.
3136 * math/w_asinl.c: Likewise.
3137 * math/w_atanh.c: Likewise.
3138 * math/w_atanhf.c: Likewise.
3139 * math/w_atanhl.c: Likewise.
3140 * math/w_exp2.c: Likewise.
3141 * math/w_exp2f.c: Likewise.
3142 * math/w_exp2l.c: Likewise.
3143 * math/w_j0.c: Likewise.
3144 * math/w_j0f.c: Likewise.
3145 * math/w_j0l.c: Likewise.
3146 * math/w_j1.c: Likewise.
3147 * math/w_j1f.c: Likewise.
3148 * math/w_j1l.c: Likewise.
3149 * math/w_jn.c: Likewise.
3150 * math/w_jnf.c: Likewise.
3151 * math/w_log.c: Likewise.
3152 * math/w_log10.c: Likewise.
3153 * math/w_log10f.c: Likewise.
3154 * math/w_log10l.c: Likewise.
3155 * math/w_log2.c: Likewise.
3156 * math/w_log2f.c: Likewise.
3157 * math/w_log2l.c: Likewise.
3158 * math/w_logf.c: Likewise.
3159 * math/w_logl.c: Likewise.
3160 * math/w_sqrt.c: Likewise.
3161 * math/w_sqrtf.c: Likewise.
3162 * math/w_sqrtl.c: Likewise.
3163 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3164 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3166 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3167 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3168
ebaf36eb
JM
31692012-02-19 Joseph Myers <joseph@codesourcery.com>
3170
3171 [BZ #9739]
3172 * manual/string.texi (strnlen): Use correct parameter name in
3173 equivalent expression.
3174
71c254a6
JM
31752012-02-19 Joseph Myers <joseph@codesourcery.com>
3176
3177 [BZ #11174]
3178 * manual/users.texi (seteuid): Consistently use neweuid for
3179 argument name.
3180
16d2c631
JM
31812012-02-19 Joseph Myers <joseph@codesourcery.com>
3182
3183 [BZ #13704]
3184 * manual/nss.texi (Services in the NSS configuration): Correct
3185 list of services in example configuration file.
3186
cd837b09
NB
31872012-02-19 Nick Bowler <nbowler@draconx.ca>
3188
3189 [BZ #11322]
3190 * manual/arith.texi: Remove statements about negative zero
3191 behaving identically to zero.
3192
02c4bbad
JM
31932012-02-18 Joseph Myers <joseph@codesourcery.com>
3194
3195 [BZ #5993]
3196 * manual/install.texi: Do not document upgrading from libc5.
3197
366842e7
JM
31982012-02-18 Joseph Myers <joseph@codesourcery.com>
3199
3200 [BZ #4596]
3201 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3202
dd54084d
DM
32032012-02-18 David S. Miller <davem@davemloft.net>
3204
3205 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3206 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3207 %o7 across the call.
3208 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3209 instead.
3210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3211 SETUP_PIC_REG_LEAF.
3212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3213 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3214 * sysdeps/sparc/crtn.S: Likewise.
3215
2bcc53a3
UD
32162012-02-17 Ulrich Drepper <drepper@gmail.com>
3217
3218 * aout/Makefile: Remove.
3219
09c093b5
RK
32202012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3221
3222 [BZ #13058]
3223 * manual/examples/argp-ex1.c (main): Format definition in GNU
3224 style.
3225 * manual/examples/argp-ex2.c (main): Likewise.
3226 * manual/examples/argp-ex3.c (main): Likewise.
3227 * manual/examples/argp-ex4.c (main): Likewise.
3228 * manual/examples/longopt.c (main): Use new-style prototype
3229 definition.
3230 * manual/examples/strncat.c (main): Specify return type and use
3231 (void) for arguments.
3232 * manual/examples/subopt.c (main): Use char **argv argument.
3233
2ee633a2
JM
32342012-02-17 Joseph Myers <joseph@codesourcery.com>
3235
3236 [BZ #5077]
3237 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3238 rounding modes.
3239
0520adde
FB
32402012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3241
3242 [BZ #6907]
3243 * manual/string.texi (strchr): Change when strchrnul is
3244 recommended.
3245
3f4081cd
DGM
32462012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3247
3248 [BZ #174]
3249 * manual/locale.texi (setlocale): Document LOCPATH.
3250
d1b10e78
JM
32512012-02-17 Joseph Myers <joseph@codesourcery.com>
3252
3253 [BZ #10210]
3254 * manual/process.texi (execle): Move @dots{} before last argument.
3255
79c6869c
PB
32562012-02-17 Paul Bolle <pebolle@tiscali.nl>
3257
3258 [BZ #12047]
3259 * manual/charset.texi (Generic Charset Conversion): Fix typo
3260 (LC_TYPE -> LC_CTYPE).
3261
cc6e48bc
NB
32622012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3263
3264 [BZ #5805]
3265 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3266 (scalbnf): Likewise.
3267 (scalbnl): Likewise.
3268 (scalbln): Likewise.
3269 (scalblnf): Likewise.
3270 (scalblnl): Likewise.
3271 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3272 (vwarnx): Likewise.
3273 (verr): Likewise.
3274 (verrx): Likewise.
3275 * manual/filesys.texi (telldir): Use braces around return type.
3276 * manual/llio.texi (mmap): Add space after comma.
3277 (mmap64): Likewise.
3278 * manual/math.texi (jn): Use @var{} on parameter names.
3279 (jnf): Likewise.
3280 (jnl): Likewise.
3281 (yn): Likewise.
3282 (ynf): Likewise.
3283 (ynl): Likewise.
3284 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3285 line.
3286 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3287 "...".
3288 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3289 (sched_get_priority_max): Likewise.
3290 * manual/signal.texi (sigvec): Add space after comma.
3291 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3292 names.
3293 (if_indextoname): Likewise.
3294 (if_freenameindex): Likewise.
3295 (sendto): Use ',' instead of '.' in prototype.
3296 * manual/startup.texi (syscall): Use @dots{} instead of literal
3297 "...".
3298 * manual/stdio.texi (__fpending): Separate initial words of
3299 paragraph from @deftypefun line.
3300 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3301 "...".
3302 (vsyslog): Use @var{} on parameter names.
3303 * manual/terminal.texi (stty): Use @var{} on parameter names.
3304 * manual/users.texi (getutmp): Use @var{} on parameter names.
3305 (getutmpx): Likewise.
3306
5b23062f
JM
33072012-02-17 Joseph Myers <joseph@codesourcery.com>
3308
3309 [BZ #6884]
3310 * manual/stdio.texi (fopen): Fix typos in description of
3311 ",ccs=STRING".
3312
8dee4833
AJ
33132012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3314
3315 [BZ #4026]
3316 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3317 get clock_id definition.
3318
9078ce93
TS
33192012-02-17 Thomas Schwinge <thomas@schwinge.name>
3320
3321 [BZ #4822]
3322 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3323 (madvise): Cast every argument to void on its own.
3324
3835c55f
JM
33252012-02-17 Joseph Myers <joseph@codesourcery.com>
3326
3327 [BZ #9902]
3328 * manual/startup.texi (Exit Status): Fix typo.
3329
35c47e37
JM
33302012-02-17 Joseph Myers <joseph@codesourcery.com>
3331
3332 [BZ #10140]
3333 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3334 * manual/examples/argp-ex2.c: Likewise.
3335 * manual/examples/argp-ex3.c: Likewise.
3336
e3b69ca7
RH
33372012-02-16 Richard Henderson <rth@redhat.com>
3338
3339 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3340 * sysdeps/s390/s390-32/initfini.c: Remove.
3341 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3342 * sysdeps/s390/s390-64/initfini.c: Remove.
3343
df83af67
KK
33442012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3345
3346 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3347 compiler output for sysdeps/generic/initfini.c.
3348 * sysdeps/sh/elf/initfini.c: Remove file.
3349
f63f3380
DM
33502012-02-16 David S. Miller <davem@davemloft.net>
3351
fb59b3a4
DM
3352 [BZ #11494]
3353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3354
f63f3380
DM
3355 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3356 * sysdeps/sparc/crti.S: New file.
3357 * sysdeps/sparc/crtn.S: New file.
3358 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3359 * sysdeps/sparc/sparc64/Makefile: Likewise.
3360
df6a4a4a
MF
33612012-02-15 Mike Frysinger <vapier@gentoo.org>
3362
6dd8f3dc 3363 [BZ #3335]
df6a4a4a
MF
3364 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3365
1cac7236
RM
33662012-02-15 Roland McGrath <roland@hack.frob.com>
3367
d2c736f8
RM
3368 [BZ #4822]
3369 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3370
1cac7236
RM
3371 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3372 (write, read, close): Likewise.
3373 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3374
8e475601
JM
33752012-02-15 Joseph Myers <joseph@codesourcery.com>
3376
3377 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3378 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3379 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3380 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3381 <bits/signalfd.h>.
3382 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3384 bits/signalfd.h.
3385
ed656b40
MP
33862012-02-14 Marek Polacek <polacek@redhat.com>
3387
3388 * sysdeps/x86_64/crti.S: New file.
3389 * sysdeps/x86_64/crtn.S: New file.
3390 * sysdeps/x86_64/elf/initfini.c: Remove file.
3391
2a979d3a
JM
33922012-02-13 Joseph Myers <joseph@codesourcery.com>
3393
3394 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3395 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3396 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3397 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3398 <bits/inotify.h>.
3399 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3401 bits/inotify.h.
3402
2a418ac3
JM
34032012-02-13 Joseph Myers <joseph@codesourcery.com>
3404
3405 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3406 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3407 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3408 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3409 <bits/eventfd.h>.
3410 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3412 bits/eventfd.h.
3413
fb779be7
TS
34142012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3415
e19e83c5
RM
3416 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3417 __feraiseexcept instead of feraiseexcept.
7c35ffed 3418
fb779be7
TS
3419 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3420 nanosleep invocations.
3421 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3422 strings, and add error checking for a nanosleep invocations.
3423
59ba27a6
PE
34242012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3425
3426 Replace FSF snail mail address with URLs, as per GNU coding standards.
3427 Most of the snail mail addresses were wrong anyway, and omitting
3428 them makes the source code easier to maintain. Almost all of the
3429 changes are to license notices and to locale LC_IDENTIFICATION
3430 addresses, except for this one:
3431 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3432 not its snail mail address.
3433
57b957eb
RH
34342012-02-09 Richard Henderson <rth@twiddle.net>
3435
af850b1c
RH
3436 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3437 of kernel-features.h.
3438
57b957eb
RH
3439 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3440
6b73181a
MP
34412012-02-08 Marek Polacek <polacek@redhat.com>
3442
3443 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3444 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3445 * sysdeps/gnu/_G_config.h: Likewise.
3446 * sysdeps/generic/_G_config.h: Likewise.
3447
26ecc33a
AS
34482012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3449
6c6dbc63
AS
3450 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3451 tests.
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3453
e216c012
AS
3454 * sysdeps/powerpc/powerpc32/crti.S: New file.
3455 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3456 * sysdeps/powerpc/powerpc64/crti.S: New file.
3457 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3458
26ecc33a
AS
3459 * Makeconfig (have-initfini): Don't set.
3460 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3461 * configure.in (nopic_initfini): Don't substitute.
3462 * config.h.in (HAVE_INITFINI): Don't #undef.
3463 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3464 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3465
3add8e13
JM
34662012-02-08 Joseph Myers <joseph@codesourcery.com>
3467
3468 Support crti.S and crtn.S provided directly by architectures.
3469 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3470 [crti.S in sysdirs] (omit-deps): Likewise.
3471 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3472 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3473 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3474 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3475 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3476 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3477 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3478 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3479 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3480 compiler output for sysdeps/generic/initfini.c.
3481 * sysdeps/i386/elf/Makefile: Remove file.
3482 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3483
a22f12b4
MP
34842012-02-07 Marek Polacek <polacek@redhat.com>
3485
3486 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3487 * sysdeps/gnu/_G_config.h: Likewise.
3488 * sysdeps/mach/hurd/_G_config.h: Likewise.
3489
148cf100
MP
34902012-02-07 Marek Polacek <polacek@redhat.com>
3491
3492 * math/Makefile (tests): Add tst-CMPLX2.
3493 * math/tst-CMPLX2.c: New file.
3494
cfdc0dd7
AS
34952012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3496
84ba42c4
AS
3497 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3498
cfdc0dd7
AS
3499 * math/libm-test.inc (jn_test): Add missing L suffix.
3500
622c86f4
MP
35012012-02-06 Marek Polacek <polacek@redhat.com>
3502
3503 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3504 * sysdeps/i386/fpu/e_powf.S: Likewise.
3505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3506 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3507 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3508 * sysdeps/i386/fpu/e_pow.S: Likewise.
3509 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3510 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3511 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3512 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3513 * sysdeps/i386/fpu/e_log2.S: Likewise.
3514 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3515 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3516 * sysdeps/i386/fpu/e_powl.S: Likewise.
3517 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3518 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3519 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3520 * sysdeps/i386/fpu/e_logl.S: Likewise.
3521 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3522 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3523 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3524 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3525 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3526 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3527 * sysdeps/i386/fpu/e_log.S: Likewise.
3528 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3529 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3530 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3531 * sysdeps/i386/fpu/e_logf.S: Likewise.
3532 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3533 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3534 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3535 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3536 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3537 * sysdeps/i386/fpu/e_log10.S: Likewise.
3538 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3539 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3540 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3541 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3542 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3543 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3544 * sysdeps/i386/asm-syntax.h: Likewise.
3545 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3546 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3547 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3548 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3549 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3550 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3551 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3552 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3553 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3554 * sysdeps/powerpc/sysdep.h: Likewise.
3555 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3556 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3557
d4a54ac6
JM
35582012-02-06 Joseph Myers <joseph@codesourcery.com>
3559
3560 [BZ #411]
3561 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3562
314054ea
JM
35632012-02-06 Joseph Myers <joseph@codesourcery.com>
3564
3565 * sysdeps/i386/sysdep.h: Include <features.h>.
3566 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3567 version.
3568
d8e0ca50
JM
35692012-02-05 Joseph Myers <joseph@codesourcery.com>
3570
3571 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3572 Define.
3573 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3574 LOAD_PIC_REG_STR.
3575
b1da7dd9
JM
35762012-02-03 Joseph Myers <joseph@codesourcery.com>
3577
3578 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3579 (SETUP_PIC_REG): Use GET_PC_THUNK.
3580 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3581 macro.
3582
9a1d9254
JM
35832012-02-03 Joseph Myers <joseph@codesourcery.com>
3584
3585 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3586 for non-PIC compilation.
3587 (SETUP_PIC_REG): Add .p2align directive.
3588 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3589 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3592 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3593 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3594 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3595 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3596 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3597 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3598 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3599 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3600 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3601 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3602 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3603 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3604 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3605 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3606 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3607 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3609 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3610 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3611 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3612 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3614 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3615 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3616 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3617 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3618 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3619 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3629
65dc3b75
JM
36302012-02-03 Joseph Myers <joseph@codesourcery.com>
3631
3632 * math/tst-CMPLX.c: Include <stdio.h>.
3633
d55bf177
JM
36342012-01-31 Joseph Myers <joseph@codesourcery.com>
3635
3636 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3637 float.
3638 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3639 * sysdeps/sparc/bits/mathdef.h: Likewise.
3640
69db4f8f
MP
36412012-01-31 Marek Polacek <polacek@redhat.com>
3642
3643 * libio/libio.h: Don't define _PARAMS.
3644 * locale/programs/config.h: Don't define PARAMS.
3645 * stdlib/strtol_l.c: Likewise.
3646 (__strtol_l): Remove PARAMS from the prototype.
3647
41b81892
UD
36482012-01-31 Ulrich Drepper <drepper@gmail.com>
3649
3b49edc0
UD
3650 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3651 names. Just use the correct names. Remove unnecessary wrapper
3652 functions.
3653 * malloc/arena.c: Likewise.
3654 * malloc/hooks.c: Likewise.
3655
41b81892
UD
3656 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3657 ARENA_TEST says not to. Simplify test for creation of a new arena.
3658 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3659
27a25b6e
UD
36602012-01-30 Ulrich Drepper <drepper@gmail.com>
3661
3662 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3663 into tail calls.
3664 (update_get_addr): New function.
3665 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3666 GET_ADDR_MODULE parameter.
3667
c8a89e7d
JM
36682012-01-30 Joseph Myers <joseph@codesourcery.com>
3669
3670 * crypt/cert.c: Remove __STDC__ conditionals.
3671 * crypt/crypt-entry.c: Likewise.
3672 * crypt/crypt_util.c: Likewise.
3673 * libio/filedoalloc.c: Likewise.
3674 * libio/fileops.c: Likewise.
3675 * libio/genops.c: Likewise.
3676 * libio/iofclose.c: Likewise.
3677 * libio/iofdopen.c: Likewise.
3678 * libio/iofopen.c: Likewise.
3679 * libio/iofopen64.c: Likewise.
3680 * libio/iogetdelim.c: Likewise.
3681 * libio/iopopen.c: Likewise.
3682 * libio/obprintf.c: Likewise.
3683 * libio/oldfileops.c: Likewise.
3684 * libio/oldiofclose.c: Likewise.
3685 * libio/oldiofdopen.c: Likewise.
3686 * libio/oldiofopen.c: Likewise.
3687 * libio/oldiopopen.c: Likewise.
3688 * libio/wfiledoalloc.c: Likewise.
3689 * libio/wgenops.c: Likewise.
3690 * locale/programs/xmalloc.c: Likewise.
3691 * misc/syslog.c: Likewise.
3692 * stdio-common/xbug.c: Likewise.
3693 * string/memchr.c: Likewise.
3694 * string/memcmp.c: Likewise.
3695 * string/memrchr.c: Likewise.
3696 * string/rawmemchr.c: Likewise.
3697 * sysdeps/posix/getcwd.c: Likewise.
3698 * time/strftime_l.c: Likewise.
3699
3b100462
JM
37002012-01-30 Joseph Myers <joseph@codesourcery.com>
3701
3702 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3703 * config.make.in (config-cflags-sse2avx): Define.
3704 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3705 Fix typo.
3706
607998af
CM
37072012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3708
3709 * scripts/config.guess: Update from upstream config git repository.
3710 * scripts/config.sub: Likewise.
3711
3601428f
CM
37122012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3713
3ac8b282
CM
3714 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3715 (EM_NUM): Update.
3716 (R_TILEPRO_*, R_TILEGX_*): New macros.
3717
e034841e
CM
3718 * scripts/firstversions.awk: Fix bug in version range handling.
3719
540d7568
CM
3720 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3721
3601428f
CM
3722 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3723
463de862
CM
3724 * include/sys/epoll.h: New file.
3725 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3726 libc_hidden_def.
3727
73139a76
UD
37282012-01-28 Ulrich Drepper <drepper@gmail.com>
3729
96bc5b45
UD
3730 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3731 Avoid unnecessary __WORDSIZE == 64 test.
3732 (fmaxf): Use VEX format if possible.
3733 (fmax): Likewise.
3734 (fminf): Likewise.
3735 (fmin): Likewise.
3736
56f6f6a2
UD
3737 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3738 * math/math_private.h: Remove libc_fegetround* and
3739 libc_fesetround*.
3740 * sysdeps/i386/configure.in: Check for -msse2avx.
3741 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3742 also if SSE2AVX is defined.
3743 Remove libc_fegetround* and libc_fesetround*.
3744 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3745 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3747 of HAS_YMM_USABLE.
3748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3749 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3751 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3753
73139a76
UD
3754 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3755
d73f93a4
AZ
37562012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3757
3758 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3759 size is not set.
3760 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3761
6ee65ed6
UD
37622012-01-27 Ulrich Drepper <drepper@gmail.com>
3763
3764 [BZ #13618]
3765 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3766 relocation.
3767 * Makeconfig (libm): Define.
3768 * elf/Makefile: Add rules to build and run tst-relsort1.
3769 * elf/tst-relsort1.c: New file.
3770 * elf/tst-relsort1mod1.c: New file.
3771 * elf/tst-relsort1mod2.c: New file.
3772
8db21882
JM
37732012-01-27 Joseph Myers <joseph@codesourcery.com>
3774
3775 * math/s_ldexp.c: Remove __STDC__ conditionals.
3776 * math/s_ldexpf.c: Likewise.
3777 * math/s_ldexpl.c: Likewise.
3778 * math/s_nextafter.c: Likewise.
3779 * math/s_nexttowardf.c: Likewise.
3780 * math/s_significand.c: Likewise.
3781 * math/s_significandf.c: Likewise.
3782 * math/s_significandl.c: Likewise.
3783 * math/w_jnl.c: Likewise.
3784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3798 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3803 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3804 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3805 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3806 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3807 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3808 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3809 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3810 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3811 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3812 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3813 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3814 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3815 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3816 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3817 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3818 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3819 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3820 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3821 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3822 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3823 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3824 * sysdeps/ieee754/k_standard.c: Likewise.
3825 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3832 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3886 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3891 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3899 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3900 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3904 * sysdeps/ieee754/s_matherr.c: Likewise.
3905 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3906 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3909
965a54a4
JM
39102012-01-26 Joseph Myers <joseph@codesourcery.com>
3911
3912 * crypt/md5.h: Remove __STDC__ conditionals.
3913 * libio/libioP.h: Likewise.
3914 * locale/programs/config.h: Likewise.
3915 * sysdeps/generic/sysdep.h: Likewise.
3916 * sysdeps/i386/asm-syntax.h: Likewise.
3917 * sysdeps/s390/asm-syntax.h: Likewise.
3918 * sysdeps/unix/sysdep.h: Likewise.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3921
7071ad79
JM
39222012-01-26 Joseph Myers <joseph@codesourcery.com>
3923
3924 * libio/libio.h: Remove __STDC__ conditionals.
3925 * malloc/obstack.h: Likewise.
3926 * math/complex.h: Likewise.
3927 * math/math.h: Likewise.
3928 * sysdeps/generic/_G_config.h: Likewise.
3929 * sysdeps/gnu/_G_config.h: Likewise.
3930 * sysdeps/mach/hurd/_G_config.h: Likewise.
3931 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3932 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3933 * sysdeps/sparc/bits/mathdef.h: Likewise.
3934
afc5ed09
UD
39352012-01-26 Ulrich Drepper <drepper@gmail.com>
3936
3937 [BZ #13583]
3938 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3939 Clean up HAS_* macros.
afc5ed09 3940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3941 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3942 possible.
3943 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3944 HAS_AVX.
3945 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3946 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3950
bdb6de1d
JM
39512012-01-25 Joseph Myers <joseph@codesourcery.com>
3952
3953 * elf/tst-unique3.cc (gets): Remove declaration.
3954 * elf/tst-unique3lib.cc (gets): Likewise.
3955 * elf/tst-unique3lib2.cc (gets): Likewise.
3956 * elf/tst-unique4.cc (gets): Likewise.
3957
b15549e6
UD
39582012-01-24 Ulrich Drepper <drepper@gmail.com>
3959
3960 * include/stdio.h: Add C++ protection. Add gets declarations and
3961 definitions.
3962 * debug/tst-chk1.c: Don't declare gets here.
3963 * stdio-common/tst-gets.c: Likewise.
3964
a037381f
JM
39652012-01-24 Joseph Myers <joseph@codesourcery.com>
3966
3967 * posix/glob: Remove directory.
3968
f1d4aa75
JM
39692012-01-24 Joseph Myers <joseph@codesourcery.com>
3970
3971 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3972
81c0c964
PT
39732012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3974
3975 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3976 of the non-standard EPFNOSUPPORT.
3977
0ea698ae
ST
39782011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3979
3980 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3981 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3982 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3983
d220b117
UD
39842012-01-21 Ulrich Drepper <drepper@gmail.com>
3985
3986 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3987
3e1aa84e
UD
39882012-01-20 Ulrich Drepper <drepper@gmail.com>
3989
3990 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3991 transient errors.
3992 * nscd/grpcache.c (cache_addgr): Likewise.
3993 * nscd/hstcache.c (cache_addhst): Likewise.
3994 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3995 * nscd/pwdcache.c (cache_addpw): Likewise.
3996 * nscd/servicescache.c (cache_addserv): Likewise.
3997
400aa020
UD
39982012-01-16 Ulrich Drepper <drepper@gmail.com>
3999
d77e7869
UD
4000 * malloc/malloc.c: Various cleanups.
4001 * malloc/hooks.c: Likewise.
4002
400aa020
UD
4003 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4004 * stdlib/bug-fmtmsg1.c: New file.
4005
4006 * stdlib/fmtmsg.c (init): Add missing unlock.
4007 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4008
e0a309cf
MP
40092012-01-12 Marek Polacek <polacek@redhat.com>
4010
4011 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4012 and _GNU_SOURCE.
4013
929d11c7
WS
40142012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4015
4016 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4017 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4018 macro to ensure uniqueness of label name.
4019 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4020 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4021
41d0e869
UD
40222012-01-11 Ulrich Drepper <drepper@gmail.com>
4023
0cc5ed3b
UD
4024 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4025
41d0e869
UD
4026 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4027 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4028 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4030
a47a831a
UD
40312012-01-10 Ulrich Drepper <drepper@gmail.com>
4032
daa891c0
UD
4033 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4034
4035 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4036 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4037 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4038
e58ef0f2
UD
4039 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4040
a47a831a 4041 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4042 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4043 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4044 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4045
4046 * math/bits/math-finite.h: Add ldexp support.
4047
a0bfc9c7
MP
40482012-01-10 Marek Polacek <polacek@redhat.com>
4049
4050 * locale/programs/localedef.h (show_archive_content): Add noreturn
4051 attribute.
4052
d6e97a1d
UD
40532012-01-09 Ulrich Drepper <drepper@gmail.com>
4054
4055 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4056
d5835c26
UD
40572012-01-08 Ulrich Drepper <drepper@gmail.com>
4058
e5f484c6
UD
4059 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4060
d5835c26
UD
4061 * io/Makefile (headers): Add bits/poll2.h.
4062
d1f741e9
WS
40632011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4064
4065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4066 typo #include statement.
4067
ec09c1c4
UD
40682012-01-08 Ulrich Drepper <drepper@gmail.com>
4069
4070 * include/sys/cdefs.h: Define __attribute_alloc_size.
4071 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4072 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4073 * elf/pldd.c: Likewise.
4074 * iconv/iconv_charmap.c: Likewise.
4075 * iconv/iconvconfig.c: Likewise.
4076 * iconv/strtab.c: Likewise.
4077 * locale/programs/locale.c: Likewise.
4078 * locale/programs/localedef.h: Likewise.
4079 * locale/programs/simple-hash.c: Likewise.
4080 * nscd/nscd.h: Likewise.
4081 * nss/makedb.c: Likewise.
4082 * sysdeps/generic/ldconfig.h: Likewise.
4083 * locale/programs/localedef.c: Remove xmalloc prototype.
4084 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4085
20b38e03
PP
40862012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4087
4088 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4089 appropriate.
4090
a0da5fe1
UD
40912012-01-08 Ulrich Drepper <drepper@gmail.com>
4092
1d5a644a 4093 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4094 * math/tst-CMPLX.c: New file.
1d5a644a 4095
8784a6db
UD
4096 * math/complex.h (CMPLXL): Fix typo.
4097
d9a216c0
UD
4098 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4099 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4100 GLIBC_2.16.
4101 * debug/tst-chk1.c: Add poll and ppoll tests.
4102 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4103 * include/sys/poll.h: Add hidden proto for ppoll.
4104 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4105 * sysdeps/mach/hurd/ppoll.c: Likewise.
4106 * io/ppoll.c: Likewise.
4107 * debug/poll_chk.c: New file.
4108 * debug/ppoll_chk.c: New file.
4109 * include/bits/poll2.h: New file.
4110 * io/bits/poll2.h: New file.
4111
ac097f5c
UD
4112 [BZ #1350]
4113 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4114
2119dcfa
UD
4115 * configure.in: static is always set to yes. Remove.
4116 * config.make.in: Don't set build-static.
4117 * Makeconfig: Remove use of build-static.
4118 * dlfcn/Makefile: Likewise.
4119 * elf/Makefile: Likewise.
4120 * math/Makefile: Likewise.
4121 * misc/Makefile: Likewise.
4122 * nptl/Makefile: Likewise.
4123 * sysdeps/mach/hurd/Makefile: Likewise.
4124
121766a9
UD
4125 * configure.in: PWD_P is not used anymore.
4126 * config.make.in: Remove PWD_P entry.
4127
51a1d39c 4128 * configure.in: Remove last remnants of RANLIB.
8720d066 4129 No need to check for signed size_t anymore.
215f4bdc
UD
4130 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4131 and IA-64.
3857022a 4132 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4133 * aclocal.m4: Likewise.
4134
d3ed7225
UD
4135 * wcsmbs/mbrtoc16.c: Implement using towc function.
4136 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4137 * wcsmbs/wcsmbsload.c: Likewise.
4138 * iconv/gconv_simple.c: Likewise.
4139 * iconv/gconv_int.h: Likewise.
4140 * iconv/gconv_builtin.h: Likewise.
4141 * iconv/iconv_prog.c: Remove CHAR16 handling.
4142
4143 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4144
4145 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4146
a0da5fe1
UD
4147 * configure.in: Remove --with-elf and --enable-bounded options.
4148 Dont set base_machine for ia64. More non-ELF conditions removed.
4149 Remove testing and setting of leading underscore information.
4150 * config.make.in (build-bounded): Set to no.
4151 * config.h.in: Remove NO_UNDERSCORES entry.
4152 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4153 them.
4154 * csu/start.c: Remove !NO_UNDERSCORE code.
4155 * locale/localeinfo.h: Likewise.
4156 * sysdeps/generic/machine-gmon.h: Likewise.
4157 * sysdeps/generic/sysdep.h: Likewise.
4158 * sysdeps/i386/sysdep.h: Likewise.
4159 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4160 * sysdeps/mach/sysdep.h: Likewise.
4161 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4162 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4163 * sysdeps/sh/sysdep.h: Likewise.
4164 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4165 * sysdeps/unix/i386/sysdep.S: Likewise.
4166 * sysdeps/unix/sparc/start.c: Likewise.
4167 * sysdeps/unix/sparc/sysdep.S: Likewise.
4168 * sysdeps/unix/sparc/sysdep.h: Likewise.
4169 * sysdeps/unix/start.c: Likewise.
4170 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4171 * sysdeps/x86_64/sysdep.h: Likewise.
4172
df78418a
UD
41732012-01-07 Ulrich Drepper <drepper@gmail.com>
4174
a784e502
UD
4175 [BZ #13553]
4176 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4177 for non-gcc.
4178 * argp/argp-fmtstream.h: Use const instead __const.
4179 * argp/argp.h: Likewise.
4180 * assert/assert.h: Likewise.
4181 * bits/fenv.h: Likewise.
4182 * bits/sched.h: Likewise.
4183 * bits/sigset.h: Likewise.
4184 * bits/sigthread.h: Likewise.
4185 * catgets/nl_types.h: Likewise.
4186 * conform/data/pthread.h-data: Likewise.
4187 * crypt/crypt-private.h: Likewise.
4188 * crypt/crypt.h: Likewise.
4189 * crypt/crypt_util.c: Likewise.
4190 * ctype/ctype.h: Likewise.
4191 * debug/execinfo.h: Likewise.
4192 * debug/mbsnrtowcs_chk.c: Likewise.
4193 * debug/mbsrtowcs_chk.c: Likewise.
4194 * debug/wcsnrtombs_chk.c: Likewise.
4195 * debug/wcsrtombs_chk.c: Likewise.
4196 * debug/wcstombs_chk.c: Likewise.
4197 * dirent/dirent.h: Likewise.
4198 * dlfcn/dlfcn.h: Likewise.
4199 * elf/neededtest4.c: Likewise.
4200 * grp/grp.h: Likewise.
4201 * gshadow/gshadow.h: Likewise.
4202 * iconv/gconv.h: Likewise.
4203 * iconv/gconv_int.h: Likewise.
4204 * iconv/gconv_simple.c: Likewise.
4205 * iconv/iconv.h: Likewise.
4206 * iconv/loop.c: Likewise.
4207 * iconv/skeleton.c: Likewise.
4208 * include/aio.h: Likewise.
4209 * include/aliases.h: Likewise.
4210 * include/argz.h: Likewise.
4211 * include/arpa/inet.h: Likewise.
4212 * include/assert.h: Likewise.
4213 * include/dirent.h: Likewise.
4214 * include/dlfcn.h: Likewise.
4215 * include/execinfo.h: Likewise.
4216 * include/fcntl.h: Likewise.
4217 * include/fenv.h: Likewise.
4218 * include/glob.h: Likewise.
4219 * include/grp.h: Likewise.
4220 * include/libintl.h: Likewise.
4221 * include/mntent.h: Likewise.
4222 * include/netdb.h: Likewise.
4223 * include/pwd.h: Likewise.
4224 * include/rpc/netdb.h: Likewise.
4225 * include/sched.h: Likewise.
4226 * include/search.h: Likewise.
4227 * include/shadow.h: Likewise.
4228 * include/signal.h: Likewise.
4229 * include/stdio.h: Likewise.
4230 * include/stdlib.h: Likewise.
4231 * include/string.h: Likewise.
4232 * include/sys/socket.h: Likewise.
4233 * include/sys/stat.h: Likewise.
4234 * include/sys/statfs.h: Likewise.
4235 * include/sys/statvfs.h: Likewise.
4236 * include/sys/syslog.h: Likewise.
4237 * include/sys/time.h: Likewise.
4238 * include/sys/uio.h: Likewise.
4239 * include/time.h: Likewise.
4240 * include/unistd.h: Likewise.
4241 * include/utmp.h: Likewise.
4242 * include/wchar.h: Likewise.
4243 * include/wctype.h: Likewise.
4244 * inet/aliases.h: Likewise.
4245 * inet/arpa/inet.h: Likewise.
4246 * inet/netinet/ether.h: Likewise.
4247 * inet/netinet/in.h: Likewise.
4248 * intl/libintl.h: Likewise.
4249 * io/bits/fcntl2.h: Likewise.
4250 * io/fcntl.h: Likewise.
4251 * io/ftw.h: Likewise.
4252 * io/sys/poll.h: Likewise.
4253 * io/sys/stat.h: Likewise.
4254 * io/sys/statfs.h: Likewise.
4255 * io/sys/statvfs.h: Likewise.
4256 * io/utime.h: Likewise.
4257 * libio/bits/stdio.h: Likewise.
4258 * libio/bits/stdio2.h: Likewise.
4259 * libio/libio.h: Likewise.
4260 * libio/libioP.h: Likewise.
4261 * libio/stdio.h: Likewise.
4262 * locale/lc-ctype.c: Likewise.
4263 * locale/locale.h: Likewise.
4264 * login/utmp.h: Likewise.
4265 * malloc/arena.c: Likewise.
4266 * malloc/malloc.c: Likewise.
4267 * malloc/malloc.h: Likewise.
4268 * malloc/mcheck.c: Likewise.
4269 * malloc/mtrace.c: Likewise.
4270 * math/bits/mathcalls.h: Likewise.
4271 * math/fenv.h: Likewise.
4272 * math/math_private.h: Likewise.
4273 * misc/bits/error.h: Likewise.
4274 * misc/bits/syslog.h: Likewise.
4275 * misc/err.h: Likewise.
4276 * misc/error.h: Likewise.
4277 * misc/fstab.h: Likewise.
4278 * misc/mntent.h: Likewise.
4279 * misc/regexp.h: Likewise.
4280 * misc/search.h: Likewise.
4281 * misc/sgtty.h: Likewise.
4282 * misc/sys/mman.h: Likewise.
4283 * misc/sys/syslog.h: Likewise.
4284 * misc/sys/uio.h: Likewise.
4285 * misc/sys/xattr.h: Likewise.
4286 * misc/ttyent.h: Likewise.
4287 * nis/rpcsvc/ypclnt.h: Likewise.
4288 * nss/nss.h: Likewise.
4289 * posix/bits/unistd.h: Likewise.
4290 * posix/fnmatch.h: Likewise.
4291 * posix/glob.h: Likewise.
4292 * posix/sched.h: Likewise.
4293 * posix/spawn.h: Likewise.
4294 * posix/sys/wait.h: Likewise.
4295 * posix/unistd.h: Likewise.
4296 * posix/wordexp.h: Likewise.
4297 * pwd/pwd.h: Likewise.
4298 * resolv/netdb.h: Likewise.
4299 * resource/sys/resource.h: Likewise.
4300 * rt/aio.h: Likewise.
4301 * rt/bits/mqueue2.h: Likewise.
4302 * rt/mqueue.h: Likewise.
4303 * shadow/shadow.h: Likewise.
4304 * signal/signal.h: Likewise.
4305 * socket/send.c: Likewise.
4306 * socket/sendto.c: Likewise.
4307 * socket/sys/socket.h: Likewise.
4308 * stdio-common/printf.h: Likewise.
4309 * stdlib/bits/stdlib.h: Likewise.
4310 * stdlib/fmtmsg.h: Likewise.
4311 * stdlib/monetary.h: Likewise.
4312 * stdlib/stdlib.h: Likewise.
4313 * stdlib/ucontext.h: Likewise.
4314 * streams/stropts.h: Likewise.
4315 * string/argz.h: Likewise.
4316 * string/bits/string2.h: Likewise.
4317 * string/string.h: Likewise.
4318 * string/strings.h: Likewise.
4319 * sunrpc/rpc/auth.h: Likewise.
4320 * sunrpc/rpc/auth_des.h: Likewise.
4321 * sunrpc/rpc/clnt.h: Likewise.
4322 * sunrpc/rpc/netdb.h: Likewise.
4323 * sunrpc/rpc/pmap_clnt.h: Likewise.
4324 * sunrpc/rpc/xdr.h: Likewise.
4325 * sysdeps/generic/inttypes.h: Likewise.
4326 * sysdeps/generic/net/if.h: Likewise.
4327 * sysdeps/generic/sys/swap.h: Likewise.
4328 * sysdeps/gnu/net/if.h: Likewise.
4329 * sysdeps/gnu/utmpx.h: Likewise.
4330 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4331 * sysdeps/i386/i486/bits/string.h: Likewise.
4332 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4333 * sysdeps/s390/bits/string.h: Likewise.
4334 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4335 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4336 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4337 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4338 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4339 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4340 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4341 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4342 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4343 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4344 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4345 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4346 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4347 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4348 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4349 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4350 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4353 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4354 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4356 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4357 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4358 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4359 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4360 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4361 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4362 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4363 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4364 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4365 * sysvipc/sys/ipc.h: Likewise.
4366 * sysvipc/sys/msg.h: Likewise.
4367 * sysvipc/sys/sem.h: Likewise.
4368 * sysvipc/sys/shm.h: Likewise.
4369 * termios/termios.h: Likewise.
4370 * time/sys/time.h: Likewise.
4371 * time/time.h: Likewise.
4372 * wcsmbs/bits/wchar2.h: Likewise.
4373 * wcsmbs/uchar.h: Likewise.
4374 * wcsmbs/wchar.h: Likewise.
4375 * wctype/wctype.h: Likewise.
4376
0269750c
UD
4377 [BZ #13551]
4378 * Makeconfig: Remove all but ELF support including AIX support.
4379 * Makerules: Likewise.
4380 * config.h.in: Likewise.
4381 * config.make.in: Likewise.
4382 * configure: Likewise.
4383 * configure.in: Likewise.
4384 * csu/Makefile: Likewise.
4385 * csu/version.c: Likewise.
4386 * debug/Makefile: Likewise.
4387 * dlfcn/Makefile: Likewise.
4388 * elf/Makefile: Likewise.
4389 * extra-lib.mk: Likewise.
4390 * iconv/Makefile: Likewise.
4391 * include/libc-symbols.h: Likewise.
4392 * include/shlib-compat.h: Likewise.
4393 * resolv/Makefile: Likewise.
4394 * resolv/res_libc.c: Likewise.
4395 * rt/Makefile: Likewise.
4396 * sysdeps/i386/asm-syntax.h: Likewise.
4397 * sysdeps/i386/sysdep.h: Likewise.
4398 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4399 * sysdeps/mach/sysdep.h: Likewise.
4400 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4401 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4402 * sysdeps/s390/asm-syntax.h: Likewise.
4403 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4405 * sysdeps/sh/sysdep.h: Likewise.
4406 * sysdeps/unix/sparc/sysdep.h: Likewise.
4407 * sysdeps/wordsize-32/divdi3.c: Likewise.
4408 * sysdeps/x86_64/sysdep.h: Likewise.
4409
00bbd29b
UD
4410 * argp/Versions: Remove _argp_unlock_xxx.
4411
4412 [BZ #13559]
4413 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4414 * abilist/libBrokenLocale.abilist: Likewise.
4415 * abilist/libanl.abilist: Likewise.
4416 * abilist/libc.abilist: Likewise.
4417 * abilist/libcrypt.abilist: Likewise.
4418 * abilist/libdl.abilist: Likewise.
4419 * abilist/libm.abilist: Likewise.
4420 * abilist/libnsl.abilist: Likewise.
4421 * abilist/libpthread.abilist: Likewise.
4422 * abilist/libresolv.abilist: Likewise.
4423 * abilist/librt.abilist: Likewise.
4424 * abilist/libthread_db.abilist: Likewise.
4425 * abilist/libutil.abilist: Likewise.
4426 * abilist/libnss_db.abilist: New file.
4427
4428 * scripts/abilist.awk: Add support for indirect functions.
4429
a2693a0e
UD
4430 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4431
3f05895f
UD
4432 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4433
ecb6fb48
UD
4434 * shlib-versions: Remove entries for ports architectures.
4435
664f8cb9
UD
4436 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4437 files in ports.
4438 * elf/stackguard-macros.h: Remove support for IA-64.
4439 * elf/tst-auditmod1.c: Likewise.
4440 * sysdeps/generic/ldsodefs.h: Likewise.
4441
7ae81d88
UD
4442 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4443 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4444 configure files.
4445
bdeba135
UD
4446 [BZ #13552]
4447 * configure.in: Remove --enable-omitfp support.
4448 * FAQ.in: Adjust.
4449 * config.make.in: Likewise.
4450 * Makeconfig: Likewise.
4451 * manual/install.texi: Likewise.
4452
d75a0a62
UD
4453 In case anyone cares, the IA-64 architecture could move to ports.
4454 * sysdeps/ia64/*: Removed.
4455 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4456 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4457
dcc9756b
UD
4458 [BZ #13555]
4459 * configure.in: Remove entries for unsupported architectures.
4460
d3761ebc 4461 [BZ #13533]
9954432e
UD
4462 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4463 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4464 routines.
4465 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4466 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4467 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4468 fall back to using wcrtomb.
4469 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4470 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4471 renaming.
4472 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4473 * wcsmbs/tst-c16c32-1.c: New file.
4474
4475 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4476 local variable.
4477
c3a87236
UD
4478 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4479
28926a1b
UD
4480 * elf/tst-unique3.cc: Add explicit declaration of gets.
4481 * elf/tst-unique3lib.cc: Likewise.
4482 * elf/tst-unique3lib2.cc: Likewise.
4483 * elf/tst-unique4.cc: Likewise.
4484
df78418a
UD
4485 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4486
8ecd6b2a
JM
44872012-01-06 Joseph Myers <joseph@codesourcery.com>
4488
4489 [BZ #13566]
4490 * assert/assert.h (static_assert): Don't define for C++.
4491 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4492 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4493
9f115170
UD
44942012-01-03 Ulrich Drepper <drepper@gmail.com>
4495
5e0d0300
UD
4496 * iconv/loop.c (single loop): Fix assertion in storing of
4497 remaining bytes.
4498
9f115170
UD
4499 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4500
81fb02b0
UD
45012012-01-01 Ulrich Drepper <drepper@gmail.com>
4502
4503 * posix/getconf.c: Update copyright year.
4504 * nss/getent.c: Likewise.
a316c1f6 4505 * nss/makedb.c: Likewise.
81fb02b0
UD
4506 * iconv/iconvconfig.c: Likewise.
4507 * iconv/iconv_prog.c: Likewise.
4508 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4509 * elf/pldd.c: Likewise.
4510 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4511 * catgets/gencat.c: Likewise.
4512 * csu/version.c: Likewise.
4513 * elf/ldd.bash.in: Likewise.
4514 * elf/sprof.c (print_version): Likewise.
4515 * locale/programs/locale.c: Likewise.
4516 * locale/programs/localedef.c: Likewise.
a316c1f6 4517 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4518 * nscd/nscd.c (print_version): Likewise.
4519 * debug/xtrace.sh: Likewise.
4520 * malloc/memusage.sh: Likewise.
4521 * malloc/mtrace.pl: Likewise.
4522 * debug/catchsegv.sh: Likewise.
4523
2ba92745
JJ
45242011-12-30 Jakub Jelinek <jakub@redhat.com>
4525
4526 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4527 pure attribute.
4528
dadebdae
UD
45292011-12-24 Ulrich Drepper <drepper@gmail.com>
4530
d3761ebc 4531 [BZ #13533]
db6af3eb
UD
4532 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4533 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4534 transformations.
4535 * iconv/gconv_int.h: Likewise.
4536 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4537 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4538 from libc for GLIBC_2.16.
4539 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4540 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4541 * wcsmbs/uchar.h: Really define mbstate_t.
4542 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4543 * wcsmbs/c16rtomb.c: New file.
4544 * wcsmbs/mbrtoc16.c: New file.
4545 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4546 for C/POSIX locale.
4547 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4548 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4549
dadebdae
UD
4550 * wcsmbs/wchar.h: Add missing __restrict.
4551
67371b56
UD
45522011-12-23 Ulrich Drepper <drepper@gmail.com>
4553
74033a25
UD
4554 [BZ #13532]
4555 * time/Makefile (routines): Add timespec_get.
4556 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4557 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4558 timespec for ISO C11.
4559 * time/timespec_get.c: New file.
4560 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4561 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4562
380d7e87
UD
4563 [BZ #13531]
4564 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4565 * stdlib/stdlib.h: Declare aligned_alloc.
4566 * Versions.def: Add GLIBC_2.16 for libc.
4567 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4568
4e9e7a35
UD
4569 [BZ 13527]
4570 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4571 ISO C11.
4572
380d7e87 4573 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4574 code.
4575
03a71829
UD
4576 [BZ #13528]
4577 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4578
839e283e
UD
4579 [BZ #13529]
4580 * assert/assert.h (static_assert): Define.
4581
ce5294e2 4582 * version.h: Update for 2.16 development version.
90fa7312 4583
8d44e150 4584 [BZ #13526]
d7809905
UD
4585 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4586 _ISOC11_SOURCE.
4587
c0da14cd
UD
4588 * version.h (RELEASE): Bump for 2.15 release.
4589 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4590
530a3249
MP
4591 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4592 Patch by Marek Polacek <mpolacek@redhat.com>.
4593
67371b56
UD
4594 * bits/byteswap.h: Protect long long constants with __extension__.
4595 * sysdeps/i386/bits/byteswap.h: Likewise.
4596 * sysdeps/ia64/bits/byteswap.h: Likewise.
4597 * sysdeps/s390/bits/byteswap.h: Likewise.
4598 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4599
15db4de1
LD
46002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4601
4602 [BZ #13540]
bbe315ea
LD
4603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4604 destination buffer.
15db4de1
LD
4605 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4606
2b2596b1
MP
46072011-12-23 Marek Polacek <polacek@redhat.com>
4608
4609 * elf/dl-addr.c (determine_info): Add inline keyword.
4610 * elf/tst-auditmod4b.c (check_avx): Likewise.
4611 * elf/tst-auditmod6b.c (check_avx): Likewise.
4612 * elf/tst-auditmod6c.c (check_avx): Likewise.
4613 * elf/tst-auditmod7b.c (check_avx): Likewise.
4614
70c6c246
UD
46152011-12-23 Ulrich Drepper <drepper@gmail.com>
4616
4617 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4618 !__SSE_MATH__.
4619
c044cf14
LD
46202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4621
15db4de1 4622 [BZ #13540]
c044cf14
LD
4623 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4624 processing for last bytes.
4625
6b13d9d9
BH
46262011-08-06 Bruno Haible <bruno@clisp.org>
4627
d455f537
BH
4628 [BZ #13061]
4629 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4630 U+0385, not to U+1FEE.
4631
6b13d9d9
BH
4632 [BZ #13062]
4633 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4634 entry for U+00A5 U+0301.
4635
db910efd
UD
46362011-12-22 Ulrich Drepper <drepper@gmail.com>
4637
27deeafc
UD
4638 [BZ #13166]
4639 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4640 buffer for the output is too small.
4641
aed9d171
UD
4642 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4643 optimization.
4644
db910efd
UD
4645 [BZ #13185]
4646 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4647 SSE flags if possible.
4648
2bd779ae
LD
46492011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4650
e7f9dac3 4651 [BZ #13540]
2bd779ae
LD
4652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4653 processing for last bytes.
4654
154bfc16
JM
46552011-12-22 Joseph Myers <joseph@codesourcery.com>
4656
4657 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4658 (syscall-list-default-options, syscall-list-default-condition)
4659 (syscall-list-includes): Define.
4660 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4661 list of ABIs and options and #if conditions for each ABI. Do not
4662 handle common syscalls between ABIs specially.
4663 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4664 Remove.
4665 (syscall-list-variants, syscall-list-32bit-options)
4666 (syscall-list-32bit-condition, syscall-list-64bit-options)
4667 (syscall-list-64bit-condition): Define.
4668 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4669 (syscall-list-variants, syscall-list-32bit-options)
4670 (syscall-list-32bit-condition, syscall-list-64bit-options)
4671 (syscall-list-64bit-condition): Define.
4672 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4673 Remove.
4674 (syscall-list-variants, syscall-list-32bit-options)
4675 (syscall-list-32bit-condition, syscall-list-64bit-options)
4676 (syscall-list-64bit-condition): Define.
4677 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4678 Remove.
4679 (syscall-list-variants, syscall-list-32bit-options)
4680 (syscall-list-32bit-condition, syscall-list-64bit-options)
4681 (syscall-list-64bit-condition): Define.
4682
21eaf3a5
UD
46832011-12-22 Ulrich Drepper <drepper@gmail.com>
4684
16c6f992
UD
4685 * locale/iso-639.def: Add brx entry.
4686
41043168
UD
4687 [BZ #13328]
4688 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4689 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4690
21eaf3a5
UD
4691 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4692 __feraiseexcept_renamed.
4693
e3a851a2
UD
46942011-12-21 Ulrich Drepper <drepper@gmail.com>
4695
4920765e
UD
4696 [BZ #13538]
4697 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4698 EPOLLET with unsigned values.
4699 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4700 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4701
e3a851a2
UD
4702 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4703 to large cancellation.
4704 * math/s_cacoshf.c: Likewise.
4705 * math/s_cacoshl.c: Likewise.
4706
b27e24b8
RK
47072011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4708
4709 [BZ #13305]
aebefeee 4710 [BZ #12786]
b27e24b8
RK
4711 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4712 * math/s_cacoshf.c: Likewise.
4713 * math/s_cacoshl.c: Likewise.
4714
ee190f67
UD
47152011-12-21 Ulrich Drepper <drepper@gmail.com>
4716
4717 [BZ #13439]
4718 * iconv/gconv.h: Define __GCONV_SWAP.
4719 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4720 * iconvdata/utf-16.c: Likewise.
4721 * iconvdata/utf-32.c: Likewise.
4722
707f25df
AS
47232011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4724
4725 [BZ #13524]
4726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4727 numerator after shifting it by one limb.
4728
d2daaa1e
RÁE
47292011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4730
4731 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4732 under [__USE_EXTERN_INLINES].
4733
a4647e72
UD
47342011-12-17 Ulrich Drepper <drepper@gmail.com>
4735
4736 [BZ #13446]
4737 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4738
f0b264f1
AZ
47392011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4740
4741 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4742 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4743 optimized code.
4744 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4745 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4746 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4747 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4748 for strncasecmp/strncasecmp_l compilation.
4749 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4750 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4751
8ef4f244
MP
47522011-12-08 Marek Polacek <mpolacek@redhat.com>
4753
4754 [BZ #13484]
4755 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4756 of __asm__.
4757
97ac2654
UD
47582011-12-17 Ulrich Drepper <drepper@gmail.com>
4759
4760 [BZ #13506]
4761 * time/tzfile.c (__tzfile_read): Check values from file header.
4762
91d2a845
WS
47632011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4764
4765 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4766 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4767 * powerpc/powerpc32/dl-start.S: Likewise.
4768 * powerpc/powerpc32/elf/start.S: Likewise.
4769 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4770 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4771 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4772 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4773 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4774 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4775 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4776 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4777 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4778 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4779 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4780 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4781 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4782 * powerpc/powerpc32/memset.S: Likewise.
4783 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4784 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4785 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4786 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4787 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4788 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4789 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4790 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4791 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4792 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4793 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4794 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4795 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4796
a1267ba1
AZ
47972011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4798
4799 * math/libm-test.inc: Added more nearbyint tests.
4800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4803 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4804
ad8ac1bd
RL
48052011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4806
4807 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4808 FD_CLOEXEC.
4809
1d3e4b61
UD
48102011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4811
4812 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4813 Add wcscpy-ssse3 wcscpy-c.
4814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4815 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4816 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4817 * sysdeps/x86_64/wcschr.S: New file.
4818 * sysdeps/x86_64/wcsrchr.S: New file.
4819 * string/test-strcmp.c: Remove checking of wcscmp function for
4820 wrong alignments.
4821 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4822 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4823 wcsrchr-sse2 wcsrchr-c.
4824 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4825 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4826 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4827 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4828 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4829 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4830 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4831 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4833 * wcsmbc/wcschr.c (WCSCHR): New macro.
4834
5b330a2d
UD
48352011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4836
4837 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4838 * wcsmbs/test-wcsrchr.c: New file.
4839 * string/test-strrchr.c: Add wcsrchr support.
4840 (WIDE): New macro.
4841 * wcsmbs/test-wcscpy.c: New file.
4842 * string/test-strcpy.c: Add wcscpy support.
4843 (WIDE): New macro.
26428b7c 4844
f039c043
UD
48452011-12-10 Ulrich Drepper <drepper@gmail.com>
4846
4847 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4848 the inner loop.
4849
850fb039
AS
48502011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4851
4852 [BZ #13472]
4853 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4854
4efbd5cb
UD
48552011-12-04 Ulrich Drepper <drepper@gmail.com>
4856
52ff5dd0 4857 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4858 Minor optimizations.
52ff5dd0 4859
4efbd5cb
UD
4860 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4861 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4862 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4863
8a426e12
UD
48642011-12-03 Ulrich Drepper <drepper@gmail.com>
4865
aff2453d
UD
4866 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4867 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4868 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4869 for gcc to avoid warnings.
4870 * inet/Makefile (tests): Add tst-checks.
4871 * inet/tst-checks.c: New file.
4872
4873 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4874 warning.
4875
4876 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4877 __wmemcmp_sse2.
4878
4879 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4880 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4881
8a426e12
UD
4882 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4883
9bea3473
UD
48842011-12-02 Ulrich Drepper <drepper@gmail.com>
4885
3a965496
UD
4886 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4887 problem.
4888
9bea3473
UD
4889 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4890
f101631b
UD
48912011-11-29 Joseph Myers <joseph@codesourcery.com>
4892
4893 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4894 conditional on GCC version.
4895 (__arch_compare_and_exchange_val_8_acq)
4896 (__arch_compare_and_exchange_val_16_acq)
4897 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4898 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4899 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4900
a98275aa
UD
49012011-12-02 Joseph Myers <joseph@codesourcery.com>
4902
4903 * sysdeps/sh/backtrace.c: New file.
4904
d4cc29a2
AS
49052011-12-02 Andreas Schwab <schwab@redhat.com>
4906
4907 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4908 parenthesis.
4909
6257af2d
AS
49102011-12-01 Andreas Schwab <schwab@redhat.com>
4911
4912 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4913 falling back to utime.
4914
b5f44c1a
AS
49152011-11-30 Andreas Schwab <schwab@redhat.com>
4916
4917 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4918 expectations for float.
4919
f3a6cc0a
AS
49202011-11-29 Andreas Schwab <schwab@redhat.com>
4921
4922 * locale/weight.h (findidx): Add parameter len.
4923 * locale/weightwc.h (findidx): Likewise.
4924 * posix/fnmatch_loop.c (FCT): Adjust caller.
4925 * posix/regcomp.c (build_equiv_class): Likewise.
4926 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4927 * posix/regexec.c (check_node_accept_bytes): Likewise.
4928 * string/strcoll_l.c (STRCOLL): Likewise.
4929 * string/strxfrm_l.c (STRXFRM): Likewise.
4930
9d65ea3a
UD
49312011-11-17 Ulrich Drepper <drepper@gmail.com>
4932
4933 * Makefile.in: Remove CVSOPT handling.
4934 * configure.in: Remove use of AC_REVISION.
4935 * iconvdata/Makefile (distribute): No need to filter out CVS.
4936 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4937 handling.
4938
5583a086
AS
49392011-11-16 Andreas Schwab <schwab@redhat.com>
4940
4941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4942 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4943 [USE_AS_STRNCASECMP_L]: Likewise.
4944 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4945 NO_TLS_DIRECT_SEG_REFS.
4946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4947 Fix argument offsets for non-PIC.
4948 [USE_AS_STRNCASECMP_L]: Likewise.
4949 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4950 NO_TLS_DIRECT_SEG_REFS.
4951
d62a8200
UD
49522011-11-15 Ulrich Drepper <drepper@gmail.com>
4953
9d65ea3a 4954 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4955 O_CLOEXEC.
4956 * locale/loadlocale.c (_nl_load_locale): Likewise.
4957
09f93bd3
AS
49582011-11-15 Andreas Schwab <schwab@redhat.com>
4959
446514f9
AS
4960 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4961 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4962 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4963 (SYSCALL_GETTIME): Set errno on error.
4964
09f93bd3
AS
4965 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4966 count references to noai6ai_cached.
4967
312be3f9
UD
49682011-11-15 Ulrich Drepper <drepper@gmail.com>
4969
4970 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4971
4972 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4973 FD_CLOEXEC for /proc/self/maps.
4974
4975 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4976 FD_CLOEXEC for /proc/meminfo.
4977
4978 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4979 gai.conf.
4980
4981 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4982 FD_CLOEXEC for given file.
4983
4984 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4985
4986 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4987 FD_CLOEXEC for /etc/hosts.
4988 (_gethtent): Likewise.
4989
4990 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4991
4992 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4993 cancellation and set FD_CLOEXEC for /etc/netgroup.
4994
4995 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4996 reading /etc/publickey.
4997
4998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4999 allow cancellation when reading /etc/group.
5000
5001 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5002 cancellation.
5003 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5004
5005 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5006 when using data file.
5007
5008 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5009
5010 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5011 (write_nis_obj): Use "c" and "e" in fopen.
5012
5013 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5014
5015 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5016
5017 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5018
5019 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5020
5021 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5022 locale.alias.
5023
5024 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5025
5026 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5027
5028 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5029
5030 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5031 file parsing and set FD_CLOEXEC.
5032
82af0fa8
UD
50332011-11-14 Ulrich Drepper <drepper@gmail.com>
5034
5035 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5036
a5fb313c
AS
50372011-11-14 Andreas Schwab <schwab@redhat.com>
5038
5039 * malloc/arena.c (arena_get2): Don't call reused_arena when
5040 _int_new_arena failed.
5041
6abf3465
UD
50422011-11-14 Ulrich Drepper <drepper@gmail.com>
5043
5044 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5045 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5047 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5048 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5049 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5050 to compile strcasecmp and strncasecmp.
5051 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5052 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5053
5054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5055
76e3966e
UD
50562011-11-13 Ulrich Drepper <drepper@gmail.com>
5057
5058 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5059 locale-defines.sym to gen-as-const-headers.
5060 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5061 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5062 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5063 to compile strcasecmp and strncasecmp.
5064 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5065 strcasecmp_l and strncasecmp_l.
5066 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5067 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5068 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5069 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5070 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5071 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5072 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5073 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5074 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5075 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5076 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5077
ab26144e
UD
50782011-11-12 Ulrich Drepper <drepper@gmail.com>
5079
7edb22ef
UD
5080 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5081 result of SYSDEP_GETTIME_CPU to retval.
5082 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5083 parameter list to macro. Remove trailing semicolon. Adjust users.
5084
9694fc44
UD
5085 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5086 variable.
5087
8ad89ef8
UD
5088 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5089 mantissa words.
5090 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5091
0c822ef9
UD
5092 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5093 from unused variable.
5094
874e0564
UD
5095 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5096 DWARF definitions.
5097 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5098 for assembling.
5099
3a2edc79
UD
5100 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5101 over namespaces.
5102
f3c2577f
UD
5103 * sunrpc/rpc_prot.c (rejected): Fix case value.
5104
294ce126
UD
5105 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5106 unsigned long long int to avoid warnings in shift.
5107
5e2b63c6
UD
5108 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5109 of use of trans.
5110 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5111 variable tmp.
5112
e7f4b08e
UD
5113 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5114 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5115 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5116
ab26144e
UD
5117 * nis/nis_table.c (nis_list): Use variable of correct type for
5118 result of __follow_path call.
5119
8a6d5255
AZ
51202011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5121
5122 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5123 of math functions ceil, trunc, floor, round, and sqrt, when
5124 avaliable on the platform.
5125 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5126 name clash.
5127 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5128 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5129 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5130
aaddc98c
MP
51312011-10-30 Marek Polacek <mpolacek@redhat.com>
5132
5133 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5134 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5135
95b7042b
RM
51362011-11-11 Roland McGrath <roland@hack.frob.com>
5137
5138 * include/unistd.h: Fix __readlink return type.
5139 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5140
57769839
UD
51412011-11-11 Ulrich Drepper <drepper@gmail.com>
5142
5143 * stdlib/ucontext.h: Undo last change for makecontext.
5144
edc5984d
AS
51452011-11-11 Andreas Schwab <schwab@redhat.com>
5146
98591e58
AS
5147 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5148
edc5984d
AS
5149 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5150 * setjmp/setjmp.h: Mark functions as non-leaf.
5151 * setjmp/bits/setjmp2.h: Likewise.
5152 * stdlib/ucontext.h: Likewise.
5153
77cdc054
AS
51542011-11-10 Andreas Schwab <schwab@redhat.com>
5155
5156 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5157 (reused_arena): Don't check arena limit.
5158 (arena_get2): Atomically check arena limit.
5159
fe72eebd
UD
51602011-11-08 Ulrich Drepper <drepper@gmail.com>
5161
5f078c32
UD
5162 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5163 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5164
fe72eebd
UD
5165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5166 instructions.
5167
ae1bc2fa
AS
51682011-11-07 Andreas Schwab <schwab@redhat.com>
5169
7583a88d
AS
5170 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5171 handler when locking.
5172
ae1bc2fa
AS
5173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5174 Fix size of allocated buffer.
5175
10fb0bfa
AS
51762011-11-04 Andreas Schwab <schwab@redhat.com>
5177
998832a4
AS
5178 [BZ #10103]
5179 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5180 declarations for long double functions.
5181 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5182
10fb0bfa
AS
5183 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5184
3d7ba52b
AS
51852011-11-03 Andreas Schwab <schwab@redhat.com>
5186
a9ae54a1
AS
5187 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5188 installed.
5189
3d7ba52b
AS
5190 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5191 is disabled.
5192
bc8db248
ST
51932011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5194
5195 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5196
45b96dd6
AS
51972011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5198
647776f6
AS
5199 * include/alloca.h (stackinfo_alloca_round): Define.
5200 (extend_alloca): Use it.
5201 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5202 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5203 here.
5204
d91a8b93
AS
5205 * scripts/check-local-headers.sh: Ignore libaudit.h.
5206
45b96dd6
AS
5207 * nscd/Makefile (extra-objs): Make recursively expanded.
5208
432d41ce
UD
52092011-11-01 Ulrich Drepper <drepper@gmail.com>
5210
34372fc6
UD
5211 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5212 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5213
fadb59f8
UD
5214 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5215 * posix/tst-rfc3484-2.c: Likewise.
5216 * posix/tst-rfc3484-3.c: Likewise.
5217
78239589
UD
5218 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5219 process_vm_writev.
5220 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5221 process_vm_writev.
5222 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5223 process_vm_writev from libc using GLIBC_2.15 version.
5224
432d41ce
UD
5225 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5226
02f9c6cf
PP
52272011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5228
5229 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5230 stack usage.
5231
3a2c0242
UD
52322011-10-31 Ulrich Drepper <drepper@gmail.com>
5233
f4ec4833
UD
5234 [BZ #13367]
5235 * nss/getent.c (initgroups_keys): Show error message in case no group
5236 names are given.
5237
3a2c0242
UD
5238 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5239 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5240 __bump_nl_timestamp.
5241 * nscd/connections (nscd_init): When host database is served open
5242 netlink socket and request notification about configuration changes.
5243 (main_loop_poll): Track netlink file descriptor and bump timestamp
5244 in case data becomes available.
5245 (main_loop_epoll): Likewise.
5246 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5247 (database_pers_head): Add extra_data fileds.
5248 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5249 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5250 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5251 Adjust caller.
5252 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5253 in6ai data, call __free_in6ai.
5254 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5255 Add -DHAVE_NETLINK.
5256 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5257 interface information. Reuse previous data if netlink timestamp
5258 is not changed.
5259 (__bump_nl_timestamp): New function.
5260 (__free_in6ai): New function.
5261
636064eb
UD
52622011-10-30 Ulrich Drepper <drepper@gmail.com>
5263
5264 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5265 close_not_cancel_no_status here.
5266 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5267
9beb2334
UD
52682011-10-29 Ulrich Drepper <drepper@gmail.com>
5269
6ef76f3b
UD
5270 [BZ #13276]
5271 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5272 return value.
5273
0ffc4f3e 5274 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5275 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5276 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5277
cb95113e
UD
52782011-07-03 Andreas Jaeger <aj@suse.de>
5279
5280 [BZ #10709]
5281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5282 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5283 * math/libm-test.inc (sin_test): Add test case.
5284
a1b560ff
UD
52852011-10-29 Ulrich Drepper <drepper@gmail.com>
5286
c9aaface
UD
5287 [BZ #13337]
5288 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5289 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5290
d272e7f1
UD
5291 * elf/chroot_canon.c (chroot_canon): Cleanups.
5292
1bc33071
UD
5293 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5294
1760874d
TJ
5295 [BZ #13335]
5296 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5297 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5298
51d91b18
UD
5299 * string/test-strchr.c: Make usable for strchrnul testing.
5300 * string/test-strchrnul.c: New file.
5301 * string/Makefile (strop-tests): Add strchrnul.
5302
a1b560ff 5303 * po/it.po: Update from translation team.
b611fb81 5304 * po/es.po: Likewise.
a1b560ff 5305
a5b81e1f
UD
53062011-10-28 Ulrich Drepper <drepper@gmail.com>
5307
fd52bc6d
UD
5308 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5309 the three constants needed as parameters. Drop the others.
5310 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5311 __m128i_strloadu_tolower.
52e4b9eb
UD
5312 Create and initialize variable zero and use it in all the places
5313 where _mm_setzero_si128 was used.
fd52bc6d 5314
a5b81e1f
UD
5315 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5316 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5317 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5318 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5319 anymore.
5320 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5321 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5322 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5323 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5324 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5325 __mpranred, __mptan.
5326 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5327 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5328 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5329 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5330 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5331 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5332 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5333 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5334 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5335
b4343346
AS
53362011-10-28 Andreas Schwab <schwab@redhat.com>
5337
0c92d8a8
AS
5338 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5339 redefine if SHARED.
5340 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5341
b4343346
AS
5342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5343 wide char related routines to wcsmbs subdir.
5344
3871f58f
AS
53452011-10-27 Andreas Schwab <schwab@redhat.com>
5346
5347 [BZ #13344]
5348 * misc/sys/cdefs.h (__THROWNL): Define.
5349 * posix/unistd.h: Use __THREADNL instead of __THREAD
5350 for memory synchronization functions.
5351
94d44d9f
RM
53522011-10-26 Roland McGrath <roland@hack.frob.com>
5353
21b64b15 5354 [BZ #13349]
94d44d9f
RM
5355 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5356 doesn't exist.
5357 * manual/stdio.texi (Obstack Streams): Node removed.
5358
f6ce9294
AS
53592011-10-26 Andreas Schwab <schwab@redhat.com>
5360
80479147
AS
5361 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5362 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5363 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5364
f6ce9294
AS
5365 * math/math_private.h (math_force_eval): Allow non-addressable
5366 arguments.
5367 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5368
618280a1
UD
53692011-10-25 Ulrich Drepper <drepper@gmail.com>
5370
e0016b11
UD
5371 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5372 file is not needed.
5373
5374 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5375 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5376 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5377 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5378 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5379 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5380 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5381 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5382 Add AVX variants.
5383 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5384 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5385 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5386 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5387 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5388 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5389 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5390 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5391 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5392 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5393 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5394 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5396 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5397 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5398 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5399 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5400 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5401 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5402
5403 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5404 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5405
618280a1
UD
5406 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5407 place. Use VEX encoding when compiling for AVX.
5408
37822576
AS
54092011-10-25 Andreas Schwab <schwab@redhat.com>
5410
1f1e1947
AS
5411 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5412 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5413
37822576
AS
5414 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5415
31ea014d
UD
54162011-10-25 Ulrich Drepper <drepper@gmail.com>
5417
d7826aa1 5418 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5419 useless if() expression.
d7826aa1
UD
5420 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5421 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5422 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5423 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5428 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5430 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5431 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5432 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5433 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5434 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5435 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5436 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5438 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5439
31ea014d
UD
5440 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5441
16437fec
AS
54422011-10-25 Andreas Schwab <schwab@redhat.com>
5443
5444 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5445 condition.
5446 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5447
31d3cc00
UD
54482011-10-25 Ulrich Drepper <drepper@gmail.com>
5449
5450 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5451 .text section. Avoid duplicate constants.
5452 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5453 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5454 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5455 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5460 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5461 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5462 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5463 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5464 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5465 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5466 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5467 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5468 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5469 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5470 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5471 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5472 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5473 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5474 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5476 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5477 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5478 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5479 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5480 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5481 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5482 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5483 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5484 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5485 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5486 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5487 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5488 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5489 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5490 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5491 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5493 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5494 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5495 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5496 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5497
58985aa9
UD
54982011-10-24 Ulrich Drepper <drepper@gmail.com>
5499
202c9deb
UD
5500 * sysdeps/x86_64/dla.h: Move to ...
5501 * sysdeps/x86_64/fpu/dla.h: ...here.
5502 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5503 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5504
af968f62
UD
5505 * config.make.in: Add have-mfma4 entry.
5506 * configure.in: Substitute libc_cv_cc_fma4.
5507 * math/Makefile (dbl-only-routines): Add sincostab.
5508 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5509 Use __sincostab not sincos.
5510 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5511 name is a macro.
5512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5516 using __copysign.
5517 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5518 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5519 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5520 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5521 and __inv.
5522 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5523 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5524 __copysign.
5525 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5526 define aliases when function name is a macro.
5527 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5528 sysdeps/ieee754/dbl-64/sincos.tbl.
5529 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5530 fma4-enabled routines.
5531 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5532 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5533 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5534 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5535 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5536 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5537 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5538 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5539 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5540 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5541 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5542 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5543 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5544 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5545 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5546 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5547 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5548 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5549 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5550 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5551 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5552 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5553 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5554 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5555 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5557 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5558 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5559 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5560 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5561
58985aa9
UD
5562 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5563 rename.
5564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5572
a201fbcf
AS
55732011-10-24 Andreas Schwab <schwab@redhat.com>
5574
5575 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5576
fc2ee42a
LD
55772011-10-23 Ulrich Drepper <drepper@gmail.com>
5578
bb3129bd
UD
5579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5580
0275fff8
UD
5581 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5582 prediction.
5583 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5584
2fa2ae85
UD
5585 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5586 Remove unused variable magic_bits.
5587 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5588
fc2ee42a
LD
5589 * string/strnlen.c: Define and use STRNLEN macro.
5590 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5591 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5593 * wcsmbs/wcslen.c: Define and use WCSLEN.
5594 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5595 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5596 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5597 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5598 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5599 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5600 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5601
ce7dd29f
LD
56022011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5603
5604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5605 strnlen-sse2-no-bsf.
5606 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5607 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5608 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5609 Add strnlen support.
5610 (USE_AS_STRNLEN): New macro.
5611 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5612 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5613 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5614 * sysdeps/x86_64/wcslen.S: New file.
5615
979c70a3
MZ
56162011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5617
5618 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5619 XMM-moves are used for copying on small sizes.
5620
2d09f82f
LD
56212011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5622
5623 * wcsmbs/Makefile (strop-tests): Add wcschr.
5624 * wcsmbs/test-wcschr.c: New file.
5625 * string/test-strchr.c: Update.
5626 Add wcschr support.
5627 (WIDE): New macro.
5628
619fccca
LD
56292011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5630
2d09f82f 5631 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5632 * wcsmbs/test-wcslen.c: New file.
5633 * string/test-strlen.c: Update.
5634 Add wcslen support.
5635 (WIDE): New macro.
5636
09f699ea
UD
56372011-10-23 Ulrich Drepper <drepper@gmail.com>
5638
5639 * po/it.po: Update from translation team.
5640
95584d3b
LD
56412011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5642
5643 * sysdeps/x86_64/wcscmp.S: Update.
5644 Fix wrong comparison semantics.
5645 wcscmp shall use signed comparison not unsigned.
5646 Don't use substraction to avoid overflow bug.
5647 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5648 * wcsmbc/wcscmp.c: Likewise.
5649 * string/test-strcmp.c: Likewise.
5650 Add new tests to check cases with negative values.
5651
c8b3296b
UD
56522011-10-23 Ulrich Drepper <drepper@gmail.com>
5653
5654 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5655 * sysdeps/x86_64/dla.h: ...here. New file.
5656 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5661 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5663 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5665
246ad57a
AS
56662011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5667
5668 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5669 __ynl_finite aliases.
5670
a1a87169
UD
56712011-10-22 Ulrich Drepper <drepper@gmail.com>
5672
0d355eb7
UD
5673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5674
a1a87169
UD
5675 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5676 define DLA_FMA.
5677 [DLA_FMA] (EMULV): Use DLA_FMA.
5678 [DLA_FMA] (MUL12): Use EMULV.
5679 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5680 that are not needed.
5681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5688
ee2aafe0
AS
56892011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5690
5691 * math/s_nan.c: Undef __nan.
5692 * math/s_nanf.c: Undef __nanf.
5693 * math/s_nanl.c: Undef __nanl.
5694 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5695 "math_private.h".
5696
bc62c2fb
UD
56972011-10-22 Ulrich Drepper <drepper@gmail.com>
5698
77425c63
UD
5699 * math/s_catan.c: Add branch predictions.
5700 * math/s_catanf.c: Likewise.
5701 * math/s_catanh.c: Likewise.
5702 * math/s_catanhf.c: Likewise.
5703 * math/s_catanhl.c: Likewise.
5704 * math/s_catanl.c: Likewise.
5705 * math/s_cexp.c: Likewise.
5706 * math/s_cexpf.c: Likewise.
5707 * math/s_cexpl.c: Likewise.
5708 * math/s_clog.c: Likewise.
5709 * math/s_clog10.c: Likewise.
5710 * math/s_clog10f.c: Likewise.
5711 * math/s_clog10l.c: Likewise.
5712 * math/s_clogf.c: Likewise.
5713 * math/s_clogl.c: Likewise.
5714 * math/s_csqrt.c: Likewise.
5715 * math/s_csqrtf.c: Likewise.
5716 * math/s_csqrtl.c: Likewise.
5717 * math/s_ctanf.c: Likewise.
5718 * math/s_ctanh.c: Likewise.
5719 * math/s_ctanhf.c: Likewise.
5720 * math/s_ctanhl.c: Likewise.
5721 * math/s_ctanl.c: Likewise.
5722
bc62c2fb
UD
5723 * math/math_private.h: Define __nan, __nanf, __nanl.
5724 * math/s_cacosh.c: Include <math_private.h>.
5725 * math/s_cacoshl.c: Likewise.
5726 * math/s_casinh.c: Likewise.
5727 * math/s_casinhf.c: Likewise.
5728 * math/s_casinhl.c: Likewise.
5729 * math/s_ccos.c: Rely entire on ccosh.
5730 * math/s_ccosf.c: Rely entire on ccoshf.
5731 * math/s_ccosl.c: Rely entirely on ccoshl.
5732 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5733 Remove tests for FE_INVALID.
5734 * math/s_ccoshf.c: Likewise.
5735 * math/s_ccoshl.c: Likewise.
5736 * math/s_csin.c: Likewise.
5737 * math/s_csinf.c: Likewise.
5738 * math/s_csinh.c Likewise.
5739 * math/s_csinhf.c: Likewise.
5740 * math/s_csinhl.c: Likewise.
5741 * math/s_csinl.c: Likewise.
5742 * math/s_ctan.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5744 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5745 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5746
8ec250a4
UD
57472011-10-21 Ulrich Drepper <drepper@gmail.com>
5748
c196fed8
UD
5749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5750 compilation problems.
5751
8ec250a4
UD
5752 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5753 __builtin_expect.
5754
8d4f46c6
UD
57552011-10-20 Ulrich Drepper <drepper@gmail.com>
5756
ed72b654
UD
5757 * sysdeps/i386/configure.in: Test for -mfma4 option.
5758 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5759 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5760 COMMON_CPUID_INDEX_80000001.
5761 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5762 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5763 use it if FMA3 is not supported.
5764 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5765
8d4f46c6
UD
5766 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5767 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5768
d45c60c2
AS
57692011-10-20 Andreas Schwab <schwab@redhat.com>
5770
5771 [BZ #12892]
5772 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5773 it would create a cycle with a link time dependency.
5774
d9a4d2ab
UD
57752011-10-19 Ulrich Drepper <drepper@gmail.com>
5776
855d1560
UD
5777 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5778 instruction.
5779 * string/Makefile (strop-tests): Add rawmemchr.
5780 * string/test-rawmemchr.c: New file.
5781
d9a4d2ab
UD
5782 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5783 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5784 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5785 when compiling str{,n}casecmp and when AVX is available. Hook up
5786 new optimized code in initializers.
5787
8f3b1ffe
AS
57882011-10-19 Andreas Schwab <schwab@redhat.com>
5789
5790 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5791 __feraiseexcept instead of feraiseexcept.
5792
d38f1dba
UD
57932011-10-18 Ulrich Drepper <drepper@gmail.com>
5794
d9a8d0ab
UD
5795 * math/math_private.h: Define defaults for libc_fetestexcept and
5796 libc_feupdateenv.
5797 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5798 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5799 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5800 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5801 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5802 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5803 libc_fetestexcept and libc_feupdateenv.
5804
4855e3dd
UD
5805 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5806 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5807 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5808 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5809 libc_feholdexcept_setround.
5810
581d30e3
UD
5811 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5812 Add s_nearbyint-c and s_nearbyintf-c.
5813 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5814 nearbyintf inlines.
5815 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5816 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5817 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5818 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5819
d38f1dba
UD
5820 * math/math_private.h: Define defaults for libc_fegetround,
5821 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5822 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5823 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5824 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5825 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5826 standard functions.
5827 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5828 Remove comments and hacks for old compiler versions.
5829 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5830 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5831 libc_feholdexceptl.
5832
caa6c9d8
AS
58332011-10-18 Andreas Schwab <schwab@redhat.com>
5834
5835 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5836 (__feraiseexcept_renamed): Add __NTH.
5837 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5838 namespace violations.
5839
97c066e6
UD
58402011-10-17 Ulrich Drepper <drepper@gmail.com>
5841
99ce7b04
UD
5842 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5843
1004d182
UD
5844 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5845
228a984d
UD
5846 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5847 recently added interfaces.
5848 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5849
c8553a6a
UD
5850 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5851 about macro parameter expansion.
5852
ed22dcf6
UD
5853 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5854 __NO_MATH_INLINES is defined. Cleanups.
5855
5856 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5857 and __floorf is target has SSE4.1.
5858 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5859 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5860 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5861 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5862
b171c137
UD
5863 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5864 name.
5865 (floorf): Likewise.
5866
97c066e6
UD
5867 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5868
629f62ef
AS
58692011-10-17 Andreas Schwab <schwab@redhat.com>
5870
49a43d80
AS
5871 * misc/sys/cdefs.h: Fix last change.
5872
629f62ef
AS
5873 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5874 database lookup.
5875
e453f6cd
UD
58762011-10-16 Ulrich Drepper <drepper@gmail.com>
5877
aa78043a
UD
5878 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5879
ad0f5cad
UD
5880 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5881 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5886 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5887 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5888 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5889 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5890 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5891 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5892 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5893 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5894 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5895 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5896 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5897 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5898 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5899 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5900 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5901 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5902
5903 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5904 ceil, ceilf, floor, floorf.
5905
5906 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5907 Perform IRELATIVE relocations last.
5908
e453f6cd
UD
5909 * elf/do-rel.h: Add another parameter nrelative, replacing the
5910 local variable with the same name. Change name of the function
5911 to end in Rel or Rela (uppercase).
5912 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5913 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5914 elf_dynamic_do_##reloc function.
5915
fd5bdc09
UD
59162011-10-15 Ulrich Drepper <drepper@gmail.com>
5917
79b195b5
UD
5918 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5919 is sufficient, at least on modern CPUs.
5920
d4a28569
UD
5921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5922
b61099b5
UD
5923 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5924 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5925
bcf01e6d
UD
5926 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5927 __expl_finite.
5928 * math/bits/math-finite.h: Add entries for exp.
5929 * math/e_expl.c: Add __*_finite alias.
5930 * sysdeps/i386/fpu/e_exp.S: Likewise.
5931 * sysdeps/i386/fpu/e_expf.S: Likewise.
5932 * sysdeps/i386/fpu/e_expl.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5934 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5935 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5937 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5938 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5939 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5940
ba1a0d59
UD
5941 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5942 is sufficient, at least on modern CPUs.
5943
fd5bdc09
UD
5944 * ctype/ctype-info.c (__ctype_init): Define.
5945 * include/ctype.h (__ctype_init): Declare.
5946 (__ctype_b_loc): The variable is always initialized.
5947 (__ctype_toupper_loc): Likewise.
5948 (__ctype_tolower_loc): Likewise.
5949 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5950 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5951
7872cfb0
AS
59522011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5953
b468825a
AS
5954 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5955
7872cfb0
AS
5956 * configure.in: Also look in $cxxmachine/include for C++ system
5957 headers.
5958
be13f7bf
LD
59592011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5960
5961 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5962 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5963 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5964 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5965 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5966 (USE_AS_WMEMCMP): New macro.
5967 Fixing indents.
5968 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5969 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5970 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5971 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5973 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5974 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5975 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5976 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5977 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5978 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5979 (USE_AS_WMEMCMP): New macro.
5980 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5981 * sysdeps/string/test-memcmp.c: Update.
5982 Fix simple_wmemcmp.
5983 Add new tests.
5984 * wcsmbs/wmemcmp.c: Update.
5985 (WMEMCMP): New macro.
5986 Fix overflow bug.
5987
556a2007
AJ
59882011-10-12 Andreas Jaeger <aj@suse.de>
5989
5990 [BZ #13268]
5991 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5992
538faaa7
UD
59932011-10-15 Ulrich Drepper <drepper@gmail.com>
5994
ab6737ff
UD
5995 * libio/iofwide.c (do_length): Avoid warning.
5996
538faaa7
UD
5997 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5998
396a21b1
UD
59992011-10-14 Ulrich Drepper <drepper@gmail.com>
6000
cdf2901f
UD
6001 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6002
38ad40ce
UD
6003 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6004 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6005 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6006 * sysdeps/i386/i686/fpu/e_log.S: New file.
6007 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6008 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6009
396a21b1
UD
6010 * ctype/ctype.h: Add support for inlined isXXX functions when
6011 compiling C++ code.
6012
6b1f68c9
AS
60132011-10-14 Andreas Schwab <schwab@redhat.com>
6014
349290c0
AS
6015 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6016
6b1f68c9
AS
6017 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6018
f2282d42
RM
60192011-10-13 Roland McGrath <roland@hack.frob.com>
6020
6021 [BZ #13291]
6022 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6023
5298ffa8
AS
60242011-10-13 Andreas Schwab <schwab@redhat.com>
6025
714fad23
AS
6026 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6027 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6028 feraiseexcept.
6029
81dcc7fb
AS
6030 * sysdeps/x86_64/memrchr.S: Check for zero size.
6031
5298ffa8
AS
6032 * string/stratcliff.c: Add memrchr tests.
6033
951fbcec
LD
60342011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6035
6036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6037 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6038 rawmemchr-sse2 rawmemchr-sse2-bsf.
6039 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6040 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6041 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6042 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6043 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6044 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6045 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6046 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6047 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6048 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6049 * string/memrchr.c (MEMRCHR): New macro.
6050
0ac5ae23
UD
60512011-10-12 Ulrich Drepper <drepper@gmail.com>
6052
6053 Add integration with gcc's -ffinite-math-only and optimize wrapper
6054 functions in libm.
6055 * Versions.def: Define GLIBC_2.15 version for libm.
6056 * math/Makefile (headers): Add bits/math-finite.h.
6057 * math/bits/math-finite.h: New file.
6058 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6059 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6060 * math/e_acoshl.c: Add __*_finite alias.
6061 * math/e_acosl.c: Likewise.
6062 * math/e_asinl.c: Likewise.
6063 * math/e_atan2l.c: Likewise.
6064 * math/e_atanhl.c: Likewise.
6065 * math/e_coshl.c: Likewise.
6066 * math/e_exp10.c: Likewise.
6067 * math/e_exp10f.c: Likewise.
6068 * math/e_exp10l.c: Likewise.
6069 * math/e_exp2l.c: Likewise.
6070 * math/e_fmodl.c: Likewise.
6071 * math/e_gammal_r.c: Likewise.
6072 * math/e_hypotl.c: Likewise.
6073 * math/e_j0l.c: Likewise.
6074 * math/e_j1l.c: Likewise.
6075 * math/e_jnl.c: Likewise.
6076 * math/e_lgammal_r.c: Likewise.
6077 * math/e_log10l.c: Likewise.
6078 * math/e_log2l.c: Likewise.
6079 * math/e_logl.c: Likewise.
6080 * math/e_powl.c: Likewise.
6081 * math/e_sinhl.c: Likewise.
6082 * math/e_sqrtl.c: Likewise.
6083 * math/e_scalb.c: Completely rewritten and optimized.
6084 * math/e_scalbf.c: Likewise.
6085 * math/e_scalbl.c: Likewise.
6086 * math/w_acos.c: Likewise.
6087 * math/w_acosf.c: Likewise.
6088 * math/w_acosl.c: Likewise.
6089 * math/w_acosh.c: Likewise.
6090 * math/w_acoshf.c: Likewise.
6091 * math/w_acoshl.c: Likewise.
6092 * math/w_asin.c: Likewise.
6093 * math/w_asinf.c: Likewise.
6094 * math/w_asinl.c: Likewise.
6095 * math/w_atan2.c: Likewise.
6096 * math/w_atan2f.c: Likewise.
6097 * math/w_atan2l.c: Likewise.
6098 * math/w_atanh.c: Likewise.
6099 * math/w_atanhf.c: Likewise.
6100 * math/w_atanhl.c: Likewise.
6101 * math/w_exp10.c: Likewise.
6102 * math/w_exp10f.c: Likewise.
6103 * math/w_exp10l.c: Likewise.
6104 * math/w_fmod.c: Likewise.
6105 * math/w_fmodf.c: Likewise.
6106 * math/w_fmodl.c: Likewise.
6107 * math/w_j0.c: Likewise.
6108 * math/w_j0f.c: Likewise.
6109 * math/w_j0l.c: Likewise.
6110 * math/w_j1.c: Likewise.
6111 * math/w_j1f.c: Likewise.
6112 * math/w_j1l.c: Likewise.
6113 * math/w_jn.c: Likewise.
6114 * math/w_jnf.c: Likewise.
6115 * math/w_log.c: Likewise.
6116 * math/w_logf.c: Likewise.
6117 * math/w_logl.c: Likewise.
6118 * math/w_log10.c: Likewise.
6119 * math/w_log10f.c: Likewise.
6120 * math/w_log10l.c: Likewise.
6121 * math/w_log2.c: Likewise.
6122 * math/w_log2f.c: Likewise.
6123 * math/w_log2l.c: Likewise.
6124 * math/w_pow.c: Likewise.
6125 * math/w_powf.c: Likewise.
6126 * math/w_powl.c: Likewise.
6127 * math/w_remainder.c: Likewise.
6128 * math/w_remainderf.c: Likewise.
6129 * math/w_remainderl.c: Likewise.
6130 * math/w_scalb.c: Likewise.
6131 * math/w_scalbf.c: Likewise.
6132 * math/w_scalbl.c: Likewise.
6133 * math/w_sqrt.c: Likewise.
6134 * math/w_sqrtf.c: Likewise.
6135 * math/w_sqrtl.c: Likewise.
6136 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6137 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6138 used.
6139 * math/math_private.h: Declare __kernel_standard_f.
6140 * math/w_cosh.c: Remove cruft and optimize a bit.
6141 * math/w_coshf.c: Likewise.
6142 * math/w_coshl.c: Likewise.
6143 * math/w_exp2.c: Likewise.
6144 * math/w_exp2f.c: Likewise.
6145 * math/w_exp2l.c: Likewise.
6146 * math/w_hypot.c: Likewise.
6147 * math/w_hypotf.c: Likewise.
6148 * math/w_hypotl.c: Likewise.
6149 * math/w_lgamma.c: Likewise.
6150 * math/w_lgamma_r.c: Likewise.
6151 * math/w_lgammaf.c: Likewise.
6152 * math/w_lgammaf_r.c: Likewise.
6153 * math/w_lgammal.c: Likewise.
6154 * math/w_lgammal_r.c: Likewise.
6155 * math/w_sinh.c: Likewise.
6156 * math/w_sinhf.c: Likewise.
6157 * math/w_sinhl.c: Likewise.
6158 * math/w_tgamma.c: Likewise.
6159 * math/w_tgammaf.c: Likewise.
6160 * math/w_tgammal.c: Likewise.
6161 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6163 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6164 Minor optimizations. Pretty printing. Remove cruft.
6165 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6166 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6167 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6168 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6169 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6170 * sysdeps/i386/fpu/e_asin.S: Likewise.
6171 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6172 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6173 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6174 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6175 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6176 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6177 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6178 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6179 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6180 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6181 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6182 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6183 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6184 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6185 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6186 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6187 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6188 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6189 * sysdeps/i386/fpu/e_log.S: Likewise.
6190 * sysdeps/i386/fpu/e_log10.S: Likewise.
6191 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6193 * sysdeps/i386/fpu/e_log2.S: Likewise.
6194 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6195 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6196 * sysdeps/i386/fpu/e_logf.S: Likewise.
6197 * sysdeps/i386/fpu/e_logl.S: Likewise.
6198 * sysdeps/i386/fpu/e_pow.S: Likewise.
6199 * sysdeps/i386/fpu/e_powf.S: Likewise.
6200 * sysdeps/i386/fpu/e_powl.S: Likewise.
6201 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6202 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6203 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6204 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6205 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6206 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6207 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6208 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6209 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6210 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6211 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6213 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6214 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6215 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6216 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6217 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6218 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6219 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6220 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6221 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6223 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6224 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6226 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6227 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6228 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6230 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6231 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6232 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6233 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6234 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6235 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6236 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6237 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6238 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6239 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6240 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6241 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6242 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6243 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6244 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6245 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6246 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6247 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6248 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6249 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6250 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6251 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6254 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6290 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6293 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6295 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6296 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6298 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6301 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6302 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6303 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6304 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6305 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6306 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6307 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6308 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6309 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6310 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6311 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6312 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6313 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6314 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6315 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6316 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6317 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6318 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6319 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6320 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6321 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6322 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6323 (__isnanf): Likewise.
6324 (__isinf_ns): Likewise.
6325 (__isinf_nsf): Likewise.
6326 (__finite): Likewise.
6327 (__finitef): Likewise.
6328 (__ieee754_sqrt): Define as macro.
6329 (__ieee754_sqrtf): Define as macro.
6330 (__ieee754_sqrtl): Define as macro.
6331 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6332 inlined copy.
6333 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6334 __FINITE_MATH_ONLY__ consistent.
6335 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6336
12cc2fcd
AS
63372011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6338
a843a204
AS
6339 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6340 of rawmemchr.
6341
12cc2fcd
AS
6342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6343
c853acd5
UD
63442011-10-09 Ulrich Drepper <drepper@gmail.com>
6345
6346 * po/ja.po: Update from translation team.
6347
c658d255
RM
63482011-10-08 Roland McGrath <roland@hack.frob.com>
6349
110946e4
RM
6350 * locale/programs/locarchive.c (prepare_address_space): New function.
6351 (create_archive, enlarge_archive, open_archive): Use it.
6352
50604220
RM
6353 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6354 inside [SHARED], where it is used.
6355
c658d255
RM
6356 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6357
6358 * nss/getent.c (netgroup_keys): Remove unused variable.
6359 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6360
6a621eb7
UD
63612011-10-08 Ulrich Drepper <drepper@gmail.com>
6362
7edb55ce
UD
6363 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6364 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6366 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6367 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6368 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6369 * math/Makefile (libm-calls): Add s_isinf_ns.
6370 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6371 * math/multc3.c: Likewise.
6372 * math/s_casin.c: Likewise.
6373 * math/s_casinf.c: Likewise.
6374 * math/s_casinl.c: Likewise.
6375 * math/s_ccos.c: Likewise.
6376 * math/s_ccosf.c: Likewise.
6377 * math/s_ccosl.c: Likewise.
6378 * math/s_ctan.c: Likewise.
6379 * math/s_ctanf.c: Likewise.
6380 * math/s_ctanh.c: Likewise.
6381 * math/s_ctanhf.c: Likewise.
6382 * math/s_ctanhl.c: Likewise.
6383 * math/s_ctanl.c: Likewise.
6384 * math/w_fmod.c: Likewise.
6385 * math/w_fmodf.c: Likewise.
6386 * math/w_fmodl.c: Likewise.
6387 * math/w_remainder.c: Likewise.
6388 * math/w_remainderf.c: Likewise.
6389 * math/w_remainderl.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6391 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6392 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6394 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6395 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6396 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6397 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6398
187da0ae
UD
6399 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6400 of the number.
6401 * stdio-common/printf_fphex.c: Likewise.
6402 * stdio-common/printf_size.c: Likewise.
6403
9277c064
UD
6404 * math/e_exp10.c: Include math_private.h using <...> not "...".
6405 * math/e_exp10f.c: Likewise.
6406 * math/e_exp10l.c: Likewise.
6407 * math/e_exp2l.c: Likewise.
6408 * math/e_j0l.c: Likewise.
6409 * math/e_j1l.c: Likewise.
6410 * math/e_jnl.c: Likewise.
6411 * math/e_lgammal_r.c: Likewise.
6412 * math/e_rem_pio2l.c: Likewise.
6413 * math/e_scalb.c: Likewise.
6414 * math/e_scalbf.c: Likewise.
6415 * math/e_scalbl.c: Likewise.
6416 * math/k_cosl.c: Likewise.
6417 * math/k_sinl.c: Likewise.
6418 * math/k_tanl.c: Likewise.
6419 * math/s_cacoshf.c: Likewise.
6420 * math/s_catan.c: Likewise.
6421 * math/s_catanf.c: Likewise.
6422 * math/s_catanh.c: Likewise.
6423 * math/s_catanhf.c: Likewise.
6424 * math/s_catanhl.c: Likewise.
6425 * math/s_catanl.c: Likewise.
6426 * math/s_ccosh.c: Likewise.
6427 * math/s_ccoshf.c: Likewise.
6428 * math/s_ccoshl.c: Likewise.
6429 * math/s_cexp.c: Likewise.
6430 * math/s_cexpf.c: Likewise.
6431 * math/s_cexpl.c: Likewise.
6432 * math/s_clog.c: Likewise.
6433 * math/s_clog10.c: Likewise.
6434 * math/s_clog10f.c: Likewise.
6435 * math/s_clog10l.c: Likewise.
6436 * math/s_clogf.c: Likewise.
6437 * math/s_clogl.c: Likewise.
6438 * math/s_csin.c: Likewise.
6439 * math/s_csinf.c: Likewise.
6440 * math/s_csinh.c: Likewise.
6441 * math/s_csinhf.c: Likewise.
6442 * math/s_csinhl.c: Likewise.
6443 * math/s_csinl.c: Likewise.
6444 * math/s_csqrt.c: Likewise.
6445 * math/s_csqrtf.c: Likewise.
6446 * math/s_csqrtl.c: Likewise.
6447 * math/s_ctan.c: Likewise.
6448 * math/s_ctanf.c: Likewise.
6449 * math/s_ctanh.c: Likewise.
6450 * math/s_ctanhf.c: Likewise.
6451 * math/s_ctanhl.c: Likewise.
6452 * math/s_ctanl.c: Likewise.
6453 * math/s_ldexp.c: Likewise.
6454 * math/s_ldexpf.c: Likewise.
6455 * math/s_ldexpl.c: Likewise.
6456 * math/s_significand.c: Likewise.
6457 * math/s_significandf.c: Likewise.
6458 * math/s_significandl.c: Likewise.
6459 * math/w_acos.c: Likewise.
6460 * math/w_acosf.c: Likewise.
6461 * math/w_acosh.c: Likewise.
6462 * math/w_acoshf.c: Likewise.
6463 * math/w_acoshl.c: Likewise.
6464 * math/w_acosl.c: Likewise.
6465 * math/w_asin.c: Likewise.
6466 * math/w_asinf.c: Likewise.
6467 * math/w_asinl.c: Likewise.
6468 * math/w_atan2.c: Likewise.
6469 * math/w_atan2f.c: Likewise.
6470 * math/w_atan2l.c: Likewise.
6471 * math/w_atanh.c: Likewise.
6472 * math/w_atanhf.c: Likewise.
6473 * math/w_atanhl.c: Likewise.
6474 * math/w_cosh.c: Likewise.
6475 * math/w_coshf.c: Likewise.
6476 * math/w_coshl.c: Likewise.
6477 * math/w_dremf.c: Likewise.
6478 * math/w_exp10.c: Likewise.
6479 * math/w_exp10f.c: Likewise.
6480 * math/w_exp10l.c: Likewise.
6481 * math/w_exp2.c: Likewise.
6482 * math/w_exp2f.c: Likewise.
6483 * math/w_fmod.c: Likewise.
6484 * math/w_fmodf.c: Likewise.
6485 * math/w_fmodl.c: Likewise.
6486 * math/w_hypot.c: Likewise.
6487 * math/w_hypotf.c: Likewise.
6488 * math/w_hypotl.c: Likewise.
6489 * math/w_j0.c: Likewise.
6490 * math/w_j0f.c: Likewise.
6491 * math/w_j0l.c: Likewise.
6492 * math/w_j1.c: Likewise.
6493 * math/w_j1f.c: Likewise.
6494 * math/w_j1l.c: Likewise.
6495 * math/w_jn.c: Likewise.
6496 * math/w_jnf.c: Likewise.
6497 * math/w_jnl.c: Likewise.
6498 * math/w_lgamma.c: Likewise.
6499 * math/w_lgamma_r.c: Likewise.
6500 * math/w_lgammaf.c: Likewise.
6501 * math/w_lgammaf_r.c: Likewise.
6502 * math/w_lgammal.c: Likewise.
6503 * math/w_lgammal_r.c: Likewise.
6504 * math/w_log.c: Likewise.
6505 * math/w_log10.c: Likewise.
6506 * math/w_log10f.c: Likewise.
6507 * math/w_log10l.c: Likewise.
6508 * math/w_log2.c: Likewise.
6509 * math/w_log2f.c: Likewise.
6510 * math/w_log2l.c: Likewise.
6511 * math/w_logf.c: Likewise.
6512 * math/w_logl.c: Likewise.
6513 * math/w_pow.c: Likewise.
6514 * math/w_powf.c: Likewise.
6515 * math/w_powl.c: Likewise.
6516 * math/w_remainder.c: Likewise.
6517 * math/w_remainderf.c: Likewise.
6518 * math/w_remainderl.c: Likewise.
6519 * math/w_scalb.c: Likewise.
6520 * math/w_scalbf.c: Likewise.
6521 * math/w_scalbl.c: Likewise.
6522 * math/w_sinh.c: Likewise.
6523 * math/w_sinhf.c: Likewise.
6524 * math/w_sinhl.c: Likewise.
6525 * math/w_sqrt.c: Likewise.
6526 * math/w_sqrtf.c: Likewise.
6527 * math/w_sqrtl.c: Likewise.
6528 * math/w_tgamma.c: Likewise.
6529 * math/w_tgammaf.c: Likewise.
6530 * math/w_tgammal.c: Likewise.
6531
6a621eb7
UD
6532 * po/ja.po: Update from translation team.
6533
bf582445
AJ
65342011-09-29 Andreas Jaeger <aj@suse.de>
6535
f9efbf3a
AJ
6536 [BZ #13179]
6537 * sunrpc/netname.c (netname2host): Fix logic.
6538
bf582445
AJ
6539 [BZ #6779]
6540 [BZ #6783]
6541 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6542 correctly.
6543 * math/w_remainder.c (__remainder): Likewise.
6544 * math/w_remainderf.c (__remainderf): Likewise.
6545 * math/libm-test.inc (remainder_test): Add test cases.
6546
48693bea
AK
65472011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6548
6549 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6550 sdiv_qrnnd.
6551
42622229
LD
65522011-10-07 Ulrich Drepper <drepper@gmail.com>
6553
6554 * string/test-memcmp.c: Avoid unncessary #defines.
6555 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6556
093ecf92
LD
65572011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6558
6559 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6560 Use new sse2 version for core i3 - i7 as it's faster
6561 than sse42 version.
6562 (bit_Prefer_PMINUB_for_stringop): New.
6563 * sysdeps/x86_64/rawmemchr.S: Update.
6564 Replace with faster SSE2 version.
6565 * sysdeps/x86_64/memrchr.S: New file.
6566 * sysdeps/x86_64/memchr.S: Update.
6567 Replace with faster SSE2 version.
6568
fde56e5c
MP
65692011-09-12 Marek Polacek <mpolacek@redhat.com>
6570
6571 * elf/dl-load.c (lose): Add cast to avoid warning.
6572
21fd49a9
UD
65732011-10-07 Ulrich Drepper <drepper@gmail.com>
6574
5a06e643
UD
6575 * po/ca.po: Update from translation team.
6576
684ae515
UD
6577 * inet/getnetgrent_r.c: Hook up nscd.
6578 * nscd/Makefile (routines): Add nscd_netgroup.
6579 (nscd-modules): Add netgroupcache.
6580 (CFLAGS-netgroupcache.c): Define.
6581 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6582 (cache_search): Add const to second parameter.
6583 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6584 INNETGR.
6585 (dbs): Add netgrdb entry.
6586 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6587 (verify_persistent_db): Handle netgrdb.
6588 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6589 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6590 GETFDNETGR.
6591 (netgroup_response_header): Define.
6592 (innetgroup_response_header): Define.
6593 (datahead): Add netgroup_response_header and innetgroup_response_header
6594 elements.
6595 * nscd/nscd.conf: Add entries for netgroup cache.
6596 * nscd/nscd.h (dbtype): Add netgrdb.
6597 (_PATH_NSCD_NETGROUP_DB): Define.
6598 (netgroup_iov_disabled): Declare.
6599 (xmalloc, xcalloc, xrealloc): Move declarations here.
6600 (cache_search): Adjust prototype.
6601 Add netgroup-related prototypes.
6602 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6603 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6604 (__nscd_innetgr): Declare.
6605 * nscd/selinux.c (perms): Use access_vector_t as element type and
6606 add netgroup-related initializers.
6607 * nscd/netgroupcache.c: New file.
6608 * nscd/nscd_netgroup.c: New file.
6609 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6610 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6611 For four parameters use innetgr.
6612 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6613 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6614 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6615 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6616
21fd49a9
UD
6617 * nscd/connections.c (register_traced_file): Don't register file
6618 for disabled databases.
6619
054c0457
UD
66202011-10-06 Ulrich Drepper <drepper@gmail.com>
6621
32b63198
UD
6622 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6623
054c0457
UD
6624 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6625 from tree and freeing node.
6626
64031225
JO
66272011-09-25 Jiri Olsa <jolsa@redhat.com>
6628
6629 * nss/nsswitch.c (__nss_database_lookup): Handle
6630 nss_parse_service_list out of memory case.
6631
0490345c
JO
66322011-09-15 Jiri Olsa <jolsa@redhat.com>
6633
6634 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6635 out of memory case.
6636
3a62d00d
AS
66372011-10-04 Andreas Schwab <schwab@redhat.com>
6638
6639 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6640 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6641 pass it down.
6642 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6643 elf_machine_rela, elf_machine_lazy_rel.
6644 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6645 (ELF_DYNAMIC_DO_REL): Likewise.
6646 (ELF_DYNAMIC_DO_RELA): Likewise.
6647 (ELF_DYNAMIC_RELOCATE): Likewise.
6648 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6649 to ELF_DYNAMIC_DO_REL.
6650 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6651 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6652 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6653 elf_machine_rela.
6654 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6655 skip_ifunc, don't call ifunc function if non-zero.
6656 (elf_machine_rela): Likewise.
6657 (elf_machine_lazy_rel): Likewise.
6658 (elf_machine_lazy_rela): Likewise.
6659 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6660 (elf_machine_lazy_rel): Likewise.
6661 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6662 Likewise.
6663 (elf_machine_lazy_rel): Likewise.
6664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6665 Likewise.
6666 (elf_machine_lazy_rel): Likewise.
6667 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6668 (elf_machine_lazy_rel): Likewise.
6669 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6670 (elf_machine_lazy_rel): Likewise.
6671 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6672 (elf_machine_lazy_rel): Likewise.
6673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6674 (elf_machine_lazy_rel): Likewise.
6675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6676 (elf_machine_lazy_rel): Likewise.
6677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6678 (elf_machine_lazy_rel): Likewise.
6679
68577918
UD
66802011-09-28 Ulrich Drepper <drepper@gmail.com>
6681
6682 * nss/nss_files/files-init.c (_nss_files_init): Use static
6683 initialization for all the *_traced_file variables.
6684
68822d74
AS
66852011-09-28 Andreas Schwab <schwab@redhat.com>
6686
6687 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6688
2056100b
RM
66892011-09-27 Roland McGrath <roland@hack.frob.com>
6690
6691 [BZ #13226]
6692 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6693
32c76b63
AS
66942011-09-27 Andreas Schwab <schwab@redhat.com>
6695
6696 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6697 Reread the line before reparsing it.
6698
bf972c9d
AS
66992011-09-26 Andreas Schwab <schwab@redhat.com>
6700
6701 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6702
e057a1b5
JM
67032011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6704 Maxim Kuvyrkov <maxim@codesourcery.com>
6705 Joseph Myers <joseph@codesourcery.com>
6706
6707 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6708 if needed for __stack_chk_guard.
6709
bc7e1c36
RM
67102011-09-19 Roland McGrath <roland@hack.frob.com>
6711
ecb1482f
RM
6712 * sysdeps/posix/spawni.c (script_execute): Always define it.
6713 It will be optimized away if unused.
6714 (maybe_script_execute): New function.
6715 (__spawni): Call it.
6716
bc7e1c36
RM
6717 * Makerules: Don't include tls.make.
6718 (config-tls): Always set to thread.
6719 * tls.make.c: File removed.
6720
1c3b002b
MF
67212011-09-19 Mike Frysinger <vapier@gentoo.org>
6722
6723 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6724 * config.make.in (CPPFLAGS-config): New substituted variable.
6725
2840865d
UD
67262011-09-15 Ulrich Drepper <drepper@gmail.com>
6727
88738eb6
UD
6728 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6729
cbf645a6 6730 [BZ #13192]
2840865d
UD
6731 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6732 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6733
b402e91a
RM
67342011-09-15 Roland McGrath <roland@hack.frob.com>
6735
6736 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6737 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6738 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6739 (CALL_FAIL): Likewise.
6740 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6741 (CALL_FAIL): Macro removed.
6742 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6743
4c1a1f71
UD
67442011-09-15 Ulrich Drepper <drepper@gmail.com>
6745
6746 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6747 for __FINITE_MATH_ONLY__ == 1.
6748
edc121be
AS
67492011-09-15 Andreas Schwab <schwab@redhat.com>
6750
6751 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6752 __ieee754_sqrt instead of sqrt.
6753 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6754 __ieee754_sqrtf instead of sqrtf.
6755 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6756 __floorf instead of floorf.
6757 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6758 __floorf, __truncf instead of floorf, truncf.
6759
cd205654
UD
67602011-09-14 Ulrich Drepper <drepper@gmail.com>
6761
ee4d0315
UD
6762 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6763
cd205654
UD
6764 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6765 __extern_always_inline.
6766 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6767 32-bit.
6768
48b67d71
AS
67692011-09-14 Andreas Schwab <schwab@redhat.com>
6770
6771 * elf/rtld.c (dl_main): Also relocate in dependency order when
6772 doing symbol dependency testing.
6773
1ae12c75
AS
67742011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6775
6776 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6777 Always define `refsym'.
6778
995a80df
AS
67792011-09-13 Andreas Schwab <schwab@redhat.com>
6780
e529793b
AS
6781 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6782 (__FD_ELT): Renamed from __FDELT.
6783 * misc/bits/select2.h (__FD_ELT): Likewise.
6784 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6785 __FD_MASK instead of __FDELT, __FDMASK.
6786 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6787 Likewise.
6788 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6789 Likewise.
6790
52d4fef8
AS
6791 * elf/Makefile (gen-ldd): Fix pattern.
6792
995a80df
AS
6793 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6794 (init_tls): Likewise.
6795
8682f8b0
UD
67962011-09-12 Ulrich Drepper <drepper@gmail.com>
6797
6798 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6799
de82006d
AS
68002011-09-12 Andreas Schwab <schwab@redhat.com>
6801
a7c8e6a1
AS
6802 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6803 `struct cmsghdr *' instead of `void *'.
6804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6805 Likewise.
6806
0f31fe77
AS
68072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6808
6809 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6810 if non-absolute.
6811 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6812 ldd_rewrite_script.
0f31fe77 6813
32b4c839
UD
68142011-09-11 Ulrich Drepper <drepper@gmail.com>
6815
83cd1420
UD
6816 * configure.in: Remove --with-tls option.
6817 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6818 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6819 out in case it is missing.
6820 * sysdeps/ia64/elf/configure.in: Likewise.
6821 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6822 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6823 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6824 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6825 * sysdeps/sh/elf/configure.in: Likewise.
6826 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6827 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6828 * sysdeps/x86_64/elf/configure.in: Likewise.
6829 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6830 * sysdeps/mach/hurd/tls.h: Likewise.
6831
633f745d
UD
6832 [BZ #13067]
6833 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6834
f318beb8
UD
6835 [BZ #13090]
6836 * configure.in: Fix use of AC_INIT.
6837
32b4c839
UD
6838 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6839
3ce1f295
UD
68402011-09-10 Ulrich Drepper <drepper@gmail.com>
6841
bb016596
UD
6842 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6843 __set_errno.
8e58439c
UD
6844 * malloc/hooks.c: Likewise.
6845
aebae053 6846 [BZ #11929]
02d46fc4
UD
6847 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6848 variables statically.
6849 (narenas): Initialize.
6850 (list_lock): Initialize.
bb016596
UD
6851 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6852 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6853 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6854 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6855 Add initializers to main_arena and mp_.
6856 (malloc_state): Remove pagesize member. Change all users to use
6857 GLRO(dl_pagesize).
6858
6859 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6860 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6861 is always initialized.
6862
22a89187
UD
6863 * malloc/malloc.c: Removed unused configurations and dead code.
6864 * malloc/arena.c: Likewise.
6865 * malloc/hooks.c: Likewise.
02d46fc4 6866 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6867
d063d164
UD
6868 * include/tls.h: Removed. USE___THREAD must always be defined.
6869 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6870 * elf/dl-libc.c: Likewise.
6871 * elf/dl-tsd.c: Likewise.
6872 * include/errno.h: Likewise.
6873 * include/netdb.h: Likewise.
6874 * include/resolv.h: Likewise.
6875 * inet/herrno-loc.c: Likewise.
6876 * inet/herrno.c: Likewise.
6877 * malloc/arena.c: Likewise.
6878 * malloc/hooks.c: Likewise.
6879 * malloc/malloc.c: Likewise.
6880 * resolv/res-state.c: Likewise.
6881 * resolv/res_libc.c: Likewise.
6882 * sysdeps/i386/dl-machine.h: Likewise.
6883 * sysdeps/ia64/dl-machine.h: Likewise.
6884 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6885 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6886 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6887 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6888 * sysdeps/sh/dl-machine.h: Likewise.
6889 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6890 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6891 * sysdeps/unix/i386/sysdep.S: Likewise.
6892 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6893 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6898 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6902 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6903 * sysdeps/x86_64/dl-machine.h: Likewise.
6904 * tls.make.c: Likewise.
6905
3ce1f295
UD
6906 * configure.in: Remove --with-__thread option. Make tests for
6907 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6908 tls_model attribute fail if no support is available. Remove
6909 USE_IN_LIBIO.
6910 * Makeconfig: Adjust for dropped configure option. All features are
6911 now mandatory.
6912 * Makerules: Likewise.
6913 * Versions.def: Likewise.
6914 * argp/argp-fmtstream.c: Likewise.
6915 * argp/argp-fmtstream.h: Likewise.
6916 * argp/argp-help.c: Likewise.
6917 * assert/assert.c: Likewise.
6918 * config.h.in: Likewise.
6919 * config.make.in: Likewise.
6920 * configure: Likewise.
6921 * configure.in: Likewise.
6922 * csu/Versions: Likewise.
6923 * csu/init.c: Likewise.
6924 * elf/tst-audit2.c: Likewise.
6925 * elf/tst-tls10.c: Likewise.
6926 * elf/tst-tls10.h: Likewise.
6927 * elf/tst-tls11.c: Likewise.
6928 * elf/tst-tls12.c: Likewise.
6929 * elf/tst-tls14.c: Likewise.
6930 * elf/tst-tlsmod11.c: Likewise.
6931 * elf/tst-tlsmod12.c: Likewise.
6932 * elf/tst-tlsmod13.c: Likewise.
6933 * elf/tst-tlsmod13a.c: Likewise.
6934 * elf/tst-tlsmod14a.c: Likewise.
6935 * elf/tst-tlsmod15b.c: Likewise.
6936 * elf/tst-tlsmod16a.c: Likewise.
6937 * elf/tst-tlsmod16b.c: Likewise.
6938 * elf/tst-tlsmod7.c: Likewise.
6939 * elf/tst-tlsmod8.c: Likewise.
6940 * elf/tst-tlsmod9.c: Likewise.
6941 * gmon/gmon.c: Likewise.
6942 * grp/fgetgrent_r.c: Likewise.
6943 * grp/putgrent.c: Likewise.
6944 * hurd/fopenport.c: Likewise.
6945 * include/libc-symbols.h: Likewise.
6946 * include/tls.h: Likewise.
6947 * intl/gettextP.h: Likewise.
6948 * intl/loadinfo.h: Likewise.
6949 * locale/global-locale.c: Likewise.
6950 * locale/localeinfo.h: Likewise.
6951 * mach/devstream.c: Likewise.
6952 * malloc/arena.c: Likewise.
6953 * malloc/set-freeres.c: Likewise.
6954 * misc/err.c: Likewise.
6955 * misc/getttyent.c: Likewise.
6956 * misc/mntent_r.c: Likewise.
6957 * posix/getopt.c: Likewise.
6958 * posix/wordexp.c: Likewise.
6959 * pwd/fgetpwent_r.c: Likewise.
6960 * resolv/Versions: Likewise.
6961 * resolv/res_hconf.c: Likewise.
6962 * shadow/fgetspent_r.c: Likewise.
6963 * shadow/putspent.c: Likewise.
6964 * stdio-common/printf_fphex.c: Likewise.
6965 * stdio-common/tmpfile.c: Likewise.
6966 * stdlib/abort.c: Likewise.
6967 * stdlib/fmtmsg.c: Likewise.
6968 * sunrpc/auth_unix.c: Likewise.
6969 * sunrpc/clnt_perr.c: Likewise.
6970 * sunrpc/clnt_tcp.c: Likewise.
6971 * sunrpc/clnt_udp.c: Likewise.
6972 * sunrpc/clnt_unix.c: Likewise.
6973 * sunrpc/openchild.c: Likewise.
6974 * sunrpc/svc_simple.c: Likewise.
6975 * sunrpc/svc_tcp.c: Likewise.
6976 * sunrpc/svc_udp.c: Likewise.
6977 * sunrpc/svc_unix.c: Likewise.
6978 * sunrpc/xdr.c: Likewise.
6979 * sunrpc/xdr_array.c: Likewise.
6980 * sunrpc/xdr_rec.c: Likewise.
6981 * sunrpc/xdr_ref.c: Likewise.
6982 * sunrpc/xdr_stdio.c: Likewise.
6983
1248c1c4
PB
69842011-09-09 Ulrich Drepper <drepper@gmail.com>
6985
6986 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6987
69882011-07-03 Andreas Jaeger <aj@suse.de>
6989
6990 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6991 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6992 regenerate with gen-libm-tests.pl.
6993
69942010-05-12 Petr Baudis <pasky@suse.cz>
6995
6996 [BZ #11589]
6997 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6998 around j0() zero points by switching to j1().
6999 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7003
f22e1074
UD
70042011-09-09 Ulrich Drepper <drepper@gmail.com>
7005
f19009c1
UD
7006 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7007 instead of 0.
7008 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7009 instead of 0. .
7010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7011 Patch in part by Pavel Roskin <proski@gnu.org>.
7012
3f8cc204
UD
7013 [BZ #13138]
7014 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7015 realloc.
7016 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7017 Free memory block if necessary.
7018
f22e1074
UD
7019 [BZ #12847]
7020 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7021 be NULL. Don't lock in this case.
7022
0a2349f9
RM
70232011-09-09 Roland McGrath <roland@hack.frob.com>
7024
7025 * elf/elf.h (ELFOSABI_GNU): New macro.
7026 (ELFOSABI_LINUX): Define to that.
7027
f3cdd467
DZ
70282011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7029
7030 * string/strncat.c (strncat): Undef the symbol in case it has been
7031 defined in bits/string.h.
7032
74718d13
UD
70332011-09-09 Ulrich Drepper <drepper@gmail.com>
7034
633e9e0f
UD
7035 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7036
0a2349f9 7037 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7038 link map.
7039
f9924780
AJ
70402011-08-17 Andreas Jaeger <aj@suse.de>
7041
7042 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7043
7f5517aa
PP
70442011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7045 Ian Lance Taylor <iant@google.com>
7046
7047 * math/libm-test.inc (lround_test): New testcase.
7048 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7049
762011fe
UD
70502011-09-08 Ulrich Drepper <drepper@gmail.com>
7051
92963737
UD
7052 * Makefile: Remove support for automatic cvs check-ins.
7053 * Makerules: Likewise.
7054 * config.make.in: Likewise.
7055 * configure.in: Likewise.
7056 * intl/Makefile: Likewise.
7057 * locale/Makefile: Likewise.
7058 * po/Makefile: Likewise.
7059 * posix/Makefile: Likewise.
7060 * sysdeps/gnu/Makefile: Likewise.
7061 * sysdeps/mach/hurd/Makefile: Likewise.
7062 * sysdeps/sparc/sparc32/Makefile: Likewise.
7063
b0727fd8
JS
7064 [BZ #13118]
7065 * posix/Makefile (bug-regex32-ENV): Define.
7066 Patch by John Stanley <jpsinthemix@verizon.net>.
7067
a0f33f99
UD
7068 * misc/Makefile (headers): Add bits/select2.h.
7069 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7070 * misc/bits/select2.h: New file.
7071 * include/bits/select2.h: New file.
7072 * debug/Makefile (routines): Add fdelt_chk.
7073 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7074 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7075 FD_ISSET.
7076 * debug/fdelt_chk.c: New file.
7077
762011fe
UD
7078 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7079 * wcsmbs/test-wmemcmp.c: Likewise.
7080 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7081 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7082
70832011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7084
7085 * string/Makefile (strop-tests): Add memcmp.
7086 * string/test-wmemcmp.c: New file.
7087 * string/test-memcmp.c: Add wmemcmp support.
7088
7f513ec8
RM
70892011-09-08 Roland McGrath <roland@hack.frob.com>
7090
0442afb4
RM
7091 [BZ #13153]
7092 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7093 2011-07-19 change.
7094
7f513ec8
RM
7095 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7096 garbage value in a __mach_port_mod_refs call in the cases of the
7097 task-self and thread-self ports.
7098
a12b2239
ST
70992011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7100
7101 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7102
610f9ab4
AS
71032011-09-08 Andreas Schwab <schwab@redhat.com>
7104
7f513ec8 7105 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7106
48882a1a
LD
71072011-09-07 Ulrich Drepper <drepper@gmail.com>
7108
b49865be
UD
7109 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7110
fdc86bc9
UD
7111 * elf/dl-libc.c (dlerror_run): Pass back error code from
7112 dl_catch_error.
7113
c966526a
UD
7114 [BZ #13123]
7115 * elf/dl-load.c (lose): Free l_origin if it is valid.
7116
48882a1a
LD
7117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7118 names.
7119 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7120 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7121 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7123 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7124 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7125
77a2a8b4
AZ
71262011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7127
7128 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7129 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7130 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7131 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7132 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7133 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7134 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7135 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7136 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7137 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7138
24f579d8
AM
71392011-08-15 Alan Modra <amodra@gmail.com>
7140
7141 [BZ #13092]
7142 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7143 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7144 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7145 ppc_mcount to static-only-routines.
7146 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7147 __mcount_internal.
7148 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7149 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7150
3d4837df
UD
71512011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7152
7153 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7154 for finite and infinity parameters.
7155
22700377
WS
71562011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7157
7158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7159 and add nop instructions for throughput optimization.
7160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7161
5025581e
WS
71622011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7163
7164 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7165 aligned copy for power7 with vector-scalar instructions.
7166 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7167
08a300c9
L
71682011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7169
7170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7171 AVX check.
7172
59178ef9
AS
71732011-09-07 Andreas Schwab <schwab@redhat.com>
7174
7175 [BZ #13144]
7176 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7177 last change.
7178
e38ba7ab
UD
71792011-09-07 Ulrich Drepper <drepper@gmail.com>
7180
7181 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7182 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7183 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7184 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7185 clock_gettime.
7186
d53a73ac
UD
71872011-09-06 Ulrich Drepper <drepper@gmail.com>
7188
fc8bffcc
UD
7189 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7190 Forgot to demangle the pointer.
7191
ceaa0c5d
UD
7192 * sysdeps/i386/sysdep.h: Define atom_text_section.
7193 * sysdeps/x86_64/sysdep.h: Likewise.
7194 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7195 section with atom_text_section.
7196 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7197 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7198 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7199 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7200 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7201
a77d3c17
UD
7202 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7203 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7204 already be defined. Change to take two parameters and don't assign
7205 result to variable. Adjust all users.
7206 Define INTERNAL_GETTIME if not already defined.
7207 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7208 call.
7209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7210 HAVE_CLOCK_GETTIME_VSYSCALL.
7211 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7212
d53a73ac
UD
7213 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7214 gettimeofday vsyscall, just use time.
7215
a8f84144
AS
72162011-09-06 Andreas Schwab <schwab@redhat.com>
7217
7218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7219 <errno.h>.
7220
ef606249
UD
72212011-09-06 Ulrich Drepper <drepper@gmail.com>
7222
7223 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7224 syscall on x86-64.
7225 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7226 syscall.
7227 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7228 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7229 syscall if possible.
7230
6585cb60
UD
72312011-09-05 Ulrich Drepper <drepper@gmail.com>
7232
7233 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7234 e_ident. Don't pass to find_mapsXX.
7235 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7236
a5f524e4
LD
72372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7238
7239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7240 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7241 * sysdeps/x86_64/multiarch/strchr.S: Update.
7242 Check bit_slow_BSF bit.
7243 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7244 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7245 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7246
554881ef
UD
72472011-09-05 Ulrich Drepper <drepper@gmail.com>
7248
d96de963
UD
7249 [BZ #13134]
7250 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7251 before glibc 2.15.
7252 (tryshell): Define.
7253 (__spawni): Change last parameter to be flag. Test
7254 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7255 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7256 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7257 * posix/spawni.c: Likewise.
7258 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7259 * posix/spawnp.c: Likewise. Change normal version to use
7260 SPAWN_XFLAGS_USE_PATH.
7261 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7262 SPAWN_XFLAGS_TRY_SHELL.
7263
d48e5868
UD
7264 [BZ #13150]
7265 * posix/glob.h: Remove gcc 1.x support.
7266
554881ef
UD
7267 [BZ #13068]
7268 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7269
693fb948
LD
72702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7271
7272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7273 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7274 strrchr-sse2-bsf
7275 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7276 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7277 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7278 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7279 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7280 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7281
1b48c537
UD
72822011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7283
49d42c37
UD
7284 * sysdeps/x86_64/wcscmp.S: New file.
7285
1b48c537
UD
7286 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7287 wcscmp-c wcscmp-sse2
7288 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7289 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7290 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7291 * wcsmbs/wcscmp.c: Allow renaming.
7292
15c95c5d
DM
72932011-09-05 David S. Miller <davem@davemloft.net>
7294
7295 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7296 stack slot, rather than the struct return pointer slot.
7297 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7298 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7300 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7301
2f0ad8f3
UD
73022011-09-05 Ulrich Drepper <drepper@gmail.com>
7303
d88ae418
UD
7304 * po/ja.po: Update from translation team.
7305
2f0ad8f3
UD
7306 [BZ #13144]
7307 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7308 kernel in 64-bit binaries.
7309
5f4318d1
DM
73102011-09-01 David S. Miller <davem@davemloft.net>
7311
7312 * elf/elf.h (HWCAP_SPARC_*): Move to..
7313 * sysdeps/sparc/sysdep.h: this new file and add new values.
7314 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7315 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7316 _DL_HWCAP_COUNT to 24.
7317 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7318 entries.
7319 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7320 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7321 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7323 instead of magic constants.
7324 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7325
3ba57516
DM
73262011-08-31 David S. Miller <davem@davemloft.net>
7327
7328 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7330 Reimplement to do errno handling inline.
7331 (SYSCALL_ERROR_HANDLER): New macro.
7332 (__SYSCALL_STRING): Do not do errno handling in asm.
7333 (__CLONE_SYSCALL_STRING): Delete.
7334 (__INTERNAL_SYSCALL_STRING): Delete.
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7336 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7337 (PSEUDO): Reimplement to do errno handling inline.
7338 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7339 (SYSCALL_ERROR_HANDLER): New macro.
7340 (__SYSCALL_STRING): Do not do errno handling in asm.
7341 (__CLONE_SYSCALL_STRING): Delete.
7342 (__INTERNAL_SYSCALL_STRING): Delete.
7343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7344 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7345 i386.
7346 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7347 (inline_syscall*): Add 'err' argument.
7348 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7349 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7350 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7351 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7352
7353 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7354 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7355
2bc17433
AS
73562011-08-30 Andreas Schwab <schwab@redhat.com>
7357
7358 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7359
fbeb5f4d
JO
73602011-08-29 Jiri Olsa <jolsa@redhat.com>
7361
7362 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7363 directive.
7364
ad69cc26
DM
73652011-08-24 David S. Miller <davem@davemloft.net>
7366
7367 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7368
39dd69df
AS
73692011-08-24 Andreas Schwab <schwab@redhat.com>
7370
7371 * elf/Makefile: Add rules to build and run unload8 test.
7372 * elf/unload8.c: New file.
7373 * elf/unload8mod1.c: New file.
7374 * elf/unload8mod1x.c: New file.
7375 * elf/unload8mod2.c: New file.
7376 * elf/unload8mod3.c: New file.
7377
7378 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7379 it wasn't used.
7380
2c0b250a
DM
73812011-08-23 David S. Miller <davem@davemloft.net>
7382
7383 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7384 subtract stack bias.
7385 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7386 %sp not %fp in calculations.
7387 (_JMPBUF_UNWINDS_ADJ): Likewise.
7388
22044b48
DM
7389 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7390 (aio_suspend): Call it to force an exception region around the
7391 AIO_MISC_WAIT() invocation.
7392
2cae4995
AS
73932011-08-23 Andreas Schwab <schwab@redhat.com>
7394
7395 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7396 backslash.
7397
873a772e
AJ
73982011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7399
7400 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7401 protection macro.
7402 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7403 and <dl-machine.h>.
7404 (Elf64_FuncDesc): Remove.
7405
25ad0df1
DM
74062011-08-22 David S. Miller <davem@davemloft.net>
7407
7408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7409 sigaltstack check, add missing cfi directives.
7410 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7411 missing cfi directives, and sigaltstack handling.
7412
e888bcbe
AS
74132011-08-16 Andreas Schwab <schwab@redhat.com>
7414
7415 [BZ #11724]
7416 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7417 object is seen twice.
7418 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7419
7420 * elf/Makefile (distribute): Add tst-initorder2.c.
7421 (tests): Add tst-initorder2.
7422 (modules-names): Add tst-initorder2a tst-initorder2b
7423 tst-initorder2c tst-initorder2d. Add rules to build them.
7424 ($(objpfx)tst-initorder2.out): New rule.
7425 * elf/tst-initorder2.c: New file.
7426 * elf/tst-initorder2.exp: New file.
7427
87162f46
AS
74282011-08-22 Andreas Schwab <schwab@redhat.com>
7429
70538b7f
AS
7430 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7431
f55ffe58
AS
7432 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7433 dependencies back to end of function.
7434
87162f46
AS
7435 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7436 $(elfobjdir)/ld.so.
7437
91b392a4
UD
74382011-08-21 Ulrich Drepper <drepper@gmail.com>
7439
7440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7441 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7442 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7443 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7444 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7445 of __vdso_gettimeofday.
7446 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7447 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7448 attribute_hidden.
7449 (_libc_vdso_platform_setup): Remove initialization of
7450 __vdso_gettimeofday and __vdso_time.
7451
5c43483f
UD
74522011-08-20 Ulrich Drepper <drepper@gmail.com>
7453
775a77e7
UD
7454 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7455 and fgetc_unlocked.
7456 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7457 getc_unlocked.
89f447ed 7458
49c74ba9
UD
7459 * elf/dl-open.c (add_to_global): Report additions to the global scope
7460 for LD_DEBUG=scopes.
7461 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7462 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7463
5c43483f
UD
7464 [BZ #13114]
7465 * stdio-common/Makefile (tests): Add bug24.
7466 * stdio-common/bug24.c: New file.
7467
a101b025
AJ
74682011-08-19 Andreas Jaeger <aj@suse.de>
7469
7470 [BZ #13114]
7471 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7472 non-existant file when using close-on-exec mode.
7473
c88f1766
UD
74742011-08-20 Ulrich Drepper <drepper@gmail.com>
7475
0276a718
UD
7476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7477 the very first instruction.
7478
c88f1766
UD
7479 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7480 the CFI state in the end.
7481 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7482 inclusion of dl-trampoline.h.
7483 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7484
51ccffa0
AS
74852011-08-19 Andreas Schwab <schwab@redhat.com>
7486
94d7165f
AS
7487 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7488 expectations for long double.
7489
51ccffa0
AS
7490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7491 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7492
fd708658 74932011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7494
7495 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7496 artificual limit depends upon the system page size.
7497
44f0a71e
UD
74982011-08-17 Ulrich Drepper <drepper@gmail.com>
7499
7500 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7501 * resolv/Makefile: Define CFLAGS-libresolv.
7502
8de79a24
AS
75032011-08-17 Andreas Schwab <schwab@redhat.com>
7504
7505 * nss/makedb.c (compute_tables): Make variables used in nested
7506 function static.
7507
27724598
UD
75082011-08-17 Ulrich Drepper <drepper@gmail.com>
7509
c5305d88
UD
7510 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7511 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7512 if buffer was too small.
7513
27724598
UD
7514 * elf/pldd.c (main): Attach to all threads in the process.
7515 Rewrite /proc handling to use *at functions.
7516
076fe015
UD
75172011-08-16 Ulrich Drepper <drepper@gmail.com>
7518
174baab3
UD
7519 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7520 specifies first scope to show.
7521 (dl_open_worker): Update callers. Move printing scope of new
7522 object to before the relocation.
44f0a71e 7523 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7524 * sysdeps/generic/ldsodefs.h: Update declaration.
7525
076fe015
UD
7526 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7527 string for the scope number.
7528
a60df2c3
UD
75292011-08-14 Ulrich Drepper <drepper@gmail.com>
7530
7531 * nscd/servicescache.c (cache_addserv): Make sure written is always
7532 initialized.
7533
5e4287d1
RM
75342011-08-14 Roland McGrath <roland@hack.frob.com>
7535
85ae0589
RM
7536 * sysdeps/i386/i486/bits/atomic.h
7537 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7538 statement expression, so as to suppress "set but not used" warning.
7539 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7540
69f63097
RM
7541 * string/strncat.c (STRNCAT): Use prototype definition.
7542
675456ef
RM
7543 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7544 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7545 -Iprograms here.
7546 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7547 (localedef-modules): Add localedef.
7548 (locale-modules): Add locale.
7549
5e4287d1
RM
7550 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7551 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7552 to avoid a warning.
7553
9c96ff23
DM
75542011-08-14 David S. Miller <davem@davemloft.net>
7555
7556 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7557 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7558
f9ddf089
UD
75592011-08-13 Ulrich Drepper <drepper@gmail.com>
7560
44f0a71e 7561 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7562 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7563 * elf/rtld.c (dl_main): Set l_name of vDSO.
7564 Call _dl_show_scope when DL_DEBUG_SCOPES.
7565 (process_dl_debug): Recognize scopes flag and also set it for all.
7566 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7567 Declare _dl_show_scope.
7568
1dc27704
UD
7569 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7570 (do_dlopen): Pass caller_dlopen to dl_open.
7571 (__libc_dlopen_mode): Initialize caller_dlopen.
7572
f9ddf089
UD
7573 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7574 of libc. Make tolower call locale-independent. Optimize a bit by
7575 using isdigit instead of isalnum.
7576 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7577
9ac533d3
UD
75782011-08-12 Ulrich Drepper <drepper@gmail.com>
7579
7580 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7581 was a dependency or dynamically loaded.
7582
89edf2e9
UD
75832011-08-11 Ulrich Drepper <drepper@gmail.com>
7584
8e999d29
UD
7585 * intl/l10nflist.c: Allow architecture-specific pop function.
7586 * sysdeps/x86_64/l10nflist.c: New file.
7587
89edf2e9
UD
7588 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7589 classification.
7590
14d96785
AS
75912011-08-10 Andreas Schwab <schwab@redhat.com>
7592
7593 * include/dirent.h: Add libc_hidden_proto for scandirat and
7594 scandirat64. Don't declare __scandirat64.
7595 * dirent/scandirat.c: Add libc_hidden_def.
7596 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7597 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7598
6761ac04
DM
75992011-08-10 David S. Miller <davem@davemloft.net>
7600
7601 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7602 enum.
7603 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7604 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7605 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7606
c55fbd1e
UD
76072011-08-09 Ulrich Drepper <drepper@gmail.com>
7608
7609 * Versions.def [libc]: Add GLIBC_2.15.
7610 * dirent/Makefile (routines): Add scandirat and scandirat64.
7611 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7612 GLIBC_2.15.
7613 * dirent/dirent.h: Declare scandirat and scandirat64.
7614 * dirent/scandirat.c: New file.
7615 * dirent/scandirat64.c: New file.
7616 * sysdeps/wordsize-64/scandirat.c: New file.
7617 * sysdeps/wordsize-64/scandirat64.c: New file.
7618 * dirent/opendir.c: Define opendirat.
7619 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7620 using scandirat.
7621 * dirent/scandir64.c: Adjust for scandir.c change.
7622 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7623 __scandirat64, and __scandir_cancel_handler.
7624 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7625 additional parameter and use openat instead of open (outside of ld.so).
7626 Add new __opendir as wrapper around __opendirat.
7627 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7628 here without requiring old scandirat implementation.
7629
879165f2
UD
76302011-08-08 Ulrich Drepper <drepper@gmail.com>
7631
7632 * dirent/scandir.c (cancel_handler): Renamed to
7633 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7634 defined. Adjust users.
7635 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7636 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7637
cb7e923b
UD
76382011-08-04 Ulrich Drepper <drepper@gmail.com>
7639
16292edd
UD
7640 * string/test-string.h (IMPL): Use __STRING to expand name and then
7641 stringify it.
7642
cb7e923b
UD
7643 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7644 of cleanups.
7645
cff82933
LD
76462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7647
7648 * string/Makefile: Update.
7649 (strop-tests): Append strncat.
7650 * string/test-wcscmp.c: New file.
7651 New comprehensive test for wcscmp.
7652 * string/test-strcmp.c: Update.
7653 (WIDE): New define.
7654
9be9bfcc
AS
76552011-07-22 Andreas Schwab <schwab@redhat.com>
7656
7657 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7658 line.
7659
2e96f1c7
AS
76602011-07-26 Andreas Schwab <schwab@redhat.com>
7661
7662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7663 encoding to ACE if AI_IDN.
7664
85188888
JJ
76652011-08-01 Jakub Jelinek <jakub@redhat.com>
7666
7667 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7668 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7669
5fa16e9b
LD
76702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7671
7672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7673 Fix overflow bug in strncat.
7674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7675
7676 * string/test-strncat.c: Update.
7677 Add new tests for checking overflow bugs.
7678
76792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7680
7681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7682 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7683 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7684 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7685 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7686 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7687 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7688 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7689 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7690
7691 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7692 (USE_AS_STRCAT): Define.
7693 Add strcat and strncat support.
7694 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7695
8c1a459f
AS
76962011-07-25 Andreas Schwab <schwab@redhat.com>
7697
7698 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7699 __n bigger than INT_MAX+1.
7700 (__strncmp_g): Likewise.
7701
bba33c28
UD
77022011-07-23 Ulrich Drepper <drepper@gmail.com>
7703
798be72d
UD
7704 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7705 * libio/stido.h: Likewise.
7706
8accd4dc
UD
7707 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7708 (AF_NFC): Define.
7709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7710 (AF_NFC): Define.
7711
cbff0d96
UD
7712 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7713 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7714 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7715 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7716 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7717
9191c04a
UD
7718 [BZ #13021]
7719 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7720 installed.
7721
bba33c28
UD
7722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7723 typo.
7724 (_dl_x86_64_save_sse): Likewise.
7725
90f139dd
UD
77262011-07-22 Ulrich Drepper <drepper@gmail.com>
7727
1aae088a
UD
7728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7729 OSXSAVE.
7730 (_dl_x86_64_save_sse): Likewise.
7731
8e2045f5
UD
7732 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7733
90f139dd
UD
7734 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7735
1d002f25
AS
77362011-07-21 Andreas Schwab <schwab@redhat.com>
7737
7738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7739 change.
7740 (_dl_x86_64_save_sse): Use correct AVX check.
7741
21137f89
UD
77422011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7743
7744 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7745 bug in strncpy/strncat.
7746 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7747
a65c0b7a
UD
77482011-07-21 Ulrich Drepper <drepper@gmail.com>
7749
7750 * string/tester.c (test_strcat): Add tests for different alignments
7751 of source and destination.
7752 (test_strncat): Likewise.
7753
6986b98a
UD
77542011-07-20 Ulrich Drepper <drepper@gmail.com>
7755
90bb2039
UD
7756 [BZ #12852]
7757 * posix/glob.c (glob): Check passed in values before using them in
7758 expressions to avoid some overflows.
7759 (glob_in_dir): Likewise.
7760
5644ef54
UD
7761 [BZ #13007]
7762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7763 check for AVX enablement so that we don't crash with old kernels and
7764 new hardware.
7765 * elf/tst-audit4.c: Add same checks here.
7766 * elf/tst-audit6.c: Likewise.
7767
7768 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7769
bfc9dc9b
AS
77702011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7771
7772 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7773
702e64bb
UD
77742011-07-20 Ulrich Drepper <drepper@gmail.com>
7775
7776 * po/cs.po: Update from translation team.
7777 * po/bg.po: Likewise.
7778
295e904f
MP
77792011-07-12 Marek Polacek <mpolacek@redhat.com>
7780
7781 * misc/sys/cdefs.h: Add support for const attribute.
7782 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7783 to gnu_dev_{major,minor,makedev} functions.
7784
3ff94596
MP
77852011-07-20 Marek Polacek <mpolacek@redhat.com>
7786
7787 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7788
28b59fca
AS
77892011-07-20 Andreas Schwab <schwab@redhat.com>
7790
7791 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7792 strlen results.
7793
19df733e
AK
77942011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7795
7796 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7797 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7798 register in order to avoid conflicts with the soft frame pointer
7799 being held in r11 when necessary.
7800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7801 (INTERNAL_VSYSCALL_NCS): Likewise.
7802
c8835729
MP
78032011-07-14 Marek Polacek <mpolacek@redhat.com>
7804
7805 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7806 * elf/dl-fini.c (_dl_fini): Adjust caller.
7807 * elf/dl-close.c (_dl_close_worker): Likewise.
7808 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7809
b902330c
MP
78102011-07-15 Marek Polacek <mpolacek@redhat.com>
7811
8991e135
MP
7812 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7813 "aux_cache->nlibs < 0".
7814
b902330c
MP
7815 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7816 in the reload-count case.
7817
99710781
LD
78182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7819
7820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7821 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7822 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7823 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7824 * sysdeps/x86_64/multiarch/strcat.S: New file.
7825 * sysdeps/x86_64/multiarch/strncat.S: New file.
7826 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7827 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7828 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7829 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7830 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7831 (USE_AS_STRCAT): Define.
7832 Add strcat and strncat support.
7833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7834 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7835 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7836 * string/strncat.c: Update.
7837 (USE_AS_STRNCAT): Define.
7838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7839 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7840 and i7.
7841 * sysdeps/x86_64/multiarch/init-arch.h
7842 (bit_Prefer_PMINUB_for_stringop): New.
7843 (index_Prefer_PMINUB_for_stringop): Likewise.
7844 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7845 bit_Prefer_PMINUB_for_stringop.
7846
7dc6bd90
UD
78472011-07-19 Ulrich Drepper <drepper@gmail.com>
7848
7849 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7850 buffer64.
7851 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7852 of casting of buffer.
7853 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7854 buffer32 and buffer64.
7855 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7856 writes instead of casting of buffer.
7857 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7858 buffer32.
7859 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7860 casting of buffer.
7861
e0e72284
AS
78622011-07-19 Andreas Schwab <schwab@redhat.com>
7863
7864 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7865
feb1eb0b
UD
78662011-07-19 Ulrich Drepper <drepper@gmail.com>
7867
7868 * nscd/nscd.c (termination_handler): Don't do anything for a database
7869 if it has not yet been initialized.
7870
298711ff
UD
78712011-07-18 Ulrich Drepper <drepper@gmail.com>
7872
7873 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7874
78752011-07-15 Marek Polacek <mpolacek@redhat.com>
7876
7877 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7878
f9d68389
UD
78792011-07-18 Ulrich Drepper <drepper@gmail.com>
7880
7881 * po/nl.po: Update from translation team.
7882 * po/sv.po: Likewise.
7883
db290cf5
RM
78842011-07-16 Roland McGrath <roland@hack.frob.com>
7885
7886 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7887 now disallowed by GCC.
5c550700 7888
fd5e21c7
RM
7889 * configure.in (use-default-link): Default to yes if a test -shared
7890 link meets our qualifications.
7891 * configure: Regenerated.
7892
5c550700
RM
7893 * config.make.in (output-format): New variable.
7894 * configure.in: Check for ld --print-output-format support.
7895 * configure: Regenerated.
7896 * Makerules ($(common-objpfx)format.lds)
7897 [$(output-format) != unknown]: Just use $(output-format),
7898 instead of the linker-script munging.
7899
9fa2c032
RM
79002011-07-14 Roland McGrath <roland@hack.frob.com>
7901
a6928d51
RM
7902 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7903 of $(common-objpfx)shlib.lds.
7904 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7905
661607b3
RM
7906 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7907 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7908
9fa2c032
RM
7909 * configure.in (-z relro check): Adjust test code to add a large
7910 writable data section after it.
7911 * configure: Regenerated.
7912
defe9061
RM
79132011-07-11 Roland McGrath <roland@hack.frob.com>
7914
7915 * configure.in (-z relro check): Fix test code to make the variable
7916 truly const.
7917 * configure: Regenerated.
7918
319b9ad4
UD
79192011-07-11 Ulrich Drepper <drepper@gmail.com>
7920
7921 * nscd/nscd.h (struct traced_file): Define.
7922 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7923 elements. Add traced_files.
7924 (inotify_fd): Declare.
7925 (register_traced_file): Declare.
7926 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7927 (inotify_fd): Export.
7928 (resolv_conf_descr): Remove.
7929 (nscd_init): Move inotify descriptor creation to main.
7930 Don't register files for notification here.
7931 (register_traced_file): New function.
7932 (invalidate_cache): Don't use reset_res to determine whether to call
7933 res_init, go through the list of registered files.
7934 (main_loop_poll): The inotify descriptors are now stored in the
7935 structures for the traced files.
7936 (main_loop_epoll): Likewise
7937 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7938 to __nss_disable_nscd.
7939 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7940 for a database anymore. Check the records for all the registered
7941 files instead.
7942 * nss/Makefile (libnss_files-routines): Add files-init.
7943 (libnss_db-routines): Add db-init.
7944 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7945 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7946 * nss/nss_db/db-init.c: New file.
7947 * nss/nss_files/files-init.c: New file.
7948 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7949 __nss_lookup_function.
7950 (__nss_lookup_function): Call nss_load_library.
7951 (nss_load_all_libraries): New function.
7952 (__nss_disable_nscd): Take parameter with callback function for files
7953 to register. Set is_nscd. Load all the DSOs for the NSS modules
7954 used for the cached services.
7955 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7956 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7957 options for features to all the files in nscd.
7958
7959 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7960
23bee3e8
RM
79612011-07-10 Roland McGrath <roland@hack.frob.com>
7962
7963 * csu/elf-init.c (__libc_csu_init): Comment typo.
7964
46a5b7f0
UD
79652011-07-09 Ulrich Drepper <drepper@gmail.com>
7966
7967 * po/pl.po: Update from translation team.
7968 * po/ja.po: Likewise.
7969 * po/ru.po: Likewise.
7970 * po/ko.po: Likewise.
7971 * po/fr.po: Likewise.
7972
d30cf5bb
RM
79732011-07-09 Roland McGrath <roland@hack.frob.com>
7974
113ddea4
RM
7975 * configure.in (.ctors/.dtors header and trailer check):
7976 Use an empirical test on a built program.
7977 * configure: Regenerated.
7978
574920b4
RM
7979 * configure.in (-z relro check): Use an empirical test on a built DSO.
7980 Detect, but do not require, on ia64.
7981 * configure: Regenerated.
7982
d30cf5bb
RM
7983 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7984 Update tests that use readelf to use $READELF instead.
7985 * configure: Regenerated.
7986
8538fdb3
UD
79872011-07-08 Ulrich Drepper <drepper@gmail.com>
7988
7989 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7990 if the result is not used.
7991
04d08991
AJ
79922011-07-05 Andreas Jaeger <aj@suse.de>
7993
7994 [BZ#9696]
7995 * stdlib/tst-strtod.c: Add testcase.
7996
de283087
AD
79972011-07-07 Ulrich Drepper <drepper@gmail.com>
7998
4e5f31c8 7999 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8000 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8001 The latter has a higher limit. Take additional parameter to pass to
8002 the new function.
8003 (__pathconf): Pass file to __statfs_link_max.
8004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8005 __statfs_link_max.
8006 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8007 __statfs_link_max.
8008
de283087
AD
8009 [BZ #12868]
8010 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8011 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8012 Handle Lustre.
8013 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8014 (__statfs_filesize_max): Likewise.
8015 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8016
c75fa153
AJ
80172011-07-05 Andreas Jaeger <aj@suse.de>
8018
8019 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8020
1a544854
UD
80212011-07-06 Marek Polacek <mpolacek@redhat.com>
8022
8023 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8024 `status' variable.
8025 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8026 Likewise.
8027
6f0eec67
UD
80282011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8029
8030 * Makefile (strop-tests): Add strncat.
8031 * string/test-strncat.c: New file.
8032
aae30307
UD
80332011-06-30 Marek Polacek <mpolacek@redhat.com>
8034
8035 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8036
c0cfb5eb
UD
80372011-06-21 Andreas Jaeger <aj@suse.de>
8038
8039 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8040 Copy rule from iconvdata/Makefile.
8041
01636b21
UD
80422011-07-06 Ulrich Drepper <drepper@gmail.com>
8043
8044 [BZ #12922]
8045 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8046 but no long options are defined, just return 'W'.
8047
9895c8bc
UD
80482011-06-22 Marek Polacek <mpolacek@redhat.com>
8049
8050 [BZ #9696]
8051 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8052
5d4cf042
UD
80532011-07-06 Ulrich Drepper <drepper@gmail.com>
8054
8055 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8056 netgroups to read.
960e5535 8057 (innetgr): Likewise.
5d4cf042 8058
751eb97e
RM
80592011-07-05 Roland McGrath <roland@hack.frob.com>
8060
8061 * config.make.in (install_root): Default to $(DESTDIR).
8062
f15f1e45
UD
80632011-07-05 Ulrich Drepper <drepper@gmail.com>
8064
8065 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8066
4e34ac6a
RM
80672011-07-02 Roland McGrath <roland@hack.frob.com>
8068
5e9b6af4
RM
8069 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8070
84f9ea0f
RM
8071 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8072 containing directory rather than embedding absolute directory names.
8073
ea5ee9f7
RM
8074 * scripts/check-local-headers.sh: Rewritten using awk.
8075 Match by word, not by line. Print error messages for matches.
8076 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8077
1b74661a
RM
8078 * Makerules [shlib-lds-flags empty]:
8079 ($(common-objpfx)libc_pic.opts): New target.
8080 ($(common-objpfx)libc_pic.os.clean): New target.
8081 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8082
8083 * config.make.in (OBJCOPY): New variable.
8084 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8085 * configure: Regenerated.
8086
f781ef40
RM
8087 * config.make.in (use-default-link): New variable.
8088 * configure.in (use_default_link): Grok --with-default-link to set it.
8089 * configure: Regenerated.
8090 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8091 (shlib-lds, shlib-lds-flags): Define to empty.
8092
2d4fa81e
RM
8093 * Makerules (shlib-lds): New variable.
8094 (shlib-lds-flags): New variable.
8095 (build-shlib, build-moduile, build-module-asneeded): Use it.
8096 ($(common-objpfx)libc.so): Use $(shlib-lds).
8097 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8098 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8099
31fffa6b
RM
8100 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8101 DT_FLAGS/DT_FLAGS_1 with zero flags.
8102
4e34ac6a
RM
8103 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8104 linker script munging.
8105
fcfc776b
UD
81062011-07-02 Ulrich Drepper <drepper@gmail.com>
8107
8108 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8109 as 128-bit value.
8110 * crypt/sha512.c (sha512_process_block): Perform total addition using
8111 128-bit if possible.
8112 (__sha512_finish_ctx): Likewise.
8113 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8114 as 64-bit value.
8115 * crypt/sha256.c (SWAP64): Define.
8116 (sha256_process_block): Perform total addition using 64-bit if
8117 possible.
8118 (__sha256_finish_ctx): Likewise.
8119
99231d9a
UD
81202011-07-01 Ulrich Drepper <drepper@gmail.com>
8121
8122 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8123 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8124 * nscd/hstcache.c (cache_addhst): Likewise.
8125 * nscd/grpcache.c (cache_addgr): Likewise.
8126 * nscd/aicache.c (addhstaiX): Likewise
8127 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8128
445b4a53
TK
81292011-07-01 Thorsten Kukuk <kukuk@suse.de>
8130
8131 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8132 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8133 * nscd/hstcache.c (cache_addhst): Likewise.
8134 * nscd/grpcache.c (cache_addgr): Likewise.
8135 * nscd/aicache.c (addhstaiX): Likewise
8136
6d4d8e8e
AS
81372011-07-01 Andreas Schwab <schwab@redhat.com>
8138
8139 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8140 domain only when needed.
8141
89f654c5
AS
81422011-06-30 Andreas Schwab <schwab@redhat.com>
8143
8144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8145 is always restored.
8146
cf3b23ff
UD
81472011-06-29 Ulrich Drepper <drepper@gmail.com>
8148
8149 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8150 are re-adding the entry.
8151 * nscd/servicescache.c (cache_addserv): Likewise.
8152
751626f9
AJ
81532011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8154
8155 * sysdeps/generic/dl-irel.h: fix protection against multiple
8156 inclusions.
8157 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8158
9113ea1f
UD
81592011-06-28 Ulrich Drepper <drepper@gmail.com>
8160
5c0b8d90
UD
8161 [BZ #12935]
8162 * malloc/memusage.sh: Fix quoting in message.
8163 * debug/xtrace.sh: Likewise.
8164
9113ea1f
UD
8165 * configure.in: Remove support for --experimental-malloc option, make
8166 it the default.
8167 * config.make.in: Likewise.
8168 * malloc/Makefile: Likewise.
8169
a4172181
AS
81702011-06-27 Andreas Schwab <schwab@redhat.com>
8171
8172 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8173 two-byte characters.
8174
78a7eee7
RM
81752011-06-27 Roland McGrath <roland@hack.frob.com>
8176
62bede13
RM
8177 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8178 AC_CACHE_CHECK invocation.
8179 * configure: Regenerated.
8180
78a7eee7
RM
8181 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8182
5ce33a62
UD
81832011-06-27 Ulrich Drepper <drepper@gmail.com>
8184
034807a9
UD
8185 [BZ #12350]
8186 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8187 bit from old_res_options.
8188
4902da17
UD
8189 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8190
5ce33a62
UD
8191 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8192 value type for setfct.
8193
c2344f56
L
81942011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8195
8196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8197 __gettimeofday instead of gettimeofday.
8198
68468076
UD
81992011-06-26 Ulrich Drepper <drepper@gmail.com>
8200
8201 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8202
acb0d739
L
82032011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8204
8205 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8206
8207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8208 info.
8209
8912479f
L
82102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8211
8212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8213 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8214 strcpy-sse2-unaligned strncpy-sse2-unaligned
8215 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8216 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8217 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8218 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8219 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8220 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8221 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8222 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8223 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8224 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8225 (STRCPY): Support SSE2 and SSSE3 versions.
8226
d5495a11
UD
82272011-06-24 Ulrich Drepper <drepper@gmail.com>
8228
8229 [BZ #12874]
8230 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8231 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8232 kernels which artificially limit size of requests.
8233
0b1cbaae
L
82342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8235
8236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8237 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8238 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8239 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8240 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8241 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8242 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8243 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8244 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8246 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8247 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8248 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8249 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8250 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8252 Enable unaligned load optimization for Intel Core i3, i5 and i7
8253 processors.
8254 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8255 Define.
8256 (index_Fast_Unaligned_Load): Define.
8257 (HAS_FAST_UNALIGNED_LOAD): Define.
8258
07f494a0
MP
82592011-06-23 Marek Polacek <mpolacek@redhat.com>
8260
8261 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8262
fa3fc0fe
UD
82632011-06-22 Ulrich Drepper <drepper@gmail.com>
8264
8265 [BZ #12907]
8266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8267 until it is clear that the information is realy needed.
8268 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8269
e12df166
AS
82702011-06-22 Andreas Schwab <schwab@redhat.com>
8271
8272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8273
852eb34d
UD
82742011-06-22 Ulrich Drepper <drepper@gmail.com>
8275
84e2a551
UD
8276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8277 /sys/devices/system/cpu/online if it is usable.
8278
852eb34d
UD
8279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8280 reading the information from the /proc filesystem to once a second.
8281
6e502e19
UD
82822011-06-21 Andreas Jaeger <aj@suse.de>
8283
8284 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8285 NULL after inclusion of kernel headers.
8286
75d39ff2
UD
82872011-06-21 Ulrich Drepper <drepper@gmail.com>
8288
51f9aa6a
UD
8289 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8290 calls to internal_setent.
8291
c0244a9d
UD
8292 [BZ #12885]
8293 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8294 addresses using gethostbyname4_r ignore IPv4 addresses.
8295
c5e3c2ae
UD
8296 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8297 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8298
75d39ff2
UD
8299 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8300
42675c6f
DM
83012011-06-20 David S. Miller <davem@davemloft.net>
8302
8303 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8304 inclusions.
8305 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8306
8307 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8308 (elf_irel): Use it.
8309 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8310 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8311 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8312 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8313 * sysdeps/x86_64/dl-irel.h: Likewise.
8314
8315 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8316 * elf/dl-sym.c: Likewise.
8317
57912a71
UD
83182011-06-15 Ulrich Drepper <drepper@gmail.com>
8319
8320 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8321 need to dereference resplen2.
8322
ee22793d
AS
83232011-06-14 Andreas Schwab <schwab@redhat.com>
8324
8325 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8326
a9e836b0
UD
83272011-06-15 Ulrich Drepper <drepper@gmail.com>
8328
77fb9117
UD
8329 * Makeconfig: Define vardbdir and inst_vardbdir.
8330 * nss/Makefile: Add rules to install db-Makefile.
8331
40c1b22c
UD
8332 * nss/nss_db/db-XXX.c: Cleanup.
8333
9f2da732
UD
8334 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8335 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8336 GLIBC_PRIVATE.
8337 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8338 * nss/makedb.c: Implement -g option to specify that value strings
8339 are generated and should not be added to table iterated over for
8340 get*ent calls.
8341 * nss/nss_db/db-initgroups.c: New file.
8342
82e9a1f7
UD
8343 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8344 interface.
8345
c41af17e
UD
8346 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8347 (internal_getgrouplist): Adjust to name change.
8348 Update use_initgroups_entry if this is not the first call.
8349 * nss/databases.def: Add initgroups entry.
8350
a9e836b0
UD
8351 * nss/makedb.c (compute_tables): Check result of multiple hash table
8352 sizes to minimize maximum chain length.
8353
2666d441
UD
83542011-06-14 Ulrich Drepper <drepper@gmail.com>
8355
8356 * Versions.def: Add entry for libnss_db.
8357 * shlib-versions: Likewise.
8358 * nss/Makefile: Add rules to build libnss_db.
8359 * nss/Versions: Add libnss_db information. Organize libnss_files
8360 entries better.
8361 * nss/db-Makefile: Add gshadow support. Change rules for the new
8362 makedb progra. Some minor improvements to generate smaller files.
8363 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8364 here from...
8365 * nss/makedb.c: ...here.
8366 Improve database format to be smaller and require less memory at
8367 runtime.
8368 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8369 db anymore.
8370 * nss/nss_db/db-netgrp.c: Likewise.
8371 * nss/nss_db/db-open.c: Likewise.
8372 * nss/nss_files/flies-XXX.x: Adjust comments.
8373 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8374 * nss/nss_files/files-grp.c: Likewise.
8375 * nss/nss_files/files-hosts.c: Likewise.
8376 * nss/nss_files/files-network.c: Likewise.
8377 * nss/nss_files/files-proto.c: Likewise.
8378 * nss/nss_files/files-pwd.c: Likewise.
8379 * nss/nss_files/files-rpc.c: Likewise.
8380 * nss/nss_files/files-service.c: Likewise.
8381 * nss/nss_files/files-sgrp.c: Likewise.
8382 * nss/nss_files/files-spwd.c: Likewise.
8383 * nss/nss_db/db-alias.c: Removed.
8384 * nss/nss_db/dummy-db.h: Removed.
8385
9ee76b5a
UD
83862011-06-02 Ulrich Drepper <drepper@gmail.com>
8387
8388 * nss/makedb.c: Rewritten to not use database library.
8389 * nss/Makefile: Update to build new makedb program.
8390
c71ca1f8
AJ
83912011-06-14 Andreas Jaeger <aj@suse.de>
8392
8393 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8394 memset declaration.
8395
3154bfb8
UD
83962011-06-10 Andreas Schwab <schwab@redhat.com>
8397
8398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8399 tmpbuf.
8400
b350afab
RM
84012011-06-10 Roland McGrath <roland@hack.frob.com>
8402
decd4e50
RM
8403 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8404 * elf/Makefile ($(objpfx)ld.so): Likewise.
8405
5615eaf2
RM
8406 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8407 Don't list ld.so twice in dependencies.
8408
8409 * posix/bug-regex31.c: Include <stdlib.h>.
8410
8411 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8412
8413 * nis/nss_compat/compat-spwd.c
8414 (getspent_next_nss_netgr): Remove unused variable.
8415 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8416
8417 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8418 nonmembers" output to use the right array.
8419
8420 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8421
8422 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8423
8424 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8425 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8426 * catgets/gencat.c (read_input_file): Likewise.
8427 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8428
8429 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8430 variable definition inside #if's controlling its use.
8431
8432 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8433
8434 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8435
8436 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8437
8438 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8439 unreachable code.
8440
8441 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8442
b68e08db
RM
8443 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8444 * configure: Regenerated.
8445
b350afab
RM
8446 * Makerules: Revert last change.
8447 * elf/Makefile: Likewise.
8448
28368601
RM
84492011-06-09 Roland McGrath <roland@hack.frob.com>
8450
8451 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8452 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8453 (reloc-link): Likewise.
8454
11988f8f
UD
84552011-06-09 Ulrich Drepper <drepper@gmail.com>
8456
8457 * elf/Makefile: Add rules to build pldd.
8458 * elf/pldd.c: New file.
8459 * elf/pldd-xx.c: New file.
8460
e80fab37
UD
84612011-06-07 Ulrich Drepper <drepper@gmail.com>
8462
8463 * version.h: Update for 2.15 development version.
8464
9b849836
DM
84652011-06-07 David S. Miller <davem@davemloft.net>
8466
8467 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8468 ifuncs.
8469 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8470 elf_machine_lazy_rel): Likewise.
8471 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8472 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8473 elf_machine_lazy_rel): Likewise.
8474 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8475 dl_hwcap via passed in argument.
8476 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8477 Likewise.
8478
5a31b283
AK
84792011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8480
8481 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8482
069e52f8
RM
84832011-06-06 Roland McGrath <roland@hack.frob.com>
8484
8485 [BZ #12849]
8486 * manual/fdl-1.1.texi: New file, verbatim from:
8487 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8488 * manual/lgpl-2.1.texi: New file, verbatim from:
8489 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8490 * manual/Makefile (licenses): New variable, list those new file names.
8491 (texis): Use it.
8492 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8493
8494 * manual/fdl.texi: File removed.
8495 * manual/lesser.texi: File removed.
8496 * manual/libc.texinfo (Copying, Documentation License):
8497 Use new @include file names, put @appendix directive before @include.
8498
f16846a5
JJ
84992011-06-04 Jakub Jelinek <jakub@redhat.com>
8500
8501 [BZ #12841]
8502 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8503 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8504 (mq_open): Add __NTH.
8505
3d29045b
L
85062011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8507
8508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8509 Assume Intel Core i3/i5/i7 processor if AVX is available.
8510
8c297311
UD
85112011-05-31 Ulrich Drepper <drepper@gmail.com>
8512
8513 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8514 typo.
8515
c8fc0c91
UD
85162011-05-31 Andreas Schwab <schwab@redhat.com>
8517
8518 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8519 memory. Use alloca_account. Fix memory leak when retrying.
8520
5b27a807
UD
85212011-05-31 Ulrich Drepper <drepper@gmail.com>
8522
356f8bc6
UD
8523 * version.h (RELEASE): Bump for 2.14 release.
8524 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8525
5b27a807
UD
8526 * config.make.in (RANLIB): Remove entry.
8527
01f16ab0
UD
85282011-05-30 Ulrich Drepper <drepper@gmail.com>
8529
41fce8bd
UD
8530 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8531 (libc.pot): Work around missing support for .ksh extension in xgettext.
8532
4769ae77
UD
8533 [BZ #12684]
8534 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8535 if both request failed.
8536 (send_dg): In case of server errors clear resplen or *resplen2.
8537
6b1e7d19
UD
8538 [BZ #12454]
8539 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8540 when there are multiple maps.
8541 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8542 (_dl_fini): Remove test here.
8543
01f16ab0
UD
8544 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8545
b1ebd700
UD
85462011-05-29 Ulrich Drepper <drepper@gmail.com>
8547
7ae22829
UD
8548 [BZ #12350]
8549 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8550 bit from old_res_options.
8551 (gaih_inet): Likewise.
8552
553149f6 8553 [BZ #11099]
18a84741 8554 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8555 as signed.
8556
652ffab1
UD
8557 * resolv/res_init.c (res_setoptions): Make the code more compact.
8558
16985fd0
UD
8559 [BZ #11558]
8560 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8561 set RES_USEVC.
8562
0464f746
UD
8563 [BZ #11634]
8564 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8565
7d17596c
UD
8566 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8567
cf6bbbd7
UD
8568 [BZ #11781]
8569 * malloc/malloc.h: Declare malloc hook variables as volatile.
8570
13f1ab36
UD
8571 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8572 in last patch.
8573
b1ebd700
UD
8574 [BZ #11799]
8575 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8576 raise in the comment.
80e2212d
UD
8577 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8578 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8579 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8580
ce67228d
UD
85812011-05-28 Ulrich Drepper <drepper@gmail.com>
8582
8887a920
UD
8583 [BZ #12811]
8584 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8585 grow the buffers more if it already has to be sufficient.
8586 (build_wcs_upper_buffer): Likewise.
8587 * posix/regexec.c (check_matching): Likewise.
8588 (clean_state_log_if_needed): Likewise.
8589 (extend_buffers): Don't enlarge buffers beyond size of the input
8590 buffer.
8591 Patches mostly by Emil Wojak <emil@wojak.eu>.
8592 * posix/bug-regex32.c: New file.
8593 * posix/Makefile (tests): Add bug-regex32.
8594
4f031072
UD
8595 * locale/findlocale.c (_nl_find_locale): Return right away if
8596 _nl_explode_name failed.
8597 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8598
d0478f0c
UD
8599 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8600
de81b246
UD
8601 * debug/xtrace.sh: Unify messages.
8602 * malloc/memusage.sh: Likewise.
8603
c738465a
UD
8604 [BZ #12813]
8605 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8606 time symbol from vDSO. Substitute with vsyscall if not available.
8607 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8608 __vdso_time.
8609
f1f929d7
UD
8610 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8611 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8612 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8613 Add sendmmsg and internal_sendmmsg.
8614 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8615 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8616 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8617
ce67228d
UD
8618 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8619 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8620 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8621
e57420c6
UD
86222011-05-27 Ulrich Drepper <drepper@gmail.com>
8623
a8509ca5
UD
8624 [BZ #12813]
8625 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8626 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8627 available.
8628 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8629 __vdso_getcpu.
8630
e57420c6
UD
8631 [BZ #12814]
8632 * iconvdata/Makefile (tests): Add bug-iconv9.
8633 * iconvdata/bug-iconv9.c: New file.
8634
4d07db15
AS
86352011-05-27 Andreas Schwab <schwab@redhat.com>
8636
8637 [BZ #12814]
8638 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8639
ea486f69
JJ
86402011-05-25 Jakub Jelinek <jakub@redhat.com>
8641
8642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8643 (struct user_regs_struct): Change intcs field back to cs.
8644
6f038433
UD
86452011-05-25 Ulrich Drepper <drepper@gmail.com>
8646
8647 * po/ja.po: Update from translation team.
8648
67f86a25
UD
86492011-05-23 Ulrich Drepper <drepper@gmail.com>
8650
8651 [BZ #12795]
8652 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8653 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8654
def7fbd6
AS
86552011-05-20 Andreas Schwab <schwab@redhat.com>
8656
8657 * stdlib/longlong.h: Update from GCC.
8658
f50ef8f1
AS
86592011-05-23 Andreas Schwab <schwab@redhat.com>
8660
8661 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8662 parameter name.
8663 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8664 Add parameter name.
8665 (__sysconf): Pass it down.
8666
de7ce8f1
UD
86672011-05-22 Ulrich Drepper <drepper@gmail.com>
8668
f2962a71
UD
8669 [BZ #12671]
8670 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8671 some situations.
8672 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8673 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8674 add in in __libc_use_alloca calls. Adjust callers.
8675 (glob): Use malloc in some situations.
8676
de7ce8f1
UD
8677 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8678 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8679 pltexit.
8680
aec84f53
UD
86812011-05-21 Ulrich Drepper <drepper@gmail.com>
8682
05bb4a68
UD
8683 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8684 and CLOCK_BOOTTIME_ALARM.
8685
7ea72f99
UD
8686 [BZ #12782]
8687 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8688 is returned.
8689
7e4afad5
UD
8690 * string/_strerror.c (__strerror_r): Print negative errors as signed
8691 numbers.
8692
8e211fec
UD
8693 [BZ #12777]
8694 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8695 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8696 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8697
f7d82dc9
UD
8698 * configure.in: Fix typo in redirection and correct removal of test
8699 files in two cases.
8700
cc9e536d
UD
8701 [BZ #12788]
8702 * locale/setlocale.c (new_composite_name): Fix test to check for
8703 identical name of all categories.
8704
aec84f53
UD
8705 [BZ #12792]
8706 * libio/filedoalloc.c (local_isatty): New function.
8707 (_IO_file_doallocate): Use local_isatty.
8708 * stdio-common/perror.c (perror): In case a new stream is used
8709 forward the stream error.
8710 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8711 error flag.
8712
78e64fdc
RT
87132011-05-20 Ulrich Drepper <drepper@gmail.com>
8714
34a9094f
UD
8715 [BZ #11869]
8716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8717 alloca.
8718 * include/alloca.h (extend_alloca_account): Define.
8719
78e64fdc
RT
8720 [BZ #11857]
8721 * posix/regex.h: Fix comments with documentation of user-accessible
8722 fields after compilation and describe correct free'ing of pattern
8723 after re_compile_pattern.
8724 Patch by Reuben Thomas <rrt@sc3d.org>.
8725
457bddfc
RA
87262011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8727
8728 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8729 and -mno-altivec to prevent the compiler from using Altivec and/or
8730 VSX instructions when the corresponding registers are not available.
8731
a4527b51
AS
87322011-05-19 Andreas Schwab <schwab@redhat.com>
8733
8734 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8735
ed690b2f
UD
87362011-05-19 Ulrich Drepper <drepper@gmail.com>
8737
8738 * libio/freopen.c (freopen): Use __dup2, not dup2.
8739 * libio/freopen64.c (freopen64): Likewise.
8740
8db73634
L
87412011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8742
8743 [BZ #12775]
8744 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8745 * math/Makefile (tests): Add test-powl.
8746 (CFLAGS-test-powl.c): Define.
8747 * math/test-powl.c: New file.
8748
0a197a9d
L
87492011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8750
8751 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8752
ee30c380
UD
87532011-05-17 Ulrich Drepper <drepper@gmail.com>
8754
8755 [BZ #11837]
8756 * iconvdata/gb18030.c: Update to GB18020-2005.
8757
6ce75379
UD
87582011-05-16 Ulrich Drepper <drepper@gmail.com>
8759
a4b89fd8
AR
8760 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8761 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8762 Patch by Aharon Robbins <arnold@skeeve.com>.
8763
ea389b12
UD
8764 [BZ #11892]
8765 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8766 on the stack.
8767
68a3f91f
UD
8768 [BZ #11895]
8769 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8770 through underflows.
8771
15cc7dd1
UD
8772 [BZ #12766]
8773 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8774 point to strings before performing equality test for error_one_per_line
8775 mode.
8776
f3799213
UD
8777 [BZ #11697]
8778 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8779
d79a9c94
UD
8780 [BZ #11820]
8781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8782 (struct user_fpregs_struct): Avoid __uint*_t types.
8783
56e5eb46
UD
8784 [BZ #6420]
8785 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8786 symbol info. Use it instead of calling _dl_addr locally.
8787 (lock_and_info): New function.
8788 (tr_freehook): Call lock_and_info and pass symbol info as additional
8789 parameter to tr_where.
8790 (tr_mallochook): Likewise.
8791 (tr_reallochook): Likewise.
8792 (tr_memalignhook): Likewise.
8793
6ce75379
UD
8794 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8795 used and couldn't be at all thread-safe.
8796
f8a3b5bf
UD
87972011-05-15 Ulrich Drepper <drepper@gmail.com>
8798
94b7cc37
UD
8799 * libio/freopen.c (freopen): Don't close old file descriptor
8800 before the new one is opened. Instead dup the new file descriptor
8801 to the old one after the new stream is created.
8802 * libio/freopen64.c (freopen64): Likewise.
8803 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8804 * libio/fileops.c (_IO_new_file_close_it): Handle new
8805 _IO_FLAGS2_NOCLOSE flag.
8806 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8807 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8808 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8809 _IO_FLAGS2_NOCLOSE flag.
8810 * include/unistd.h: Add hidden_proto for dup3.
8811 Define __have_dup3.
8812 * io/dup3.c: Define hidden symbol.
8813 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8814
bd25564e
UD
8815 [BZ #7101]
8816 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8817 when an incomplete long option is used.
8818 * posix/tst-getopt_long1.c: New file.
8819 * posix/Makefile (tests): Add tst-getopt_long1.
8820
c84cfef4
UD
8821 [BZ #10138]
8822 * scripts/config.guess: Update from autoconf-2.68.
8823 * scripts/config.sub: Likewise.
8824
3b85df27
UD
8825 [BZ #10157]
8826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8827 tests into ...
8828 (has_cpuclock): ...this. New function.
8829 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8830 macro here based on has_cpuclock code.
8831
15a856b1
UD
8832 [BZ #10149]
8833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8834 First byte (not low byte) is now always NUL.
8835 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8836
05f399e6
UD
8837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8838 Use non-cancelable interfaces.
8839
10a52685 8840 [BZ #9809]
94ecc67d
UD
8841 * locale/iso-639.def: Add entry for Sorani.
8842
f8a3b5bf
UD
8843 [BZ #11901]
8844 * include/stdlib.h: Move include protection to the right place.
8845 Define abort_msg_s. Declare __abort_msg with it.
8846 * stdlib/abort.c (__abort_msg): Adjust type.
8847 * assert/assert.c (__assert_fail_base): New function. Majority
8848 of code from __assert_fail. Allocate memory for __abort_msg with
8849 mmap.
8850 (__assert_fail): Now call __assert_fail_base.
8851 * assert/assert-perr.c: Remove bulk of implementation. Use
8852 __assert_fail_base.
8853 * include/assert.hL Declare __assert_fail_base.
8854 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8855 mmap.
8856 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8857
1af4e298
UD
88582011-05-14 Ulrich Drepper <drepper@gmail.com>
8859
f8a3b5bf 8860 [BZ #11952]
d26dfc60
MG
8861 [BZ #12453]
8862 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8863 until all modules are registered in the DTV.
8864 * elf/Makefile: Add rules to build and run tst-tls19.
8865 * elf/tst-tls19.c: New file.
8866 * elf/tst-tls19mod1.c: New file.
8867 * elf/tst-tls19mod2.c: New file.
8868 * elf/tst-tls19mod3.c: New file.
8869 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8870
2fc54d6f
UD
8871 [BZ #12083]
8872 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8873 correctly.
8874
98d76b46
UD
8875 [BZ #12601]
8876 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8877 two-byte sequence errors.
8878 * iconvdata/Makefile (tests): Add bug-iconv8.
8879 * iconvdata/bug-iconv8.c: New file.
8880
da3c19ef
UD
8881 [BZ #12626]
8882 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8883 buf2 definition.
8884
ca408c15
UD
8885 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8886
d6f67f7d
UD
8887 [BZ #12432]
8888 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8889 (dummy_getcfa): New function.
8890 (init): Get _Unwind_GetCFA address, use dummy if not found.
8891 (backtrace_helper): In recursion check, also check whether CFA changes.
8892 (__backtrace): Completely initialize arg.
8893
1af4e298 8894 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8895 storing incomplete byte sequence in state object. Avoid testing for
8896 guaranteed too small input if we know there is enough data available.
1af4e298 8897
da62f81b
AS
88982011-05-11 Andreas Schwab <schwab@redhat.com>
8899
8900 * Makeconfig (+link-pie): Indent.
8901 * Rules (binaries-pie): Define if $(have-fpie) and
8902 $(build-shared).
8903 (binaries-shared): Also filter out $(binaries-pie).
8904 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8905 * nscd/Makefile (others-pie): Add nscd.
8906 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8907 ($(objpfx)nscd): Remove command override.
8908 * login/Makefile (others-pie): Add pt_chown.
8909 ($(objpfx)pt_chown): Remove command override.
8910 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8911 remove command overrides.
8912
fcabc0f8
UD
89132011-05-13 Ulrich Drepper <drepper@gmail.com>
8914
20030ae6
UD
8915 * libio/tst_putwc.c: Fix error messages.
8916
fcabc0f8
UD
8917 [BZ #12724]
8918 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8919 currently writing and seek to current position when not.
8920 * libio/Makefile (tests): Add bug-fclose1.
8921 * libio/bug-fclose1.c: New file.
8922
320a5dc0
PB
89232011-05-12 Ulrich Drepper <drepper@gmail.com>
8924
8925 [BZ #12511]
8926 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8927 don't set DF_1_NODELETE here.
8928 (do_lookup_x): When entering new entry test for copy relocation
8929 and if necessary set DF_1_NODELETE flag.
8930 * elf/tst-unique4.cc: New file.
8931 * elf/tst-unique4.h: New file.
8932 * elf/tst-unique4lib.cc: New file.
8933 * elf/Makefile: Add rules to build and run tst-unique4.
8934 Patch by Piotr Bury <pbury@goahead.com>.
8935
22836f52
UD
89362011-05-11 Ulrich Drepper <drepper@gmail.com>
8937
f574184a
UD
8938 [BZ #12052]
8939 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8940
e1fb097f
UD
8941 [BZ #12625]
8942 * misc/mntent_r.c (addmntent): Flush the stream after the output
8943
22836f52
UD
8944 [BZ #12393]
8945 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8946 (is_trusted_path_normalize): Skip initial colon. Append slash
8947 to empty buffer. Duplicate is_trusted_path code but allow
8948 constructed patch to be prefix.
8949 (is_dst): Allow $ORIGIN followed by /.
8950 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8951 Correct testing of result of is_trusted_path_normalize
8952 (decompose_rpath): Fix warning.
8953
7b3b0b2a
UD
89542011-05-10 Ulrich Drepper <drepper@gmail.com>
8955
8956 [BZ #11257]
8957 * grp/initgroups.c (internal_getgrouplist): When we found the service
8958 list through the initgroups entry in nsswitch.conf do not always
8959 continue on a successful lookup. Don't always use the
eac80ce2 8960 __nss_group_database value if it is set.
7b3b0b2a
UD
8961 * nss/nsswitch.conf (initgroups): Change action for successful db
8962 lookup to continue for compatibility.
8963
2a81eaa5
UD
89642011-05-09 Ulrich Drepper <drepper@gmail.com>
8965
be97a69e
UD
8966 [BZ #11532]
8967 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8968 and CP774 modules.
8969 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8970 and CP774 modules.
8971 * iconvdata/tst-tables.sh: Likewise.
8972 * iconvdata/cp770.c: New file.
8973 * iconvdata/cp771.c: New file.
8974 * iconvdata/cp772.c: New file.
8975 * iconvdata/cp773.c: New file.
8976 * iconvdata/cp774.c: New file.
8977 * iconvdata/testdata/CP770: New file.
8978 * iconvdata/testdata/CP770..UTF8: New file.
8979 * iconvdata/testdata/CP771: New file.
8980 * iconvdata/testdata/CP771..UTF8: New file.
8981 * iconvdata/testdata/CP772: New file.
8982 * iconvdata/testdata/CP772..UTF8: New file.
8983 * iconvdata/testdata/CP773: New file.
8984 * iconvdata/testdata/CP773..UTF8: New file.
8985 * iconvdata/testdata/CP774: New file.
8986 * iconvdata/testdata/CP774..UTF8: New file.
8987
8988 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8989 END CHARMAP line.
8990 * iconvdata/gen-8bit-gap.sh: Likewise.
8991 * iconvdata/gen-8bit.sh: Likewise.
8992
c1e9e399
UD
8993 * locale/iso-639.def: Add ary entry.
8994
24c55fb3 8995 [BZ #11258]
96b4b1b0
UD
8996 * locale/C-translit.h.in: Add U20A1 transliteration.
8997
bdc2f971
KB
8998 [BZ #12178]
8999 * locale/iso-639.def: Add wae entry.
9000 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9001
2952b117
UD
9002 [BZ #12545]
9003 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9004 for n.
9005
2a81eaa5
UD
9006 [BZ #12711]
9007 * locale/C-translit.h.in: Add entry for U20B9.
9008 Patch by pravin.d.s@gmail.com.
9009
28377d1b
UD
90102011-05-08 Ulrich Drepper <drepper@gmail.com>
9011
7fb90fb8
UD
9012 [BZ #12713]
9013 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9014 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9015 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9016 in rtld. Use *stat64.
7fb90fb8 9017 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9018 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9019 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9020 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9021 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9022 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9023 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9024 __fstatat64 macros.
7fb90fb8
UD
9025 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9026 * dirent/rewinddir.c: Add libc_hidden_def.
9027 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9028 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9029
28377d1b
UD
9030 * include/dirent.h (__alloc_dir): Add flags parameter.
9031 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9032 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9033 __alloc_dir.
9034 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9035 from fdopendir if O_CLOEXEC is already set.
9036
66bdbaa4
AM
90372011-03-15 Alan Modra <amodra@gmail.com>
9038
9039 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9040 l_tls_firstbyte_offset non-zero. Save padding offset in
9041 l_tls_firstbyte_offset for later use.
9042 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9043 freeing static tls block.
9044
95721191
JN
90452011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9046
9047 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9048 where #ifdef was intended. The intent is to prevent ARG_MAX from
9049 being defined by the kernel headers.
9050
f87dfb1f
UD
90512011-05-07 Ulrich Drepper <drepper@gmail.com>
9052
9053 [BZ #12734]
9054 * resolv/resolv.h: Define RES_NOTLDQUERY.
9055 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9056 no-tld-query and set RES_NOTLDQUERY.
9057 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9058 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9059 modern BIND to search name as TLD unless forbidden.
9060
47c3cd7a
UD
90612011-05-07 Petr Baudis <pasky@suse.cz>
9062 Ulrich Drepper <drepper@gmail.com>
9063
9064 [BZ #12393]
9065 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9066 (is_trusted_path): ...to here.
c1e9ea35 9067 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9068 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9069 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9070
8a35c912
PP
90712011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9072
9073 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9074 __BEGIN/__END_DECLS.
9075
acd41f47
UD
90762011-05-06 Ulrich Drepper <drepper@gmail.com>
9077
9078 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9079 NSS_STATUS_NOTFOUND if no record was found.
9080
597df647
AS
90812011-05-05 Andreas Schwab <schwab@redhat.com>
9082
9083 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9084 (headers-not-in-tirpc): Remove rpc/netdb.h
9085 * resolv/netdb.h: Revert last change.
9086
b9af1301
PP
90872011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9088
9089 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9090 circular dependency between libgcc.a and libc.a.
9091
4e34d5f5
AS
90922011-05-05 Andreas Schwab <schwab@redhat.com>
9093
9094 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9095 * nis/Makefile: Don't install rpcsvc/*.
9096 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9097 instead of <rpc/types.h>.
9098 (MAXHOSTNAMELEN): Define.
9099
00ee369c
AS
91002011-05-03 Andreas Schwab <schwab@redhat.com>
9101
9102 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9103
0b592a30
MB
91042011-04-28 Maciej Babinski <mbabinski@google.com>
9105
9106 [BZ #12714]
9107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9108 gethostbyname4_r when IPv6 results are possible.
9109
6e04cbbe
UD
91102011-05-02 Ulrich Drepper <drepper@gmail.com>
9111
9112 [BZ #12723]
9113 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9114 _PC_PIPE_BUF handling.
9115
e4ecafe0
BH
91162011-04-30 Bruno Haible <bruno@clisp.org>
9117
9118 [BZ #12717]
9119 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9120 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9121 to 'int'.
9122 * inet/getnameinfo.c (getnameinfo): Likewise.
9123
125ee683
UD
91242011-04-29 Ulrich Drepper <drepper@gmail.com>
9125
9126 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9127 to groups setting in database lookup.
9128 * nss/nsswitch.conf: Add initgroups entry.
9129
b722481a
EB
91302011-04-22 Ulrich Drepper <drepper@gmail.com>
9131
9132 [BZ #12685]
9133 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9134 mode string.
9135 Patch by Eric Blake <eblake@redhat.com>.
9136
4df46dbd
L
91372011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9138
9139 * sunrpc/Makefile (need-export-routines): Add svc_run.
9140 (routines): Remove svc_run.
9141 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9142 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9143 * sunrpc/svc_run.c (svc_run): Likewise.
9144 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9145
e84142d2
UD
91462011-04-21 Ulrich Drepper <drepper@gmail.com>
9147
9148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9149 problem in reallocation in last patch.
9150
877175d8
UD
91512011-04-20 Ulrich Drepper <drepper@gmail.com>
9152
9153 * sunrpc/Makefile: Move inclusion of Rules.
9154
ab8eed78
UD
91552011-04-19 Ulrich Drepper <drepper@gmail.com>
9156
9157 * nss/nss_files/files-initgroups.c: New file.
9158 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9159 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9160 _nss_files_initgroups_dyn.
9161
e3d8f584
RS
91622011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9163
9164 * elf/elf.h (R_ARM_IRELATIVE): Define.
9165
af190f45
UD
91662011-04-19 Ulrich Drepper <drepper@gmail.com>
9167
9168 * po/ru.po: Update from translation team.
9169
53cf59ef
UD
91702011-04-17 Ulrich Drepper <drepper@gmail.com>
9171
9172 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9173 dependencies.
9174
4c559bcd
MF
91752011-02-06 Mike Frysinger <vapier@gentoo.org>
9176
9177 [BZ #12653]
9178 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9179 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9180 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9181 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9182 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9183
4420675c
AS
91842011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9185
9186 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9187 differing bytes.
9188 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9189 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9191
75ea32ab
UD
91922011-04-17 Ulrich Drepper <drepper@gmail.com>
9193
9194 [BZ #12420]
9195 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9196 storing it.
9197 * stdlib/bug-getcontext.c: New file.
9198 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9199
27390476
AK
92002011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9201
9202 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9203 instructions into .machine "z9-109".
9204 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9205 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9206
10442705
AK
92072011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9208
9209 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9210 between environment variables and auxiliary vector.
9211
7b57bfe5
UD
92122011-04-16 Ulrich Drepper <drepper@gmail.com>
9213
9214 * Makefile: Add rules to build linkobj/libc.so.
9215 * include/libc-symbols.h: Define libc_hidden_nolink.
9216 * include/rpc/auth.h: Mark functions which are to be hidden.
9217 * include/rpc/auth_des.h: Likewise.
9218 * include/rpc/auth_unix.h: Likewise.
9219 * include/rpc/clnt.h: Likewise.
9220 * include/rpc/des_crypt.h: Likewise.
9221 * include/rpc/key_prot.h: Likewise.
9222 * include/rpc/pmap_clnt.h: Likewise.
9223 * include/rpc/pmap_prot.h: Likewise.
9224 * include/rpc/pmap_rmt.h: Likewise.
9225 * include/rpc/rpc_msg.h: Likewise.
9226 * include/rpc/svc.h: Likewise.
9227 * include/rpc/svc_auth.h: Likewise.
9228 * include/rpc/xdr.h: Likewise.
9229 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9230 * nss/Makefile: Likewise.
9231 * sunrpc/Makefile: Don't install headers. Build library with normal
9232 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9233 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9234 for the compat linking library. Remove use of INTDEF/INTUSE.
9235 * sunrpc/auth_none.c: Likewise.
9236 * sunrpc/auth_unix.c: Likewise.
9237 * sunrpc/authdes_prot.c: Likewise.
9238 * sunrpc/authuxprot.c: Likewise.
9239 * sunrpc/clnt_gen.c: Likewise.
9240 * sunrpc/clnt_perr.c: Likewise.
9241 * sunrpc/clnt_raw.c: Likewise.
9242 * sunrpc/clnt_simp.c: Likewise.
9243 * sunrpc/clnt_tcp.c: Likewise.
9244 * sunrpc/clnt_udp.c: Likewise.
9245 * sunrpc/clnt_unix.c: Likewise.
9246 * sunrpc/des_crypt.c: Likewise.
9247 * sunrpc/des_soft.c: Likewise.
9248 * sunrpc/get_myaddr.c: Likewise.
9249 * sunrpc/key_call.c: Likewise.
9250 * sunrpc/key_prot.c: Likewise.
9251 * sunrpc/netname.c: Likewise.
9252 * sunrpc/pm_getmaps.c: Likewise.
9253 * sunrpc/pm_getport.c: Likewise.
9254 * sunrpc/pmap_clnt.c: Likewise.
9255 * sunrpc/pmap_prot.c: Likewise.
9256 * sunrpc/pmap_prot2.c: Likewise.
9257 * sunrpc/pmap_rmt.c: Likewise.
9258 * sunrpc/publickey.c: Likewise.
9259 * sunrpc/rpc_cmsg.c: Likewise.
9260 * sunrpc/rpc_common.c: Likewise.
9261 * sunrpc/rpc_dtable.c: Likewise.
9262 * sunrpc/rpc_prot.c: Likewise.
9263 * sunrpc/rpc_thread.c: Likewise.
9264 * sunrpc/rtime.c: Likewise.
9265 * sunrpc/svc.c: Likewise.
9266 * sunrpc/svc_auth.c: Likewise.
9267 * sunrpc/svc_authux.c: Likewise.
9268 * sunrpc/svc_raw.c: Likewise.
9269 * sunrpc/svc_run.c: Likewise.
9270 * sunrpc/svc_simple.c: Likewise.
9271 * sunrpc/svc_tcp.c: Likewise.
9272 * sunrpc/svc_udp.c: Likewise.
9273 * sunrpc/svc_unix.c: Likewise.
9274 * sunrpc/svcauth_des.c: Likewise.
9275 * sunrpc/xcrypt.c: Likewise.
9276 * sunrpc/xdr.c: Likewise.
9277 * sunrpc/xdr_array.c: Likewise.
9278 * sunrpc/xdr_float.c: Likewise.
9279 * sunrpc/xdr_intXX_t.c: Likewise.
9280 * sunrpc/xdr_mem.c: Likewise.
9281 * sunrpc/xdr_rec.c: Likewise.
9282 * sunrpc/xdr_ref.c: Likewise.
9283 * sunrpc/xdr_sizeof.c: Likewise.
9284 * sunrpc/xdr_stdio.c: Likewise.
9285
e6c61494
UD
92862011-04-10 Ulrich Drepper <drepper@gmail.com>
9287
9288 [BZ #12650]
9289 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9290 * sysdeps/ia64/dl-tls.h: Likewise.
9291 * sysdeps/powerpc/dl-tls.h: Likewise.
9292 * sysdeps/s390/dl-tls.h: Likewise.
9293 * sysdeps/sh/dl-tls.h: Likewise.
9294 * sysdeps/sparc/dl-tls.h: Likewise.
9295 * sysdeps/x86_64/dl-tls.h: Likewise.
9296 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9297
34fe483e
AS
92982011-03-14 Andreas Schwab <schwab@redhat.com>
9299
9300 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9301 rpath element also skip the following colon.
9302 (expand_dynamic_string_token): Add is_path parameter and pass
9303 down to DL_DST_REQUIRED and _dl_dst_substitute.
9304 (decompose_rpath): Call expand_dynamic_string_token with
9305 non-zero is_path. Ignore empty rpaths.
9306 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9307 with zero is_path.
9308
f12a32e6
AS
93092011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9310
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9312 Make cancelable.
9313
38a7d692
UD
93142011-04-09 Ulrich Drepper <drepper@gmail.com>
9315
9316 [BZ #12655]
9317 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9318 Patch by Filipe David Manana <fdmanana@apache.org>.
9319
e451d22b
AS
93202011-04-07 Andreas Schwab <schwab@redhat.com>
9321
9322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9323 Maintain aligned stack.
9324 (CHECK_RSP): Remove unused macro.
9325
dedc7c7b
UD
93262011-04-03 Ulrich Drepper <drepper@gmail.com>
9327
9328 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9329 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9330
94521213
UD
93312011-04-02 Ulrich Drepper <drepper@gmail.com>
9332
9333 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9334
8cb700c0 9335 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9336
0354e355
L
93372011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9338
9339 [BZ #12518]
9340 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9341 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9342 * sysdeps/x86_64/memmove.c: New file.
9343 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9344 (memcpy): Renamed to ...
9345 (__new_memcpy): This.
9346 (memcpy): Provide GLIBC_2_14 memcpy.
9347 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9348 (memcpy): Provide GLIBC_2_2_5 memcpy.
9349
8593482f
UD
93502011-04-01 Ulrich Drepper <drepper@gmail.com>
9351
9352 [BZ #12631]
9353 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9354
81a5726b
AS
93552011-03-30 Andreas Schwab <schwab@redhat.com>
9356
9357 * misc/syncfs.c: New file.
9358 * misc/Makefile (routines): Add syncfs.
9359 * posix/unistd.h: Declare syncfs.
9360 * sysdeps/unix/syscalls.list: Add syncfs.
9361
00e5419f
AS
93622011-04-01 Andreas Schwab <schwab@redhat.com>
9363
9364 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9365 open_by_handle_at.
9366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9371 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9372 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9373
748876bf
UD
93742011-04-01 Ulrich Drepper <drepper@gmail.com>
9375
658e451d
UD
9376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9378 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9383
748876bf
UD
9384 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9385 sync_file_range.c with -fexceptions.
9386 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9387 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9388 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9389 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9390 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9391 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9392 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9393 sync_file_range as cancellation point
9394 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9395 now a wrapper around __call_sync_file_range with cancellation handling.
9396 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9397 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9398 function name to __call_sync_file_range.
9399 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9400 Add call_sync_file_range.
748876bf 9401
6e63d5e1
AS
94022011-04-01 Andreas Schwab <schwab@redhat.com>
9403
9404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9405 bits/timex.h.
6e63d5e1 9406
46998f74
UD
94072011-04-01 Ulrich Drepper <drepper@gmail.com>
9408
4c1423ed
UD
9409 * iconv/iconv.h: Fix typo in comment.
9410 * io/fcntl.h: Likewise.
9411 * libio/stdio.h: Likewise.
9412 * posix/spawn.h: Likewise.
9413 * posix/unistd.h: Likewise.
9414 * stdlib/stdlib.h: Likewise.
9415 * time/time.h: Likewise.
9416 * wcsmbs/wchar.h: Likewise.
9417
158648c0
UD
9418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9419 open_by_handle): Add.
9420 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9421 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9422 Augment a few comments.
9423 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9428 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9429 open_by_handle.
9430
46998f74
UD
9431 * io/fcntl.h (AT_EMPTY_PATH): Define.
9432
83fe108b
UD
94332011-03-30 Ulrich Drepper <drepper@gmail.com>
9434
9435 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9436 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9437 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9438 to...
9439 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9440 * Versions.def: Add GLIBC_2.14.
9441 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9442 Export.
83fe108b 9443
bb242059
UD
94442011-03-22 Ulrich Drepper <drepper@gmail.com>
9445
9446 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9447 round counter.
9448 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9449
c97a1282
L
94502011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9451
9452 [BZ #12597]
9453 * string/test-strncmp.c (do_page_test): New function.
9454 (check2): Likewise.
9455 (test_main): Call check2.
9456 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9457
2a115601
UD
94582011-03-20 Ulrich Drepper <drepper@gmail.com>
9459
9460 [BZ #12587]
9461 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9462 Handle cache information in CPU leaf 4.
9463 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9464
8126d904
UD
94652011-03-18 Ulrich Drepper <drepper@gmail.com>
9466
042c49c6 9467 [BZ #12583]
8126d904
UD
9468 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9469 character representation.
9470 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9471
ccfe366e
RA
94722011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9473
9474 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9475 END(__isnan) to END(__isnanf) to match function entry point/label
9476 EALIGN(__isnanf,...).
9477
c6e13027
JJ
94782011-03-10 Jakub Jelinek <jakub@redhat.com>
9479
9480 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9481
33f85a3f
UD
94822011-03-10 Ulrich Drepper <drepper@gmail.com>
9483
028478fa
UD
9484 [BZ #12510]
9485 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9486 copy from the symbol referenced in the relocation to initialize the
9487 used variable.
9488 Patch by Piotr Bury <pbury@goahead.com>.
9489 * elf/Makefile: Add rules to build and tst-unique3.
9490 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9491 * elf/tst-unique3.cc: New file.
9492 * elf/tst-unique3.h: New file.
9493 * elf/tst-unique3lib.cc: New file.
9494 * elf/tst-unique3lib2.cc: New file.
9495
33f85a3f
UD
9496 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9497
03592fc7
MF
94982011-03-10 Mike Frysinger <vapier@gentoo.org>
9499
9500 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9501 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9502 to _start.
03592fc7 9503
6a5ee102
UD
95042011-03-06 Ulrich Drepper <drepper@gmail.com>
9505
9506 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9507 to-be-loaded object along a path to loader is ld.so.
9508
7e4ba49c
HJ
95092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9510 Ulrich Drepper <drepper@gmail.com>
9511
9512 * sysdeps/x86_64/memset.S: After aligning destination, code
9513 branches to different locations depending on the value of
9514 misalignment, when multiarch is enabled. Fix this.
9515
95162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9517
9518 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9519 Set _x86_64_preferred_memory_instruction for AMD processsors.
9520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9521 Set bit_Prefer_SSE_for_memop for AMD processors.
9522
13a804de
UD
95232011-03-04 Ulrich Drepper <drepper@gmail.com>
9524
9525 * libio/fmemopen.c (fmemopen): Optimize a bit.
9526
9d25c392
AS
95272011-03-03 Andreas Schwab <schwab@redhat.com>
9528
9529 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9530
a5543c6a
RM
95312011-03-03 Roland McGrath <roland@redhat.com>
9532
9533 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9534
012d35f7
DM
95352011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9536
7e4ba49c 9537 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9538 __bzero_ultra1 instead of __memset_ultra1.
9539
4bff6e01
AS
95402011-02-23 Andreas Schwab <schwab@redhat.com>
9541 Ulrich Drepper <drepper@gmail.com>
9542
9543 [BZ #12509]
9544 * include/link.h (struct link_map): Add l_orig_initfini.
9545 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9546 returning unsuccessfully.
9547 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9548 close of a file loaded at startup, restore the original l_initfini
9549 list.
9550 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9551 list, store the pointer.
9552 * elf/Makefile ($(objpfx)noload-mem): New rule.
9553 (noload-ENV): Define.
9554 (tests): Add $(objpfx)noload-mem.
9555 * elf/noload.c: Include <memcheck.h>.
9556 (main): Call mtrace. Close all opened handles.
9557
f2092faf
AS
95582011-02-17 Andreas Schwab <schwab@redhat.com>
9559
9560 [BZ #12454]
9561 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9562 dependencies are missing.
9563
6c8a2e88
ST
95642011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9565
f2092faf 9566 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9567 Hurd needs munmap.
9568 * sysdeps/mach/hurd/ifreq.h: New file.
9569
84a42118
PB
95702011-01-27 Petr Baudis <pasky@suse.cz>
9571 Ulrich Drepper <drepper@gmail.com>
9572
071f805e 9573 [BZ 12445]#
84a42118
PB
9574 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9575 to extend_alloca().
9576 * stdio-common/bug23.c: New file.
9577 * stdio-common/Makefile (tests): Add bug23.
9578
e23fe25b
AS
95792010-09-28 Andreas Schwab <schwab@redhat.com>
9580 Ulrich Drepper <drepper@gmail.com>
9581
9582 [BZ #12489]
9583 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9584 before performing relro protection. At old place add assertion
9585 to make sure nothing changed.
9586
d3f02e10
NS
95872011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9588 Glauber de Oliveira Costa <glommer@gmail.com>
9589
9590 * elf/elf.h: Add new ARM TLS relocs.
9591
d55fd7a5
RA
95922011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9593
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9595 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9596 cast from r3.
9597 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9598 'tests' variable.
9599 * sysdeps/wordsize-64/tst-writev.c: New file.
9600
2206397e
RA
96012011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9602
9603 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9604 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9605 insns in _dl_start to prevent a TOC reference before relocs are
9606 resolved.
9607
e9433893
UD
96082011-02-15 Ulrich Drepper <drepper@gmail.com>
9609
9610 [BZ #12469]
9611 * Makeconfig: Remove RANLIB definition.
9612 * Makerules: Don't use RANLIB.
9613 * aclocal.m4: Remove ranlib test.
9614 * configure.in: No need to check for ranlib.
9615 * elf/rtld-Rules: Don't use RANLIB.
9616
f75286c6
ST
96172011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9618
8e31c82d
ST
9619 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9620 protection macro.
9621 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9622 inclusion protection macro.
9623
f75286c6
ST
9624 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9625 SIGRTMIN and SIGRTMAX and print information in that case only when
9626 SIGRTMIN is defined.
9627
c1d0e639
JJ
96282011-02-11 Jakub Jelinek <jakub@redhat.com>
9629
9630 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9631 arginfo fn returning -1.
9632
9633 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9634 and thousands string is zero terminated.
9635
edf9294e
AS
96362011-02-03 Andreas Schwab <schwab@redhat.com>
9637
9638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9639 sysdeps/unix/sysv/linux/bits/socket.h.
9640
2b7e92df
ST
96412011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9642
edf9294e
AS
9643 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9644 (__CPU_COUNT): Remove old macros.
9645 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9646 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9647 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9648 (__sched_cpualloc, __sched_cpufree): Add declarations.
9649
a4c7ea7b
UD
96502011-02-05 Ulrich Drepper <drepper@gmail.com>
9651
9652 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9653 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9654 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9655 (readdhstai): Return value of addhstaiX call.
9656 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9657 (addgrbyX): Return value returned by cache_addgr.
9658 (readdgrbyname): Return value returned by addgrbyX.
9659 (readdgrbygid): Likewise.
9660 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9661 (addpwbyX): Return value returned by cache_addpw.
9662 (readdpwbyname): Return value returned by addhstbyX.
9663 (readdpwbyuid): Likewise.
9664 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9665 (addservbyX): Return value returned by cache_addserv.
9666 (readdservbyname): Return value returned by addservbyX:
9667 (readdservbyport): Likewise.
9668 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9669 (addhstbyX): Return value returned by cache_addhst.
9670 (readdhstbyname): Return value returned by addhstbyX.
9671 (readdhstbyaddr): Likewise.
9672 (readdhstbynamev6): Likewise.
9673 (readdhstbyaddrv6): Likewise.
9674 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9675 (readdinitgroups): Return value returned by addinitgroupsX.
9676 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9677 (prune_cache): Keep track of timeout value of re-added entries.
9678 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9679 * nscd/nscd.h: Adjust prototypes of readd* functions.
9680
a0bf67cc
RM
96812011-02-04 Roland McGrath <roland@redhat.com>
9682
9683 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9684 (nis_stats): Likewise.
9685 * nis/nis_modify.c (nis_modify): Likewise.
9686 * nis/nis_remove.c (nis_remove): Likewise.
9687 * nis/nis_add.c (nis_add): Likewise.
9688
9689 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9690
9691 * posix/fnmatch_loop.c: Add some consts.
9692
9693 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9694
435b95eb
L
96952011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9696
9697 [BZ #12460]
9698 * config.make.in (config-cflags-novzeroupper): Define.
9699 * configure.in: Substitute libc_cv_cc_novzeroupper.
9700 * elf/Makefile (AVX-CFLAGS): Define.
9701 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9702 (CFLAGS-tst-auditmod4a.c): Likewise.
9703 (CFLAGS-tst-auditmod4b.c): Likewise.
9704 (CFLAGS-tst-auditmod6b.c): Likewise.
9705 (CFLAGS-tst-auditmod6c.c): Likewise.
9706 (CFLAGS-tst-auditmod7b.c): Likewise.
9707 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9708
8517b15e
UD
97092011-02-02 Ulrich Drepper <drepper@gmail.com>
9710
9711 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9712 function to the callback.
9713 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9714
10a656fe
AS
97152011-02-02 Andreas Schwab <schwab@redhat.com>
9716
9717 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9718 of errno.
9719
968dad0a
UD
97202011-01-19 Ulrich Drepper <drepper@gmail.com>
9721
9f94d2ea 9722 [BZ #11724]
968dad0a
UD
9723 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9724 of constructors.
9725 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9726 of destructors.
9727 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9728
9729 [BZ #11724]
9730 * elf/Makefile: Add rules to build and run new test.
9731 * elf/tst-initorder.c: New file.
9732 * elf/tst-initorder.exp: New file.
9733 * elf/tst-initordera1.c: New file.
9734 * elf/tst-initordera2.c: New file.
9735 * elf/tst-initordera3.c: New file.
9736 * elf/tst-initordera4.c: New file.
9737 * elf/tst-initorderb1.c: New file.
9738 * elf/tst-initorderb2.c: New file.
9739 * elf/tst-order-a1.c: New file.
9740 * elf/tst-order-a2.c: New file.
9741 * elf/tst-order-a3.c: New file.
9742 * elf/tst-order-a4.c: New file.
9743 * elf/tst-order-b1.c: New file.
9744 * elf/tst-order-b2.c: New file.
9745 * elf/tst-order-main.c: New file.
9746 New test case by George Gensure <werkt0@gmail.com>.
9747
86e92359
UD
97482010-10-01 Andreas Schwab <schwab@redhat.com>
9749
9750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9751 decoding ACE if AI_CANONIDN.
9752
5d5732b0
UD
97532011-01-18 Ulrich Drepper <drepper@gmail.com>
9754
9755 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9756
a77e8cbc
UD
97572011-01-17 Ulrich Drepper <drepper@gmail.com>
9758
6392473f
UD
9759 * version.h (RELEASE): Bump for 2.13 release.
9760 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9761
620a0529
UD
9762 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9763
18ba70a5
UD
9764 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9765 MADV_NOHUGEPAGE.
32465c3e
UD
9766 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9768 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9769 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9770 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9772
c0dafcf1
UD
9773 * posix/getconf.c: Update copyright year.
9774 * catgets/gencat.c: Likewise.
9775 * csu/version.c: Likewise.
9776 * debug/catchsegv.sh: Likewise.
9777 * debug/xtrace.sh: Likewise.
9778 * elf/ldconfig.c: Likewise.
9779 * elf/ldd.bash.in: Likewise.
9780 * elf/sprof.c (print_version): Likewise.
9781 * iconv/iconv_prog.c: Likewise.
9782 * iconv/iconvconfig.c: Likewise.
9783 * locale/programs/locale.c: Likewise.
9784 * locale/programs/localedef.c: Likewise.
9785 * malloc/memusage.sh: Likewise.
9786 * malloc/mtrace.pl: Likewise.
9787 * nscd/nscd.c (print_version): Likewise.
9788 * nss/getent.c: Likewise.
9789
a77e8cbc
UD
9790 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9791 PF_CAIF, and PF_ALG.
9792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9793
77e8bddf
AS
97942011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9795
1f20b93a
AS
9796 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9797 (modules-names): Use them.
9798 (ifunc-test-modules, ifunc-pie-tests): Define.
9799 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9800 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9801 (test-extras): Likewise.
9802 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9803 $(compile-command.c).
9804 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9805 (all-built-dso): Define.
9806 (check-textrel.out, check-execstack.out): Depend on it.
9807
77e8bddf
AS
9808 * configure.in: Don't override --enable-multi-arch.
9809
bc425b33
UD
98102011-01-15 Ulrich Drepper <drepper@gmail.com>
9811
9812 [BZ #6812]
9813 * nscd/hstcache.c (tryagain): Define.
9814 (cache_addhst): Return tryagain not notfound for temporary errors.
9815 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9816 failed.
9817
794c3ad3
UD
98182011-01-14 Ulrich Drepper <drepper@gmail.com>
9819
70181fdd
UD
9820 [BZ #10563]
9821 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9822 to make the syscall.
9823 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9824
794c3ad3
UD
9825 [BZ #12378]
9826 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9827 and fall back to matching as normal character if the string ends before
9828 the matching ']' is found. This is what POSIX requires.
9829 * posix/testfnm.c: Adjust test result.
9830 * posix/globtest.sh: Adjust test result. Add new test.
9831 * posix/tst-fnmatch.input: Likewise.
9832 * posix/tst-fnmatch2.c: Add new test.
9833
68dc9497
AS
98342010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9835
9836 * elf/Makefile (check-execstack): Revert last change. Depend on
9837 check-execstack.h.
9838 (check-execstack.h): New target.
9839 (generated): Add check-execstack.h.
9840 * elf/check-execstack.c: Include "check-execstack.h".
9841 (main): Revert last change.
9842 (handle_file): Return zero if GNU_STACK is absent and
9843 DEFAULT_STACK_PERMS doesn't include PF_X.
9844
451f001b
UD
98452011-01-13 Ulrich Drepper <drepper@gmail.com>
9846
cfa28e56
UD
9847 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9848 in child fails because the descriptor is already closed.
8cf8ce17
UD
9849 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9850 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9851 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9852
1086d70d
UD
9853 [BZ #12397]
9854 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9855 syscall.
9856
451f001b
UD
9857 [BZ #10484]
9858 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9859 temporary buffer used to handle multi lookups locally.
a85b5cb4 9860 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9861
08769175
UD
98622011-01-12 Ulrich Drepper <drepper@gmail.com>
9863
9864 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9865 loader is ld.so.
9866
5e49c52e
UD
98672011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9868
9869 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9870 alignment for SSE2.
9871
60522a5f
UD
98722011-01-12 Ulrich Drepper <drepper@gmail.com>
9873
9874 [BZ #12394]
9875 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9876 characters. When rounding increased number of integer digits recompute
9877 number of groups.
9878 * stdio-common/tst-grouping.c: New file.
9879 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9880
f257bbd7
UD
98812011-01-09 Ulrich Drepper <drepper@gmail.com>
9882
9883 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9884 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9885
9886 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9887 void.
9888 * bits/select.h: Likewise.
9889
fa9c15cb
UD
98902011-01-08 Ulrich Drepper <drepper@gmail.com>
9891
9892 * po/ja.po: Update from translation team.
9893
16c2895f
DM
98942011-01-04 David S. Miller <davem@sunset.davemloft.net>
9895
9896 [BZ #11155]
9897 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9898 implementation just like for lxstat, fxstatat, et al.
9899
2543fef2
JM
99002010-12-27 Jim Meyering <meyering@redhat.com>
9901
9902 [BZ #12348]
9903 * posix/regexec.c (build_trtable): Return failure indication upon
9904 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9905
98727dbe
UD
99062010-12-25 Ulrich Drepper <drepper@gmail.com>
9907
5bd6dc5c
UD
9908 [BZ #12201]
9909 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9910 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9911 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9912 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9913
97983464
UD
9914 [BZ #12207]
9915 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9916
98727dbe
UD
9917 [BZ #12204]
9918 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9919 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9920
4a531bb0
L
99212010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9922
9923 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9924 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9925 script has SORT_BY_INIT_PRIORITY.
9926 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9927 NO_CTORS_DTORS_SECTIONS is defined.
9928 * elf/soinit.c: Likewise.
9929 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9930 NO_CTORS_DTORS_SECTIONS is defined.
9931 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9932 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9933 * sysdeps/sh/init-first.c: Likewise.
9934 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9935
07eb4b71
UD
99362010-12-24 Ulrich Drepper <drepper@gmail.com>
9937
9938 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9939 always use the slow path.
9940
30950a5f
RA
99412010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9942
9943 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9944 similar rule which adds the sysdep directories to the header search in
9945 order to pick up the correct platform stackinfo.h.
9946 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9947 perform test if it is, otherwise return successfully without testing.
9948 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9949 DEFAULT_STACK_PERMS define in stackinfo.h.
9950 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9951 defined in stackinfo.h.
9952 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9953 DEFAULT_STACK_PERMS defined in stackinfo.h.
9954 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9955 * sysdeps/ia64/stackinfo.h: Likewise.
9956 * sysdeps/s390/stackinfo.h: Likewise.
9957 * sysdeps/sh/stackinfo.h: Likewise.
9958 * sysdeps/sparc/stackinfo.h: Likewise.
9959 * sysdeps/x86_64/stackinfo.h: Likewise.
9960 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9961 PF_X for powerpc64. Retain PF_X for powerpc32.
9962
db753e2c
UD
99632010-12-19 Ulrich Drepper <drepper@gmail.com>
9964
14b697f7
UD
9965 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9966 accurately.
db753e2c
UD
9967 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9968 GETDENTS_64BIT_ALIGNED.
9969
28300719
UD
99702010-12-14 Ulrich Drepper <dreper@gmail.com>
9971
14b697f7 9972 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9973
4f197237
AS
99742010-12-10 Andreas Schwab <schwab@redhat.com>
9975
dbb0472f
AS
9976 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9977 _GNU_SOURCE.
9978
4f197237
AS
9979 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9980 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9981 Remove __restrict.
9982 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9983 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9984
fb88ac72
UD
99852010-12-09 Ulrich Drepper <drepper@gmail.com>
9986
9987 [BZ #11655]
9988 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9989 are initialized.
9990
42acbb92
JJ
99912010-12-09 Jakub Jelinek <jakub@redhat.com>
9992
9993 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9994
c038d98d
UD
99952010-12-03 Ulrich Drepper <drepper@gmail.com>
9996
9997 * po/it.po: Update from translation team.
9998
3a4a2499
L
99992010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10000
10001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10002 unused codes.
10003
1e24cf6e
UD
100042010-11-30 Ulrich Drepper <drepper@gmail.com>
10005
10006 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10007
a7690819
AS
100082010-11-24 Andreas Schwab <schwab@redhat.com>
10009
10010 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10011 specially.
10012 (gaih_getanswer_slice): Likewise.
10013
3bf8d1b1
JJ
100142010-10-20 Jakub Jelinek <jakub@redhat.com>
10015
10016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10017
6db52fbb
PB
100182010-05-31 Petr Baudis <pasky@suse.cz>
10019
10020 [BZ #11149]
10021 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10022 silently even in the chroot mode.
10023
eaca7569
UD
100242010-11-22 Ulrich Drepper <drepper@gmail.com>
10025
10026 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10027 last patch a bit. Pretty printing
10028
3056dcdb
UD
100292010-05-31 Petr Baudis <pasky@suse.cz>
10030
10031 [BZ #10085]
10032 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10033 initialization of skip_initgroups_dyn.
10034
cf7c9078
UD
100352010-11-19 Ulrich Drepper <drepper@gmail.com>
10036
10037 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10038 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10039
a1fb5e3e
UD
100402010-11-16 Ulrich Drepper <drepper@gmail.com>
10041
10042 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10043
3540d66b
AS
100442010-11-11 Andreas Schwab <schwab@redhat.com>
10045
10046 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10047 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10048 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10049 ($(objpfx)tst-fnmatch-mem): New rule.
10050 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10051 * posix/tst-fnmatch.c (main): Call mtrace.
10052
13b69574
L
100532010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10054
10055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10056 Support Intel processor model 6 and model 0x2c.
10057
da93d214
LM
100582010-11-10 Luis Machado <luisgpm@br.ibm.com>
10059
10060 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10061 signed comparison.
10062
8ca52c6e
L
100632010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10064
10065 [BZ #12205]
10066 * string/test-strncasecmp.c (check_result): New function.
10067 (do_one_test): Use it.
10068 (check1): New function.
10069 (test_main): Use it.
10070 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10071 Support strcasecmp and strncasecmp.
10072
69da074d
UD
100732010-11-08 Ulrich Drepper <drepper@gmail.com>
10074
10075 [BZ #12194]
10076 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10077 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10078
ff02d528
L
100792010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10080
10081 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10082 IFUNC support.
10083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10084 memset-x86-64.
10085 * sysdeps/x86_64/multiarch/bzero.S: New file.
10086 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10087 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10088 * sysdeps/x86_64/multiarch/memset.S: New file.
10089 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10091 Set bit_Prefer_SSE_for_memop for Intel processors.
10092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10093 Define.
10094 (index_Prefer_SSE_for_memop): Define.
10095 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10096
344d0b54
LM
100972010-11-04 Luis Machado <luisgpm@br.ibm.com>
10098
10099 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10100 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10101
c0dde15b
UD
101022010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10103
10104 [BZ #12191]
10105 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10106 (__x86_64_raw_data_cache_size_half): Likewise.
10107 (__x86_64_raw_shared_cache_size): Likewise.
10108 (__x86_64_raw_shared_cache_size_half): Likewise.
10109
10110 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10111 (__x86_64_raw_data_cache_size_half): Likewise.
10112 (__x86_64_raw_shared_cache_size): Likewise.
10113 (__x86_64_raw_shared_cache_size_half): Likewise.
10114 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10115 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10116 and __x86_64_raw_shared_cache_size_half. Round
10117 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10118 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10119 to multiple of 256 bytes.
10120
0e516e0e
MS
101212010-11-03 Ulrich Drepper <drepper@gmail.com>
10122
10123 [BZ #12167]
10124 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10125 of inacessible symlinks. Verify result of symlink before returning it.
10126 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10127 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10128
0e012e87
ER
101292010-10-28 Erich Ritz <erichritz@gmail.com>
10130
10131 * math/math.h (isinf): Fix typo in comment.
10132
de0ff7bc
UD
101332010-11-01 Ulrich Drepper <drepper@gmail.com>
10134
10135 * po/da.po: Update from translation team.
10136
fa41c84d
UD
101372010-10-26 Ulrich Drepper <drepper@gmail.com>
10138
10139 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10140 is added to the list.
10141
f0967738
AK
101422010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10143 Ulrich Drepper <drepper@gmail.com>
10144
10145 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10146 the global list here. Move code to...
10147 (_dl_add_to_namespace_list): ...here. New function.
10148 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10149 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10150 * elf/dl-load.c (lose): Don't remove the element from the list.
10151 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10152 (_dl_map_object): Likewise.
10153
101542010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10155
10156 [BZ #12159]
10157 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10158 into all bytes of SSE register.
10159 Patch by Richard Li <richardpku@gmail.com>.
10160
f0967738 101612010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10162
10163 [BZ #12140]
10164 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10165 perturbing.
10166
d0b9e94f
MB
101672010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10168
10169 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10170 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10171 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10172 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10174 submachine.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10176
8e9f92e9
AS
101772010-10-22 Andreas Schwab <schwab@redhat.com>
10178
10179 * include/dlfcn.h (__RTLD_SECURE): Define.
10180 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10181 mode & __RTLD_SECURE instead.
10182 (open_path): Rename preloaded parameter to secure.
10183 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10184 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10185 * elf/dl-deps.c (openaux): Likewise.
10186 * elf/rtld.c (struct map_args): Remove is_preloaded.
10187 (map_doit): Don't use it.
10188 (dl_main): Likewise.
10189 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10190 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10191
bc96fbda
AS
101922010-09-09 Andreas Schwab <schwab@redhat.com>
10193
10194 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10195 (sysd-rules-targets): Remove duplicates.
10196 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10197 rtld-%.$o dependency.
10198
22cd1c9b
AS
101992010-10-18 Andreas Schwab <schwab@redhat.com>
10200
10201 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10202 _dl_map_object do it.
10203
18edac48
UD
102042010-10-19 Ulrich Drepper <drepper@gmail.com>
10205
10206 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10207 fast fma builtins, define the macros in the C99 standard.
10208 (FP_FAST_FMAF): Likewise.
10209 (FP_FAST_FMAL): Likewise.
10210 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10211
10212 * bits/mathdef.h: Update copyright year.
10213 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10214
d2050124
MM
102152010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10216
10217 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10218 builtins, define the macros in the C99 standard.
10219 (FP_FAST_FMAF): Likewise.
10220 (FP_FAST_FMAL): Likewise.
10221 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10222 multiply/add.
10223 (FP_FAST_FMAF): Likewise.
10224
475facd1
JJ
102252010-10-15 Jakub Jelinek <jakub@redhat.com>
10226
10227 [BZ #3268]
10228 * math/libm-test.inc (fma_test): Some new testcases.
10229 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10230 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10231 y and infinite z. Do multiplication by C already in long double.
10232 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10234 y and infinite z. Do bitwise or of inexact bit into u.d.
10235 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10236 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10237 * sysdeps/i386/fpu/s_fma.S: Removed.
10238 * sysdeps/i386/fpu/s_fmal.S: Removed.
10239
7c08a05c
JJ
102402010-10-16 Jakub Jelinek <jakub@redhat.com>
10241
10242 [BZ #3268]
10243 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10245 computation is not scheduled after fetestexcept. Fix value
10246 of minimum denormal long double.
10247
f3f7372d
JJ
102482010-10-14 Jakub Jelinek <jakub@redhat.com>
10249
10250 [BZ #3268]
10251 * math/libm-test.inc (fma_test): Add some more tests.
10252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10253 correctly.
10254
14d43591
AS
102552010-10-15 Andreas Schwab <schwab@redhat.com>
10256
10257 * scripts/data/localplt-s390-linux-gnu.data: New file.
10258 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10259
5e908464
JJ
102602010-10-13 Jakub Jelinek <jakub@redhat.com>
10261
10262 [BZ #3268]
10263 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10264 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10265 instead of dbl-64.
10266 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10267 inlines.
10268 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10270 if one of x and y is very large and the other is subnormal.
10271 * sysdeps/s390/fpu/s_fmaf.c: New file.
10272 * sysdeps/s390/fpu/s_fma.c: New file.
10273 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10274 * sysdeps/powerpc/fpu/s_fma.S: New file.
10275 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10276 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10277 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10278
102792010-10-12 Jakub Jelinek <jakub@redhat.com>
10280
10281 [BZ #3268]
10282 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10283 fma tests.
10284 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10285 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10286 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10287 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10288 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10289 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10291
b833d51f
UD
102922010-10-12 Ulrich Drepper <drepper@redhat.com>
10293
10294 [BZ #12078]
10295 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10296 * posix/bug-regex31.input: Add test case.
10297
1751705d
UD
102982010-10-11 Ulrich Drepper <drepper@gmail.com>
10299
e9b9cbf5
UD
10300 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10301 * posix/bug-regex31.input: New file.
10302
10303 [BZ #12078]
10304 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10305 (parse_sub_exp): Fix last change, use postorder.
10306
ef06edbe
UD
10307 * posix/bug-regex31.c: New file.
10308 * posix/Makefile: Add rules to build and run bug-regex31.
10309
a129c80d
UD
10310 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10311
10312 [BZ #12078]
10313 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10314
b76b818e
UD
10315 [BZ #12108]
10316 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10317 to have entries in sys_siglist.
10318
1751705d
UD
10319 [BZ #12093]
10320 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10321 be NULL.
10322
9ff8d36f
JJ
103232010-10-07 Jakub Jelinek <jakub@redhat.com>
10324
10325 [BZ #3268]
10326 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10327 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10328 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10329 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10330 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10331 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10332 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10333 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10334 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10335 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10336 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10337 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10338 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10339 * math/ftestexcept.c (fetestexcept): Likewise.
10340 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10341 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10342 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10343 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10344 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10345 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10346 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10347
af325969
UD
103482010-10-11 Ulrich Drepper <drepper@gmail.com>
10349
c579b202 10350 [BZ #12107]
af325969
UD
10351 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10352 newline.
10353
67a67b95
UD
103542010-10-06 Ulrich Drepper <drepper@gmail.com>
10355
10356 * string/bug-strstr1.c: New file.
10357 * string/Makefile: Add rules to build and run bug-strstr1.
10358
5fb308bc
EB
103592010-10-05 Eric Blake <eblake@redhat.com>
10360
10361 [BZ #12092]
10362 * string/str-two-way.h (two_way_long_needle): Always clear memory
10363 when skipping input due to the shift table.
10364
45db99c7
UD
103652010-10-03 Ulrich Drepper <drepper@gmail.com>
10366
3b111893
UD
10367 [BZ #12005]
10368 * malloc/mcheck.c: Handle large requests.
10369
45db99c7
UD
10370 [BZ #12077]
10371 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10372 for strncmp and strncasecmp.
10373 * string/stratcliff.c: Add tests for strcmp and strncmp.
10374 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10375
cf7a1eb8
NI
103762010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10377
10378 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10379 __set_fpscr.
10380
6484ba5e
AJ
103812010-09-30 Andreas Jaeger <aj@suse.de>
10382
10383 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10384 (CGROUP_SUPER_MAGIC): Define.
10385 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10386 Handle btrfs and cgroup file systems.
10387 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10388 Likewise.
10389
91c42559
LM
103902010-09-27 Luis Machado <luisgpm@br.ibm.com>
10391
10392 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10393 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10394
87a97932
AK
103952010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10396
10397 [BZ #12067]
10398 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10399 trying to locate the ELF header.
10400
c21cc9bc
AS
104012010-09-27 Andreas Schwab <schwab@redhat.com>
10402
10403 [BZ #11611]
10404 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10405 Mask out sign-bit copies when constructing f_fsid.
10406
315970f6
PB
104072010-09-24 Petr Baudis <pasky@suse.cz>
10408
10409 * debug/stack_chk_fail_local.c: Add missing licence exception.
10410 * debug/warning-nop.c: Likewise.
10411
1ac7a2c7
JM
104122010-09-15 Joseph Myers <joseph@codesourcery.com>
10413
10414 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10415 implementing getdents64 using getdents syscall, set d_type if
10416 __ASSUME_GETDENTS32_D_TYPE.
10417
56801c50
AS
104182010-09-16 Andreas Schwab <schwab@redhat.com>
10419
10420 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10421 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10422
dda51327
UD
104232010-09-21 Ulrich Drepper <drepper@redhat.com>
10424
10425 [BZ #12037]
10426 * posix/unistd.h: Undo change of feature selection for ftruncate from
10427 2010-01-11.
10428
8ffcee4a
UD
104292010-09-20 Ulrich Drepper <drepper@redhat.com>
10430
a545ecd9 10431 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10432 detection.
10433
e24f0a8b
AS
104342010-09-20 Andreas Schwab <schwab@redhat.com>
10435
10436 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10437 fanotify_mark.
10438 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10439
7291c56f
AS
104402010-09-14 Andreas Schwab <schwab@redhat.com>
10441
10442 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10443 variables after CHECK_SP call.
10444 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10445
bc5fb037
AS
104462010-09-13 Andreas Schwab <schwab@redhat.com>
10447 Ulrich Drepper <drepper@redhat.com>
10448
10449 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10450 re-relocationg ld.so.
10451 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10452 _dl_init_paths call.
10453 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10454 here anymore.
10455
e66e7419
UD
104562010-09-14 Ulrich Drepper <drepper@redhat.com>
10457
10458 * resolv/res_init.c (__res_vinit): Count the default server we added.
10459
c044aa75
CLT
104602010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10461 Ulrich Drepper <drepper@redhat.com>
10462
10463 [BZ #11968]
10464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10465 (____longjmp_chk): Use %ebx for saving value across system call.
10466 Add unwind info.
10467
32cf4069
AS
104682010-09-06 Andreas Schwab <schwab@redhat.com>
10469
10470 * manual/Makefile: Don't mix pattern rules with normal rules.
10471
817328ee
AS
104722010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10473
10474 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10475 operation.
10476 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10477 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10478 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10479 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10481 Likewise.
10482
29fddf61
UD
104832010-09-04 Ulrich Drepper <drepper@redhat.com>
10484
10485 [BZ #11979]
10486 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10487 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10488
0959ffc9
UD
104892010-09-02 Ulrich Drepper <drepper@redhat.com>
10490
10491 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10492 * sysdeps/x86_64/addmul_1.S: Likewise.
10493 * sysdeps/x86_64/lshift.S: Likewise.
10494 * sysdeps/x86_64/mul_1.S: Likewise.
10495 * sysdeps/x86_64/rshift.S: Likewise.
10496 * sysdeps/x86_64/sub_n.S: Likewise.
10497 * sysdeps/x86_64/submul_1.S: Likewise.
10498
ece29840
ST
104992010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10500
0959ffc9
UD
10501 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10502 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10503 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10504 * bits/sched.h [__need_schedparam]
ece29840 10505 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10506 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10507 (__defined_schedparam): Define to 1.
ece29840
ST
10508 (__sched_param): New structure, identical to sched_param.
10509 (__need_schedparam): Undefine.
10510
e53a31fe
MF
105112010-08-31 Mike Frysinger <vapier@gentoo.org>
10512
fdc0c10d
MF
10513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10514 (epoll_create1): Declare.
10515
e53a31fe
MF
10516 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10517
a726d796
AS
105182010-08-31 Andreas Schwab <schwab@redhat.com>
10519
10520 [BZ #7066]
10521 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10522 shifting retval into place.
10523
2f3e3dc7
UD
105242010-09-01 Ulrich Drepper <drepper@redhat.com>
10525
f2933da9
UD
10526 * nis/rpcsvc/nis.h: Update copyright notice.
10527 * nis/rpcsvc/nis.x: Likewise.
10528 * nis/rpcsvc/nis_callback.h: Likewise.
10529 * nis/rpcsvc/nis_callback.x: Likewise.
10530 * nis/rpcsvc/nis_object.x: Likewise.
10531 * nis/rpcsvc/nis_tags.h: Likewise.
10532 * nis/rpcsvc/yp.h: Likewise.
10533 * nis/rpcsvc/yp.x: Likewise.
10534 * nis/rpcsvc/ypupd.h: Likewise.
10535 * nis/yp_xdr.c: Likewise.
10536 * nis/ypupdate_xdr.c: Likewise.
10537
2f3e3dc7
UD
10538 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10539 mainly the body of pmap_getport. Add parameters to specify timeouts.
10540 (pmap_getport): Use __libc_rpc_getport.
10541 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10542 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10543 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10544
f3dcc2f9
AS
105452010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10546
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10548 fanotify_mark.
10549
6d34eb5b
RM
105502010-08-27 Roland McGrath <roland@redhat.com>
10551
10552 * sysdeps/i386/i686/multiarch/Makefile
10553 (CFLAGS-varshift.c): New variable.
10554
9ea3de11
UD
105552010-08-27 Ulrich Drepper <drepper@redhat.com>
10556
c96d23fc
UD
10557 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10558 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10559
9ea3de11
UD
10560 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10561
10562 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10563
623aac7f
L
105642010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10565
10566 * sysdeps/x86_64/strlen.S: Unroll the loop.
10567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10568 strlen-sse2 strlen-sse2-bsf.
10569 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10570 __strlen_no_bsf if bit_Slow_BSF is set.
10571 (__strlen_sse42): Removed.
10572 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10573 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10574
8b2b7715
RM
105752010-08-25 Roland McGrath <roland@redhat.com>
10576
10577 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10578 * sysdeps/x86_64/multiarch/varshift.c: New file.
10579 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10580 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10581 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10582 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10583
e73015f2
L
105842010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10585
10586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10587 strlen-sse2 strlen-sse2-bsf.
10588 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10589 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10590 (__strlen_sse2): Removed.
10591 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10594 bit_Slow_BSF for Atom.
10595 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10596 (index_Slow_BSF): Define.
10597 (HAS_SLOW_BSF): Define.
10598
df24a73e
UD
105992010-08-25 Ulrich Drepper <drepper@redhat.com>
10600
10601 [BZ #10851]
10602 * resolv/res_init.c (__res_vinit): When no server address at all
10603 is given default to loopback.
10604
f2ac4868
RM
106052010-08-24 Roland McGrath <roland@redhat.com>
10606
09055553
RM
10607 * configure.in: Remove config-name.h generation.
10608 * configure: Regenerated.
10609 * config-name.in: File removed.
10610 * scripts/config-uname.sh: New file.
10611 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10612 ($(objdir)config-name.h): New target.
10613
f2ac4868
RM
10614 * sunrpc/rpc_parse.h: Avoid nested comment.
10615
73f27d5e
RH
106162010-08-24 Richard Henderson <rth@redhat.com>
10617 Ulrich Drepper <drepper@redhat.com>
10618 H.J. Lu <hongjiu.lu@intel.com>
10619
10620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10622 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10623 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10624 _mm_alignr_epi8 with _mm_loadu_si128.
10625 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10626 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10627 (__m128i_shift_right): Removed.
10628 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10629 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10630 * sysdeps/x86_64/multiarch/varshift.h: New file.
10631 * sysdeps/x86_64/multiarch/varshift.S: New file.
10632
84b9230c
MF
106332010-08-21 Mike Frysinger <vapier@gentoo.org>
10634
10635 * configure.in: Move assembler checks to before sysdep dir checking.
10636
9bbd0ddc
PB
106372010-08-20 Petr Baudis <pasky@suse.cz>
10638
10639 * LICENSES: Sync the sunrpc license.
10640
9da4bb31
UD
106412010-08-19 Ulrich Drepper <drepper@redhat.com>
10642
a7ab6ec8
UD
10643 * sunrpc/auth_des.c: Update copyright notice once again.
10644 * sunrpc/auth_none.c: Likewise.
10645 * sunrpc/auth_unix.c: Likewise.
10646 * sunrpc/authdes_prot.c: Likewise.
10647 * sunrpc/authuxprot.c: Likewise.
10648 * sunrpc/bindrsvprt.c: Likewise.
10649 * sunrpc/clnt_gen.c: Likewise.
10650 * sunrpc/clnt_perr.c: Likewise.
10651 * sunrpc/clnt_raw.c: Likewise.
10652 * sunrpc/clnt_simp.c: Likewise.
10653 * sunrpc/clnt_tcp.c: Likewise.
10654 * sunrpc/clnt_udp.c: Likewise.
10655 * sunrpc/clnt_unix.c: Likewise.
10656 * sunrpc/des_crypt.c: Likewise.
10657 * sunrpc/des_soft.c: Likewise.
10658 * sunrpc/get_myaddr.c: Likewise.
10659 * sunrpc/getrpcport.c: Likewise.
10660 * sunrpc/key_call.c: Likewise.
10661 * sunrpc/key_prot.c: Likewise.
10662 * sunrpc/openchild.c: Likewise.
10663 * sunrpc/pm_getmaps.c: Likewise.
10664 * sunrpc/pm_getport.c: Likewise.
10665 * sunrpc/pmap_clnt.c: Likewise.
10666 * sunrpc/pmap_prot.c: Likewise.
10667 * sunrpc/pmap_prot2.c: Likewise.
10668 * sunrpc/pmap_rmt.c: Likewise.
10669 * sunrpc/rpc/auth.h: Likewise.
10670 * sunrpc/rpc/auth_unix.h: Likewise.
10671 * sunrpc/rpc/clnt.h: Likewise.
10672 * sunrpc/rpc/des_crypt.h: Likewise.
10673 * sunrpc/rpc/key_prot.h: Likewise.
10674 * sunrpc/rpc/netdb.h: Likewise.
10675 * sunrpc/rpc/pmap_clnt.h: Likewise.
10676 * sunrpc/rpc/pmap_prot.h: Likewise.
10677 * sunrpc/rpc/pmap_rmt.h: Likewise.
10678 * sunrpc/rpc/rpc.h: Likewise.
10679 * sunrpc/rpc/rpc_des.h: Likewise.
10680 * sunrpc/rpc/rpc_msg.h: Likewise.
10681 * sunrpc/rpc/svc.h: Likewise.
10682 * sunrpc/rpc/svc_auth.h: Likewise.
10683 * sunrpc/rpc/types.h: Likewise.
10684 * sunrpc/rpc/xdr.h: Likewise.
10685 * sunrpc/rpc_clntout.c: Likewise.
10686 * sunrpc/rpc_cmsg.c: Likewise.
10687 * sunrpc/rpc_common.c: Likewise.
10688 * sunrpc/rpc_cout.c: Likewise.
10689 * sunrpc/rpc_dtable.c: Likewise.
10690 * sunrpc/rpc_hout.c: Likewise.
10691 * sunrpc/rpc_main.c: Likewise.
10692 * sunrpc/rpc_parse.c: Likewise.
10693 * sunrpc/rpc_parse.h: Likewise.
10694 * sunrpc/rpc_prot.c: Likewise.
10695 * sunrpc/rpc_sample.c: Likewise.
10696 * sunrpc/rpc_scan.c: Likewise.
10697 * sunrpc/rpc_scan.h: Likewise.
10698 * sunrpc/rpc_svcout.c: Likewise.
10699 * sunrpc/rpc_tblout.c: Likewise.
10700 * sunrpc/rpc_util.c: Likewise.
10701 * sunrpc/rpc_util.h: Likewise.
10702 * sunrpc/rpcinfo.c: Likewise.
10703 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10704 * sunrpc/rpcsvc/key_prot.x: Likewise.
10705 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10706 * sunrpc/rpcsvc/mount.x: Likewise.
10707 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10708 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10709 * sunrpc/rpcsvc/rex.x: Likewise.
10710 * sunrpc/rpcsvc/rstat.x: Likewise.
10711 * sunrpc/rpcsvc/rusers.x: Likewise.
10712 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10713 * sunrpc/rpcsvc/spray.x: Likewise.
10714 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10715 * sunrpc/rtime.c: Likewise.
10716 * sunrpc/svc.c: Likewise.
10717 * sunrpc/svc_auth.c: Likewise.
10718 * sunrpc/svc_authux.c: Likewise.
10719 * sunrpc/svc_raw.c: Likewise.
10720 * sunrpc/svc_run.c: Likewise.
10721 * sunrpc/svc_simple.c: Likewise.
10722 * sunrpc/svc_tcp.c: Likewise.
10723 * sunrpc/svc_udp.c: Likewise.
10724 * sunrpc/svc_unix.c: Likewise.
10725 * sunrpc/svcauth_des.c: Likewise.
10726 * sunrpc/xcrypt.c: Likewise.
10727 * sunrpc/xdr.c: Likewise.
10728 * sunrpc/xdr_array.c: Likewise.
10729 * sunrpc/xdr_float.c: Likewise.
10730 * sunrpc/xdr_mem.c: Likewise.
10731 * sunrpc/xdr_rec.c: Likewise.
10732 * sunrpc/xdr_ref.c: Likewise.
10733 * sunrpc/xdr_sizeof.c: Likewise.
10734 * sunrpc/xdr_stdio.c: Likewise.
10735
9da4bb31
UD
10736 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10737 handling.
10738
bdaa77bc
AS
107392010-08-19 Andreas Schwab <schwab@redhat.com>
10740
10741 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10742
fe2f79db
LM
107432010-08-19 Luis Machado <luisgpm@br.ibm.com>
10744
10745 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10746 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10747 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10748 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10749 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10750 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10751 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10752 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10754 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10755 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10756 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10757 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10758 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10759
b9b42ee0
AB
107602010-07-26 Anton Blanchard <anton@samba.org>
10761
10762 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10763 * malloc/arena.c (heap_trim): Likewise.
10764
1c06ba31
UD
107652010-08-16 Ulrich Drepper <drepper@redhat.com>
10766
10767 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10768 here. Not...
10769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10770 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10771
f8392f40
L
107722010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10773
10774 * sysdeps/i386/elf/Makefile: New file.
10775
3162f12e
AS
107762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10777
10778 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10779 from fanotify_init.
10780 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10782
28c90b2c
UD
107832010-08-15 Ulrich Drepper <drepper@redhat.com>
10784
10785 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10786 of strncasecmp_l.
1feccb6c 10787 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10788
ca6bb004
UD
107892010-08-14 Ulrich Drepper <drepper@redhat.com>
10790
e9f82e0d
UD
10791 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10792 strncase_l-nonascii.
10793 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10794 Add strncase_l-ssse3.
10795 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10796 * sysdeps/x86_64/strcmp.S: Likewise.
10797 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10798 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10799 * sysdeps/x86_64/strncase.S: New file.
10800 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10801 * sysdeps/x86_64/strncase_l.S: New file.
10802 * string/Makefile (strop-tests): Add strncasecmp.
10803 * string/test-strncasecmp.c: New file.
10804
10805 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10806 warning.
10807
ca6bb004
UD
10808 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10809 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10810
052fa7b3
AS
108112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10812
10813 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10814
962dba78
UD
108152010-08-12 Ulrich Drepper <drepper@redhat.com>
10816
10817 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10818 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10819 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10820
bebff237
AM
108212010-05-01 Alan Modra <amodra@gmail.com>
10822
10823 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10824 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10825 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10826 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10827 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10828 tidying. Don't tail-call __sigjmp_save for static lib.
10829 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10830 save location.
10831 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10832 (CALL_MCOUNT): Add eh info, and nop after bl.
10833 (TAIL_CALL_SYSCALL_ERROR): New macro.
10834 (PSEUDO_RET): Use it.
10835 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10836 Correct save location of integer regs and cr.
10837 (_dl_profile_resolve): Correct cr save location. Delete nops
10838 after bl when SHARED. Reduce cfi size a little by better
10839 placement of cfi directives.
10840 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10841 make a stack frame. Instead use parm save area as a temp.
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10843 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10845 Don't make a stack frame for parent, use parm save area.
10846 Increase child stack frame to 112 bytes. Don't save unused reg,
10847 and adjust reg usage. Set up cfi on error recovery and
10848 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10850 (__makecontext): Add dummy nop after jump to exit.
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10852 Use correct parm save area and cr save, reduce stack frame.
10853 Correct cfi for possible PSEUDO_RET frame setup.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10855 Branch to local label emitted by PSEUDO_RET rather than
10856 __syscall_error.
10857
02637374
AS
108582010-08-12 Andreas Schwab <schwab@redhat.com>
10859
10860 [BZ #11904]
10861 * locale/programs/locale.c (print_assignment): New function.
10862 (show_locale_vars): Use it.
10863
c3e2f19b
UD
108642010-08-11 Ulrich Drepper <drepper@redhat.com>
10865
3cdaa6ad
UD
10866 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10867 field.
10868 (struct statfs64): Likewise.
10869 (_STATFS_F_FLAGS): Define.
10870 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10872 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10873 (ST_VALID): Define locally.
10874 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10875 __statvfs_getflags, use the provided value.
10876 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10877 __ASSUME_STATFS_F_FLAGS.
10878
754f7da3
UD
10879 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10880
10b3bedc
UD
10881 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10882 Add sys/fanotify.h.
10883 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10884 fanotify_mask for GLIBC_2.13.
10885 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10886 fanotify_init and fanotify_mark.
10887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10888 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10889
c08fb0d7
UD
10890 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10891 Add prlimit.
10892 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10893 prlimit64 for GLIBC_2.13.
10894 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10895 prlimit64.
10896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10897 syscall.
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10899 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10900 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10901 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10902 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10903 add prlimit alias.
10904 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10905
15bac72b
UD
10906 [BZ #11903]
10907 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10908 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10909
c3e2f19b
UD
10910 * nss/Makefile: Add rules to build and run tst-nss-test1.
10911 * shlib-versions: Add entry for libnss_test1.
10912 * nss/nss_test1.c: New file.
10913 * nss/tst-nss-test1.c: New file.
10914
10915 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10916 (__nss_configure_lookup): Set appropriate entry in
10917 __nss_configure_lookup to true.
10918 * nss/nsswitch.h: Define enum with indeces of databases in
10919 databases and __nss_database_custom arrays. Declare
10920 __nss_database_custom.
10921 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10922 to avoid using nscd when custom rules are installed.
10923 * nss/getXXbyYY_r.c: Likewise.
10924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10925
10926 * nss/nss_files/files-parse.c: Whitespace fixes.
10927
f15ce4d8
UD
109282010-08-09 Ulrich Drepper <drepper@redhat.com>
10929
10930 [BZ #11883]
10931 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10932 * posix/fnmatch_loop.c: Likewise.
10933
d22e4cc9
AK
109342010-07-17 Andi Kleen <ak@linux.intel.com>
10935
10936 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10937 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10938 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10939 * Versions.def [GLIBC_2.13]: Add.
10940
805bc17d
UD
109412010-08-06 Ulrich Drepper <drepper@redhat.com>
10942
10943 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10944 Also fail if tpwd after pwuid call is NULL.
10945
5a42321d
ST
109462010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10947
10948 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10949 when converting to ms.
10950
fd3ebeda
ST
109512010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10952
10953 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10954 EOPNOTSUPP errors with ENOTTY.
10955 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10956 EOPNOTSUPP errors with ENOTTY.
10957
73507d3a
UD
109582010-07-31 Ulrich Drepper <drepper@redhat.com>
10959
10960 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10961 Add strcasecmp_l-ssse3.
10962 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10963 strcasecmp.
10964 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10965 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10966 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10967
fe36dd02
UD
109682010-07-30 Ulrich Drepper <drepper@redhat.com>
10969
66f6765a
UD
10970 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10971
42e08a54
UD
10972 * string/Makefile (strop-tests): Add strcasecmp.
10973 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10974 strcasecmp_l-nonascii.
10975 (gen-as-const-headers): Add locale-defines.sym.
10976 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10977 * sysdeps/x86_64/strcasecmp.S: New file.
10978 * sysdeps/x86_64/strcasecmp_l.S: New file.
10979 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10980 * sysdeps/x86_64/locale-defines.sym: New file.
10981 * string/test-strcasecmp.c: New file.
10982
fe36dd02
UD
10983 * string/test-strcasestr.c: Test both ends of the range of characters.
10984 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10985
48cbc0d6
RM
109862010-07-29 Roland McGrath <roland@redhat.com>
10987
76e6d6bc 10988 [BZ #11856]
48cbc0d6
RM
10989 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10990
880113d9
UD
109912010-07-27 Ulrich Drepper <drepper@redhat.com>
10992
10993 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10994 for ld.so.
10995
deb9cabb
AS
109962010-07-27 Andreas Schwab <schwab@redhat.com>
10997
10998 * manual/memory.texi (Malloc Tunable Parameters): Document
10999 M_PERTURB.
11000
1c7570ff
RM
110012010-07-26 Roland McGrath <roland@redhat.com>
11002
11003 [BZ #11840]
11004 * configure.in (-fgnu89-inline check): Set and substitute
11005 gnu89_inline, not libc_cv_gnu89_inline.
11006 * configure: Regenerated.
11007 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11008
24fb0f88
UD
110092010-07-26 Ulrich Drepper <drepper@redhat.com>
11010
11011 * string/test-strnlen.c: New file.
11012 * string/Makefile (strop-tests): Add strnlen.
11013 * string/tester.c (test_strnlen): Add a few more test cases.
11014 * string/tst-strlen.c: Better error reporting.
11015
11016 * sysdeps/x86_64/strnlen.S: New file.
11017
8e96b93a
UD
110182010-07-24 Ulrich Drepper <drepper@redhat.com>
11019
11020 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11021 lower-latency instructions.
11022
dbc676d4
UD
110232010-07-23 Ulrich Drepper <drepper@redhat.com>
11024
11025 * string/test-strcasestr.c: New file.
11026 * string/test-strstr.c: New file.
11027 * string/Makefile (strop-tests): Add strstr and strcasestr.
11028 * string/str-two-way.h: Don't undefine MAX.
11029 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11030
f6a31e0e
AS
110312010-07-21 Andreas Schwab <schwab@redhat.com>
11032
11033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11034 strcasestr-nonascii.
11035 (CFLAGS-strcasestr-nonascii.c): Define.
11036 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11037 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11038 Remove unused attribute.
11039
5dbc3b6c
RM
110402010-07-20 Roland McGrath <roland@redhat.com>
11041
11042 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11043 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11044 ld.so.cache was broken. With it, there is no way to disable dsocaps
11045 like LD_HWCAP_MASK can disable hwcaps.
11046
23d101d8
EPM
110472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11048
11049 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11050
cc9f2e47
UD
110512010-07-16 Ulrich Drepper <drepper@redhat.com>
11052
11053 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11054 call in strcasestr.
11055 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11056 __strcasestr_sse42_nonascii.
11057 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11058 strcasestr-nonascii.c.
11059 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11060
77c1b069
LM
110612010-06-15 Luis Machado <luisgpm@br.ibm.com>
11062
11063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11064 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11066 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11067
440566c3
UD
110682010-07-09 Ulrich Drepper <drepper@redhat.com>
11069
11070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11071 fcntl.
11072
5be9d05d
AS
110732010-07-06 Andreas Schwab <schwab@redhat.com>
11074
c30b7ee2 11075 [BZ #11577]
5be9d05d
AS
11076 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11077 dl_signal_cerror.
11078
8a492a67
UD
110792010-07-06 Ulrich Drepper <drepper@redhat.com>
11080
11081 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11082 _PC_PIPE_BUF using F_GETPIPE_SZ.
11083
713df3d5
RM
110842010-07-05 Roland McGrath <roland@redhat.com>
11085
11086 * manual/arith.texi (Rounding Functions): Fix rint description
11087 implicit in round description.
11088
702e8f14
UD
110892010-07-02 Ulrich Drepper <drepper@redhat.com>
11090
11091 * elf/Makefile: Fix linking for a few tests to make recent linker
11092 happy.
11093
52ed8be9
AS
110942010-06-30 Andreas Schwab <schwab@redhat.com>
11095
11096 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11097 $(common-objpfx)libc_nonshared.a.
11098
f47c9a11
LM
110992010-06-21 Luis Machado <luisgpm@br.ibm.com>
11100
11101 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11102 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11103 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11104 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11105 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11106 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11107 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11108 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11123 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11124 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11125 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11126 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11127 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11128 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11129 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11130 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11131 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11132 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11133 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11134 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11149
6fb8cbcb
L
111502010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11151
11152 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11153 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11154 * string/memmove.c (memmove): Renamed to ...
11155 (MEMMOVE): ...this. Default to memmove.
11156 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11157 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11158 (END_CHK): Define.
11159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11160 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11161 mempcpy-ssse3-back memmove-ssse3-back.
11162 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11165 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11166 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11167 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11168 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11169 * sysdeps/x86_64/multiarch/memmove.c: New file.
11170 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11171 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11172 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11173 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11174 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11176 Define.
11177 (index_Fast_Copy_Backward): Define.
11178 (HAS_ARCH_FEATURE): Define.
11179 (HAS_FAST_REP_STRING): Define.
11180 (HAS_FAST_COPY_BACKWARD): Define.
11181
4e733bac 111822010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11183
11184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11185 Restore proper fallback handling.
11186
63c4ed22
UD
111872010-06-19 Ulrich Drepper <drepper@redhat.com>
11188
ac2b484c
UD
11189 [BZ #11701]
11190 * posix/group_member.c (__group_member): Correct checking loop.
11191
63c4ed22
UD
11192 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11193 OOM in getpwuid_r correctly. Return error number when the caller
11194 should return, otherwise -1.
11195 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11196 call returning > 0 value.
11197 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11198
765ade4b
AS
111992010-06-07 Andreas Schwab <schwab@redhat.com>
11200
11201 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11202 libc_nonshared.a from targets in modules-names.
11203
80da2e09
KS
112042010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11205
11206 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11207 requires it.
11208
158db122
LM
112092010-06-10 Luis Machado <luisgpm@br.ibm.com>
11210
11211 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11212 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11214 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11215
caa78cf8
AS
112162010-06-02 Andreas Schwab <schwab@redhat.com>
11217
11218 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11219
b2ef2c01
UD
112202010-06-14 Ulrich Drepper <drepper@redhat.com>
11221
11222 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11223 and F_GETPIPE_SZ.
11224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11228 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11229 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11230
fbd643b6
RM
112312010-06-14 Roland McGrath <roland@redhat.com>
11232
11233 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11234
f32f2869
JJ
112352010-06-07 Jakub Jelinek <jakub@redhat.com>
11236
11237 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11238 __REDIRECT followed by __THROW.
11239 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11240 * posix/getopt.h (getopt): Likewise.
11241
2a50c078
EPM
112422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11243
11244 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11245 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11246 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11247 in AT_FLAGS.
11248 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11249 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11250
eb5ad2eb
LM
112512010-05-28 Luis Machado <luisgpm@br.ibm.com>
11252
11253 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11254
3c88fe1e
L
112552010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11256
11257 [BZ #11640]
11258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11259 Properly check family and model.
11260
d2f73151
TY
112612010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11262
11263 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11264
ebd2e13d
LM
112652010-05-24 Luis Machado <luisgpm@br.ibm.com>
11266
11267 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11268
b32b8b45
UD
112692010-05-21 Ulrich Drepper <drepper@redhat.com>
11270
11271 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11272 symbol reference.
11273
9acbe24d
AS
112742010-05-19 Andreas Schwab <schwab@redhat.com>
11275
11276 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11277 symbol reference.
11278
f0ccf6ea
AS
112792010-05-21 Andreas Schwab <schwab@redhat.com>
11280
3d04ff3a
AS
11281 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11282 and internal_recvmmsg.
11283 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11284 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11285 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11286 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11287
f0ccf6ea
AS
11288 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11289 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11290 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11291
5b08ac57
AS
112922010-05-20 Andreas Schwab <schwab@redhat.com>
11293
11294 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11295
4828935d
LM
112962010-05-17 Luis Machado <luisgpm@br.ibm.com>
11297
11298 POWER7 optimizations.
11299 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11300 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11301
373d545e
UD
113022010-05-19 Ulrich Drepper <drepper@redhat.com>
11303
11304 * version.h: Update for 2.13 development version.
11305
21a2b1ae
AS
113062010-05-12 Andrew Stubbs <ams@codesourcery.com>
11307
11308 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11309 exceptions. Return 0.
11310
3f7dcb2b
RM
113112010-05-07 Roland McGrath <roland@redhat.com>
11312
11313 * elf/ldconfig.c (main): Add a const.
11314
5f24d53a 113152010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11316
a160f8d8
UD
11317 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11318 (args_options): Add no-idn option.
11319 (ahosts_keys_int): Add idn_flags to ai_flags.
11320 (parse_option): Handle 'i' option to clear idn_flags.
11321
5f24d53a
UD
11322 * malloc/malloc.c (_int_free): Possible race in the most recently
11323 added check. Only act on the data if no current modification
11324 happened.
265bb1ce
UD
11325
11326See ChangeLog.17 for earlier changes.