]> sourceware.org Git - glibc.git/blame - ChangeLog
Finish ilogb changes
[glibc.git] / ChangeLog
CommitLineData
7a99a614
AJ
12012-04-18 Andreas Jaeger <aj@suse.de>
2
3 [BZ# 6794]
4 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7
8 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11
12 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14 Adjust for changed ldbl-128 files.
15
16 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19
e5270c23
DM
202012-04-17 David S. Miller <davem@davemloft.net>
21
22 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23
fb5e92c9
AS
242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25
26 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
29 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32
76da7265
AZ
332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34
35 [BZ #6794]
36 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37 * math/libm-test.inc: Add ilogb errno and exception tests.
38 * math/w_ilogb.c: New file: ilogb wrapper.
39 * math/w_ilogbf.c: New file: ilogbf wrapper.
40 * math/w_ilogbl.c: New file: ilogbl wrapper.
41 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44 exception being thrown with 0.0 as argument.
45 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47 exception being thrown with 0.0 as argument.
48 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50 exception being thrown with 0.0 as argument.
51 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53 exception being thrown with 0.0 as argument.
54 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
55 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 56 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
57 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
62 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63
0396e69d
PB
642012-04-17 Petr Baudis <pasky@ucw.cz>
65
66 * include/sys/uio.h: Change __vector to __iovec to avoid clash
67 with altivec.
68
750b5926
MP
692012-04-16 Marek Polacek <polacek@redhat.com>
70
71 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
72
751728a1
MP
732012-04-16 Marek Polacek <polacek@redhat.com>
74
75 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76 operands of fdivp instruction.
77
34a27407
L
782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
79
80 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81 * elf/tst-auditmod3b.c: Likewise.
82 * elf/tst-auditmod4b.c: Likewise.
83 * elf/tst-auditmod5b.c: Likewise.
84 * elf/tst-auditmod6b.c: Likewise.
85 * elf/tst-auditmod6c.c: Likewise.
86 * elf/tst-auditmod7b.c: Likewise.
87 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
88 * sysdeps/x86_64/preconfigure.in: Likewise.
89 * sysdeps/x86_64/preconfigure: Regenerated.
90
7e73e17d
L
912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
92
93 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
94 __ILP32__.
95
c7a6ab72
AB
962012-04-13 Antoine Balestrat <merkil33@gmail.com>
97
98 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
99 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
100
a9e8e0e0
CL
1012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
102
103 [BZ #13973]
104 * locale/iso-639.def: Fix gl language name. Spotted by
105 Yaron Shahrabani.
106
ec98af7d
RM
1072012-04-12 Roland McGrath <roland@hack.frob.com>
108
109 [BZ #2074]
110 * libio/libio.h (__io_write_fn): Update comment.
111
247c3ede
PB
1122012-04-12 Petr Baudis <pasky@ucw.cz>
113
114 [BZ #2074]
115 * stdio.texi (Hook Functions): The user provided writer function
116 is not allowed to return -1.
117
55939d6d
DM
1182012-04-11 David S. Miller <davem@davemloft.net>
119
120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
121
90020f5a
MF
1222012-04-11 Mike Frysinger <vapier@gentoo.org>
123
124 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
125 Add a leading slash to rtkaio.
126
288f9098
JM
1272012-04-11 Jim Meyering <meyering@redhat.com>
128
90020f5a
MF
129 [BZ #11959]
130 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
131 It is not necessarily an error to ignore fwrite's return
132 value. One can reliably use ferror to test for errors after
133 the fact.
288f9098 134
4be2b570
L
1352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
136
137 * bits/types.h (__snseconds_t): New type.
138 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
139
140 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
142 (__SNSECONDS_T_TYPE): Likewise.
143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
144 (__SNSECONDS_T_TYPE): Likewise.
145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
146 (__SNSECONDS_T_TYPE): Likewise.
147
288f9098 1482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
149
150 [BZ #2636]
151 * manual/time.texi (Processor Time): Return type of times is
152 elapsed real time since an arbitrary point in the past.
153 (CPU Time): Move CLK_TCK from here...
154 (Processor Time): ...to here. Correct description.
155 * manual/conf.texi (Constants for Sysconf): Correct description of
156 _SC_CLK_TCK.
157
d7dd4413
DM
1582012-04-10 David S. Miller <davem@davemloft.net>
159
160 [BZ #13967]
161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
162 where the is a gap between DT_REL(A) and DT_JMPREL.
163
b46068fc
L
1642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
165
166 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
167 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
168 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
169
73d65cc3
SP
1702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
171
172 * elf/dl-support.c (_dl_inhibit_cache): New variable.
173 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
174 (dl_main): Handle --inhibit-cache.
175 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
176 _dl_inhibit_cache.
177 * elf/dl-load.c (_dl_map_object): Use it.
178 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
179
bcc8d661
JM
1802012-04-09 Joseph Myers <joseph@codesourcery.com>
181
8f9a2fae
JM
182 [BZ #13872]
183 * sysdeps/i386/fpu/e_powl.S (p78): New object.
184 (__ieee754_powl): Saturate large exponents rather than testing for
185 overflow of y*log2(x).
186 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
187 * math/libm-test.inc (pow_test): Do not permit spurious overflow
188 exceptions.
189
bcc8d661
JM
190 [BZ #11521]
191 * math/s_ctan.c: Include <float.h>.
192 (__ctan): Avoid internal overflow or cancellation in calculating
193 denominator.
194 * math/s_ctanf.c: Likewise.
195 * math/s_ctanl.c: Likewise.
196 * math/s_ctanh.c: Likewise.
197 * math/s_ctanhf.c: Likewise.
198 * math/s_ctanhl.c: Likewise.
199 * math/libm-test.inc (ctan_test): Add more tests.
200 (ctanh_test): Likewise.
201 * sysdeps/i386/fpu/libm-test-ulps: Update.
202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
203
823fbbb4
AJ
2042012-04-09 Andreas Jaeger <aj@suse.de>
205
03879793
AJ
206 [BZ #6894]
207 * manual/filesys.texi (Directory Entries): Mention that d_namlen
208 is an optional BSD extension.
209
823fbbb4
AJ
210 [BZ #10254]
211 * manual/stdio.texi (Opening Streams): Document additional fopen
212 parameters.
213
8de131cb
RM
2142012-04-09 Roland McGrath <roland@hack.frob.com>
215
216 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
217 %eax without telling the compiler.
218
c0ed9d7d
CD
2192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
220
221 [BZ # 13963]
222 * manual/install.texi: Use sourceware.org.
223
c483f6b4
JM
2242012-04-09 Joseph Myers <joseph@codesourcery.com>
225
d7dd9453
JM
226 [BZ #13873]
227 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
228 (__ieee754_pow): Generate overflow and underflow using huge*huge
229 and tiny*tiny rather than just returning constant infinity or zero
230 for large exponents.
231 * math/libm-test.inc (pow_test): Require overflow exceptions for
232 applicable cases of large exponents.
233
c483f6b4
JM
234 [BZ #706]
235 * sysdeps/i386/fpu/e_pow.S (p10): New object.
236 (__ieee754_pow): Use iterative multiplication algorithm only for
237 integer exponents with absolute value below 1024. Check for odd
238 integer exponents when using algorithm for real exponents.
239 * math/libm-test.inc (pow_test): Add more tests.
240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
241
d2de7579
JM
2422012-04-08 Joseph Myers <joseph@codesourcery.com>
243
244 [BZ #13705]
245 * math/libm-test.inc (exp_test): Do not allow overflow exception
246 on underflow test.
247
f77f1232
AJ
2482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
249
250 [BZ #13705]
251 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
252 instead of __kernel_standard_f.
253
3884932b
MF
2542012-04-08 Mike Frysinger <vapier@gentoo.org>
255
256 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
257 * sysdeps/x86_64/memset_chk.S: Likewise.
258
54472e9c
AJ
2592012-04-08 Andreas Jaeger <aj@suse.de>
260
6ab0fbfc
AJ
261 [BZ #10153]
262 * manual/startup.texi (Environment Access): Describe return value
263 for putenv and setenv.
264
61efba8c
AJ
265 [BZ #6895]
266 * manual/filesys.texi (Directory Entries): Add description for
267 DT_LNK.
268
95c3f29a
AJ
269 [BZ #6890]
270 * manual/filesys.texi (Directory Entries): Clarify that it's file
271 system not operating system in the description of DT_UNKNOWN.
272
54472e9c
AJ
273 [BZ #6578]
274 * manual/syslog.texi (closelog): Fix reference, it's openlog.
275
624254b1
SC
2762012-04-08 Stephen Compall <s11@member.fsf.org>
277
278 [BZ #6649]
279 * manual/llio.texi (Opening and Closing Files): Add cross
280 reference to explain mode argument.
281
1e4920e0
MF
2822012-04-07 Mike Frysinger <vapier@gentoo.org>
283
284 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
285 * sysdeps/x86_64/memset_chk.S: Likewise.
286
5ed848f3
DM
2872012-04-07 David S. Miller <davem@davemloft.net>
288
289 * elf/elf.h (R_SPARC_WDISP10): Define.
290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
291 R_SPARC_SIZE32.
292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
293 R_SPARC_SIZE64 and R_SPARC_H34.
294
96154cd8
CD
2952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
296
297 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
298 conditions and remove no longer applicable assertion.
299
9904dc47
L
3002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
301
302 * bits/byteswap.h: Include <features.h>.
303 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
304 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
305
f8887d0a
L
3062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
307
308 * bits/byteswap.h (__bswap_16): Removed.
309 Include <bits/byteswap-16.h> to get __bswap_16.
310 * sysdeps/i386/bits/byteswap.h: Likewise.
311 * sysdeps/s390/bits/byteswap.h: Likewise.
312 * sysdeps/x86_64/bits/byteswap.h: Likewise.
313 * bits/byteswap-16.h: New file.
314 * sysdeps/i386/bits/byteswap-16.h: Likewise.
315 * sysdeps/s390/bits/byteswap-16.h: Likewise.
316 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
317 * string/Makefile (headers): Add bits/byteswap-16.h.
318
62470f60
PP
3192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
320
321 [BZ #13895]
322 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
323 extra indirection.
324 * nss/Makefile (tests-static, tests): Add tst-nss-static.
325 * nss/tst-nss-static.c: New.
326
4dad7bab
RM
3272012-04-06 Robert Millan <rmh@gnu.org>
328
329 [BZ #6486]
330 * manual/llio.texi (File Position Primitive): lseek
331 refers to WHENCE when it really means OFFSET.
332
e9142a17
AJ
3332012-04-06 Andreas Jaeger <aj@suse.de>
334
2c040eff
AJ
335 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
336 strncmp declarations.
337
e9142a17
AJ
338 * abilist/libc.abilist: Add __poll and __ppoll.
339
ff9f1c5f
DM
3402012-04-05 David S. Miller <davem@davemloft.net>
341
dcd2ae90
DM
342 * scripts/check-local-headers.sh: Accept a host triplet in the
343 path matched by the exclude regexp.
344
993eb054
DM
345 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
346 definition.
347 * sysdeps/powerpc/powerpc32/dl-machine.h
348 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
349 * sysdeps/s390/s390-32/dl-machine.h
350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
351 * sysdeps/sparc/sparc32/dl-machine.h
352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
353 * sysdeps/sparc/sparc64/dl-machine.h
354 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
355
ff9f1c5f
DM
356 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
357 lazy binding.
48e2e132 358 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
359 undefined symbol errors.
360
48e2e132 361 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
362 DT_NEEDED entries.
363
e80d6f94
MM
3642012-04-05 Michael Matz <matz@suse.de>
365
366 [BZ #13592]
367 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
368
349fa79f
AJ
3692012-04-05 Andreas Jaeger <aj@suse.de>
370
371 [BZ #13908]
372 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
373 comment.
374
f402708f
KK
3752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
376
377 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
378 which ROUND is no valid rounding mode.
379
2ecccfc9
KK
3802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
381
382 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
383 read again.
384 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
385
8a53f50f
KK
3862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
387
388 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
389 an exception using FPU order intentionally.
390
3912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
392
393 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
394 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
395 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
396 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
397
d653abb7
SJ
3982012-04-05 Simon Josefsson <simon@josefsson.org>
399
400 [BZ #12340]
401 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
402 EINVAL when BUFLEN is too smal.
403
c3b1bf7d
TS
4042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
405
406 [BZ #13553]
407 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
408 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
409
b1aa60f3
AJ
4102012-04-03 Andreas Jaeger <aj@suse.de>
411
c3b1bf7d 412 [BZ #13938]
67f60a26
AJ
413 * manual/setjmp.texi (System V contexts): Fix sentence.
414
b1aa60f3
AJ
415 [BZ #13926]
416 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
417 New macro for this case.
418 [!__GNUC__] (__bswap_64): New inline function for this case.
419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
420 * bits/byteswap.h: Likewise.
421 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
422 ull, guard with __GLIBC_HAVE_LONG_LONG.
423
424 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
425 __GLIBC_HAVE_LONG_LONG.
426
427 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
428 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
429
39c59c35
TMQMF
4302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
431
432 [BZ #13691]
433 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
434 inptr and inend, rather than using last_ch.
435
135ffda8
DM
4362012-04-02 David S. Miller <davem@davemloft.net>
437
438 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
439 * stdio-common/printf-parse.h (read_int): Change return type to
440 'int', return -1 on INT_MAX overflow.
441 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
442 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
443 overflows INT_MAX. Check for overflow of in-format-string precision
444 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
445 SIZE_MAX not INT_MAX for integer overflow test.
446 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
447 skip the construct in the format string but do not record anything.
448 * stdio-common/bug22.c: Adjust to test both width/prevision
449 INT_MAX overflow as well as total length INT_MAX overflow. Check
450 explicitly for proper errno values.
451
228c019e
TS
4522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
453
302cadd3
TS
454 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
455 CHAR_MAX.
456 * string/test-strcmp.c [! WIDE]: Likewise.
457 * time/tst-mktime2.c: Likewise for INT_MAX.
458 * string/test-string.h: #include <sys/param.h> for MIN.
459
228c019e
TS
460 * csu/init-first.c (__libc_init_first): Call __ctype_init.
461 * sysdeps/i386/init-first.c (init): Likewise.
462 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
463 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
464 * sysdeps/sh/init-first.c (init): Likewise.
465
cfa633f5
UD
4662012-04-01 Ulrich Drepper <drepper@gmail.com>
467
468 * po/ru.po: Update from translation team.
d1635ef8 469 * po/vi.po: Likewise.
cfa633f5 470
6cd0a5ea
SP
4712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
472
473 * resolv/nss_dns/dns-host.c: Merge copyright years.
474
4b43400f
LD
4752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
476
477 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
478 Optimize memcpy with prefetch if
479 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
480 src, dst pointers have unequal 16 byte alignments.
481
48c41d04
SP
4822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
483
484 [BZ #13928]
485 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
486 from a CNAME entry and return the minimum ttl for the query.
487 (gaih_getanswer_slice): Likewise.
488
b8dc394d
JL
4892012-03-30 Jeff Law <law@redhat.com>
490
491 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
492 due to long keys.
493 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
494 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
495
2f5a5ed0
JL
496 * resolv/nss_dns/dns-host.c: Update copyright year.
497
1d39e359
UD
4982012-03-30 Ulrich Drepper <drepper@gmail.com>
499
c030f70c 500 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 501 requests to save a system call. Fix check that all bytes are sent.
c030f70c 502
1d39e359
UD
503 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
504 comments for sendmmsg.
505
5062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
507
508 [BZ #13691]
509 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
510 with only 1 character between 0x0041 and 0x01b0.
511 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
512 * wcsmbs/tst-mbsnrtowcs.c: New file.
513
20fde227
DM
5142012-03-29 David S. Miller <davem@davemloft.net>
515
516 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
517 small copies by hand.
518
984a4237
JL
5192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
520
521 [BZ #13761]
522 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
523 _nss_compat_initgroups_dyn): Fall back to malloc/free
524 for large group memberships.
525
18c9d62b
DM
5262012-03-28 David S. Miller <davem@davemloft.net>
527
88d85d4f
DM
528 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
529 that branches into memcpy.
530 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
533 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
535 bits.
536 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
537 implementation too.
538 * sysdeps/sparc/mempcpy.S: New file.
539
e5aa83e1
DM
540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
541 the IFUNC routine in the libc case.
542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
543
88570753
DM
544 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
545 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
546 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
547 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
548 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
549 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
550 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
551 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
552
249d7567
DM
553 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
554 loop to 256 bytes instead of 64 bytes and fix test signedness.
555
18c9d62b
DM
556 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
557 * sysdeps/sparc/sparc32/Makefile: rather than here...
558 * sysdeps/sparc/sparc64/Makefile: and here.
559
05f3d1f6
UD
5602012-03-28 Ulrich Drepper <drepper@gmail.com>
561
562 * malloc/mallocbug.c: Avoid warnings about unused variables.
563
86ae07a8
JL
5642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
565
566 [BZ #13760]
567 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
568 in the right place. Discard and retry query if response is
569 larger than input buffer size.
570
41bf21a1
JM
5712012-03-28 Joseph Myers <joseph@codesourcery.com>
572
d6270972
JM
573 [BZ #369]
574 [BZ #2678]
575 [BZ #3866]
576 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
577 x for large integer exponent.
578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
579 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
580 sign of result as needed afterwards.
581 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
582 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
583 result for underflowing pow the same as for overflow.
584 (__kernel_standard_l): Handle powl overflow and underflow here
585 rather than calling __kernel_standard.
586 * math/libm-test.inc (pow_test): Add more tests.
587
414fca03 588 [BZ #3868]
41bf21a1
JM
589 [BZ #13879]
590 [BZ #13910]
591 [BZ #13911]
592 [BZ #13912]
593 [BZ #13913]
594 [BZ #13915]
595 [BZ #13916]
596 [BZ #13917]
597 [BZ #13918]
598 [BZ #13919]
599 [BZ #13920]
600 [BZ #13921]
601 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
602 * sysdeps/ieee754/k_standard.c: Include <float.h>.
603 (__kernel_standard_l): New function.
604 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
605 __kernel_standard.
606 * math/w_acosl.c (__acosl): Likewise.
607 * math/w_asinl.c (__asinl): Likewise.
608 * math/w_atan2l.c (__atan2l): Likewise.
609 * math/w_atanhl.c (__atanhl): Likewise.
610 * math/w_coshl.c (__coshl): Likewise.
611 * math/w_exp10l.c (__exp10l): Likewise.
612 * math/w_exp2l.c (__exp2l): Likewise.
613 * math/w_fmodl.c (__fmodl): Likewise.
614 * math/w_hypotl.c (__hypotl): Likewise.
615 * math/w_j0l.c (__j0l, __y0l): Likewise.
616 * math/w_j1l.c (__j1l, __y1l): Likewise.
617 * math/w_jnl.c (__jnl, __ynl): Likewise.
618 * math/w_lgammal.c (__lgammal): Likewise.
619 * math/w_log10l.c (__log10l): Likewise.
620 * math/w_log2l.c (__log2l): Likewise.
621 * math/w_logl.c (__logl): Likewise.
622 * math/w_powl.c (__powl): Likewise.
623 * math/w_remainderl.c (__remainderl): Likewise.
624 * math/w_scalbl.c (sysv_scalbl): Likewise.
625 * math/w_sinhl.c (__sinhl): Likewise.
626 * math/w_sqrtl.c (__sqrtl): Likewise.
627 * math/w_tgammal.c (__tgammal): Likewise.
628 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
629 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
630 * math/libm-test.inc (acos_test): Add more tests.
631 (acosh_test): Likewise.
632 (asin_test): Likewise.
633 (atanh_test): Likewise.
634 (exp_test): Likewise.
635 (exp10_test): Likewise.
636 (exp2_test): Likewise.
637 (expm1_test): Likewise.
638 (lgamma_test): Likewise.
639 (log_test): Likewise.
640 (log10_test): Likewise.
641 (log1p_test): Likewise.
642 (log2_test): Likewise.
643 (pow_test): Do not allow some spurious overflow exceptions.
644 (sqrt_test): Add more tests.
645 (tgamma_test): Likewise.
646 (y0_test): Likewise.
647 (y1_test): Likewise.
648 (yn_test): Likewise.
649
dd62fda6
AB
6502012-03-27 Anton Blanchard <anton@samba.org>
651
652 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
653 MAP_HUGETLB.
654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
655 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
657
1e3cdfda
AJ
6582012-03-27 David S. Miller <davem@davemloft.net>
659
b855ab85
DM
660 * conform/Makefile: Run run-conformtest.sh using $(BASH).
661
1e3cdfda
AJ
662 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
663 have-as-vis3 check.
664
6652012-03-27 Andreas Jaeger <aj@suse.de>
666
667 * sysdeps/x86_64/elf/configure.in: Moved to ...
668 * sysdeps/x86_64/configure.in: ... here.
669 * sysdeps/x86_64/elf/start.S: Moved to ...
670 * sysdeps/x86_64/start.S: ... here.
671 * sysdeps/x86_64/elf/configure: Delete.
672
673 * sysdeps/x86_64/configure.in: Merge contents from
674 sysdeps/i386/configure.in (without i686 check).
675
676 * sysdeps/i386/elf/Versions: Merge into ...
677 * sysdeps/i386/Versions: ... this.
678 * sysdeps/i386/elf/Versions: Delete file.
679 * sysdeps/i386/elf/start.S: Moved to ...
680 * sysdeps/i386/start.S: ...here.
681 * sysdeps/i386/elf/configure.in: Merge into...
682 * sysdeps/i386/configure.in: ...here.
683 * sysdeps/i386/elf/configure.in: Delete file.
684 * sysdeps/i386/elf/configure: Delete file.
685
686 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
687 * debug/backtracesyms.c: ... here.
688 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
689 * debug/backtracesymsfd.c: ... here.
690 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
691 * sysdeps/generic/ifunc-sel.h: ... here.
692
693 * sysdeps/unix/i386/start.c: Delete file.
694 * sysdeps/unix/sparc/start.c: Delete file.
695 * sysdeps/unix/start.c: Delete file.
696
697 * sysdeps/sh/elf/configure.in: Moved to ...
698 * sysdeps/sh/configure.in: ... here.
699 * sysdeps/sh/elf/start.S: Moved to ...
700 * sysdeps/sh/start.S: ... here.
701 * sysdeps/sh/elf/configure: Delete file.
702
703 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
704 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
705 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
706 * sysdeps/powerpc/powerpc64/entry.h: ... here.
707 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
708 * sysdeps/powerpc/powerpc64/start.S: here.
709 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
710 * sysdeps/powerpc/powerpc64/Makefile: ... this.
711 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
712 * sysdeps/powerpc/powerpc64/configure.in: ... this.
713 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
714
715 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
716 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
717 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
718 * sysdeps/powerpc/powerpc32/start.S: ... here.
719 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
720 * sysdeps/powerpc/powerpc32/configure.in: ... this.
721 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
722
723 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
724 * sysdeps/powerpc/ifunc-sel.h: ... here.
725 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
726 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
727
728 * sysdeps/sparc/elf/configure.in: Moved to ...
729 * sysdeps/sparc/configure.in: ... here.
730 * sysdeps/sparc/elf/configure: Delete file.
731 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
732 * sysdeps/sparc/sparc32/start.S: ... here.
733 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
734 * sysdeps/sparc/sparc64/start.S: ... here.
735 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
736 * sysdeps/sparc/sparc32/Makefile: ... this.
737 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
738 * sysdeps/sparc/sparc64/Makefile: ... this.
739
740 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
741 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
742 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
743 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
744 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
745 * sysdeps/s390/s390-32/setjmp.S: ... here.
746 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
747 * sysdeps/s390/s390-32/configure.in: ... here.
748 * sysdeps/s390/s390-32/elf/configure: Delete file.
749 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
750 * sysdeps/s390/s390-32/start.S: ... here.
751
752 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
753 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
754 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
755 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
756 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
757 * sysdeps/s390/s390-64/setjmp.S: ... here.
758 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
759 * sysdeps/s390/s390-64/configure.in: ... here
760 * sysdeps/s390/s390-64/elf/configure: Delete file.
761 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
762 * sysdeps/s390/s390-64/start.S: ... here.
763 * sysdeps/s390/s390-64/elf/configure: Delete.
764
765 * configure.in: Remove support for elf directories in sysdeps.
766
767 * configure: Regenerated.
768 * sysdeps/i386/configure: Regenerated.
769 * sysdeps/powerpc/powerpc32/configure: Regenerated.
770 * sysdeps/powerpc/powerpc64/configure: Regenerated.
771 * sysdeps/s390/s390-32/configure: Regenerated.
772 * sysdeps/s390/s390-64/configure: Regenerated.
773 * sysdeps/sh/configure: Regenerated.
774 * sysdeps/sparc/configure: Regenerated.
775 * sysdeps/x86_64/configure: Regenerated.
776
a3f61311
AS
7772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
778
c876e002
AS
779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
780
a3f61311
AS
781 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
782 denormal result into account.
783
ac4c54f0
RM
7842012-03-25 Roland McGrath <roland@hack.frob.com>
785
786 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
787 Reported by Allan McRae <allan@archlinux.org>.
788
6a9b9c02
JL
7892012-03-23 Jeff Law <law@redhat.com>
790
791 * nss/getnssent.c (__nss_getent): Fix typo.
792
4c42a0c1
DM
7932012-03-23 David S. Miller <davem@davemloft.net>
794
795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
796
1532c7ac
L
7972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
798
799 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
800 to pad to uint64_t for each field.
801 (dl_tls_index): Replace unsigned long with uint64_t.
802
3ff42526
PP
8032012-03-23 Daniel Jacobowitz <dmj@google.com>
804 Paul Pluzhnikov <ppluzhnikov@google.com>
805
806 [BZ #6528]
807 * grp/Makefile (otherlibs): Don't set it.
808 * inet/Makefile (otherlibs): Likewise.
809 * login/Makefile (otherlibs): Likewise.
810 * nscd/Makefile (otherlibs): Likewise.
811 * posix/Makefile (otherlibs): Likewise.
812 * pwd/Makefile (otherlibs): Likewise.
813 * rt/Makefile (otherlibs): Likewise.
814 * sunrpc/Makefile (otherlibs): Likewise.
815 * nss/Makefile (otherlibs): Likewise.
816 Add libnss_files to routines and static-only-routines.
817 ($(objpfx)getent): Remove rule.
818 * resolv/Makefile: Add libnss_dns and libresolv to routines and
819 static-only-routines.
820
7c69cd14
JM
8212012-03-22 Joseph Myers <joseph@codesourcery.com>
822
823 [BZ #13892]
824 * math/s_cexp.c: Include <float.h>.
825 (__cexp): Handle exp result overflowing not necessarily
826 overflowing both real and imaginary parts of result.
827 * math/s_cexpf.c: Likewise.
828 * math/s_cexpl.c: Likewise.
829 * math/libm-test.inc (cexp_test): Add more tests.
830 * sysdeps/i386/fpu/libm-test-ulps: Update.
831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
832
81b035fe
L
8332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
834
835 * include/link.h (ELFW): New macro.
836 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
837 Replace ELF64_R_TYPE with ELFW(R_TYPE).
838
1da7940c
L
8392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
840
841 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
842 with uint64_t.
843
b749dbb9
L
8442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
845
846 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
847 declaration.
848 (struct La_x32_retval): Likewise.
849
2ff87f3f
L
8502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
851
852 * sysdeps/x86_64/preconfigure.in: New file.
853 * sysdeps/x86_64/preconfigure: New generated file.
854
c0df8e69
JM
8552012-03-22 Joseph Myers <joseph@codesourcery.com>
856
48e44791
JM
857 [BZ #13824]
858 * math/e_exp2l.c: Include <float.h>.
859 (__ieee754_exp2l): Handle overflow and underflow cases
860 separately. Only pass fractional part of argument to
861 __ieee754_expl.
862 * math/libm-test.inc (exp2_test): Add more tests.
863
c0df8e69
JM
864 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
865 negating x to take absolute value.
866 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
867 Likewise.
868 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
869 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
870 Likewise.
871 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
872 computing low part if x was negated.
873 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
874
c8e43ba7
L
8752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
876
877 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
878 la_x32_gnu_pltexit.
879 (pltexit): Cast int_retval to ptrdiff_t.
880 * elf/tst-auditmod3b.c: Likewise.
881 * elf/tst-auditmod4b.c: Likewise.
882 * elf/tst-auditmod5b.c: Likewise.
883 * elf/tst-auditmod6b.c: Likewise.
884 * elf/tst-auditmod6c.c: Likewise.
885 * elf/tst-auditmod7b.c: Likewise.
886
887 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
888 and x32_gnu_pltexit.
889
890 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
891 __ELF_NATIVE_CLASS.
892 (La_x32_regs): New macro.
893 (La_x32_retval): Likewise.
894 (la_x32_gnu_pltenter): New function prototype.
895 (la_x32_gnu_pltexit): Likewise.
896
7998fa78
AS
8972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
898
dcb33988
AS
899 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
900 exponent.
901
233fc563
AS
902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
903
7998fa78
AS
904 * configure.in (libc_cv_cc_nofma): Check for option to disable
905 generation of FMA instructions.
906 * configure: Regenerate.
907 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
908 * sysdeps/ieee754/dbl-64/Makefile: New file.
909 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
910 Remove brandred-fma4.
911 (CFLAGS-brandred-fma4.c): Remove.
912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
913 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
914 define.
915 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
916 define.
917
8e95c99a
L
9182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
919
920 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
921 LLONG_MAX != LONG_MAX.
922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
923 (_fitoa_word): Likewise.
924 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
925 LLONG_MAX != LONG_MAX.
926 * stdio-common/_itowa.h: Include <_itoa.h>.
927 (_itowa_word): Use _ITOA_WORD_TYPE on value.
928 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
929 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
930 only if not defined.
931 (_ITOA_WORD_TYPE): Likewise.
932 (_itoa_word): Use _ITOA_WORD_TYPE on value.
933 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
934
6f4db457
DM
9352012-03-21 David S. Miller <davem@davemloft.net>
936
937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
938
7785fe5a
L
9392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
940
941 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
942 of x86_64 when setting libc_cv_slibdir, libdir and
943 libc_cv_localedir.
944 * sysdeps/unix/sysv/linux/configure: Regenerated.
945
4535cd55
JM
9462012-03-21 Joseph Myers <joseph@codesourcery.com>
947
948 * manual/lang.texi (Old Varargs): Remove section.
949 (How Variadic): Update menu.
950 (va_start): Do not mention varargs.h.
951
17228132
TS
9522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
953 Joseph Myers <joseph@codesourcery.com>
954
955 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
956 link test.
957 * configure: Regenerated.
958
8149f976
TS
9592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
960
05f3d1f6
UD
961 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
962 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
963 conformtest.pl
8149f976 964
1a4ac776
JM
9652012-03-21 Joseph Myers <joseph@codesourcery.com>
966
be22ce65
JM
967 * NOTES: Remove.
968 * Makefile (files-for-dist): Remove NOTES.
969 (NOTES): Remove rule.
970 * README: Don't refer to NOTES.
971 * manual/creature.texi: Don't include macros.texi.
972 * manual/intro.texi (creature.texi): Remove comment referring to
973 NOTES.
974
40b601fb
JM
975 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
976 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
977 * configure: Regenerated.
978 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
979 LIBC_TRY_CC_OPTION.
980 (libc_cv_as_i686): Likewise.
981 (libc_cv_cc_avx): Likewise.
982 (libc_cv_cc_sse2avx): Likewise.
983 (libc_cv_cc_fma4): Likewise.
984 (libc_cv_cc_novzeroupper): Likewise.
985 * sysdeps/i386/configure: Regenerated.
986
1a4ac776
JM
987 [BZ #13883]
988 * sysdeps/i386/fpu/s_cexp.S: Remove.
989 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
990 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
991 * math/libm-test.inc (cexp_test): Add more tests.
992 * sysdeps/i386/fpu/libm-test-ulps: Update.
993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
994
a458e7fe
AM
9952012-03-21 Allan McRae <allan@archlinux.org>
996
997 * timezone/Makefile: Do not install iso3166.tab and zone.tab
998
0cb7efc5
JM
9992012-03-21 Joseph Myers <joseph@codesourcery.com>
1000
1001 [BZ #13871]
1002 * math/w_exp2.c: Do not include <float.h>.
1003 (o_threshold, u_threshold): Remove.
1004 (__exp2): Calculate result before checking finiteness and calling
1005 __kernel_standard.
1006 * math/w_exp2f.c: Likewise.
1007 * math/w_exp2l.c: Likewise.
1008 * math/libm-test.inc (exp2_test): Require overflow exception for
1009 1e6 input.
2460d3aa
JM
1010
1011 [BZ #3866]
1012 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1013 range of signed 64-bit integers before using fistpll. Remove
1014 checks for whether integers fit in mantissa bits.
1015 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1016 the range of signed 32-bit integers before using fistpl. Remove
1017 checks for whether integers fit in mantissa bits.
1018 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1019 (__ieee754_powl): Test for y outside the range of signed 64-bit
1020 integers before using fistpll. Reduce 64-bit values to 63-bit
1021 ones as needed.
1022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1023 divide-by-zero is raised for zero to large negative powers.
1024 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1025 (__ieee754_powl): Test for y outside the range of signed 64-bit
1026 integers before using fistpll. Reduce 64-bit values to 63-bit
1027 ones as needed.
1028 * math/libm-test.inc (pow_test): Add more tests.
1029
eb96ffb0
L
10302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1031
1032 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1033 <stdio-common/_itoa.h>.
1034 * debug/segfault.c: Likewise.
1035 * elf/dl-cache.c: Likewise.
1036 * elf/dl-minimal.c: Likewise.
1037 * elf/dl-misc.c: Likewise.
1038 * elf/dl-sysdep.c: Likewise.
1039 * elf/dl-version.c: Likewise.
1040 * elf/rtld.c: Likewise.
1041 * hurd/hurdsock.c: Likewise.
1042 * hurd/lookup-retry.c: Likewise.
1043 * malloc/malloc.c: Likewise.
1044 * malloc/mtrace.c: Likewise.
1045 * nscd/nscd_getgr_r.c: Likewise.
1046 * nscd/nscd_getpw_r.c: Likewise.
1047 * nscd/nscd_getserv_r.c: Likewise.
1048 * posix/getopt_init.c: Likewise.
1049 * posix/wordexp.c: Likewise.
1050 * stdio-common/_itoa.c: Likewise.
1051 * stdio-common/printf_fphex.c: Likewise.
1052 * stdio-common/vfprintf.c: Likewise.
1053 * string/_strerror.c: Likewise.
1054 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1055 * sysdeps/i386/i686/hp-timing.h: Likewise.
1056 * sysdeps/mach/_strerror.c: Likewise.
1057 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1058 * sysdeps/mach/hurd/sethostid.c: Likewise.
1059 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1060 * sysdeps/mach/xpg-strerror.c: Likewise.
1061 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1062 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1063 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1064 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1065 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1066 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1067 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1068 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1069 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1070 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1071 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1072 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1073 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1074 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1075 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1076 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1078 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1079 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1080 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1082
1083 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1084
1085 * stdio-common/_itoa.h: Moved to ...
1086 * sysdeps/generic/_itoa.h: Here.
1087
1088 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1089
1090 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1091 instead of "_itoa.h" and "_itowa.h".
1092 * stdio-common/vfprintf.: Likewise.
1093
d1af992d
L
10942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1097 <bits/wordsize.h>.
1098 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1099 (__signbit): Likwise.
1100 (llrintf): Likwise.
1101 (llrint): Likwise.
1102
114883e0
L
11032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1106 __WORDSIZE != 64.
1107
c135cc1b
JM
11082012-03-20 Joseph Myers <joseph@codesourcery.com>
1109
1110 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1111 OVERFLOW_EXCEPTION_OK.
1112 * math/libm-test.inc ("Philosophy"): Update comment about
1113 exception testing.
1114 (OVERFLOW_EXCEPTION): Define.
1115 (OVERFLOW_EXCEPTION_OK): Likewise.
1116 (INVALID_EXCEPTION_OK): Renumber.
1117 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1118 (IGNORE_ZERO_INF_SIGN): Likewise.
1119 (test_exceptions): Handle FE_OVERFLOW.
1120 (exp10_test): Expect overflow exceptions.
1121 (exp2_test): Likewise.
1122 (expm1_test): Likewise.
1123 (nextafter_test): Likewise.
1124 (pow_test): Likewise.
1125 (scalbn_test): Likewise.
1126 (scalbln_test): Likewise.
1127
95443d88
L
11282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * sysdeps/x86_64/bits/atomic.h
1131 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1132 64bit integer.
1133 (atomic_exchange_acq): Likewise.
1134 (__arch_exchange_and_add_body): Likewise.
1135 (__arch_add_body): Likewise.
1136 (atomic_add_negative): Likewise.
1137 (atomic_add_zero): Likewise.
1138
490df6c4
L
11392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1140
c2722551 1141 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1142 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1143
5e52b189
L
11442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1145
1146 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1147 Check __x86_64__ instead of __WORDSIZE.
1148
a9879d4c
L
11492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1152
5df98260
DM
11532012-03-19 David S. Miller <davem@davemloft.net>
1154
e1497744
DM
1155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1156
5df98260
DM
1157 * sysdeps/sparc/fpu/fenv_private.h: New file.
1158 * sysdeps/sparc/fpu/math_private.h: Use it.
1159 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1160 Remove.
1161 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1162 (libc_feholdexcept_setroundl): Remove.
1163 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1164 Remove.
1165 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1166 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1167
b4c35121
L
11682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1169
1170 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1171 int64_t instead of long int.
1172 (INSERT_WORDS64): Likwise.
1173
56965fd7
L
11742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1175
1176 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1177 _Unwind_GetCFA return to _Unwind_Ptr first.
1178
83d1aec8
JM
11792012-03-19 Joseph Myers <joseph@codesourcery.com>
1180
1897ad44
JM
1181 [BZ #13629]
1182 * math/s_clog.c: Include <float.h>.
1183 (__clog): Scale large or subnormal inputs.
1184 * math/s_clogf.c: Likewise.
1185 * math/s_clogl.c: Likewise.
1186 * math/s_clog10.c: Include <float.h>.
1187 (M_LOG10_2): Define.
1188 (__clog10): Scale large or subnormal inputs.
1189 * math/s_clog10f.c: Likewise.
1190 * math/s_clog10l.c: Likewise.
1191 * math/libm-test.inc (clog_test): Add more tests.
1192 (clog10_test): Likewise.
1193 * sysdeps/i386/fpu/libm-test-ulps: Update.
1194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1195
7726d6a9
JM
1196 [BZ #11451]
1197 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1198 x and y.
1199 * math/libm-test.inc (atan2_test): Add another test.
1200
83d1aec8
JM
1201 * Makerules (common-objdir-compile): Remove.
1202 * sysdeps/unix/Makefile (config-generated): Do not add
1203 $(unix-generated) to variable.
1204 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1205 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1206 Remove rule.
1207 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1208 Likewise.
1209 [generic bits/local_lim.h] (before-compile): Do not append to
1210 variable.
1211 [generic bits/local_lim.h] (common-generated): Likewise.
1212 [generic sys/param.h] (before-compile): Do not append to variable.
1213 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1214 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1215 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1216 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1217 include.
1218 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1219 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1220 [generic sys/param.h] ($(addprefix
1221 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1222 [generic sys/param.h] (common-generated): Do not append to
1223 variable.
1224 [generic sys/param.h] (sysdep_headers): Likewise.
1225 [generic bits/errno.h] (before-compile): Do not append to
1226 variable.
1227 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1228 rule.
1229 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1230 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1231 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1232 [generic bits/errno.h] (common-generated): Do not append to
1233 variable.
1234 [generic bits/ioctls.h] (before-compile): Do not append to
1235 variable.
1236 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1237 rule.
1238 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1239 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1240 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1241 rule.
1242 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1243 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1244 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1245 [generic bits/ioctls.h] (common-generated): Do not append to
1246 variable.
1247 [generic sys/syscall.h] (syscall.h): Remove variable.
1248 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1249 rule.
1250 [generic sys/syscall.h] (before-compile): Do not append to
1251 variable.
1252 [generic sys/syscall.h] (common-generated): Likewise.
1253 * sysdeps/unix/errnos-tmpl.c: Remove file.
1254 * sysdeps/unix/errnos.awk: Likewise.
1255 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1256 * sysdeps/unix/ioctls.awk: Likewise.
1257 * sysdeps/unix/mk-local_lim.c: Likewise.
1258 * sysdeps/unix/snarf-ioctls: Likewise.
1259
4851a949
RH
12602012-03-19 Richard Henderson <rth@twiddle.net>
1261
bd37f2ee
RH
1262 * sysdeps/i386/fpu/fenv_private.h: New file.
1263 * sysdeps/i386/fpu/math_private.h: Use it.
1264 (math_opt_barrier, math_force_eval): Remove.
1265 (libc_feholdexcept_setround_53bit): Remove.
1266 (libc_feupdateenv_53bit): Remove.
1267 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1268 (math_opt_barrier, math_force_eval): Remove.
1269 (libc_feholdexcept): Remove.
1270 (libc_feholdexcept_setround): Remove.
1271 (libc_fetestexcept, libc_fesetenv): Remove.
1272 (libc_feupdateenv_test): Remove.
1273 (libc_feupdateenv, libc_feholdsetround): Remove.
1274 (libc_feresetround): Remove.
1275
d0adc922
RH
1276 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1277 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1278
0fe0f1f8
RH
1279 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1280 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1281 (libc_feupdateenv_testl): New.
1282 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1283 (libc_feupdateenv_testf): New.
1284 (libc_feupdateenv): Use libc_feupdateenv_test.
1285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1286 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1287
eb92c487
RH
1288 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1289 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1290 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1291 (libc_feresetround_noex): New.
1292 (libc_feresetround_noexf): New.
1293 (libc_feresetround_noexl): New.
1294 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1295 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1296 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1297 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1298 SET_RESTORE_ROUND.
1299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1301 (__cos): Likewise.
1302 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1303 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1304 SET_RESTORE_ROUND_NOEX.
1305 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1306 SET_RESTORE_ROUND_NOEXF.
1307 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1308 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1309 (libc_feholdsetroundf): New.
1310 (libc_feresetround, libc_feresetroundf): New.
1311
7d2e8012
RH
1312 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1313 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1314 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1315
b4dabbb4
RH
1316 * sysdeps/generic/math_private.h: Include <fenv.h>.
1317 (default_libc_feholdexcept): New.
1318 (default_libc_feholdexcept_setround): New.
1319 (default_libc_fesetenv, default_libc_feupdateenv): New.
1320 (libc_feholdexcept): Only define if undefined.
1321 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1322 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1323 (libc_feholdexcept_setroundl): Likewise.
1324 (libc_feholdexcept_setround_53bit): Likewise.
1325 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1326 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1327 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1328 (libc_feupdateenv_53bit): Likewise.
1329 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1330 (libc_feholdexcept): Convert from macro to inline function.
1331 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1332 (libc_fesetenv, libc_feupdateenv): Likewise.
1333
4851a949
RH
1334 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1335 not previously defined.
1336 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1337 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1338 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1339 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1340 * sysdeps/ieee754/flt-32/math_private.h: New file.
1341 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1342 math_private.h below SET_FLOAT_WORD.
1343 (__isnan, __isinf_ns, __finite): Remove.
1344 (__isnanf, __isinf_nsf, __finitef): Remove.
1345
e79d442e
AS
13462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1347
1348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1349
90b80344
DM
13502012-03-17 David S. Miller <davem@davemloft.net>
1351
1352 [BZ #6471]
1353 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1354 for 2.16.
1355
edc21804
DM
13562012-03-16 David S. Miller <davem@davemloft.net>
1357
77e927af
DM
1358 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1359 warnings.
1360
374976dd
DM
1361 [BZ #6471]
1362 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1363 properly.
1364 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1365 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1366 sysdep_routines when subdir is sysvipc.
1367 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1368 __getshmlba helper.
1369
edc21804
DM
1370 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1371
473c3ef3
L
13722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1373
1374 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1375 [__LP64__].
1376
eb0f39b6
L
13772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1378
1379 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1380 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1381 (__lround): Renamed to ...
1382 (__llround): This. Replace long int with long long int.
1383 Define lround functions as aliases of llround functions.
1384 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1385
6b6cd74b
L
13862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1387
1388 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1389 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1390 adresses to uintptr_t. Replace "long int" and "unsigned long
1391 int" with "greg_t" on va_arg.
1392
f1a77b01
L
13932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1396 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1397
1398 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1399 Move e_machine check before EI_CLASS check. Handle x32
1400 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1401 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1402 SKIP_EM_IA_64 and include
1403 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1404
1405 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1406 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1407 (add_system_dir): New macro.
1408
1409 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1410 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1411
11b90b9f
JM
14122012-03-16 Joseph Myers <joseph@codesourcery.com>
1413
c36e1d23
JM
1414 [BZ #2551]
1415 [BZ #2552]
1416 [BZ #2553]
1417 [BZ #2554]
1418 [BZ #2562]
1419 [BZ #2563]
1420 [BZ #2565]
1421 [BZ #2566]
1422 [BZ #2576]
1423 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1424 (y0): Likewise.
1425 * math/w_j0f.c (j0f): Likewise.
1426 (y0f): Likewise.
1427 * math/w_j0l.c (__j0l): Likewise.
1428 (__y0l): Likewise.
1429 * math/w_j1.c (j1): Likewise.
1430 (y1): Likewise.
1431 * math/w_j1f.c (j1f): Likewise.
1432 (y1f): Likewise.
1433 * math/w_j1l.c (__j1l): Likewise.
1434 (__y1l): Likewise.
1435 * math/w_jn.c (jn): Likewise.
1436 (yn): Likewise.
1437 * math/w_jnf.c (jnf): Likewise.
1438 (ynf): Likewise.
1439 * math/w_jnl.c (__jnl): Likewise.
1440 (__ynl): Likewise.
1441 * math/libm-test.inc (j0_test): Add more tests.
1442 (j1_test): Likewise.
1443 (jn_test): Likewise. Add trailing semicolon to existing test.
1444 (y0_test): Likewise.
1445 (y1_test): Likewise.
1446 * sysdeps/i386/fpu/libm-test-ulps: Update.
1447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1448
11b90b9f
JM
1449 [BZ #13851]
1450 [BZ #13854]
1451 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1452 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1453 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1454 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1455 (__tanl): Set errno for infinite argument.
1456 * sysdeps/i386/fpu/mptan.c: Remove.
1457 * sysdeps/i386/fpu/s_tan.S: Likewise.
1458 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1459 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1460 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1461 * math/libm-test.inc (tan_test): Add more tests and enable more
1462 tests for double and long double.
1463 * sysdeps/i386/fpu/libm-test-ulps: Update.
1464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1465
6a1bd2a1
JK
14662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1467
1468 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1469 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1470
10a803e0
RM
14712012-03-16 Roland McGrath <roland@hack.frob.com>
1472
1473 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1474 * configure.in: Use it for both main tree and add-ons.
1475 * configure: Regenerated.
1476
f196c7f7
L
14772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1478
1479 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1480
8848d99d
JM
14812012-03-16 Joseph Myers <joseph@codesourcery.com>
1482
96cbe7f4
JM
1483 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1484 in comment.
1485
8848d99d
JM
1486 [BZ #13851]
1487 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1488 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1490 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1491 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1492 infinite argument.
1493 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1495 != 0 for prec == 2.
1496 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1497 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1498 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1499 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1500 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1501 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1502 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1503 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1504 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1505 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1506 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1507 * math/libm-test.inc (cos_test): Add more tests and enable more
1508 tests for long double.
1509 (sin_test): Likewise.
1510 (sincos_test): Likewise.
1511 * sysdeps/i386/fpu/libm-test-ulps: Update.
1512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1513
dd7f4703
DM
15142012-03-16 David S. Miller <davem@davemloft.net>
1515
1516 * sysdeps/sparc/fpu/math_private.h: New file.
1517
006f1daa
DM
15182012-03-15 David S. Miller <davem@davemloft.net>
1519
c0c83bc8
DM
1520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1521 file.
e6a62e18 1522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1524 file.
e6a62e18
DM
1525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1531 sysdep routines.
1532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1533
88cb87d9
DM
1534 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1535 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1536
006f1daa 1537 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1539 sparc-ifunc.h
006f1daa 1540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1542 Likewise.
1543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1544 Likewise.
006f1daa
DM
1545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1549 Likewise.
006f1daa
DM
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1555 Likewise.
1556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1557 Likewise.
006f1daa
DM
1558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1576 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1582
11e0098e
AS
15832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1584
1585 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1586 scaling.
1587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1588
e85b09d0
AJ
15892012-03-15 Andreas Jaeger <aj@suse.de>
1590
1591 [BZ #13852]
1592 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1593 ieee754/flt-32 implementation for sin, cos and sincos.
1594 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1595 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1596 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1597 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1598 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1599 ieee754/flt-32 implementation for tan.
1600
1601 * math/libm-test.inc (cos_test): Enable some large input tests for
1602 float as well
1603 (sin_test): Likewise.
1604 (sincos_test): Likewise.
1605 (tan_test): Add tests for large input.
1606
1607 * sysdeps/i386/fpu/libm-test-ulps: Update.
1608
81c64153
AJ
16092012-03-15 Andreas Jaeger <aj@suse.de>
1610
1611 [BZ #13658]
1612 * math/libm-test.inc (cos_test): Add more test cases.
1613 (sin_test): Likewise.
1614 (sincos_test): Likewise.
1615
7bbfa5c6
AJ
16162012-03-15 Andreas Jaeger <aj@suse.de>
1617
1618 [BZ #13837]
1619 * math/libm-test.inc (cos_test): Add a test case for large input
1620 value.
1621 (sin_test): Likewise.
1622 (sincos_test): Likewise.
1623
16242012-03-15 Andreas Jaeger <aj@suse.de>,
1625 Joseph Myers <joseph@codesourcery.com>
1626
1627 [BZ #13658]
0671f479 1628 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1629 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1630 * sysdeps/i386/fpu/branred.c: Likewise.
1631 * sysdeps/i386/fpu/dosincos.c: Likewise.
1632 * sysdeps/i386/fpu/mpa.c: Likewise.
1633 * sysdeps/i386/fpu/s_cos.S: Likewise.
1634 * sysdeps/i386/fpu/s_sin.S: Likewise.
1635 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1636 * sysdeps/i386/fpu/sincos32.c: Likewise.
1637
1638 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1639 Define.
1640 (libc_feupdateenv_53bit): Define.
1641 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1642 Define.
1643 (libc_feupdateenv_53bit): Define.
1644
1645 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1646 53 bit (without extend i386 double precision).
1647
1648 * math/libm-test.inc (sincos_test): Add tests for large input.
1649 (sin): Likewise.
1650 (cos): Likewise.
1651
1652 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1653
9cad04ea
AS
16542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1655
1656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1657
f7062b9a
DM
16582012-03-15 David S. Miller <davem@davemloft.net>
1659
1660 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1661 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1662 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1663 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1676 file.
f7062b9a 1677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1679 file.
f7062b9a 1680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1682 file.
f7062b9a 1683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1685 file.
f7062b9a
DM
1686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1688 fmin/fmax sysdep routines.
1689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1690
7bd951ff
DM
16912012-03-14 David S. Miller <davem@davemloft.net>
1692
559398ab
DM
1693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1722 routines.
1723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1724 file.
559398ab 1725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1727 file.
559398ab 1728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1730 file.
559398ab 1731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1733 file.
559398ab 1734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1736 file.
559398ab 1737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1739 file.
1740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1741 file.
1742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1743 file.
1744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1745 file.
1746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1747 New file.
1748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1749 file.
1750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1751 file.
559398ab 1752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1754 file.
559398ab 1755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1757 file.
559398ab 1758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1760 file.
559398ab 1761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1763 VIS3 routines.
559398ab
DM
1764
1765 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1766 New file.
1767
5a1c1e32
DM
1768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1769
eae47a36
DM
1770 * sysdeps/sparc/configure.in: New file.
1771 * sysdeps/sparc/configure: Generate.
1772 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1773 * configure: Regenerate.
1774 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1775 * config.make.in (have-as-vis3): New.
1776 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1777 available use -Av9d instead of -Av9a.
1778 * sysdeps/sparc/sparc64/Makefile: Likewise.
1779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1781 New file.
1782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1783 file.
1784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1785 New file.
1786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1787 file.
eae47a36
DM
1788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1793
c0c83bc8
DM
1794 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1795 fzeros/fnegs to load 0x80000000 into a float register instead of
1796 using the stack.
7bd951ff
DM
1797 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1798
bd951ccb
JM
17992012-03-14 Joseph Myers <joseph@codesourcery.com>
1800
1801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1802 bits/syscall.h.
1803 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1804 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1805 ($(inst_includedir)/bits/syscall.h): Remove rule.
1806 ($(objpfx)bits/syscall.d): Include instead of
1807 $(objpfx)syscall-list.d.
1808 (generated): Change syscall-list.h and syscall-list.d to
1809 bits/syscall.h and bits/syscall.d.
1810
bb4e6db2
RM
18112012-03-14 Roland McGrath <roland@hack.frob.com>
1812
1813 [BZ #13846]
1814 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1815
aa4a2ae1
JM
18162012-03-14 Joseph Myers <joseph@codesourcery.com>
1817
e456826d
JM
1818 [BZ #13841]
1819 * math/s_csqrt.c: Include <float.h>.
1820 (__csqrt): Scale large or subnormal inputs.
1821 * math/s_csqrtf.c: Likewise.
1822 * math/s_csqrtl.c: Likewise.
1823 * math/libm-test.inc (csqrt_test): Add more tests.
1824 * sysdeps/i386/fpu/libm-test-ulps: Update.
1825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1826
aa4a2ae1
JM
1827 [BZ #13840]
1828 * math/libm-test.inc (hypot_test): Add more tests.
1829
7c10fd35
DM
18302012-03-13 David S. Miller <davem@davemloft.net>
1831
1832 [BZ #13840]
1833 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1834 double-precision for the calculation instead of scaling.
1835
f453b98b
JM
18362012-03-13 Joseph Myers <joseph@codesourcery.com>
1837
1838 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1839 manipulate bits before adding and subtracting TWO52[sx].
1840 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1841 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1842 Likewise.
1843 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1844
09a3453f
DM
18452012-03-13 David S. Miller <davem@davemloft.net>
1846
8e59da90
DM
1847 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1848 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1850 rtld-global-offsets.h
1851 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1852
2a8ab7f2
DM
1853 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1854 large parameters.
1855
10f62770
DM
1856 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1857
5f0bdb18
DM
1858 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1859 'err' in the ifdef scope in which it is actually used.
1860
09a3453f
DM
1861 * nss/nss_db/db-init.c: Include string.h
1862
b4b2eb5e
DM
18632012-03-12 David S. Miller <davem@davemloft.net>
1864
98bb2f1c
DM
1865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1866 masking out of the most significant byte of random value used.
1867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1868 Fix coding style in previous change.
1869
b4b2eb5e
DM
1870 * sysdeps/unix/sysv/linux/kernel-features.h
1871 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1872 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1873 expression.
1874 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1875 later.
1876
6e226b09
DM
18772012-03-11 David S. Miller <davem@davemloft.net>
1878
a1bcbd40
DM
1879 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1880 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1882 for 'resultvar' otherwise things get truncated on 64-bit.
1883
cb9d6174
DM
1884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1885 Fix masking out of the most significant byte of random value used.
1886
6e226b09
DM
1887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1888
058c132d
AS
18892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1890
1891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1892
2d2cd515
DM
18932012-03-09 David S. Miller <davem@davemloft.net>
1894
1895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1896 variables with appropriate CPP guards.
1897 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1898 frame pointer, not the stack pointer. Correct layout comments. Fix test
1899 on resulting framesize and the management of the outregs buffer for pltexit.
1900 Preserve floating point return values across _dl_call_pltexit call.
1901 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1902 framesize and the management of the outregs buffer for pltexit.
1903 Preserve floating point return values across _dl_call_pltexit
1904 call.
1905 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1906 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1907 (print_exit): Fix format string for return register value.
1908
9a07f9d0
JM
19092012-03-10 Joseph Myers <joseph@codesourcery.com>
1910
1911 * sunrpc/Makefile (others): Add rpcgen.
1912 ($(objpfx)rpcgen): Remove special build rule and dependency on
1913 libc.
1914 * sunrpc/rpcgen.c: New file.
1915
547b5e30
PE
19162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1917
c524201a
PE
1918 [BZ #13673]
1919 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1920 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1921 * sysdeps/i386/crti.S: Likewise.
1922 * sysdeps/i386/crtn.S: Likewise.
1923 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1924 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1925 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1926 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1927 * sysdeps/sh/crti.S: Likewise.
1928 * sysdeps/sh/crtn.S: Likewise.
1929 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1930
7b6235f2
PE
1931 [BZ #13673]
1932 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1933 with URL.
1934 * locale/programs/locfile-kw.gperf: Likewise.
1935 * locale/programs/charmap-kw.h: Regenerated.
1936 * locale/programs/locfile-kw.h: Likewise.
1937
547b5e30
PE
1938 [BZ #13673]
1939 * intl/plural.y: Replace FSF snail mail address with URL.
1940 * intl/plural.c: Regenerated.
1941
5f0a5dae
RH
19422012-03-09 Richard Henderson <rth@twiddle.net>
1943
1944 * include/math_private.h: Remove file.
1945 * math/math_private.h: Move file ...
1946 * sysdeps/generic/math_private.h: ... here.
1947
b8c03620
RH
1948 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1949 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1950 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1951
4e234f5d 1952 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1953 and <math_private.h>.
1954 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1955 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1956 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1957 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1958 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1965 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1966 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1967 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1968 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1969 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1970 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1971 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1972 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1973 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1975 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1976 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1977 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1978 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1979 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1980 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1981 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1983 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1984 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1986 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1987 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1988 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1989 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1990 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1991 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1992 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1993 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1994 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1995 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1996 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1997 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1998 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1999 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2000 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2001 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2002 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2003 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2004 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2005 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2006 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2011 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2013 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2014 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2015 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2017 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2027 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2028 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2038 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2040 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2041 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2042 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2043 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2044 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2045 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2046 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2047 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2048 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2049 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2050 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2051 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2052 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2053 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2054 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2055 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2056 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2057 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2058 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2059 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2060 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2061 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2062 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2063 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2064 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2065 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2066 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2067 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2068 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2069 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2070 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2071 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2072 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2073 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2074 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2075 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2076 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2077 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2078 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2079 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2080 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2081 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2082 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2083 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2084 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2085 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2086 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2087 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2088 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2089 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2090 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2091 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2092 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2093 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2094 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2095 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2096 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2097 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2098 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2099 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2100 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2101 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2102 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2103 * sysdeps/ieee754/k_standard.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2113 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2114 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2116 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2117 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2142 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2146 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2147 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2148 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2149 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2152 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2154 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2155 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2156 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2159 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2197 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2199 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2200 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2201 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2202 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2203 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2204 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2205 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2208 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2209 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2217 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2219 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2223 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2224 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2226 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2231 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2233 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2234 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2235 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2236 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2252 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2253 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2254 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2264 * sysdeps/ieee754/s_lib_version.c: Likewise.
2265 * sysdeps/ieee754/s_matherr.c: Likewise.
2266 * sysdeps/ieee754/s_signgam.c: Likewise.
2267 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2268 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2269 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2270 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2271 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2272 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2273 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2274 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2275 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2276 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2277 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2278 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2279 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2280 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2281 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2282 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2283 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2284 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2285 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2287 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2288
1991fa03
JM
22892012-03-09 Joseph Myers <joseph@codesourcery.com>
2290
2291 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2292 * sunrpc/rpc_main.c: Likewise.
2293 * sunrpc/rpc_svcout.c: Likewise.
2294
60d6f5a6
DM
22952012-03-09 David S. Miller <davem@davemloft.net>
2296
2297 * include/math_private.h: New file.
2298
4962050e
JM
22992012-03-09 Joseph Myers <joseph@codesourcery.com>
2300
02a6f887
JM
2301 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2302 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2303 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2304 from <bits/socket_type.h>.
2305 (enum __socket_type): Don't define here.
2306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2308 bits/socket_type.h.
2309
c6e013c1
JM
2310 [BZ #13566]
2311 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2312 checking __USE_GNU.
2313
4962050e
JM
2314 * Makerules ($(inst_includedir)/%.h): New rule.
2315 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2316 (install-others): Remove variable setting.
2317 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2318
38842f45
RH
23192012-03-08 Richard Henderson <rth@twiddle.net>
2320
67bb6da6
RH
2321 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2322 from macro to inline function; merge with the
2323 !__LIBC_INTERNAL_MATH_INLINES version.
2324 (__ieee754_sqrtf): Likewise.
2325
15194b4b
RH
2326 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2327 to inline function.
2328 (__rintf, __floor, __floorf): Likewise.
2329
64e21ede
RH
2330 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2331 macro to inline function.
2332 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2333
38842f45
RH
2334 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2335 not <math/math_private.h>.
2336
c64bf5fe
DM
23372012-03-08 David S. Miller <davem@davemloft.net>
2338
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2340 copyright year.
2341 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2342
82d86f28
TS
23432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2344
2345 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2346 normalization.
2347 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2348 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2349
aea5d727
UD
23502012-03-08 Ulrich Drepper <drepper@gmail.com>
2351
2352 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2353 be defined individually, they must be defined as a block. Define
2354 S for printing a string instead of hidint the different by using a
2355 macro for adding the 'l'.
2356 * stdio-common/tst-fphex-wide.c: Adjust.
2357
70bca0a3
MP
23582012-03-07 Marek Polacek <polacek@redhat.com>
2359
2360 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2361
65b81130
MP
23622012-03-08 Marek Polacek <polacek@redhat.com>
2363
2364 [BZ #13806]
2365 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2366 * stdio-common/tst-fphex.c: Define a few macros to make the
2367 test reusable. Use them.
2368 * stdio-common/tst-fphex-wide.c: New file.
2369
07037eeb
JM
23702012-03-08 Joseph Myers <joseph@codesourcery.com>
2371
a7a93d50
JM
2372 [BZ #6911]
2373 * manual/macros.texi (gnusystems): New macro.
2374 (nongnusystems): Likewise.
2375 (gnulinuxhurdsystems): Likewise.
2376 (gnuhurdsystems): Likewise..
2377 (gnulinuxsystems): Likewise.
2378 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2379 variants of the GNU system, not "GNU system".
2380 * manual/conf.texi: Likewise.
2381 * manual/errno.texi: Likewise. Update example of errno macro
2382 expansion.
2383 * manual/filesys.texi: Likewise.
2384 (getumask): Document as specific to GNU/Hurd.
2385 * manual/install.texi: Likewise. Reword some references to
2386 GNU/Linux.
2387 * manual/intro.texi: Likewise.
2388 * manual/io.texi: Likewise.
2389 (File Name Portability): Detail which constraints are inapplicable
2390 to all GNU systems and which are only inapplicable to GNU/Hurd.
2391 * manual/job.texi: Likewise.
2392 * manual/llio.texi: Likewise.
2393 (O_NOCTTY): Document as present on GNU/Linux.
2394 * manual/maint.texi: Likewise.
2395 * manual/memory.texi: Likewise.
2396 * manual/pattern.texi: Likewise.
2397 * manual/pipe.texi: Likewise.
2398 * manual/process.texi: Likewise.
2399 * manual/resource.texi: Likewise.
2400 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2401 child on GNU/Hurd.
2402 * manual/setjmp.texi: Likewise.
2403 * manual/signal.texi: Likewise.
2404 * manual/startup.texi: Likewise.
2405 * manual/stdio.texi: Likewise.
2406 * manual/terminal.texi: Likewise.
2407 (ONLCR): Document as POSIX.
2408 (OXTABS): Document availability on GNU/Linux as XTABS.
2409 (ONOEOT): Document availability separately from other bits.
2410 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2411 * manual/time.texi: Likewise.
2412 * manual/users.texi: Likewise.
2413 * INSTALL: Regenerated.
2414 * sysdeps/gnu/errlist.c: Regenerated.
2415
07037eeb
JM
2416 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2417 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2418 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2419 puts.
2420 * configure: Regenerated.
2421
d1d3431a
JM
24222012-03-07 Joseph Myers <joseph@codesourcery.com>
2423
af6a1e37
JM
2424 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2425 default includes instead of AC_HEADER_CHECK.
2426 * sysdeps/i386/configure: Regenerated.
2427
d1d3431a
JM
2428 [BZ #10716]
2429 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2430 * math/s_cacoshf.c (__cacoshf): Likewise.
2431 * math/s_cacoshl.c (__cacoshl): Likewise.
2432 * math/s_casinh.c (__casinh): Set signs of result from argument.
2433 * math/s_casinhf.c (__casinhf): Likewise.
2434 * math/s_casinhl.c (__casinhl): Likewise.
2435 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2436 (casinh_test): Add more tests.
2437 * sysdeps/i386/fpu/libm-test-ulps: Update.
2438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2439
482ff4da
UD
24402012-03-07 Ulrich Drepper <drepper@gmail.com>
2441
872fda05
UD
2442 * po/zh_TW.po: Update from translation team.
2443
a4300c7a
UD
2444 * login/Makefile (distribute): Remove variable.
2445 * catgets/Makefile: Likewise.
2446 * mach/Makefile: Likewise.
2447 * malloc/Makefile: Likewise.
2448 * misc/Makefile: Likewise.
2449 * iconv/Makefile: Likewise.
2450 * nscd/Makefile: Likewise.
2451 * hurd/Makefile: Likewise.
2452 * manual/Makefile: Likewise.
2453 * locale/Makefile: Likewise.
2454 * intl/Makefile: Likewise.
2455 * conform/Makefile: Likewise.
2456 * nss/Makefile: Likewise.
2457 * time/Makefile: Likewise.
2458 * soft-fp/Makefile: Likewise.
2459 * dirent/Makefile: Likewise.
2460 * gmon/Makefile: Likewise.
2461 * po/Makefile: Likewise.
2462 * rt/Makefile: Likewise.
2463 * socket/Makefile: Likewise.
2464 * math/Makefile: Likewise.
2465 * signal/Makefile: Likewise.
2466 * debug/Makefile: Likewise.
2467 * elf/Makefile: Likewise.
2468 * timezone/Makefile: Likewise.
2469 * stdlib/Makefile: Likewise.
2470 * iconvdata/Makefile: Likewise.
2471 * sunrpc/Makefile: Likewise.
2472 * io/Makefile: Likewise.
2473 * argp/Makefile: Likewise.
2474 * inet/Makefile: Likewise.
2475 * hesiod/Makefile: Likewise.
2476 * grp/Makefile: Likewise.
2477 * csu/Makefile: Likewise.
2478 * wctype/Makefile: Likewise.
2479 * crypt/Makefile: Likewise.
2480 * libio/Makefile: Likewise.
2481 * string/Makefile: Likewise.
2482 * nis/Makefile: Likewise.
2483 * resolv/Makefile: Likewise.
2484 * stdio-common/Makefile: Likewise.
2485 * wcsmbs/Makefile: Likewise.
2486 * dlfcn/Makefile: Likewise.
2487 * posix/Makefile: Likewise.
2488
482ff4da
UD
2489 * timezone/Makefile: Don't install timezone files, just the programs
2490 and scripts.
2491
f72ed77d
UD
24922012-03-06 Ulrich Drepper <drepper@gmail.com>
2493
a000466f
UD
2494 * nss/databases.def: Add missing gshadow entry.
2495
f72ed77d
UD
2496 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2497
a53b7a4e
MP
24982012-03-06 Marek Polacek <polacek@redhat.com>
2499
2500 [BZ #13726]
2501 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2502 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2503 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2504 * stdio-common/tst-long-dbl-fphex.c: New file.
2505
e9258400
DM
25062012-03-06 David S. Miller <davem@davemloft.net>
2507
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2509 (set_obp_int): New function.
2510 (get_obp_int): New function.
2511 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2513 Avoid unused variable warnings on 'val' and use builtin_expect.
2514 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2515 __builtin_expect.
e9258400
DM
2516 (INLINE_CLONE_SYSCALL): Likewise.
2517
3bd2c723
DM
25182012-03-05 David S. Miller <davem@davemloft.net>
2519
2520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2521
bbb78d03
AS
25222012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2523
884c5db4
AS
2524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2525
bbb78d03
AS
2526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2527 only for |x| >= 40.
2528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2529
1c9f702a 25302012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2531
2532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2533 Replace gettimeofday with __vdso_gettimeofday.
2534
7be16f82
RM
2535 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2536 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2537 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2538
2539 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2540 time with __vdso_time.
2541
ed58a00f
JM
25422012-03-05 Joseph Myers <joseph@codesourcery.com>
2543
2544 * manual/lang.texi (size_t): Note types to which size_t may be
2545 equivalent with the GNU C Library, but do not describe when
2546 differences between them are significant.
2547
30ee4ced
AJ
25482012-03-05 Andreas Jaeger <aj@suse.de>
2549
2550 * sysdeps/i386/fpu/libm-test-ulps: Update.
2551
b7cd39e8
JM
25522012-03-05 Joseph Myers <joseph@codesourcery.com>
2553
2554 [BZ #3976]
2555 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2556 (__ieee754_pow): Save and restore rounding mode and use
2557 round-to-nearest for main computations.
2558 * math/libm-test.inc (pow_test_tonearest): New function.
2559 (pow_test_towardzero): Likewise.
2560 (pow_test_downward): Likewise.
2561 (pow_test_upward): Likewise.
2562 (main): Call the new functions.
2563 * sysdeps/i386/fpu/libm-test-ulps: Update.
2564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2565
2566 [BZ #3976]
2567 * math/libm-test.inc (cosh_test_tonearest): New function.
2568 (cosh_test_towardzero): Likewise.
2569 (cosh_test_downward): Likewise.
2570 (cosh_test_upward): Likewise.
2571 (sinh_test_tonearest): Likewise.
2572 (sinh_test_towardzero): Likewise.
2573 (sinh_test_downward): Likewise.
2574 (sinh_test_upward): Likewise.
2575 (main): Call the new functions.
2576 * sysdeps/i386/fpu/libm-test-ulps: Update.
2577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2578
6c6a98c9
TV
25792012-03-05 Tom de Vries <tom@codesourcery.com>
2580
2581 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2582 default stack guard is set in last bytes.
2583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2584
21bb2d2e 25852012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2586
21bb2d2e 2587 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2588
21bb2d2e
AJ
2589 [BZ #13656]
2590 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2591 possibly allocate from heap instead of stack.
2592 * stdio-common/bug-vfprintf-nargs.c: New file.
2593 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2594
c6922934
AS
25952012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2596
2597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2598
bc957d53
MP
25992012-03-03 Marek Polacek <polacek@redhat.com>
2600
2601 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2602 * math/math_private.h: Likewise.
2603 * stdlib/tst-strtod.c: Likewise.
2604 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2605 * sysdeps/x86_64/bits/atomic.h: Likewise.
2606
6358490d
DM
26072012-03-02 David S. Miller <davem@davemloft.net>
2608
2609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2613 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2614 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2615 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2616 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2617
01ae168d
RM
26182012-03-02 Roland McGrath <roland@hack.frob.com>
2619
d9a17c07
RM
2620 [BZ #13792]
2621 * manual/examples/README: New file, says the example source files
2622 can be used under GPL>=2.
2623 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2624 line containing just "*/".
2625 * manual/examples/add.c: Add copyright header (GPL>=2).
2626 * manual/examples/argp-ex1.c: Likewise.
2627 * manual/examples/argp-ex2.c: Likewise.
2628 * manual/examples/argp-ex3.c: Likewise.
2629 * manual/examples/argp-ex4.c: Likewise.
2630 * manual/examples/atexit.c: Likewise.
2631 * manual/examples/db.c: Likewise.
2632 * manual/examples/dir.c: Likewise.
2633 * manual/examples/dir2.c: Likewise.
2634 * manual/examples/execinfo.c: Likewise.
2635 * manual/examples/filecli.c: Likewise.
2636 * manual/examples/filesrv.c: Likewise.
2637 * manual/examples/fmtmsgexpl.c: Likewise.
2638 * manual/examples/genpass.c: Likewise.
2639 * manual/examples/inetcli.c: Likewise.
2640 * manual/examples/inetsrv.c: Likewise.
2641 * manual/examples/isockad.c: Likewise.
2642 * manual/examples/longopt.c: Likewise.
2643 * manual/examples/memopen.c: Likewise.
2644 * manual/examples/memstrm.c: Likewise.
2645 * manual/examples/mkfsock.c: Likewise.
2646 * manual/examples/mkisock.c: Likewise.
2647 * manual/examples/mygetpass.c: Likewise.
2648 * manual/examples/pipe.c: Likewise.
2649 * manual/examples/popen.c: Likewise.
2650 * manual/examples/rprintf.c: Likewise.
2651 * manual/examples/search.c: Likewise.
2652 * manual/examples/select.c: Likewise.
2653 * manual/examples/setjmp.c: Likewise.
2654 * manual/examples/sigh1.c: Likewise.
2655 * manual/examples/sigusr.c: Likewise.
2656 * manual/examples/stpcpy.c: Likewise.
2657 * manual/examples/strdupa.c: Likewise.
2658 * manual/examples/strftim.c: Likewise.
2659 * manual/examples/strncat.c: Likewise.
2660 * manual/examples/subopt.c: Likewise.
2661 * manual/examples/swapcontext.c: Likewise.
2662 * manual/examples/termios.c: Likewise.
2663 * manual/examples/testopt.c: Likewise.
2664 * manual/examples/testpass.c: Likewise.
2665 * manual/examples/timeval_subtract.c: Likewise.
2666
01ae168d
RM
2667 [BZ #13792]
2668 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2669 function to ...
2670 * manual/timeval_subtract.c.texi: ... here, new file.
2671
49efa33d
DM
26722012-03-02 David S. Miller <davem@davemloft.net>
2673
2674 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2675
28afd92d
JM
26762012-03-02 Joseph Myers <joseph@codesourcery.com>
2677
804360ed
JM
2678 [BZ #3976]
2679 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2680 (__sin): Save and restore rounding mode and use round-to-nearest
2681 for all computations.
2682 (__cos): Save and restore rounding mode and use round-to-nearest
2683 for all computations.
2684 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2685 <fenv.h>.
2686 (tan): Save and restore rounding mode and use round-to-nearest for
2687 all computations.
2688 * math/libm-test.inc (cos_test_tonearest): New function.
2689 (cos_test_towardzero): Likewise.
2690 (cos_test_downward): Likewise.
2691 (cos_test_upward): Likewise.
2692 (sin_test_tonearest): Likewise.
2693 (sin_test_towardzero): Likewise.
2694 (sin_test_downward): Likewise.
2695 (sin_test_upward): Likewise.
2696 (tan_test_tonearest): Likewise.
2697 (tan_test_towardzero): Likewise.
2698 (tan_test_downward): Likewise.
2699 (tan_test_upward): Likewise.
2700 (main): Call the new functions.
2701 * sysdeps/i386/fpu/libm-test-ulps: Update.
2702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2703
a6d06d7b
JM
2704 [BZ #10135]
2705 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2706 small n, then large n, before computing and testing k+n.
2707 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2709 Likewise.
2710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2711 Likewise.
2712 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2713 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2714 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2715 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2716 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2717 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2719 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2720 * math/libm-test.inc (scalbn_test): Add more tests.
2721 (scalbln_test): Likewise.
2722
07e12bb3
JM
2723 * manual/filesys.texi (mode_t): Describe constraints on size and
2724 signedness, not exact equivalence to a particular type.
2725 (ino_t): Likewise.
2726 (ino64_t): Likewise.
2727 (dev_t): Likewise.
2728 (nlink_t): Likewise.
2729 (blkcnt_t): Likewise.
2730 (blkcnt64_t): Likewise.
2731 * manual/llio.texi (off_t): Likewise.
2732
28afd92d
JM
2733 [BZ #3976]
2734 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2735 (__ieee754_exp): Save and restore rounding mode and use
2736 round-to-nearest for all computations.
2737 * math/libm-test.inc (exp_test_tonearest): New function.
2738 (exp_test_towardzero): Likewise.
2739 (exp_test_downward): Likewise.
2740 (exp_test_upward): Likewise.
2741 (main): Call the new functions.
2742 * sysdeps/i386/fpu/libm-test-ulps: Update.
2743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2744
b1eeb65d
CD
27452012-03-01 Chris Demetriou <cgd@google.com>
2746
2747 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2748 have predictable order.
2749
53362a4b
DM
27502012-03-01 David S. Miller <davem@davemloft.net>
2751
3c969083
DM
2752 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2753
759707de
DM
2754 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2755 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2756 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2757 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2758
dfdb8ff2
DM
2759 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2760 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2761 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2763 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2764 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2765 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2766 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2767 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2768
ead89f96
DM
2769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2770
7f66bd07
DM
2771 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2772 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2773 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2774
53362a4b
DM
2775 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2776 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2777 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2778 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2779 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2781 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2782 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2783 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2784 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2785 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2788 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2789 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2791 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2792 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2793 * sysdeps/sparc/elf/configure: Regenerated.
2794
7b1902cb
JM
27952012-03-01 Joseph Myers <joseph@codesourcery.com>
2796
bec039bc
JM
2797 * configure.in (AS, LD): Require binutils 2.20 or later.
2798 * configure: Regenerated.
2799 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2800 as required minimum version.
2801 * INSTALL: Regenerated.
2802
7b1902cb
JM
2803 [BZ #2541]
2804 [BZ #4108]
2805 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2806 before squaring exponent.
2807 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2808 bottom long double and 27 bits of top long double before squaring
2809 exponent.
2810 * math/libm-test.inc (erfc_test): Add more tests.
2811 * sysdeps/i386/fpu/libm-test-ulps: Update.
2812 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2814
f775c276
KT
28152012-03-01 Kai Tietz <ktietz@redhat.com>
2816
2817 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2818 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2819 containing bit-fields.
2820 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2821 * soft-fp/single.h (_FP_UNION_S): Likewise.
2822 * soft-fp/double.h (_FP_UNION_D): Likewise.
2823
5b8a4d4a
JM
28242012-02-29 Joseph Myers <joseph@codesourcery.com>
2825
0bab47b6
JM
2826 [BZ #13786]
2827 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2828 not include ../strcmp.S.
2829 [USE_AS_STRNCASECMP_L]: Likewise.
2830 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2831 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2832 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2833 (__strncasecmp_l_ia32): Define as alias to
2834 __strncasecmp_l_nonascii.
2835
0fcad3e2
JM
2836 [BZ #5794]
2837 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2838 * sysdeps/i386/fpu/libm-test-ulps: Update.
2839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2840
5b8a4d4a
JM
2841 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2843
8fdceb2e
JL
28442012-02-29 Jeff Law <law@redhat.com>
2845
2846 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2847 out of bounds read.
2848
1f393a11
MP
28492012-02-29 Marek Polacek <polacek@redhat.com>
2850
2851 [BZ #13706]
2852 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2853 * elf/Makefile: Add rules to run tst-unused-dep.out.
2854
8847f037
DM
28552012-02-28 David S. Miller <davem@davemloft.net>
2856
2857 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2858 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2860 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2861 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2862 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2863
169d7f11
JM
28642012-02-29 Joseph Myers <joseph@codesourcery.com>
2865
2866 * math/libm-test.inc (llround_test): Move one test from
2867 lround_test. Use TEST_f_L in moved test.
2868 (lround_test): Move misplaced test to llround_test. Add testcase
2869 from bug 2561.
2870
39adf059
UD
28712012-02-28 Ulrich Drepper <drepper@gmail.com>
2872
2873 * sysdeps/x86_64/fpu/e_expf.S: New file.
2874 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2875
71b5d1c5
SB
28762012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2877
2878 [BZ #13637]
2879 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2880 of remain_len that may cause incomplete multi-byte character and
2881 false match.
2882 * posix/bug-regex33.c: New file.
2883 * posix/Makefile (tests): Add bug-regex33.
2884
1f77f049
JM
28852012-02-28 Joseph Myers <joseph@codesourcery.com>
2886
2887 * manual/macros.texi: New file.
2888 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2889 * manual/libc.texinfo: Include macros.texi.
2890 * manual/creatute.texi: Likewise.
2891 * manual/install.texi: Likewise.
2892 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2893 @glibcadj{} in references to the GNU C Library.
2894 * manual/charset.texi: Likewise.
2895 * manual/conf.texi: Likewise.
2896 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2897 when not using those macros.
2898 * manual/creature.texi: Likewise.
2899 * manual/crypt.texi: Likewise.
2900 * manual/errno.texi: Likewise.
2901 * manual/filesys.texi: Likewise.
2902 * manual/header.texi: Likewise.
2903 * manual/install.texi: Likewise.
2904 * manual/intro.texi: Likewise.
2905 * manual/io.texi: Likewise.
2906 * manual/job.texi: Likewise.
2907 * manual/lang.texi: Likewise.
2908 * manual/libc.texiinfo: Likewise.
2909 * manual/llio.texi: Likewise.
2910 * manual/locale.texi: Likewise.
2911 * manual/maint.texi: Likewise.
2912 * manual/math.texi: Likewise.
2913 * manual/memory.texi: Likewise.
2914 * manual/message.texi: Likewise.
2915 * manual/nss.texi: Likewise.
2916 * manual/pattern.texi: Likewise.
2917 * manual/process.texi: Likewise.
2918 * manual/resource.texi: Likewise.
2919 * manual/search.texi: Likewise.
2920 * manual/setjmp.texi: Likewise.
2921 * manual/signal.texi: Likewise.
2922 * manual/socket.texi: Likewise.
2923 * manual/startup.texi: Likewise.
2924 * manual/stdio.texi: Likewise.
2925 * manual/string.texi: Likewise.
2926 * manual/sysinfo.texi: Likewise.
2927 * manual/syslog.texi: Likewise.
2928 * manual/terminal.texi: Likewise.
2929 * manual/time.texi: Likewise.
2930 * manual/users.texi: Likewise.
2931 * INSTALL: Regenerated.
2932 * NOTES: Regenerated.
d40c5d54 2933 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2934
450bf206
AS
29352012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2936
2937 * include/dirent.h: Include <dirstream.h> before
2938 <dirent/dirent.h>.
2939
741a235b
DM
29402012-02-28 David S. Miller <davem@davemloft.net>
2941
2942 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2943 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2944 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2945 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2946
d6b5aa58
DM
29472012-02-27 David S. Miller <davem@davemloft.net>
2948
1aff59a3
DM
2949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2951 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2952 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2953
d6b5aa58
DM
2954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2955 frame pointer instead of stack pointer relative arg slot.
2956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2957 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2958 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2959
433f48bf
CD
29602012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2961
2962 [BZ #3992]
2963 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2964
d674b76d
DM
29652012-02-27 David S. Miller <davem@davemloft.net>
2966
2967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2971 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2972 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2973 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2974 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2975
0e7727f7
JM
29762012-02-27 Joseph Myers <joseph@codesourcery.com>
2977
2978 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2979 later. Allow versions 5-9.
43be4ca2 2980 * configure: Regenerated.
0e7727f7
JM
2981 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2982 required minimum version and 4.6 as recommended version. Do not
2983 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2984 * INSTALL: Regenerated.
0e7727f7 2985
a78bc654
DM
29862012-02-27 David S. Miller <davem@davemloft.net>
2987
428d5830
DM
2988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2992 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2993 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2994 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2995 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2996
a78bc654
DM
2997 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2998 manipulate bits before adding and subtracting TWO112[sx].
2999 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3000
4579f81c
RM
30012012-02-27 Roland McGrath <roland@hack.frob.com>
3002
36c8acb4
RM
3003 [BZ #13775]
3004 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3005 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3006 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3007 being in POSIX, because they are in 1003.1-2008.
3008
84ad622b
RM
3009 * rt/tst-aio.c: Include <fcntl.h>.
3010 * rt/tst-aio7.c: Likewise.
3011 * rt/tst-aio64.c: Likewise.
3012
4579f81c
RM
3013 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3014
abd923db
JM
30152012-02-27 Joseph Myers <joseph@codesourcery.com>
3016
3017 * manual/install.texi (--with-headers): Describe headers as
3018 interface headers, not private headers.
3019 (Specific advice for GNU/Linux systems): Describe use of headers
3020 from "make headers_install", not private headers from older
3021 kernels.
43be4ca2 3022 * INSTALL: Regenerated.
abd923db
JM
3023 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3024 Change to 2.6.19.
3025 * sysdeps/unix/sysv/linux/configure: Regenerated.
3026
6664049b
JM
3027 * manual/llio.texi (fclean): Remove documentation.
3028
bb8b6697
JM
3029 * manual/Makefile (libc-texi-generated): New variable. Include
3030 version.texi.
3031 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3032 $(libc-texi-generated), not duplicated list of files.
3033 (version.texi, stamp-version): New rules.
3034 (realclean): Remove $(libc-texi-generated), not individual files
3035 from that list. Do not remove dir-add.texinfo.
3036 * manual/libc.texinfo: Comment out uses of edition numbers and
3037 references to printed manual. Remove last-updated dates.
3038 (EDITION): Comment out.
3039 (ISBN): Likewise.
3040 (VERSION, UPDATED): Remove.
3041 (version.texi): Include.
3042
12e5c3b9
AS
30432012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3044
3045 * sysdeps/posix/spawni.c: Include <signal.h>.
3046 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3047 * sysdeps/pthread/aio_fsync.c: Likewise.
3048
4efeffc1 30492012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3050
ba63ba08
UD
3051 * conform/Makefile (tests): Run only when not cross-compiling and
3052 when fast-check is not defined.
3053
d94a4670
UD
3054 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3055 * conform/data/limits.h-data: Fixes for POSIX2008.
3056 * conform/run-conformtest.sh: Run all tests.
3057 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3058 headers.
3059 * include/bits/dlfcn.h: Likewise.
3060 * include/langinfo.h: Likewise.
3061 * include/monetary.h: Likewise.
3062 * include/sys/poll.h: Likewise.
3063
3064 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3065 for __USE_GNU.
3066 * posix/spawn.h: Define __need_sigset_t.
3067 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3068 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3069 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3070 to get sigevent_t only.
3071 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3072 only for __USE_GNU.
3073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3074 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3075 process_vm_writev only for __USE_GNU.
3076 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3077
3078 * conform/Makefile: For now ignore errors from run-conformtest.
3079 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3080 POSIX to avoid namespace pollution. Don't prepend headers.
3081 * conform/data/aio.h-data: Fixes for POSIX testing.
3082 * conform/data/fcntl.h-data: Likewise.
3083 * conform/data/glob.h-data: Likewise.
3084 * conform/data/grp.h-data: Likewise.
3085 * conform/data/pthread.h-data: Likewise.
3086 * conform/data/pwd.h-data: Likewise.
3087 * conform/data/signal.h-data: Likewise.
3088 * conform/data/spawn.h-data: Likewise.
3089 * conform/data/stdio.h-data: Likewise.
3090 * conform/data/stdlib.h-data: Likewise.
3091 * conform/data/stropts.h-data: Likewise.
3092 * conform/data/sys/mman.h-data: Likewise.
3093 * conform/data/sys/stat.h-data: Likewise.
3094 * conform/data/sys/types.h-data: Likewise.
3095 * conform/data/sys/wait.h-data: Likewise.
3096 * conform/data/time.h-data: Likewise.
3097 * conform/data/unistd.h-data: Likewise.
3098 * conform/data/utime.h-data: Likewise.
3099
3100 * io/sys/stat.h: fchmod was always in POSIX.
3101 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3102 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3103 * rt/aio.h: Define __need_timespec before including <time.h>.
3104 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3105 struct. Add forward declaration of pthread_attr_t and use it in
3106 sigevent.
3107 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3108 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3109 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3110 always remove CLK_TCK definition.
3111
c20105c3
AS
31122012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3113
3114 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3115
7a270350
UD
31162012-02-25 Ulrich Drepper <drepper@gmail.com>
3117
31341567
UD
3118 * conform/run-conformtest.sh: New file.
3119 * conform/Makefile: Run run-conformtest for tests.
3120 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3121 support.
3122
3123 * conform/data/uchar.h-data: New file.
3124 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3125 * conform/data/arpa/inet.h-data: Likewise.
3126 * conform/data/assert.h-data: Likewise.
3127 * conform/data/complex.h-data: Likewise.
3128 * conform/data/cpio.h-data: Likewise.
3129 * conform/data/ctype.h-data: Likewise.
3130 * conform/data/dirent.h-data: Likewise.
3131 * conform/data/dlfcn.h-data: Likewise.
3132 * conform/data/errno.h-data: Likewise.
3133 * conform/data/fcntl.h-data: Likewise.
3134 * conform/data/float.h-data: Likewise.
3135 * conform/data/fmtmsg.h-data: Likewise.
3136 * conform/data/fnmatch.h-data: Likewise.
3137 * conform/data/ftw.h-data: Likewise.
3138 * conform/data/glob.h-data: Likewise.
3139 * conform/data/grp.h-data: Likewise.
3140 * conform/data/iconv.h-data: Likewise.
3141 * conform/data/inttypes.h-data: Likewise.
3142 * conform/data/langinfo.h-data: Likewise.
3143 * conform/data/libgen.h-data: Likewise.
3144 * conform/data/limits.h-data: Likewise.
3145 * conform/data/locale.h-data: Likewise.
3146 * conform/data/math.h-data: Likewise.
3147 * conform/data/monetary.h-data: Likewise.
3148 * conform/data/mqueue.h-data: Likewise.
3149 * conform/data/ndbm.h-data: Likewise.
3150 * conform/data/net/if.h-data: Likewise.
3151 * conform/data/netdb.h-data: Likewise.
3152 * conform/data/netinet/in.h-data: Likewise.
3153 * conform/data/nl_types.h-data: Likewise.
3154 * conform/data/poll.h-data: Likewise.
3155 * conform/data/pthread.h-data: Likewise.
3156 * conform/data/pwd.h-data: Likewise.
3157 * conform/data/regex.h-data: Likewise.
3158 * conform/data/sched.h-data: Likewise.
3159 * conform/data/search.h-data: Likewise.
3160 * conform/data/semaphore.h-data: Likewise.
3161 * conform/data/setjmp.h-data: Likewise.
3162 * conform/data/signal.h-data: Likewise.
3163 * conform/data/spawn.h-data: Likewise.
3164 * conform/data/stdarg.h-data: Likewise.
3165 * conform/data/stdio.h-data: Likewise.
3166 * conform/data/stdlib.h-data: Likewise.
3167 * conform/data/string.h-data: Likewise.
3168 * conform/data/strings.h-data: Likewise.
3169 * conform/data/stropts.h-data: Likewise.
3170 * conform/data/sys/ipc.h-data: Likewise.
3171 * conform/data/sys/mman.h-data: Likewise.
3172 * conform/data/sys/msg.h-data: Likewise.
3173 * conform/data/sys/resource.h-data: Likewise.
3174 * conform/data/sys/select.h-data: Likewise.
3175 * conform/data/sys/sem.h-data: Likewise.
3176 * conform/data/sys/shm.h-data: Likewise.
3177 * conform/data/sys/socket.h-data: Likewise.
3178 * conform/data/sys/stat.h-data: Likewise.
3179 * conform/data/sys/statvfs.h-data: Likewise.
3180 * conform/data/sys/time.h-data: Likewise.
3181 * conform/data/sys/timeb.h-data: Likewise.
3182 * conform/data/sys/times.h-data: Likewise.
3183 * conform/data/sys/types.h-data: Likewise.
3184 * conform/data/sys/uio.h-data: Likewise.
3185 * conform/data/sys/un.h-data: Likewise.
3186 * conform/data/sys/utsname.h-data: Likewise.
3187 * conform/data/sys/wait.h-data: Likewise.
3188 * conform/data/syslog.h-data: Likewise.
3189 * conform/data/tar.h-data: Likewise.
3190 * conform/data/termios.h-data: Likewise.
3191 * conform/data/utime.h-data: Likewise.
3192 * conform/data/utmpx.h-data: Likewise.
3193 * conform/data/varargs.h-data: Likewise.
3194 * conform/data/wchar.h-data: Likewise.
3195 * conform/data/wctype.h-data: Likewise.
3196 * conform/data/wordexp.h-data: Likewise.
3197
3198 * include/stropts.h: New file.
3199 * include/uchar.h: New file.
3200 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3201 * include/assert.h: Likewise.
3202 * include/ctype.h: Likewise.
3203 * include/dirent.h: Likewise.
3204 * include/dlfcn.h: Likewise.
3205 * include/fcntl.h: Likewise.
3206 * include/fnmatch.h: Likewise.
3207 * include/glob.h: Likewise.
3208 * include/grp.h: Likewise.
3209 * include/libio.h: Likewise.
3210 * include/locale.h: Likewise.
3211 * include/math.h: Likewise.
3212 * include/net/if.h: Likewise.
3213 * include/netdb.h: Likewise.
3214 * include/netinet/in.h: Likewise.
3215 * include/pthread.h: Likewise.
3216 * include/pwd.h: Likewise.
3217 * include/regex.h: Likewise.
3218 * include/sched.h: Likewise.
3219 * include/search.h: Likewise.
3220 * include/setjmp.h: Likewise.
3221 * include/signal.h: Likewise.
3222 * include/stdio.h: Likewise.
3223 * include/stdlib.h: Likewise.
3224 * include/string.h: Likewise.
3225 * include/sys/cdefs.h: Likewise.
3226 * include/sys/mman.h: Likewise.
3227 * include/sys/msg.h: Likewise.
3228 * include/sys/resource.h: Likewise.
3229 * include/sys/select.h: Likewise.
3230 * include/sys/socket.h: Likewise.
3231 * include/sys/stat.h: Likewise.
3232 * include/sys/statvfs.h: Likewise.
3233 * include/sys/time.h: Likewise.
3234 * include/sys/times.h: Likewise.
3235 * include/sys/uio.h: Likewise.
3236 * include/sys/utsname.h: Likewise.
3237 * include/sys/wait.h: Likewise.
3238 * include/termios.h: Likewise.
3239 * include/time.h: Likewise.
3240 * include/ulimit.h: Likewise.
3241 * include/unistd.h: Likewise.
3242 * include/utime.h: Likewise.
3243 * include/wchar.h: Likewise.
3244 * include/wctype.h: Likewise.
3245 * include/wordexp.h: Likewise.
3246
3247 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3248
7a270350
UD
3249 * time/time.h: TIME_UTC must be a macro.
3250 Make timespec_get available for ISO C11 only as well.
3251
7724defc
UD
32522012-02-24 Ulrich Drepper <drepper@gmail.com>
3253
3254 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3255 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3256
6b1d1d46
JM
32572012-02-24 Joseph Myers <joseph@codesourcery.com>
3258
3259 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3260
0f8bbd69
JM
32612012-02-24 Joseph Myers <joseph@codesourcery.com>
3262
3263 * manual/texinfo.tex: Update to version 2012-01-19.16.
3264
66ab80bc
JM
32652012-02-24 Joseph Myers <joseph@codesourcery.com>
3266
3267 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3268
74981cc5
RM
32692012-02-24 Roland McGrath <roland@hack.frob.com>
3270
ee968201
RM
3271 [BZ #13738]
3272 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3273 * manual/fdl-1.3.texi: New file.
3274 * manual/fdl-1.1.texi: File removed.
3275
74981cc5
RM
3276 [BZ #13738]
3277 * manual/libc.texinfo (FDL_VERSION): New @set.
3278 Use it for mention of FDL in cover text.
3279 (Documentation License): Use it in @include file name.
3280
7bb764bc
JM
32812012-02-22 Joseph Myers <joseph@codesourcery.com>
3282 Roland McGrath <roland@hack.frob.com>
3283
3284 [BZ #5461]
3285 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3286 not LONG_LONG_MAX and LONG_LONG_MIN.
3287 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3288 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3289 name.
3290 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3291
6cbeae47
JM
32922012-02-22 Joseph Myers <joseph@codesourcery.com>
3293
3294 [BZ #2547]
3295 [BZ #11365]
3296 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3297 manipulate bits before adding and subtracting TWO23[sx].
3298 * math/libm-test.inc (nearbyint_test): Add more tests.
3299
fe45ce09
JM
33002012-02-22 Joseph Myers <joseph@codesourcery.com>
3301
3302 [BZ #2548]
3303 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3304 bits before adding and subtracting TWO23[sx].
3305 * math/libm-test.inc (rint_test): Add more tests.
3306 (rint_test_tonearest): Likewise.
3307 (rint_test_towardzero): Likewise.
3308 (rint_test_downward): Likewise.
3309 (rint_test_upward: Likewise.
3310
ff3b3d82
JM
33112012-02-22 Joseph Myers <joseph@codesourcery.com>
3312
3313 [BZ #10110]
3314 * include/stdc-predef.h: New file. Extracted from features.h.
3315 * include/features.h: Include stdc-predef.h.
3316 * Makefile (headers): Add stdc-predef.h.
3317 * CONFORMANCE (Compiler limitations): Update.
3318
ef0aab35
JM
33192012-02-22 Joseph Myers <joseph@codesourcery.com>
3320
3321 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3322
58639409
DM
33232012-02-21 David S. Miller <davem@davemloft.net>
3324
3325 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3326 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3327
c0e70b25
DM
33282012-02-20 David S. Miller <davem@davemloft.net>
3329
3330 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3331 using a normal save/restore sequence, rather than allocating a
3332 dummy stack frame just to store a frame pointer and restore.
3333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3334
fb06851d
JM
33352012-02-21 Joseph Myers <joseph@codesourcery.com>
3336
3337 * manual/install.texi: Fix stray word in line-wrapped comment.
3338
7a8b71c3
DM
33392012-02-20 David S. Miller <davem@davemloft.net>
3340
d510c123
DM
3341 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3342 both binutils and gcc support GOTDATA.
3343
0722d7c2
DM
3344 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3345 "rd %pc" in the PIC register setup sequences.
3346
3d2b3019
DM
3347 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3348 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3349 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3350 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3351 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3353 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3356 (SYSCALL_ERROR_HANDLER): Likewise.
3357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3358 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3360 (SYSCALL_ERROR_HANDLER): Likewise.
3361
c80098a9
DM
3362 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3363 (HAVE_GCC_GOTDATA): New.
3364 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3365 relocation support in both binutils and gcc.
3366 * sysdeps/sparc/elf/configure: Regenerate.
3367
3a2545a0
DM
3368 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3369 * sysdeps/sparc/sparc32/elf/configure: Delete.
3370 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3371 * sysdeps/sparc/sparc64/elf/configure: Delete.
3372 * sysdeps/sparc/elf/configure.in: New file.
3373 * sysdeps/sparc/elf/configure: Generate.
3374
7a8b71c3
DM
3375 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3376 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3377 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3378 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3379 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3380
f1e86fca
JM
33812012-02-21 Joseph Myers <joseph@codesourcery.com>
3382
3383 * manual/install.texi: Do not mention specific glibc version
3384 numbers.
3385 * manual/libc.texinfo (VERSION, UPDATED): Update.
3386 (@copying): Use @copyright{} and range of years.
3387
0e7dfaef
JM
33882012-02-21 Joseph Myers <joseph@codesourcery.com>
3389
3390 [BZ #13695]
3391 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3392 [crti.S not in sysdirs] (generated): Do not append.
3393 [crti.S not in sysdirs] (omit-deps): Likewise.
3394 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3395 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3396 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3397 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3398 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3399 Likewise.
3400 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3401 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3402 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3403 * csu/defs.awk: Remove file.
3404 * sysdeps/generic/initfini.c: Likewise.
3405 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3406 variable.
3407 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3408 Likewise.
3409
599af3ca
JM
34102012-02-20 Joseph Myers <joseph@codesourcery.com>
3411
3412 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3413 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3414 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3415 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3416 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3417 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3418 <bits/epoll.h>.
3419 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3420 (__EPOLL_PACKED): Define to empty if not defined by
3421 <bits/epoll.h>.
3422 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3424 bits/epoll.h.
3425
0e499750
JM
34262012-02-20 Joseph Myers <joseph@codesourcery.com>
3427
3428 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3429 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3430 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3431 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3432 <bits/timerfd.h>.
3433 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3435 bits/timerfd.h.
3436
5ad91f6e
JM
34372012-02-20 Joseph Myers <joseph@codesourcery.com>
3438
3439 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3440 in C locale.
3441 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3442 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3443 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3445
06b99b02
AJ
34462012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3447
3448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3449 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3450
7638c0fd
AS
34512012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3452
3453 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3454 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3455 defined.
3456 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3457 Likewise.
3458 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3459 entry for 2.16.
3460
92221550
AJ
34612012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3462
3463 * math/w_acos.c: Use non-signaling floating-point comparisons.
3464 * math/w_acosf.c: Likewise.
3465 * math/w_acosh.c: Likewise.
3466 * math/w_acoshf.c: Likewise.
3467 * math/w_acoshl.c: Likewise.
3468 * math/w_acosl.c: Likewise.
3469 * math/w_asin.c: Likewise.
3470 * math/w_asinf.c: Likewise.
3471 * math/w_asinl.c: Likewise.
3472 * math/w_atanh.c: Likewise.
3473 * math/w_atanhf.c: Likewise.
3474 * math/w_atanhl.c: Likewise.
3475 * math/w_exp2.c: Likewise.
3476 * math/w_exp2f.c: Likewise.
3477 * math/w_exp2l.c: Likewise.
3478 * math/w_j0.c: Likewise.
3479 * math/w_j0f.c: Likewise.
3480 * math/w_j0l.c: Likewise.
3481 * math/w_j1.c: Likewise.
3482 * math/w_j1f.c: Likewise.
3483 * math/w_j1l.c: Likewise.
3484 * math/w_jn.c: Likewise.
3485 * math/w_jnf.c: Likewise.
3486 * math/w_log.c: Likewise.
3487 * math/w_log10.c: Likewise.
3488 * math/w_log10f.c: Likewise.
3489 * math/w_log10l.c: Likewise.
3490 * math/w_log2.c: Likewise.
3491 * math/w_log2f.c: Likewise.
3492 * math/w_log2l.c: Likewise.
3493 * math/w_logf.c: Likewise.
3494 * math/w_logl.c: Likewise.
3495 * math/w_sqrt.c: Likewise.
3496 * math/w_sqrtf.c: Likewise.
3497 * math/w_sqrtl.c: Likewise.
3498 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3499 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3501 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3502 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3503
ebaf36eb
JM
35042012-02-19 Joseph Myers <joseph@codesourcery.com>
3505
3506 [BZ #9739]
3507 * manual/string.texi (strnlen): Use correct parameter name in
3508 equivalent expression.
3509
71c254a6
JM
35102012-02-19 Joseph Myers <joseph@codesourcery.com>
3511
3512 [BZ #11174]
3513 * manual/users.texi (seteuid): Consistently use neweuid for
3514 argument name.
3515
16d2c631
JM
35162012-02-19 Joseph Myers <joseph@codesourcery.com>
3517
3518 [BZ #13704]
3519 * manual/nss.texi (Services in the NSS configuration): Correct
3520 list of services in example configuration file.
3521
cd837b09
NB
35222012-02-19 Nick Bowler <nbowler@draconx.ca>
3523
3524 [BZ #11322]
3525 * manual/arith.texi: Remove statements about negative zero
3526 behaving identically to zero.
3527
02c4bbad
JM
35282012-02-18 Joseph Myers <joseph@codesourcery.com>
3529
3530 [BZ #5993]
3531 * manual/install.texi: Do not document upgrading from libc5.
3532
366842e7
JM
35332012-02-18 Joseph Myers <joseph@codesourcery.com>
3534
3535 [BZ #4596]
3536 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3537
dd54084d
DM
35382012-02-18 David S. Miller <davem@davemloft.net>
3539
3540 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3541 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3542 %o7 across the call.
3543 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3544 instead.
3545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3546 SETUP_PIC_REG_LEAF.
3547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3548 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3549 * sysdeps/sparc/crtn.S: Likewise.
3550
2bcc53a3
UD
35512012-02-17 Ulrich Drepper <drepper@gmail.com>
3552
3553 * aout/Makefile: Remove.
3554
09c093b5
RK
35552012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3556
3557 [BZ #13058]
3558 * manual/examples/argp-ex1.c (main): Format definition in GNU
3559 style.
3560 * manual/examples/argp-ex2.c (main): Likewise.
3561 * manual/examples/argp-ex3.c (main): Likewise.
3562 * manual/examples/argp-ex4.c (main): Likewise.
3563 * manual/examples/longopt.c (main): Use new-style prototype
3564 definition.
3565 * manual/examples/strncat.c (main): Specify return type and use
3566 (void) for arguments.
3567 * manual/examples/subopt.c (main): Use char **argv argument.
3568
2ee633a2
JM
35692012-02-17 Joseph Myers <joseph@codesourcery.com>
3570
3571 [BZ #5077]
3572 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3573 rounding modes.
3574
0520adde
FB
35752012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3576
3577 [BZ #6907]
3578 * manual/string.texi (strchr): Change when strchrnul is
3579 recommended.
3580
3f4081cd
DGM
35812012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3582
3583 [BZ #174]
3584 * manual/locale.texi (setlocale): Document LOCPATH.
3585
d1b10e78
JM
35862012-02-17 Joseph Myers <joseph@codesourcery.com>
3587
3588 [BZ #10210]
3589 * manual/process.texi (execle): Move @dots{} before last argument.
3590
79c6869c
PB
35912012-02-17 Paul Bolle <pebolle@tiscali.nl>
3592
3593 [BZ #12047]
3594 * manual/charset.texi (Generic Charset Conversion): Fix typo
3595 (LC_TYPE -> LC_CTYPE).
3596
cc6e48bc
NB
35972012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3598
3599 [BZ #5805]
3600 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3601 (scalbnf): Likewise.
3602 (scalbnl): Likewise.
3603 (scalbln): Likewise.
3604 (scalblnf): Likewise.
3605 (scalblnl): Likewise.
3606 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3607 (vwarnx): Likewise.
3608 (verr): Likewise.
3609 (verrx): Likewise.
3610 * manual/filesys.texi (telldir): Use braces around return type.
3611 * manual/llio.texi (mmap): Add space after comma.
3612 (mmap64): Likewise.
3613 * manual/math.texi (jn): Use @var{} on parameter names.
3614 (jnf): Likewise.
3615 (jnl): Likewise.
3616 (yn): Likewise.
3617 (ynf): Likewise.
3618 (ynl): Likewise.
3619 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3620 line.
3621 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3622 "...".
3623 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3624 (sched_get_priority_max): Likewise.
3625 * manual/signal.texi (sigvec): Add space after comma.
3626 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3627 names.
3628 (if_indextoname): Likewise.
3629 (if_freenameindex): Likewise.
3630 (sendto): Use ',' instead of '.' in prototype.
3631 * manual/startup.texi (syscall): Use @dots{} instead of literal
3632 "...".
3633 * manual/stdio.texi (__fpending): Separate initial words of
3634 paragraph from @deftypefun line.
3635 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3636 "...".
3637 (vsyslog): Use @var{} on parameter names.
3638 * manual/terminal.texi (stty): Use @var{} on parameter names.
3639 * manual/users.texi (getutmp): Use @var{} on parameter names.
3640 (getutmpx): Likewise.
3641
5b23062f
JM
36422012-02-17 Joseph Myers <joseph@codesourcery.com>
3643
3644 [BZ #6884]
3645 * manual/stdio.texi (fopen): Fix typos in description of
3646 ",ccs=STRING".
3647
8dee4833
AJ
36482012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3649
3650 [BZ #4026]
3651 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3652 get clock_id definition.
3653
9078ce93
TS
36542012-02-17 Thomas Schwinge <thomas@schwinge.name>
3655
3656 [BZ #4822]
3657 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3658 (madvise): Cast every argument to void on its own.
3659
3835c55f
JM
36602012-02-17 Joseph Myers <joseph@codesourcery.com>
3661
3662 [BZ #9902]
3663 * manual/startup.texi (Exit Status): Fix typo.
3664
35c47e37
JM
36652012-02-17 Joseph Myers <joseph@codesourcery.com>
3666
3667 [BZ #10140]
3668 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3669 * manual/examples/argp-ex2.c: Likewise.
3670 * manual/examples/argp-ex3.c: Likewise.
3671
e3b69ca7
RH
36722012-02-16 Richard Henderson <rth@redhat.com>
3673
3674 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3675 * sysdeps/s390/s390-32/initfini.c: Remove.
3676 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3677 * sysdeps/s390/s390-64/initfini.c: Remove.
3678
df83af67
KK
36792012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3680
3681 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3682 compiler output for sysdeps/generic/initfini.c.
3683 * sysdeps/sh/elf/initfini.c: Remove file.
3684
f63f3380
DM
36852012-02-16 David S. Miller <davem@davemloft.net>
3686
fb59b3a4
DM
3687 [BZ #11494]
3688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3689
f63f3380
DM
3690 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3691 * sysdeps/sparc/crti.S: New file.
3692 * sysdeps/sparc/crtn.S: New file.
3693 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3694 * sysdeps/sparc/sparc64/Makefile: Likewise.
3695
df6a4a4a
MF
36962012-02-15 Mike Frysinger <vapier@gentoo.org>
3697
6dd8f3dc 3698 [BZ #3335]
df6a4a4a
MF
3699 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3700
1cac7236
RM
37012012-02-15 Roland McGrath <roland@hack.frob.com>
3702
d2c736f8
RM
3703 [BZ #4822]
3704 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3705
1cac7236
RM
3706 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3707 (write, read, close): Likewise.
3708 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3709
8e475601
JM
37102012-02-15 Joseph Myers <joseph@codesourcery.com>
3711
3712 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3713 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3714 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3715 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3716 <bits/signalfd.h>.
3717 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3719 bits/signalfd.h.
3720
ed656b40
MP
37212012-02-14 Marek Polacek <polacek@redhat.com>
3722
3723 * sysdeps/x86_64/crti.S: New file.
3724 * sysdeps/x86_64/crtn.S: New file.
3725 * sysdeps/x86_64/elf/initfini.c: Remove file.
3726
2a979d3a
JM
37272012-02-13 Joseph Myers <joseph@codesourcery.com>
3728
3729 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3730 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3731 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3732 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3733 <bits/inotify.h>.
3734 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3736 bits/inotify.h.
3737
2a418ac3
JM
37382012-02-13 Joseph Myers <joseph@codesourcery.com>
3739
3740 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3741 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3742 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3743 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3744 <bits/eventfd.h>.
3745 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3747 bits/eventfd.h.
3748
fb779be7
TS
37492012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3750
e19e83c5
RM
3751 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3752 __feraiseexcept instead of feraiseexcept.
7c35ffed 3753
fb779be7
TS
3754 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3755 nanosleep invocations.
3756 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3757 strings, and add error checking for a nanosleep invocations.
3758
59ba27a6
PE
37592012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3760
3761 Replace FSF snail mail address with URLs, as per GNU coding standards.
3762 Most of the snail mail addresses were wrong anyway, and omitting
3763 them makes the source code easier to maintain. Almost all of the
3764 changes are to license notices and to locale LC_IDENTIFICATION
3765 addresses, except for this one:
3766 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3767 not its snail mail address.
3768
57b957eb
RH
37692012-02-09 Richard Henderson <rth@twiddle.net>
3770
af850b1c
RH
3771 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3772 of kernel-features.h.
3773
57b957eb
RH
3774 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3775
6b73181a
MP
37762012-02-08 Marek Polacek <polacek@redhat.com>
3777
3778 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3779 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3780 * sysdeps/gnu/_G_config.h: Likewise.
3781 * sysdeps/generic/_G_config.h: Likewise.
3782
26ecc33a
AS
37832012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3784
6c6dbc63
AS
3785 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3786 tests.
3787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3788
e216c012
AS
3789 * sysdeps/powerpc/powerpc32/crti.S: New file.
3790 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3791 * sysdeps/powerpc/powerpc64/crti.S: New file.
3792 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3793
26ecc33a
AS
3794 * Makeconfig (have-initfini): Don't set.
3795 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3796 * configure.in (nopic_initfini): Don't substitute.
3797 * config.h.in (HAVE_INITFINI): Don't #undef.
3798 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3799 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3800
3add8e13
JM
38012012-02-08 Joseph Myers <joseph@codesourcery.com>
3802
3803 Support crti.S and crtn.S provided directly by architectures.
3804 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3805 [crti.S in sysdirs] (omit-deps): Likewise.
3806 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3807 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3808 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3809 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3810 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3811 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3812 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3813 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3814 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3815 compiler output for sysdeps/generic/initfini.c.
3816 * sysdeps/i386/elf/Makefile: Remove file.
3817 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3818
a22f12b4
MP
38192012-02-07 Marek Polacek <polacek@redhat.com>
3820
3821 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3822 * sysdeps/gnu/_G_config.h: Likewise.
3823 * sysdeps/mach/hurd/_G_config.h: Likewise.
3824
148cf100
MP
38252012-02-07 Marek Polacek <polacek@redhat.com>
3826
3827 * math/Makefile (tests): Add tst-CMPLX2.
3828 * math/tst-CMPLX2.c: New file.
3829
cfdc0dd7
AS
38302012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3831
84ba42c4
AS
3832 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3833
cfdc0dd7
AS
3834 * math/libm-test.inc (jn_test): Add missing L suffix.
3835
622c86f4
MP
38362012-02-06 Marek Polacek <polacek@redhat.com>
3837
3838 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3839 * sysdeps/i386/fpu/e_powf.S: Likewise.
3840 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3841 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3842 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3843 * sysdeps/i386/fpu/e_pow.S: Likewise.
3844 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3845 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3846 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3847 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3848 * sysdeps/i386/fpu/e_log2.S: Likewise.
3849 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3850 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3851 * sysdeps/i386/fpu/e_powl.S: Likewise.
3852 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3853 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3854 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3855 * sysdeps/i386/fpu/e_logl.S: Likewise.
3856 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3857 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3858 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3859 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3860 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3861 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3862 * sysdeps/i386/fpu/e_log.S: Likewise.
3863 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3864 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3865 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3866 * sysdeps/i386/fpu/e_logf.S: Likewise.
3867 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3868 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3869 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3870 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3871 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3872 * sysdeps/i386/fpu/e_log10.S: Likewise.
3873 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3874 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3875 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3876 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3877 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3878 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3879 * sysdeps/i386/asm-syntax.h: Likewise.
3880 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3881 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3882 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3883 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3884 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3885 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3886 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3887 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3888 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3889 * sysdeps/powerpc/sysdep.h: Likewise.
3890 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3892
d4a54ac6
JM
38932012-02-06 Joseph Myers <joseph@codesourcery.com>
3894
3895 [BZ #411]
3896 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3897
314054ea
JM
38982012-02-06 Joseph Myers <joseph@codesourcery.com>
3899
3900 * sysdeps/i386/sysdep.h: Include <features.h>.
3901 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3902 version.
3903
d8e0ca50
JM
39042012-02-05 Joseph Myers <joseph@codesourcery.com>
3905
3906 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3907 Define.
3908 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3909 LOAD_PIC_REG_STR.
3910
b1da7dd9
JM
39112012-02-03 Joseph Myers <joseph@codesourcery.com>
3912
3913 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3914 (SETUP_PIC_REG): Use GET_PC_THUNK.
3915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3916 macro.
3917
9a1d9254
JM
39182012-02-03 Joseph Myers <joseph@codesourcery.com>
3919
3920 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3921 for non-PIC compilation.
3922 (SETUP_PIC_REG): Add .p2align directive.
3923 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3924 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3925 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3926 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3927 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3928 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3929 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3931 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3932 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3933 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3934 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3935 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3936 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3937 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3938 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3939 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3940 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3941 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3942 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3943 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3945 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3946 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3949 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3950 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3951 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3952 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3953 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3954 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3955 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3956 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3957 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3958 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3959 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3960 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3961 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3962 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3963 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3964
65dc3b75
JM
39652012-02-03 Joseph Myers <joseph@codesourcery.com>
3966
3967 * math/tst-CMPLX.c: Include <stdio.h>.
3968
d55bf177
JM
39692012-01-31 Joseph Myers <joseph@codesourcery.com>
3970
3971 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3972 float.
3973 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3974 * sysdeps/sparc/bits/mathdef.h: Likewise.
3975
69db4f8f
MP
39762012-01-31 Marek Polacek <polacek@redhat.com>
3977
3978 * libio/libio.h: Don't define _PARAMS.
3979 * locale/programs/config.h: Don't define PARAMS.
3980 * stdlib/strtol_l.c: Likewise.
3981 (__strtol_l): Remove PARAMS from the prototype.
3982
41b81892
UD
39832012-01-31 Ulrich Drepper <drepper@gmail.com>
3984
3b49edc0
UD
3985 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3986 names. Just use the correct names. Remove unnecessary wrapper
3987 functions.
3988 * malloc/arena.c: Likewise.
3989 * malloc/hooks.c: Likewise.
3990
41b81892
UD
3991 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3992 ARENA_TEST says not to. Simplify test for creation of a new arena.
3993 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3994
27a25b6e
UD
39952012-01-30 Ulrich Drepper <drepper@gmail.com>
3996
3997 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3998 into tail calls.
3999 (update_get_addr): New function.
4000 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4001 GET_ADDR_MODULE parameter.
4002
c8a89e7d
JM
40032012-01-30 Joseph Myers <joseph@codesourcery.com>
4004
4005 * crypt/cert.c: Remove __STDC__ conditionals.
4006 * crypt/crypt-entry.c: Likewise.
4007 * crypt/crypt_util.c: Likewise.
4008 * libio/filedoalloc.c: Likewise.
4009 * libio/fileops.c: Likewise.
4010 * libio/genops.c: Likewise.
4011 * libio/iofclose.c: Likewise.
4012 * libio/iofdopen.c: Likewise.
4013 * libio/iofopen.c: Likewise.
4014 * libio/iofopen64.c: Likewise.
4015 * libio/iogetdelim.c: Likewise.
4016 * libio/iopopen.c: Likewise.
4017 * libio/obprintf.c: Likewise.
4018 * libio/oldfileops.c: Likewise.
4019 * libio/oldiofclose.c: Likewise.
4020 * libio/oldiofdopen.c: Likewise.
4021 * libio/oldiofopen.c: Likewise.
4022 * libio/oldiopopen.c: Likewise.
4023 * libio/wfiledoalloc.c: Likewise.
4024 * libio/wgenops.c: Likewise.
4025 * locale/programs/xmalloc.c: Likewise.
4026 * misc/syslog.c: Likewise.
4027 * stdio-common/xbug.c: Likewise.
4028 * string/memchr.c: Likewise.
4029 * string/memcmp.c: Likewise.
4030 * string/memrchr.c: Likewise.
4031 * string/rawmemchr.c: Likewise.
4032 * sysdeps/posix/getcwd.c: Likewise.
4033 * time/strftime_l.c: Likewise.
4034
3b100462
JM
40352012-01-30 Joseph Myers <joseph@codesourcery.com>
4036
4037 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4038 * config.make.in (config-cflags-sse2avx): Define.
4039 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4040 Fix typo.
4041
607998af
CM
40422012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4043
4044 * scripts/config.guess: Update from upstream config git repository.
4045 * scripts/config.sub: Likewise.
4046
3601428f
CM
40472012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4048
3ac8b282
CM
4049 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4050 (EM_NUM): Update.
4051 (R_TILEPRO_*, R_TILEGX_*): New macros.
4052
e034841e
CM
4053 * scripts/firstversions.awk: Fix bug in version range handling.
4054
540d7568
CM
4055 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4056
3601428f
CM
4057 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4058
463de862
CM
4059 * include/sys/epoll.h: New file.
4060 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4061 libc_hidden_def.
4062
73139a76
UD
40632012-01-28 Ulrich Drepper <drepper@gmail.com>
4064
96bc5b45
UD
4065 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4066 Avoid unnecessary __WORDSIZE == 64 test.
4067 (fmaxf): Use VEX format if possible.
4068 (fmax): Likewise.
4069 (fminf): Likewise.
4070 (fmin): Likewise.
4071
56f6f6a2
UD
4072 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4073 * math/math_private.h: Remove libc_fegetround* and
4074 libc_fesetround*.
4075 * sysdeps/i386/configure.in: Check for -msse2avx.
4076 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4077 also if SSE2AVX is defined.
4078 Remove libc_fegetround* and libc_fesetround*.
4079 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4080 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4081 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4082 of HAS_YMM_USABLE.
4083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4084 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4086 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4087 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4088
73139a76
UD
4089 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4090
d73f93a4
AZ
40912012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4092
4093 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4094 size is not set.
4095 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4096
6ee65ed6
UD
40972012-01-27 Ulrich Drepper <drepper@gmail.com>
4098
4099 [BZ #13618]
4100 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4101 relocation.
4102 * Makeconfig (libm): Define.
4103 * elf/Makefile: Add rules to build and run tst-relsort1.
4104 * elf/tst-relsort1.c: New file.
4105 * elf/tst-relsort1mod1.c: New file.
4106 * elf/tst-relsort1mod2.c: New file.
4107
8db21882
JM
41082012-01-27 Joseph Myers <joseph@codesourcery.com>
4109
4110 * math/s_ldexp.c: Remove __STDC__ conditionals.
4111 * math/s_ldexpf.c: Likewise.
4112 * math/s_ldexpl.c: Likewise.
4113 * math/s_nextafter.c: Likewise.
4114 * math/s_nexttowardf.c: Likewise.
4115 * math/s_significand.c: Likewise.
4116 * math/s_significandf.c: Likewise.
4117 * math/s_significandl.c: Likewise.
4118 * math/w_jnl.c: Likewise.
4119 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4120 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4121 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4122 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4123 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4125 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4128 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4129 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4130 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4131 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4132 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4133 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4134 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4135 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4136 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4138 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4139 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4140 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4141 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4142 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4143 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4144 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4145 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4146 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4147 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4148 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4149 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4150 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4151 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4152 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4153 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4154 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4155 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4156 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4157 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4158 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4159 * sysdeps/ieee754/k_standard.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4226 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4234 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4235 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4239 * sysdeps/ieee754/s_matherr.c: Likewise.
4240 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4241 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4244
965a54a4
JM
42452012-01-26 Joseph Myers <joseph@codesourcery.com>
4246
4247 * crypt/md5.h: Remove __STDC__ conditionals.
4248 * libio/libioP.h: Likewise.
4249 * locale/programs/config.h: Likewise.
4250 * sysdeps/generic/sysdep.h: Likewise.
4251 * sysdeps/i386/asm-syntax.h: Likewise.
4252 * sysdeps/s390/asm-syntax.h: Likewise.
4253 * sysdeps/unix/sysdep.h: Likewise.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4256
7071ad79
JM
42572012-01-26 Joseph Myers <joseph@codesourcery.com>
4258
4259 * libio/libio.h: Remove __STDC__ conditionals.
4260 * malloc/obstack.h: Likewise.
4261 * math/complex.h: Likewise.
4262 * math/math.h: Likewise.
4263 * sysdeps/generic/_G_config.h: Likewise.
4264 * sysdeps/gnu/_G_config.h: Likewise.
4265 * sysdeps/mach/hurd/_G_config.h: Likewise.
4266 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4267 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4268 * sysdeps/sparc/bits/mathdef.h: Likewise.
4269
afc5ed09
UD
42702012-01-26 Ulrich Drepper <drepper@gmail.com>
4271
4272 [BZ #13583]
4273 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4274 Clean up HAS_* macros.
afc5ed09 4275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4276 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4277 possible.
4278 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4279 HAS_AVX.
4280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4285
bdb6de1d
JM
42862012-01-25 Joseph Myers <joseph@codesourcery.com>
4287
4288 * elf/tst-unique3.cc (gets): Remove declaration.
4289 * elf/tst-unique3lib.cc (gets): Likewise.
4290 * elf/tst-unique3lib2.cc (gets): Likewise.
4291 * elf/tst-unique4.cc (gets): Likewise.
4292
b15549e6
UD
42932012-01-24 Ulrich Drepper <drepper@gmail.com>
4294
4295 * include/stdio.h: Add C++ protection. Add gets declarations and
4296 definitions.
4297 * debug/tst-chk1.c: Don't declare gets here.
4298 * stdio-common/tst-gets.c: Likewise.
4299
a037381f
JM
43002012-01-24 Joseph Myers <joseph@codesourcery.com>
4301
4302 * posix/glob: Remove directory.
4303
f1d4aa75
JM
43042012-01-24 Joseph Myers <joseph@codesourcery.com>
4305
4306 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4307
81c0c964
PT
43082012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4309
4310 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4311 of the non-standard EPFNOSUPPORT.
4312
0ea698ae
ST
43132011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4314
4315 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4316 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4317 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4318
d220b117
UD
43192012-01-21 Ulrich Drepper <drepper@gmail.com>
4320
4321 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4322
3e1aa84e
UD
43232012-01-20 Ulrich Drepper <drepper@gmail.com>
4324
4325 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4326 transient errors.
4327 * nscd/grpcache.c (cache_addgr): Likewise.
4328 * nscd/hstcache.c (cache_addhst): Likewise.
4329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4330 * nscd/pwdcache.c (cache_addpw): Likewise.
4331 * nscd/servicescache.c (cache_addserv): Likewise.
4332
400aa020
UD
43332012-01-16 Ulrich Drepper <drepper@gmail.com>
4334
d77e7869
UD
4335 * malloc/malloc.c: Various cleanups.
4336 * malloc/hooks.c: Likewise.
4337
400aa020
UD
4338 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4339 * stdlib/bug-fmtmsg1.c: New file.
4340
4341 * stdlib/fmtmsg.c (init): Add missing unlock.
4342 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4343
e0a309cf
MP
43442012-01-12 Marek Polacek <polacek@redhat.com>
4345
4346 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4347 and _GNU_SOURCE.
4348
929d11c7
WS
43492012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4350
4351 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4352 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4353 macro to ensure uniqueness of label name.
4354 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4355 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4356
41d0e869
UD
43572012-01-11 Ulrich Drepper <drepper@gmail.com>
4358
0cc5ed3b
UD
4359 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4360
41d0e869
UD
4361 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4362 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4363 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4365
a47a831a
UD
43662012-01-10 Ulrich Drepper <drepper@gmail.com>
4367
daa891c0
UD
4368 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4369
4370 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4371 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4372 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4373
e58ef0f2
UD
4374 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4375
a47a831a 4376 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4377 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4378 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4379 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4380
4381 * math/bits/math-finite.h: Add ldexp support.
4382
a0bfc9c7
MP
43832012-01-10 Marek Polacek <polacek@redhat.com>
4384
4385 * locale/programs/localedef.h (show_archive_content): Add noreturn
4386 attribute.
4387
d6e97a1d
UD
43882012-01-09 Ulrich Drepper <drepper@gmail.com>
4389
4390 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4391
d5835c26
UD
43922012-01-08 Ulrich Drepper <drepper@gmail.com>
4393
e5f484c6
UD
4394 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4395
d5835c26
UD
4396 * io/Makefile (headers): Add bits/poll2.h.
4397
d1f741e9
WS
43982011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4399
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4401 typo #include statement.
4402
ec09c1c4
UD
44032012-01-08 Ulrich Drepper <drepper@gmail.com>
4404
4405 * include/sys/cdefs.h: Define __attribute_alloc_size.
4406 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4407 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4408 * elf/pldd.c: Likewise.
4409 * iconv/iconv_charmap.c: Likewise.
4410 * iconv/iconvconfig.c: Likewise.
4411 * iconv/strtab.c: Likewise.
4412 * locale/programs/locale.c: Likewise.
4413 * locale/programs/localedef.h: Likewise.
4414 * locale/programs/simple-hash.c: Likewise.
4415 * nscd/nscd.h: Likewise.
4416 * nss/makedb.c: Likewise.
4417 * sysdeps/generic/ldconfig.h: Likewise.
4418 * locale/programs/localedef.c: Remove xmalloc prototype.
4419 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4420
20b38e03
PP
44212012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4422
4423 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4424 appropriate.
4425
a0da5fe1
UD
44262012-01-08 Ulrich Drepper <drepper@gmail.com>
4427
1d5a644a 4428 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4429 * math/tst-CMPLX.c: New file.
1d5a644a 4430
8784a6db
UD
4431 * math/complex.h (CMPLXL): Fix typo.
4432
d9a216c0
UD
4433 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4434 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4435 GLIBC_2.16.
4436 * debug/tst-chk1.c: Add poll and ppoll tests.
4437 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4438 * include/sys/poll.h: Add hidden proto for ppoll.
4439 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4440 * sysdeps/mach/hurd/ppoll.c: Likewise.
4441 * io/ppoll.c: Likewise.
4442 * debug/poll_chk.c: New file.
4443 * debug/ppoll_chk.c: New file.
4444 * include/bits/poll2.h: New file.
4445 * io/bits/poll2.h: New file.
4446
ac097f5c
UD
4447 [BZ #1350]
4448 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4449
2119dcfa
UD
4450 * configure.in: static is always set to yes. Remove.
4451 * config.make.in: Don't set build-static.
4452 * Makeconfig: Remove use of build-static.
4453 * dlfcn/Makefile: Likewise.
4454 * elf/Makefile: Likewise.
4455 * math/Makefile: Likewise.
4456 * misc/Makefile: Likewise.
4457 * nptl/Makefile: Likewise.
4458 * sysdeps/mach/hurd/Makefile: Likewise.
4459
121766a9
UD
4460 * configure.in: PWD_P is not used anymore.
4461 * config.make.in: Remove PWD_P entry.
4462
51a1d39c 4463 * configure.in: Remove last remnants of RANLIB.
8720d066 4464 No need to check for signed size_t anymore.
215f4bdc
UD
4465 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4466 and IA-64.
3857022a 4467 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4468 * aclocal.m4: Likewise.
4469
d3ed7225
UD
4470 * wcsmbs/mbrtoc16.c: Implement using towc function.
4471 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4472 * wcsmbs/wcsmbsload.c: Likewise.
4473 * iconv/gconv_simple.c: Likewise.
4474 * iconv/gconv_int.h: Likewise.
4475 * iconv/gconv_builtin.h: Likewise.
4476 * iconv/iconv_prog.c: Remove CHAR16 handling.
4477
4478 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4479
4480 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4481
a0da5fe1
UD
4482 * configure.in: Remove --with-elf and --enable-bounded options.
4483 Dont set base_machine for ia64. More non-ELF conditions removed.
4484 Remove testing and setting of leading underscore information.
4485 * config.make.in (build-bounded): Set to no.
4486 * config.h.in: Remove NO_UNDERSCORES entry.
4487 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4488 them.
4489 * csu/start.c: Remove !NO_UNDERSCORE code.
4490 * locale/localeinfo.h: Likewise.
4491 * sysdeps/generic/machine-gmon.h: Likewise.
4492 * sysdeps/generic/sysdep.h: Likewise.
4493 * sysdeps/i386/sysdep.h: Likewise.
4494 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4495 * sysdeps/mach/sysdep.h: Likewise.
4496 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4497 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4498 * sysdeps/sh/sysdep.h: Likewise.
4499 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4500 * sysdeps/unix/i386/sysdep.S: Likewise.
4501 * sysdeps/unix/sparc/start.c: Likewise.
4502 * sysdeps/unix/sparc/sysdep.S: Likewise.
4503 * sysdeps/unix/sparc/sysdep.h: Likewise.
4504 * sysdeps/unix/start.c: Likewise.
4505 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4506 * sysdeps/x86_64/sysdep.h: Likewise.
4507
df78418a
UD
45082012-01-07 Ulrich Drepper <drepper@gmail.com>
4509
a784e502
UD
4510 [BZ #13553]
4511 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4512 for non-gcc.
4513 * argp/argp-fmtstream.h: Use const instead __const.
4514 * argp/argp.h: Likewise.
4515 * assert/assert.h: Likewise.
4516 * bits/fenv.h: Likewise.
4517 * bits/sched.h: Likewise.
4518 * bits/sigset.h: Likewise.
4519 * bits/sigthread.h: Likewise.
4520 * catgets/nl_types.h: Likewise.
4521 * conform/data/pthread.h-data: Likewise.
4522 * crypt/crypt-private.h: Likewise.
4523 * crypt/crypt.h: Likewise.
4524 * crypt/crypt_util.c: Likewise.
4525 * ctype/ctype.h: Likewise.
4526 * debug/execinfo.h: Likewise.
4527 * debug/mbsnrtowcs_chk.c: Likewise.
4528 * debug/mbsrtowcs_chk.c: Likewise.
4529 * debug/wcsnrtombs_chk.c: Likewise.
4530 * debug/wcsrtombs_chk.c: Likewise.
4531 * debug/wcstombs_chk.c: Likewise.
4532 * dirent/dirent.h: Likewise.
4533 * dlfcn/dlfcn.h: Likewise.
4534 * elf/neededtest4.c: Likewise.
4535 * grp/grp.h: Likewise.
4536 * gshadow/gshadow.h: Likewise.
4537 * iconv/gconv.h: Likewise.
4538 * iconv/gconv_int.h: Likewise.
4539 * iconv/gconv_simple.c: Likewise.
4540 * iconv/iconv.h: Likewise.
4541 * iconv/loop.c: Likewise.
4542 * iconv/skeleton.c: Likewise.
4543 * include/aio.h: Likewise.
4544 * include/aliases.h: Likewise.
4545 * include/argz.h: Likewise.
4546 * include/arpa/inet.h: Likewise.
4547 * include/assert.h: Likewise.
4548 * include/dirent.h: Likewise.
4549 * include/dlfcn.h: Likewise.
4550 * include/execinfo.h: Likewise.
4551 * include/fcntl.h: Likewise.
4552 * include/fenv.h: Likewise.
4553 * include/glob.h: Likewise.
4554 * include/grp.h: Likewise.
4555 * include/libintl.h: Likewise.
4556 * include/mntent.h: Likewise.
4557 * include/netdb.h: Likewise.
4558 * include/pwd.h: Likewise.
4559 * include/rpc/netdb.h: Likewise.
4560 * include/sched.h: Likewise.
4561 * include/search.h: Likewise.
4562 * include/shadow.h: Likewise.
4563 * include/signal.h: Likewise.
4564 * include/stdio.h: Likewise.
4565 * include/stdlib.h: Likewise.
4566 * include/string.h: Likewise.
4567 * include/sys/socket.h: Likewise.
4568 * include/sys/stat.h: Likewise.
4569 * include/sys/statfs.h: Likewise.
4570 * include/sys/statvfs.h: Likewise.
4571 * include/sys/syslog.h: Likewise.
4572 * include/sys/time.h: Likewise.
4573 * include/sys/uio.h: Likewise.
4574 * include/time.h: Likewise.
4575 * include/unistd.h: Likewise.
4576 * include/utmp.h: Likewise.
4577 * include/wchar.h: Likewise.
4578 * include/wctype.h: Likewise.
4579 * inet/aliases.h: Likewise.
4580 * inet/arpa/inet.h: Likewise.
4581 * inet/netinet/ether.h: Likewise.
4582 * inet/netinet/in.h: Likewise.
4583 * intl/libintl.h: Likewise.
4584 * io/bits/fcntl2.h: Likewise.
4585 * io/fcntl.h: Likewise.
4586 * io/ftw.h: Likewise.
4587 * io/sys/poll.h: Likewise.
4588 * io/sys/stat.h: Likewise.
4589 * io/sys/statfs.h: Likewise.
4590 * io/sys/statvfs.h: Likewise.
4591 * io/utime.h: Likewise.
4592 * libio/bits/stdio.h: Likewise.
4593 * libio/bits/stdio2.h: Likewise.
4594 * libio/libio.h: Likewise.
4595 * libio/libioP.h: Likewise.
4596 * libio/stdio.h: Likewise.
4597 * locale/lc-ctype.c: Likewise.
4598 * locale/locale.h: Likewise.
4599 * login/utmp.h: Likewise.
4600 * malloc/arena.c: Likewise.
4601 * malloc/malloc.c: Likewise.
4602 * malloc/malloc.h: Likewise.
4603 * malloc/mcheck.c: Likewise.
4604 * malloc/mtrace.c: Likewise.
4605 * math/bits/mathcalls.h: Likewise.
4606 * math/fenv.h: Likewise.
4607 * math/math_private.h: Likewise.
4608 * misc/bits/error.h: Likewise.
4609 * misc/bits/syslog.h: Likewise.
4610 * misc/err.h: Likewise.
4611 * misc/error.h: Likewise.
4612 * misc/fstab.h: Likewise.
4613 * misc/mntent.h: Likewise.
4614 * misc/regexp.h: Likewise.
4615 * misc/search.h: Likewise.
4616 * misc/sgtty.h: Likewise.
4617 * misc/sys/mman.h: Likewise.
4618 * misc/sys/syslog.h: Likewise.
4619 * misc/sys/uio.h: Likewise.
4620 * misc/sys/xattr.h: Likewise.
4621 * misc/ttyent.h: Likewise.
4622 * nis/rpcsvc/ypclnt.h: Likewise.
4623 * nss/nss.h: Likewise.
4624 * posix/bits/unistd.h: Likewise.
4625 * posix/fnmatch.h: Likewise.
4626 * posix/glob.h: Likewise.
4627 * posix/sched.h: Likewise.
4628 * posix/spawn.h: Likewise.
4629 * posix/sys/wait.h: Likewise.
4630 * posix/unistd.h: Likewise.
4631 * posix/wordexp.h: Likewise.
4632 * pwd/pwd.h: Likewise.
4633 * resolv/netdb.h: Likewise.
4634 * resource/sys/resource.h: Likewise.
4635 * rt/aio.h: Likewise.
4636 * rt/bits/mqueue2.h: Likewise.
4637 * rt/mqueue.h: Likewise.
4638 * shadow/shadow.h: Likewise.
4639 * signal/signal.h: Likewise.
4640 * socket/send.c: Likewise.
4641 * socket/sendto.c: Likewise.
4642 * socket/sys/socket.h: Likewise.
4643 * stdio-common/printf.h: Likewise.
4644 * stdlib/bits/stdlib.h: Likewise.
4645 * stdlib/fmtmsg.h: Likewise.
4646 * stdlib/monetary.h: Likewise.
4647 * stdlib/stdlib.h: Likewise.
4648 * stdlib/ucontext.h: Likewise.
4649 * streams/stropts.h: Likewise.
4650 * string/argz.h: Likewise.
4651 * string/bits/string2.h: Likewise.
4652 * string/string.h: Likewise.
4653 * string/strings.h: Likewise.
4654 * sunrpc/rpc/auth.h: Likewise.
4655 * sunrpc/rpc/auth_des.h: Likewise.
4656 * sunrpc/rpc/clnt.h: Likewise.
4657 * sunrpc/rpc/netdb.h: Likewise.
4658 * sunrpc/rpc/pmap_clnt.h: Likewise.
4659 * sunrpc/rpc/xdr.h: Likewise.
4660 * sysdeps/generic/inttypes.h: Likewise.
4661 * sysdeps/generic/net/if.h: Likewise.
4662 * sysdeps/generic/sys/swap.h: Likewise.
4663 * sysdeps/gnu/net/if.h: Likewise.
4664 * sysdeps/gnu/utmpx.h: Likewise.
4665 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4666 * sysdeps/i386/i486/bits/string.h: Likewise.
4667 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4668 * sysdeps/s390/bits/string.h: Likewise.
4669 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4670 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4671 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4672 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4673 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4674 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4675 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4676 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4677 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4678 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4679 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4680 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4681 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4682 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4683 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4684 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4685 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4687 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4688 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4690 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4691 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4692 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4693 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4694 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4695 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4696 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4697 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4698 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4699 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4700 * sysvipc/sys/ipc.h: Likewise.
4701 * sysvipc/sys/msg.h: Likewise.
4702 * sysvipc/sys/sem.h: Likewise.
4703 * sysvipc/sys/shm.h: Likewise.
4704 * termios/termios.h: Likewise.
4705 * time/sys/time.h: Likewise.
4706 * time/time.h: Likewise.
4707 * wcsmbs/bits/wchar2.h: Likewise.
4708 * wcsmbs/uchar.h: Likewise.
4709 * wcsmbs/wchar.h: Likewise.
4710 * wctype/wctype.h: Likewise.
4711
0269750c
UD
4712 [BZ #13551]
4713 * Makeconfig: Remove all but ELF support including AIX support.
4714 * Makerules: Likewise.
4715 * config.h.in: Likewise.
4716 * config.make.in: Likewise.
4717 * configure: Likewise.
4718 * configure.in: Likewise.
4719 * csu/Makefile: Likewise.
4720 * csu/version.c: Likewise.
4721 * debug/Makefile: Likewise.
4722 * dlfcn/Makefile: Likewise.
4723 * elf/Makefile: Likewise.
4724 * extra-lib.mk: Likewise.
4725 * iconv/Makefile: Likewise.
4726 * include/libc-symbols.h: Likewise.
4727 * include/shlib-compat.h: Likewise.
4728 * resolv/Makefile: Likewise.
4729 * resolv/res_libc.c: Likewise.
4730 * rt/Makefile: Likewise.
4731 * sysdeps/i386/asm-syntax.h: Likewise.
4732 * sysdeps/i386/sysdep.h: Likewise.
4733 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4734 * sysdeps/mach/sysdep.h: Likewise.
4735 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4736 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4737 * sysdeps/s390/asm-syntax.h: Likewise.
4738 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4739 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4740 * sysdeps/sh/sysdep.h: Likewise.
4741 * sysdeps/unix/sparc/sysdep.h: Likewise.
4742 * sysdeps/wordsize-32/divdi3.c: Likewise.
4743 * sysdeps/x86_64/sysdep.h: Likewise.
4744
00bbd29b
UD
4745 * argp/Versions: Remove _argp_unlock_xxx.
4746
4747 [BZ #13559]
4748 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4749 * abilist/libBrokenLocale.abilist: Likewise.
4750 * abilist/libanl.abilist: Likewise.
4751 * abilist/libc.abilist: Likewise.
4752 * abilist/libcrypt.abilist: Likewise.
4753 * abilist/libdl.abilist: Likewise.
4754 * abilist/libm.abilist: Likewise.
4755 * abilist/libnsl.abilist: Likewise.
4756 * abilist/libpthread.abilist: Likewise.
4757 * abilist/libresolv.abilist: Likewise.
4758 * abilist/librt.abilist: Likewise.
4759 * abilist/libthread_db.abilist: Likewise.
4760 * abilist/libutil.abilist: Likewise.
4761 * abilist/libnss_db.abilist: New file.
4762
4763 * scripts/abilist.awk: Add support for indirect functions.
4764
a2693a0e
UD
4765 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4766
3f05895f
UD
4767 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4768
ecb6fb48
UD
4769 * shlib-versions: Remove entries for ports architectures.
4770
664f8cb9
UD
4771 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4772 files in ports.
4773 * elf/stackguard-macros.h: Remove support for IA-64.
4774 * elf/tst-auditmod1.c: Likewise.
4775 * sysdeps/generic/ldsodefs.h: Likewise.
4776
7ae81d88
UD
4777 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4778 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4779 configure files.
4780
bdeba135
UD
4781 [BZ #13552]
4782 * configure.in: Remove --enable-omitfp support.
4783 * FAQ.in: Adjust.
4784 * config.make.in: Likewise.
4785 * Makeconfig: Likewise.
4786 * manual/install.texi: Likewise.
4787
d75a0a62
UD
4788 In case anyone cares, the IA-64 architecture could move to ports.
4789 * sysdeps/ia64/*: Removed.
4790 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4791 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4792
dcc9756b
UD
4793 [BZ #13555]
4794 * configure.in: Remove entries for unsupported architectures.
4795
d3761ebc 4796 [BZ #13533]
9954432e
UD
4797 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4798 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4799 routines.
4800 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4801 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4802 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4803 fall back to using wcrtomb.
4804 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4805 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4806 renaming.
4807 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4808 * wcsmbs/tst-c16c32-1.c: New file.
4809
4810 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4811 local variable.
4812
c3a87236
UD
4813 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4814
28926a1b
UD
4815 * elf/tst-unique3.cc: Add explicit declaration of gets.
4816 * elf/tst-unique3lib.cc: Likewise.
4817 * elf/tst-unique3lib2.cc: Likewise.
4818 * elf/tst-unique4.cc: Likewise.
4819
df78418a
UD
4820 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4821
8ecd6b2a
JM
48222012-01-06 Joseph Myers <joseph@codesourcery.com>
4823
4824 [BZ #13566]
4825 * assert/assert.h (static_assert): Don't define for C++.
4826 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4827 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4828
9f115170
UD
48292012-01-03 Ulrich Drepper <drepper@gmail.com>
4830
5e0d0300
UD
4831 * iconv/loop.c (single loop): Fix assertion in storing of
4832 remaining bytes.
4833
9f115170
UD
4834 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4835
81fb02b0
UD
48362012-01-01 Ulrich Drepper <drepper@gmail.com>
4837
4838 * posix/getconf.c: Update copyright year.
4839 * nss/getent.c: Likewise.
a316c1f6 4840 * nss/makedb.c: Likewise.
81fb02b0
UD
4841 * iconv/iconvconfig.c: Likewise.
4842 * iconv/iconv_prog.c: Likewise.
4843 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4844 * elf/pldd.c: Likewise.
4845 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4846 * catgets/gencat.c: Likewise.
4847 * csu/version.c: Likewise.
4848 * elf/ldd.bash.in: Likewise.
4849 * elf/sprof.c (print_version): Likewise.
4850 * locale/programs/locale.c: Likewise.
4851 * locale/programs/localedef.c: Likewise.
a316c1f6 4852 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4853 * nscd/nscd.c (print_version): Likewise.
4854 * debug/xtrace.sh: Likewise.
4855 * malloc/memusage.sh: Likewise.
4856 * malloc/mtrace.pl: Likewise.
4857 * debug/catchsegv.sh: Likewise.
4858
2ba92745
JJ
48592011-12-30 Jakub Jelinek <jakub@redhat.com>
4860
4861 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4862 pure attribute.
4863
dadebdae
UD
48642011-12-24 Ulrich Drepper <drepper@gmail.com>
4865
d3761ebc 4866 [BZ #13533]
db6af3eb
UD
4867 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4868 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4869 transformations.
4870 * iconv/gconv_int.h: Likewise.
4871 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4872 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4873 from libc for GLIBC_2.16.
4874 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4875 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4876 * wcsmbs/uchar.h: Really define mbstate_t.
4877 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4878 * wcsmbs/c16rtomb.c: New file.
4879 * wcsmbs/mbrtoc16.c: New file.
4880 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4881 for C/POSIX locale.
4882 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4883 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4884
dadebdae
UD
4885 * wcsmbs/wchar.h: Add missing __restrict.
4886
67371b56
UD
48872011-12-23 Ulrich Drepper <drepper@gmail.com>
4888
74033a25
UD
4889 [BZ #13532]
4890 * time/Makefile (routines): Add timespec_get.
4891 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4892 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4893 timespec for ISO C11.
4894 * time/timespec_get.c: New file.
4895 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4896 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4897
380d7e87
UD
4898 [BZ #13531]
4899 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4900 * stdlib/stdlib.h: Declare aligned_alloc.
4901 * Versions.def: Add GLIBC_2.16 for libc.
4902 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4903
4e9e7a35
UD
4904 [BZ 13527]
4905 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4906 ISO C11.
4907
380d7e87 4908 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4909 code.
4910
03a71829
UD
4911 [BZ #13528]
4912 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4913
839e283e
UD
4914 [BZ #13529]
4915 * assert/assert.h (static_assert): Define.
4916
ce5294e2 4917 * version.h: Update for 2.16 development version.
90fa7312 4918
8d44e150 4919 [BZ #13526]
d7809905
UD
4920 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4921 _ISOC11_SOURCE.
4922
c0da14cd
UD
4923 * version.h (RELEASE): Bump for 2.15 release.
4924 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4925
530a3249
MP
4926 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4927 Patch by Marek Polacek <mpolacek@redhat.com>.
4928
67371b56
UD
4929 * bits/byteswap.h: Protect long long constants with __extension__.
4930 * sysdeps/i386/bits/byteswap.h: Likewise.
4931 * sysdeps/ia64/bits/byteswap.h: Likewise.
4932 * sysdeps/s390/bits/byteswap.h: Likewise.
4933 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4934
15db4de1
LD
49352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4936
4937 [BZ #13540]
bbe315ea
LD
4938 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4939 destination buffer.
15db4de1
LD
4940 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4941
2b2596b1
MP
49422011-12-23 Marek Polacek <polacek@redhat.com>
4943
4944 * elf/dl-addr.c (determine_info): Add inline keyword.
4945 * elf/tst-auditmod4b.c (check_avx): Likewise.
4946 * elf/tst-auditmod6b.c (check_avx): Likewise.
4947 * elf/tst-auditmod6c.c (check_avx): Likewise.
4948 * elf/tst-auditmod7b.c (check_avx): Likewise.
4949
70c6c246
UD
49502011-12-23 Ulrich Drepper <drepper@gmail.com>
4951
4952 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4953 !__SSE_MATH__.
4954
c044cf14
LD
49552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4956
15db4de1 4957 [BZ #13540]
c044cf14
LD
4958 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4959 processing for last bytes.
4960
6b13d9d9
BH
49612011-08-06 Bruno Haible <bruno@clisp.org>
4962
d455f537
BH
4963 [BZ #13061]
4964 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4965 U+0385, not to U+1FEE.
4966
6b13d9d9
BH
4967 [BZ #13062]
4968 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4969 entry for U+00A5 U+0301.
4970
db910efd
UD
49712011-12-22 Ulrich Drepper <drepper@gmail.com>
4972
27deeafc
UD
4973 [BZ #13166]
4974 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4975 buffer for the output is too small.
4976
aed9d171
UD
4977 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4978 optimization.
4979
db910efd
UD
4980 [BZ #13185]
4981 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4982 SSE flags if possible.
4983
2bd779ae
LD
49842011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4985
e7f9dac3 4986 [BZ #13540]
2bd779ae
LD
4987 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4988 processing for last bytes.
4989
154bfc16
JM
49902011-12-22 Joseph Myers <joseph@codesourcery.com>
4991
4992 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4993 (syscall-list-default-options, syscall-list-default-condition)
4994 (syscall-list-includes): Define.
4995 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4996 list of ABIs and options and #if conditions for each ABI. Do not
4997 handle common syscalls between ABIs specially.
4998 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4999 Remove.
5000 (syscall-list-variants, syscall-list-32bit-options)
5001 (syscall-list-32bit-condition, syscall-list-64bit-options)
5002 (syscall-list-64bit-condition): Define.
5003 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5004 (syscall-list-variants, syscall-list-32bit-options)
5005 (syscall-list-32bit-condition, syscall-list-64bit-options)
5006 (syscall-list-64bit-condition): Define.
5007 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5008 Remove.
5009 (syscall-list-variants, syscall-list-32bit-options)
5010 (syscall-list-32bit-condition, syscall-list-64bit-options)
5011 (syscall-list-64bit-condition): Define.
5012 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5013 Remove.
5014 (syscall-list-variants, syscall-list-32bit-options)
5015 (syscall-list-32bit-condition, syscall-list-64bit-options)
5016 (syscall-list-64bit-condition): Define.
5017
21eaf3a5
UD
50182011-12-22 Ulrich Drepper <drepper@gmail.com>
5019
16c6f992
UD
5020 * locale/iso-639.def: Add brx entry.
5021
41043168
UD
5022 [BZ #13328]
5023 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5024 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5025
21eaf3a5
UD
5026 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5027 __feraiseexcept_renamed.
5028
e3a851a2
UD
50292011-12-21 Ulrich Drepper <drepper@gmail.com>
5030
4920765e
UD
5031 [BZ #13538]
5032 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5033 EPOLLET with unsigned values.
5034 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5035 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5036
e3a851a2
UD
5037 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5038 to large cancellation.
5039 * math/s_cacoshf.c: Likewise.
5040 * math/s_cacoshl.c: Likewise.
5041
b27e24b8
RK
50422011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5043
5044 [BZ #13305]
aebefeee 5045 [BZ #12786]
b27e24b8
RK
5046 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5047 * math/s_cacoshf.c: Likewise.
5048 * math/s_cacoshl.c: Likewise.
5049
ee190f67
UD
50502011-12-21 Ulrich Drepper <drepper@gmail.com>
5051
5052 [BZ #13439]
5053 * iconv/gconv.h: Define __GCONV_SWAP.
5054 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5055 * iconvdata/utf-16.c: Likewise.
5056 * iconvdata/utf-32.c: Likewise.
5057
707f25df
AS
50582011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5059
5060 [BZ #13524]
5061 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5062 numerator after shifting it by one limb.
5063
d2daaa1e
RÁE
50642011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5065
5066 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5067 under [__USE_EXTERN_INLINES].
5068
a4647e72
UD
50692011-12-17 Ulrich Drepper <drepper@gmail.com>
5070
5071 [BZ #13446]
5072 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5073
f0b264f1
AZ
50742011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5075
5076 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5077 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5078 optimized code.
5079 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5080 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5081 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5082 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5083 for strncasecmp/strncasecmp_l compilation.
5084 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5085 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5086
8ef4f244
MP
50872011-12-08 Marek Polacek <mpolacek@redhat.com>
5088
5089 [BZ #13484]
5090 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5091 of __asm__.
5092
97ac2654
UD
50932011-12-17 Ulrich Drepper <drepper@gmail.com>
5094
5095 [BZ #13506]
5096 * time/tzfile.c (__tzfile_read): Check values from file header.
5097
91d2a845
WS
50982011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5099
5100 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5101 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5102 * powerpc/powerpc32/dl-start.S: Likewise.
5103 * powerpc/powerpc32/elf/start.S: Likewise.
5104 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5105 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5106 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5107 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5108 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5109 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5110 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5111 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5112 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5113 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5114 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5115 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5116 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5117 * powerpc/powerpc32/memset.S: Likewise.
5118 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5119 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5120 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5121 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5122 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5123 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5124 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5125 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5126 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5127 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5128 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5129 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5130 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5131
a1267ba1
AZ
51322011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5133
5134 * math/libm-test.inc: Added more nearbyint tests.
5135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5136 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5138 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5139
ad8ac1bd
RL
51402011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5141
5142 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5143 FD_CLOEXEC.
5144
1d3e4b61
UD
51452011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5146
5147 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5148 Add wcscpy-ssse3 wcscpy-c.
5149 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5150 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5151 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5152 * sysdeps/x86_64/wcschr.S: New file.
5153 * sysdeps/x86_64/wcsrchr.S: New file.
5154 * string/test-strcmp.c: Remove checking of wcscmp function for
5155 wrong alignments.
5156 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5157 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5158 wcsrchr-sse2 wcsrchr-c.
5159 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5160 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5161 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5162 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5163 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5164 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5165 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5166 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5167 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5168 * wcsmbc/wcschr.c (WCSCHR): New macro.
5169
5b330a2d
UD
51702011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5171
5172 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5173 * wcsmbs/test-wcsrchr.c: New file.
5174 * string/test-strrchr.c: Add wcsrchr support.
5175 (WIDE): New macro.
5176 * wcsmbs/test-wcscpy.c: New file.
5177 * string/test-strcpy.c: Add wcscpy support.
5178 (WIDE): New macro.
26428b7c 5179
f039c043
UD
51802011-12-10 Ulrich Drepper <drepper@gmail.com>
5181
5182 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5183 the inner loop.
5184
850fb039
AS
51852011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5186
5187 [BZ #13472]
5188 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5189
4efbd5cb
UD
51902011-12-04 Ulrich Drepper <drepper@gmail.com>
5191
52ff5dd0 5192 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5193 Minor optimizations.
52ff5dd0 5194
4efbd5cb
UD
5195 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5196 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5197 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5198
8a426e12
UD
51992011-12-03 Ulrich Drepper <drepper@gmail.com>
5200
aff2453d
UD
5201 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5202 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5203 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5204 for gcc to avoid warnings.
5205 * inet/Makefile (tests): Add tst-checks.
5206 * inet/tst-checks.c: New file.
5207
5208 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5209 warning.
5210
5211 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5212 __wmemcmp_sse2.
5213
5214 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5215 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5216
8a426e12
UD
5217 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5218
9bea3473
UD
52192011-12-02 Ulrich Drepper <drepper@gmail.com>
5220
3a965496
UD
5221 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5222 problem.
5223
9bea3473
UD
5224 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5225
f101631b
UD
52262011-11-29 Joseph Myers <joseph@codesourcery.com>
5227
5228 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5229 conditional on GCC version.
5230 (__arch_compare_and_exchange_val_8_acq)
5231 (__arch_compare_and_exchange_val_16_acq)
5232 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5233 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5234 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5235
a98275aa
UD
52362011-12-02 Joseph Myers <joseph@codesourcery.com>
5237
5238 * sysdeps/sh/backtrace.c: New file.
5239
d4cc29a2
AS
52402011-12-02 Andreas Schwab <schwab@redhat.com>
5241
5242 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5243 parenthesis.
5244
6257af2d
AS
52452011-12-01 Andreas Schwab <schwab@redhat.com>
5246
5247 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5248 falling back to utime.
5249
b5f44c1a
AS
52502011-11-30 Andreas Schwab <schwab@redhat.com>
5251
5252 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5253 expectations for float.
5254
f3a6cc0a
AS
52552011-11-29 Andreas Schwab <schwab@redhat.com>
5256
5257 * locale/weight.h (findidx): Add parameter len.
5258 * locale/weightwc.h (findidx): Likewise.
5259 * posix/fnmatch_loop.c (FCT): Adjust caller.
5260 * posix/regcomp.c (build_equiv_class): Likewise.
5261 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5262 * posix/regexec.c (check_node_accept_bytes): Likewise.
5263 * string/strcoll_l.c (STRCOLL): Likewise.
5264 * string/strxfrm_l.c (STRXFRM): Likewise.
5265
9d65ea3a
UD
52662011-11-17 Ulrich Drepper <drepper@gmail.com>
5267
5268 * Makefile.in: Remove CVSOPT handling.
5269 * configure.in: Remove use of AC_REVISION.
5270 * iconvdata/Makefile (distribute): No need to filter out CVS.
5271 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5272 handling.
5273
5583a086
AS
52742011-11-16 Andreas Schwab <schwab@redhat.com>
5275
5276 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5277 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5278 [USE_AS_STRNCASECMP_L]: Likewise.
5279 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5280 NO_TLS_DIRECT_SEG_REFS.
5281 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5282 Fix argument offsets for non-PIC.
5283 [USE_AS_STRNCASECMP_L]: Likewise.
5284 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5285 NO_TLS_DIRECT_SEG_REFS.
5286
d62a8200
UD
52872011-11-15 Ulrich Drepper <drepper@gmail.com>
5288
9d65ea3a 5289 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5290 O_CLOEXEC.
5291 * locale/loadlocale.c (_nl_load_locale): Likewise.
5292
09f93bd3
AS
52932011-11-15 Andreas Schwab <schwab@redhat.com>
5294
446514f9
AS
5295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5296 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5297 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5298 (SYSCALL_GETTIME): Set errno on error.
5299
09f93bd3
AS
5300 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5301 count references to noai6ai_cached.
5302
312be3f9
UD
53032011-11-15 Ulrich Drepper <drepper@gmail.com>
5304
5305 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5306
5307 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5308 FD_CLOEXEC for /proc/self/maps.
5309
5310 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5311 FD_CLOEXEC for /proc/meminfo.
5312
5313 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5314 gai.conf.
5315
5316 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5317 FD_CLOEXEC for given file.
5318
5319 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5320
5321 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5322 FD_CLOEXEC for /etc/hosts.
5323 (_gethtent): Likewise.
5324
5325 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5326
5327 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5328 cancellation and set FD_CLOEXEC for /etc/netgroup.
5329
5330 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5331 reading /etc/publickey.
5332
5333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5334 allow cancellation when reading /etc/group.
5335
5336 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5337 cancellation.
5338 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5339
5340 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5341 when using data file.
5342
5343 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5344
5345 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5346 (write_nis_obj): Use "c" and "e" in fopen.
5347
5348 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5349
5350 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5351
5352 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5353
5354 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5355
5356 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5357 locale.alias.
5358
5359 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5360
5361 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5362
5363 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5364
5365 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5366 file parsing and set FD_CLOEXEC.
5367
82af0fa8
UD
53682011-11-14 Ulrich Drepper <drepper@gmail.com>
5369
5370 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5371
a5fb313c
AS
53722011-11-14 Andreas Schwab <schwab@redhat.com>
5373
5374 * malloc/arena.c (arena_get2): Don't call reused_arena when
5375 _int_new_arena failed.
5376
6abf3465
UD
53772011-11-14 Ulrich Drepper <drepper@gmail.com>
5378
5379 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5380 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5381 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5382 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5383 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5384 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5385 to compile strcasecmp and strncasecmp.
5386 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5387 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5388
5389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5390
76e3966e
UD
53912011-11-13 Ulrich Drepper <drepper@gmail.com>
5392
5393 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5394 locale-defines.sym to gen-as-const-headers.
5395 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5396 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5397 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5398 to compile strcasecmp and strncasecmp.
5399 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5400 strcasecmp_l and strncasecmp_l.
5401 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5402 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5403 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5404 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5405 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5406 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5407 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5408 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5409 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5410 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5411 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5412
ab26144e
UD
54132011-11-12 Ulrich Drepper <drepper@gmail.com>
5414
7edb22ef
UD
5415 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5416 result of SYSDEP_GETTIME_CPU to retval.
5417 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5418 parameter list to macro. Remove trailing semicolon. Adjust users.
5419
9694fc44
UD
5420 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5421 variable.
5422
8ad89ef8
UD
5423 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5424 mantissa words.
5425 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5426
0c822ef9
UD
5427 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5428 from unused variable.
5429
874e0564
UD
5430 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5431 DWARF definitions.
5432 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5433 for assembling.
5434
3a2edc79
UD
5435 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5436 over namespaces.
5437
f3c2577f
UD
5438 * sunrpc/rpc_prot.c (rejected): Fix case value.
5439
294ce126
UD
5440 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5441 unsigned long long int to avoid warnings in shift.
5442
5e2b63c6
UD
5443 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5444 of use of trans.
5445 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5446 variable tmp.
5447
e7f4b08e
UD
5448 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5449 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5450 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5451
ab26144e
UD
5452 * nis/nis_table.c (nis_list): Use variable of correct type for
5453 result of __follow_path call.
5454
8a6d5255
AZ
54552011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5456
5457 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5458 of math functions ceil, trunc, floor, round, and sqrt, when
5459 avaliable on the platform.
5460 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5461 name clash.
5462 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5463 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5464 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5465
aaddc98c
MP
54662011-10-30 Marek Polacek <mpolacek@redhat.com>
5467
5468 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5469 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5470
95b7042b
RM
54712011-11-11 Roland McGrath <roland@hack.frob.com>
5472
5473 * include/unistd.h: Fix __readlink return type.
5474 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5475
57769839
UD
54762011-11-11 Ulrich Drepper <drepper@gmail.com>
5477
5478 * stdlib/ucontext.h: Undo last change for makecontext.
5479
edc5984d
AS
54802011-11-11 Andreas Schwab <schwab@redhat.com>
5481
98591e58
AS
5482 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5483
edc5984d
AS
5484 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5485 * setjmp/setjmp.h: Mark functions as non-leaf.
5486 * setjmp/bits/setjmp2.h: Likewise.
5487 * stdlib/ucontext.h: Likewise.
5488
77cdc054
AS
54892011-11-10 Andreas Schwab <schwab@redhat.com>
5490
5491 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5492 (reused_arena): Don't check arena limit.
5493 (arena_get2): Atomically check arena limit.
5494
fe72eebd
UD
54952011-11-08 Ulrich Drepper <drepper@gmail.com>
5496
5f078c32
UD
5497 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5498 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5499
fe72eebd
UD
5500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5501 instructions.
5502
ae1bc2fa
AS
55032011-11-07 Andreas Schwab <schwab@redhat.com>
5504
7583a88d
AS
5505 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5506 handler when locking.
5507
ae1bc2fa
AS
5508 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5509 Fix size of allocated buffer.
5510
10fb0bfa
AS
55112011-11-04 Andreas Schwab <schwab@redhat.com>
5512
998832a4
AS
5513 [BZ #10103]
5514 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5515 declarations for long double functions.
5516 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5517
10fb0bfa
AS
5518 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5519
3d7ba52b
AS
55202011-11-03 Andreas Schwab <schwab@redhat.com>
5521
a9ae54a1
AS
5522 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5523 installed.
5524
3d7ba52b
AS
5525 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5526 is disabled.
5527
bc8db248
ST
55282011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5529
5530 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5531
45b96dd6
AS
55322011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5533
647776f6
AS
5534 * include/alloca.h (stackinfo_alloca_round): Define.
5535 (extend_alloca): Use it.
5536 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5537 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5538 here.
5539
d91a8b93
AS
5540 * scripts/check-local-headers.sh: Ignore libaudit.h.
5541
45b96dd6
AS
5542 * nscd/Makefile (extra-objs): Make recursively expanded.
5543
432d41ce
UD
55442011-11-01 Ulrich Drepper <drepper@gmail.com>
5545
34372fc6
UD
5546 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5547 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5548
fadb59f8
UD
5549 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5550 * posix/tst-rfc3484-2.c: Likewise.
5551 * posix/tst-rfc3484-3.c: Likewise.
5552
78239589
UD
5553 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5554 process_vm_writev.
5555 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5556 process_vm_writev.
5557 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5558 process_vm_writev from libc using GLIBC_2.15 version.
5559
432d41ce
UD
5560 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5561
02f9c6cf
PP
55622011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5563
5564 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5565 stack usage.
5566
3a2c0242
UD
55672011-10-31 Ulrich Drepper <drepper@gmail.com>
5568
f4ec4833
UD
5569 [BZ #13367]
5570 * nss/getent.c (initgroups_keys): Show error message in case no group
5571 names are given.
5572
3a2c0242
UD
5573 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5574 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5575 __bump_nl_timestamp.
5576 * nscd/connections (nscd_init): When host database is served open
5577 netlink socket and request notification about configuration changes.
5578 (main_loop_poll): Track netlink file descriptor and bump timestamp
5579 in case data becomes available.
5580 (main_loop_epoll): Likewise.
5581 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5582 (database_pers_head): Add extra_data fileds.
5583 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5584 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5585 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5586 Adjust caller.
5587 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5588 in6ai data, call __free_in6ai.
5589 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5590 Add -DHAVE_NETLINK.
5591 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5592 interface information. Reuse previous data if netlink timestamp
5593 is not changed.
5594 (__bump_nl_timestamp): New function.
5595 (__free_in6ai): New function.
5596
636064eb
UD
55972011-10-30 Ulrich Drepper <drepper@gmail.com>
5598
5599 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5600 close_not_cancel_no_status here.
5601 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5602
9beb2334
UD
56032011-10-29 Ulrich Drepper <drepper@gmail.com>
5604
6ef76f3b
UD
5605 [BZ #13276]
5606 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5607 return value.
5608
0ffc4f3e 5609 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5610 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5611 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5612
cb95113e
UD
56132011-07-03 Andreas Jaeger <aj@suse.de>
5614
5615 [BZ #10709]
5616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5617 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5618 * math/libm-test.inc (sin_test): Add test case.
5619
a1b560ff
UD
56202011-10-29 Ulrich Drepper <drepper@gmail.com>
5621
c9aaface
UD
5622 [BZ #13337]
5623 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5624 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5625
d272e7f1
UD
5626 * elf/chroot_canon.c (chroot_canon): Cleanups.
5627
1bc33071
UD
5628 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5629
1760874d
TJ
5630 [BZ #13335]
5631 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5632 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5633
51d91b18
UD
5634 * string/test-strchr.c: Make usable for strchrnul testing.
5635 * string/test-strchrnul.c: New file.
5636 * string/Makefile (strop-tests): Add strchrnul.
5637
a1b560ff 5638 * po/it.po: Update from translation team.
b611fb81 5639 * po/es.po: Likewise.
a1b560ff 5640
a5b81e1f
UD
56412011-10-28 Ulrich Drepper <drepper@gmail.com>
5642
fd52bc6d
UD
5643 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5644 the three constants needed as parameters. Drop the others.
5645 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5646 __m128i_strloadu_tolower.
52e4b9eb
UD
5647 Create and initialize variable zero and use it in all the places
5648 where _mm_setzero_si128 was used.
fd52bc6d 5649
a5b81e1f
UD
5650 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5651 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5652 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5653 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5654 anymore.
5655 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5656 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5657 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5658 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5659 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5660 __mpranred, __mptan.
5661 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5662 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5663 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5664 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5665 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5666 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5668 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5669 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5670
b4343346
AS
56712011-10-28 Andreas Schwab <schwab@redhat.com>
5672
0c92d8a8
AS
5673 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5674 redefine if SHARED.
5675 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5676
b4343346
AS
5677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5678 wide char related routines to wcsmbs subdir.
5679
3871f58f
AS
56802011-10-27 Andreas Schwab <schwab@redhat.com>
5681
5682 [BZ #13344]
5683 * misc/sys/cdefs.h (__THROWNL): Define.
5684 * posix/unistd.h: Use __THREADNL instead of __THREAD
5685 for memory synchronization functions.
5686
94d44d9f
RM
56872011-10-26 Roland McGrath <roland@hack.frob.com>
5688
21b64b15 5689 [BZ #13349]
94d44d9f
RM
5690 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5691 doesn't exist.
5692 * manual/stdio.texi (Obstack Streams): Node removed.
5693
f6ce9294
AS
56942011-10-26 Andreas Schwab <schwab@redhat.com>
5695
80479147
AS
5696 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5697 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5698 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5699
f6ce9294
AS
5700 * math/math_private.h (math_force_eval): Allow non-addressable
5701 arguments.
5702 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5703
618280a1
UD
57042011-10-25 Ulrich Drepper <drepper@gmail.com>
5705
e0016b11
UD
5706 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5707 file is not needed.
5708
5709 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5711 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5712 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5713 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5716 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5717 Add AVX variants.
5718 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5719 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5720 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5721 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5722 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5723 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5724 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5725 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5726 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5727 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5728 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5729 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5730 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5731 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5732 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5733 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5734 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5735 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5736 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5737
5738 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5739 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5740
618280a1
UD
5741 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5742 place. Use VEX encoding when compiling for AVX.
5743
37822576
AS
57442011-10-25 Andreas Schwab <schwab@redhat.com>
5745
1f1e1947
AS
5746 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5747 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5748
37822576
AS
5749 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5750
31ea014d
UD
57512011-10-25 Ulrich Drepper <drepper@gmail.com>
5752
d7826aa1 5753 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5754 useless if() expression.
d7826aa1
UD
5755 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5757 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5759 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5760 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5763 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5764 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5765 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5766 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5767 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5768 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5769 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5770 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5773 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5774
31ea014d
UD
5775 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5776
16437fec
AS
57772011-10-25 Andreas Schwab <schwab@redhat.com>
5778
5779 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5780 condition.
5781 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5782
31d3cc00
UD
57832011-10-25 Ulrich Drepper <drepper@gmail.com>
5784
5785 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5786 .text section. Avoid duplicate constants.
5787 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5791 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5795 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5796 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5797 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5798 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5799 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5800 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5801 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5802 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5803 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5804 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5805 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5806 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5807 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5808 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5809 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5810 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5811 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5812 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5813 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5814 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5815 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5816 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5817 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5818 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5819 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5820 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5821 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5822 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5823 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5825 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5826 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5827 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5828 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5829 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5830 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5831 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5832
58985aa9
UD
58332011-10-24 Ulrich Drepper <drepper@gmail.com>
5834
202c9deb
UD
5835 * sysdeps/x86_64/dla.h: Move to ...
5836 * sysdeps/x86_64/fpu/dla.h: ...here.
5837 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5838 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5839
af968f62
UD
5840 * config.make.in: Add have-mfma4 entry.
5841 * configure.in: Substitute libc_cv_cc_fma4.
5842 * math/Makefile (dbl-only-routines): Add sincostab.
5843 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5844 Use __sincostab not sincos.
5845 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5846 name is a macro.
5847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5851 using __copysign.
5852 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5853 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5854 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5855 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5856 and __inv.
5857 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5858 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5859 __copysign.
5860 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5861 define aliases when function name is a macro.
5862 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5863 sysdeps/ieee754/dbl-64/sincos.tbl.
5864 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5865 fma4-enabled routines.
5866 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5867 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5868 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5869 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5871 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5873 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5874 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5875 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5876 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5877 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5878 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5879 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5880 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5881 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5882 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5883 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5884 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5885 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5886 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5887 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5890 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5891 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5892 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5893 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5894 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5895 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5896
58985aa9
UD
5897 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5898 rename.
5899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5907
a201fbcf
AS
59082011-10-24 Andreas Schwab <schwab@redhat.com>
5909
5910 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5911
fc2ee42a
LD
59122011-10-23 Ulrich Drepper <drepper@gmail.com>
5913
bb3129bd
UD
5914 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5915
0275fff8
UD
5916 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5917 prediction.
5918 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5919
2fa2ae85
UD
5920 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5921 Remove unused variable magic_bits.
5922 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5923
fc2ee42a
LD
5924 * string/strnlen.c: Define and use STRNLEN macro.
5925 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5926 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5928 * wcsmbs/wcslen.c: Define and use WCSLEN.
5929 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5930 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5931 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5932 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5933 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5934 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5935 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5936
ce7dd29f
LD
59372011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5938
5939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5940 strnlen-sse2-no-bsf.
5941 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5942 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5943 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5944 Add strnlen support.
5945 (USE_AS_STRNLEN): New macro.
5946 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5947 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5948 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5949 * sysdeps/x86_64/wcslen.S: New file.
5950
979c70a3
MZ
59512011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5952
5953 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5954 XMM-moves are used for copying on small sizes.
5955
2d09f82f
LD
59562011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5957
5958 * wcsmbs/Makefile (strop-tests): Add wcschr.
5959 * wcsmbs/test-wcschr.c: New file.
5960 * string/test-strchr.c: Update.
5961 Add wcschr support.
5962 (WIDE): New macro.
5963
619fccca
LD
59642011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5965
2d09f82f 5966 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5967 * wcsmbs/test-wcslen.c: New file.
5968 * string/test-strlen.c: Update.
5969 Add wcslen support.
5970 (WIDE): New macro.
5971
09f699ea
UD
59722011-10-23 Ulrich Drepper <drepper@gmail.com>
5973
5974 * po/it.po: Update from translation team.
5975
95584d3b
LD
59762011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5977
5978 * sysdeps/x86_64/wcscmp.S: Update.
5979 Fix wrong comparison semantics.
5980 wcscmp shall use signed comparison not unsigned.
5981 Don't use substraction to avoid overflow bug.
5982 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5983 * wcsmbc/wcscmp.c: Likewise.
5984 * string/test-strcmp.c: Likewise.
5985 Add new tests to check cases with negative values.
5986
c8b3296b
UD
59872011-10-23 Ulrich Drepper <drepper@gmail.com>
5988
5989 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5990 * sysdeps/x86_64/dla.h: ...here. New file.
5991 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5996 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5999 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6000
246ad57a
AS
60012011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6002
6003 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6004 __ynl_finite aliases.
6005
a1a87169
UD
60062011-10-22 Ulrich Drepper <drepper@gmail.com>
6007
0d355eb7
UD
6008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6009
a1a87169
UD
6010 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6011 define DLA_FMA.
6012 [DLA_FMA] (EMULV): Use DLA_FMA.
6013 [DLA_FMA] (MUL12): Use EMULV.
6014 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6015 that are not needed.
6016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6023
ee2aafe0
AS
60242011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6025
6026 * math/s_nan.c: Undef __nan.
6027 * math/s_nanf.c: Undef __nanf.
6028 * math/s_nanl.c: Undef __nanl.
6029 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6030 "math_private.h".
6031
bc62c2fb
UD
60322011-10-22 Ulrich Drepper <drepper@gmail.com>
6033
77425c63
UD
6034 * math/s_catan.c: Add branch predictions.
6035 * math/s_catanf.c: Likewise.
6036 * math/s_catanh.c: Likewise.
6037 * math/s_catanhf.c: Likewise.
6038 * math/s_catanhl.c: Likewise.
6039 * math/s_catanl.c: Likewise.
6040 * math/s_cexp.c: Likewise.
6041 * math/s_cexpf.c: Likewise.
6042 * math/s_cexpl.c: Likewise.
6043 * math/s_clog.c: Likewise.
6044 * math/s_clog10.c: Likewise.
6045 * math/s_clog10f.c: Likewise.
6046 * math/s_clog10l.c: Likewise.
6047 * math/s_clogf.c: Likewise.
6048 * math/s_clogl.c: Likewise.
6049 * math/s_csqrt.c: Likewise.
6050 * math/s_csqrtf.c: Likewise.
6051 * math/s_csqrtl.c: Likewise.
6052 * math/s_ctanf.c: Likewise.
6053 * math/s_ctanh.c: Likewise.
6054 * math/s_ctanhf.c: Likewise.
6055 * math/s_ctanhl.c: Likewise.
6056 * math/s_ctanl.c: Likewise.
6057
bc62c2fb
UD
6058 * math/math_private.h: Define __nan, __nanf, __nanl.
6059 * math/s_cacosh.c: Include <math_private.h>.
6060 * math/s_cacoshl.c: Likewise.
6061 * math/s_casinh.c: Likewise.
6062 * math/s_casinhf.c: Likewise.
6063 * math/s_casinhl.c: Likewise.
6064 * math/s_ccos.c: Rely entire on ccosh.
6065 * math/s_ccosf.c: Rely entire on ccoshf.
6066 * math/s_ccosl.c: Rely entirely on ccoshl.
6067 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6068 Remove tests for FE_INVALID.
6069 * math/s_ccoshf.c: Likewise.
6070 * math/s_ccoshl.c: Likewise.
6071 * math/s_csin.c: Likewise.
6072 * math/s_csinf.c: Likewise.
6073 * math/s_csinh.c Likewise.
6074 * math/s_csinhf.c: Likewise.
6075 * math/s_csinhl.c: Likewise.
6076 * math/s_csinl.c: Likewise.
6077 * math/s_ctan.c: Likewise.
6078 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6079 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6080 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6081
8ec250a4
UD
60822011-10-21 Ulrich Drepper <drepper@gmail.com>
6083
c196fed8
UD
6084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6085 compilation problems.
6086
8ec250a4
UD
6087 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6088 __builtin_expect.
6089
8d4f46c6
UD
60902011-10-20 Ulrich Drepper <drepper@gmail.com>
6091
ed72b654
UD
6092 * sysdeps/i386/configure.in: Test for -mfma4 option.
6093 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6094 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6095 COMMON_CPUID_INDEX_80000001.
6096 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6097 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6098 use it if FMA3 is not supported.
6099 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6100
8d4f46c6
UD
6101 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6102 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6103
d45c60c2
AS
61042011-10-20 Andreas Schwab <schwab@redhat.com>
6105
6106 [BZ #12892]
6107 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6108 it would create a cycle with a link time dependency.
6109
d9a4d2ab
UD
61102011-10-19 Ulrich Drepper <drepper@gmail.com>
6111
855d1560
UD
6112 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6113 instruction.
6114 * string/Makefile (strop-tests): Add rawmemchr.
6115 * string/test-rawmemchr.c: New file.
6116
d9a4d2ab
UD
6117 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6118 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6119 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6120 when compiling str{,n}casecmp and when AVX is available. Hook up
6121 new optimized code in initializers.
6122
8f3b1ffe
AS
61232011-10-19 Andreas Schwab <schwab@redhat.com>
6124
6125 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6126 __feraiseexcept instead of feraiseexcept.
6127
d38f1dba
UD
61282011-10-18 Ulrich Drepper <drepper@gmail.com>
6129
d9a8d0ab
UD
6130 * math/math_private.h: Define defaults for libc_fetestexcept and
6131 libc_feupdateenv.
6132 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6133 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6134 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6135 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6136 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6137 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6138 libc_fetestexcept and libc_feupdateenv.
6139
4855e3dd
UD
6140 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6141 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6142 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6143 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6144 libc_feholdexcept_setround.
6145
581d30e3
UD
6146 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6147 Add s_nearbyint-c and s_nearbyintf-c.
6148 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6149 nearbyintf inlines.
6150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6151 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6152 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6153 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6154
d38f1dba
UD
6155 * math/math_private.h: Define defaults for libc_fegetround,
6156 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6157 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6158 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6159 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6160 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6161 standard functions.
6162 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6163 Remove comments and hacks for old compiler versions.
6164 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6165 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6166 libc_feholdexceptl.
6167
caa6c9d8
AS
61682011-10-18 Andreas Schwab <schwab@redhat.com>
6169
6170 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6171 (__feraiseexcept_renamed): Add __NTH.
6172 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6173 namespace violations.
6174
97c066e6
UD
61752011-10-17 Ulrich Drepper <drepper@gmail.com>
6176
99ce7b04
UD
6177 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6178
1004d182
UD
6179 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6180
228a984d
UD
6181 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6182 recently added interfaces.
6183 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6184
c8553a6a
UD
6185 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6186 about macro parameter expansion.
6187
ed22dcf6
UD
6188 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6189 __NO_MATH_INLINES is defined. Cleanups.
6190
6191 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6192 and __floorf is target has SSE4.1.
6193 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6194 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6195 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6196 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6197
b171c137
UD
6198 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6199 name.
6200 (floorf): Likewise.
6201
97c066e6
UD
6202 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6203
629f62ef
AS
62042011-10-17 Andreas Schwab <schwab@redhat.com>
6205
49a43d80
AS
6206 * misc/sys/cdefs.h: Fix last change.
6207
629f62ef
AS
6208 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6209 database lookup.
6210
e453f6cd
UD
62112011-10-16 Ulrich Drepper <drepper@gmail.com>
6212
aa78043a
UD
6213 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6214
ad0f5cad
UD
6215 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6217 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6218 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6221 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6223 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6224 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6225 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6226 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6227 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6228 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6229 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6230 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6231 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6232 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6233 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6234 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6235 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6236 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6237
6238 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6239 ceil, ceilf, floor, floorf.
6240
6241 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6242 Perform IRELATIVE relocations last.
6243
e453f6cd
UD
6244 * elf/do-rel.h: Add another parameter nrelative, replacing the
6245 local variable with the same name. Change name of the function
6246 to end in Rel or Rela (uppercase).
6247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6248 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6249 elf_dynamic_do_##reloc function.
6250
fd5bdc09
UD
62512011-10-15 Ulrich Drepper <drepper@gmail.com>
6252
79b195b5
UD
6253 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6254 is sufficient, at least on modern CPUs.
6255
d4a28569
UD
6256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6257
b61099b5
UD
6258 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6259 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6260
bcf01e6d
UD
6261 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6262 __expl_finite.
6263 * math/bits/math-finite.h: Add entries for exp.
6264 * math/e_expl.c: Add __*_finite alias.
6265 * sysdeps/i386/fpu/e_exp.S: Likewise.
6266 * sysdeps/i386/fpu/e_expf.S: Likewise.
6267 * sysdeps/i386/fpu/e_expl.c: Likewise.
6268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6269 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6272 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6273 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6274 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6275
ba1a0d59
UD
6276 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6277 is sufficient, at least on modern CPUs.
6278
fd5bdc09
UD
6279 * ctype/ctype-info.c (__ctype_init): Define.
6280 * include/ctype.h (__ctype_init): Declare.
6281 (__ctype_b_loc): The variable is always initialized.
6282 (__ctype_toupper_loc): Likewise.
6283 (__ctype_tolower_loc): Likewise.
6284 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6285 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6286
7872cfb0
AS
62872011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6288
b468825a
AS
6289 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6290
7872cfb0
AS
6291 * configure.in: Also look in $cxxmachine/include for C++ system
6292 headers.
6293
be13f7bf
LD
62942011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6295
6296 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6297 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6298 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6299 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6300 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6301 (USE_AS_WMEMCMP): New macro.
6302 Fixing indents.
6303 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6304 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6305 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6306 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6308 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6309 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6310 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6311 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6312 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6313 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6314 (USE_AS_WMEMCMP): New macro.
6315 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6316 * sysdeps/string/test-memcmp.c: Update.
6317 Fix simple_wmemcmp.
6318 Add new tests.
6319 * wcsmbs/wmemcmp.c: Update.
6320 (WMEMCMP): New macro.
6321 Fix overflow bug.
6322
556a2007
AJ
63232011-10-12 Andreas Jaeger <aj@suse.de>
6324
6325 [BZ #13268]
6326 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6327
538faaa7
UD
63282011-10-15 Ulrich Drepper <drepper@gmail.com>
6329
ab6737ff
UD
6330 * libio/iofwide.c (do_length): Avoid warning.
6331
538faaa7
UD
6332 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6333
396a21b1
UD
63342011-10-14 Ulrich Drepper <drepper@gmail.com>
6335
cdf2901f
UD
6336 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6337
38ad40ce
UD
6338 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6339 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6340 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6341 * sysdeps/i386/i686/fpu/e_log.S: New file.
6342 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6343 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6344
396a21b1
UD
6345 * ctype/ctype.h: Add support for inlined isXXX functions when
6346 compiling C++ code.
6347
6b1f68c9
AS
63482011-10-14 Andreas Schwab <schwab@redhat.com>
6349
349290c0
AS
6350 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6351
6b1f68c9
AS
6352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6353
f2282d42
RM
63542011-10-13 Roland McGrath <roland@hack.frob.com>
6355
6356 [BZ #13291]
6357 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6358
5298ffa8
AS
63592011-10-13 Andreas Schwab <schwab@redhat.com>
6360
714fad23
AS
6361 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6362 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6363 feraiseexcept.
6364
81dcc7fb
AS
6365 * sysdeps/x86_64/memrchr.S: Check for zero size.
6366
5298ffa8
AS
6367 * string/stratcliff.c: Add memrchr tests.
6368
951fbcec
LD
63692011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6370
6371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6372 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6373 rawmemchr-sse2 rawmemchr-sse2-bsf.
6374 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6375 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6376 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6377 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6378 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6379 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6380 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6381 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6382 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6383 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6384 * string/memrchr.c (MEMRCHR): New macro.
6385
0ac5ae23
UD
63862011-10-12 Ulrich Drepper <drepper@gmail.com>
6387
6388 Add integration with gcc's -ffinite-math-only and optimize wrapper
6389 functions in libm.
6390 * Versions.def: Define GLIBC_2.15 version for libm.
6391 * math/Makefile (headers): Add bits/math-finite.h.
6392 * math/bits/math-finite.h: New file.
6393 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6394 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6395 * math/e_acoshl.c: Add __*_finite alias.
6396 * math/e_acosl.c: Likewise.
6397 * math/e_asinl.c: Likewise.
6398 * math/e_atan2l.c: Likewise.
6399 * math/e_atanhl.c: Likewise.
6400 * math/e_coshl.c: Likewise.
6401 * math/e_exp10.c: Likewise.
6402 * math/e_exp10f.c: Likewise.
6403 * math/e_exp10l.c: Likewise.
6404 * math/e_exp2l.c: Likewise.
6405 * math/e_fmodl.c: Likewise.
6406 * math/e_gammal_r.c: Likewise.
6407 * math/e_hypotl.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_log10l.c: Likewise.
6413 * math/e_log2l.c: Likewise.
6414 * math/e_logl.c: Likewise.
6415 * math/e_powl.c: Likewise.
6416 * math/e_sinhl.c: Likewise.
6417 * math/e_sqrtl.c: Likewise.
6418 * math/e_scalb.c: Completely rewritten and optimized.
6419 * math/e_scalbf.c: Likewise.
6420 * math/e_scalbl.c: Likewise.
6421 * math/w_acos.c: Likewise.
6422 * math/w_acosf.c: Likewise.
6423 * math/w_acosl.c: Likewise.
6424 * math/w_acosh.c: Likewise.
6425 * math/w_acoshf.c: Likewise.
6426 * math/w_acoshl.c: Likewise.
6427 * math/w_asin.c: Likewise.
6428 * math/w_asinf.c: Likewise.
6429 * math/w_asinl.c: Likewise.
6430 * math/w_atan2.c: Likewise.
6431 * math/w_atan2f.c: Likewise.
6432 * math/w_atan2l.c: Likewise.
6433 * math/w_atanh.c: Likewise.
6434 * math/w_atanhf.c: Likewise.
6435 * math/w_atanhl.c: Likewise.
6436 * math/w_exp10.c: Likewise.
6437 * math/w_exp10f.c: Likewise.
6438 * math/w_exp10l.c: Likewise.
6439 * math/w_fmod.c: Likewise.
6440 * math/w_fmodf.c: Likewise.
6441 * math/w_fmodl.c: Likewise.
6442 * math/w_j0.c: Likewise.
6443 * math/w_j0f.c: Likewise.
6444 * math/w_j0l.c: Likewise.
6445 * math/w_j1.c: Likewise.
6446 * math/w_j1f.c: Likewise.
6447 * math/w_j1l.c: Likewise.
6448 * math/w_jn.c: Likewise.
6449 * math/w_jnf.c: Likewise.
6450 * math/w_log.c: Likewise.
6451 * math/w_logf.c: Likewise.
6452 * math/w_logl.c: Likewise.
6453 * math/w_log10.c: Likewise.
6454 * math/w_log10f.c: Likewise.
6455 * math/w_log10l.c: Likewise.
6456 * math/w_log2.c: Likewise.
6457 * math/w_log2f.c: Likewise.
6458 * math/w_log2l.c: Likewise.
6459 * math/w_pow.c: Likewise.
6460 * math/w_powf.c: Likewise.
6461 * math/w_powl.c: Likewise.
6462 * math/w_remainder.c: Likewise.
6463 * math/w_remainderf.c: Likewise.
6464 * math/w_remainderl.c: Likewise.
6465 * math/w_scalb.c: Likewise.
6466 * math/w_scalbf.c: Likewise.
6467 * math/w_scalbl.c: Likewise.
6468 * math/w_sqrt.c: Likewise.
6469 * math/w_sqrtf.c: Likewise.
6470 * math/w_sqrtl.c: Likewise.
6471 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6472 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6473 used.
6474 * math/math_private.h: Declare __kernel_standard_f.
6475 * math/w_cosh.c: Remove cruft and optimize a bit.
6476 * math/w_coshf.c: Likewise.
6477 * math/w_coshl.c: Likewise.
6478 * math/w_exp2.c: Likewise.
6479 * math/w_exp2f.c: Likewise.
6480 * math/w_exp2l.c: Likewise.
6481 * math/w_hypot.c: Likewise.
6482 * math/w_hypotf.c: Likewise.
6483 * math/w_hypotl.c: Likewise.
6484 * math/w_lgamma.c: Likewise.
6485 * math/w_lgamma_r.c: Likewise.
6486 * math/w_lgammaf.c: Likewise.
6487 * math/w_lgammaf_r.c: Likewise.
6488 * math/w_lgammal.c: Likewise.
6489 * math/w_lgammal_r.c: Likewise.
6490 * math/w_sinh.c: Likewise.
6491 * math/w_sinhf.c: Likewise.
6492 * math/w_sinhl.c: Likewise.
6493 * math/w_tgamma.c: Likewise.
6494 * math/w_tgammaf.c: Likewise.
6495 * math/w_tgammal.c: Likewise.
6496 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6497 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6498 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6499 Minor optimizations. Pretty printing. Remove cruft.
6500 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6501 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6502 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6503 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6504 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6505 * sysdeps/i386/fpu/e_asin.S: Likewise.
6506 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6507 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6508 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6509 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6510 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6511 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6512 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6513 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6514 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6515 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6516 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6517 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6518 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6519 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6520 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6521 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6522 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6523 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6524 * sysdeps/i386/fpu/e_log.S: Likewise.
6525 * sysdeps/i386/fpu/e_log10.S: Likewise.
6526 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6528 * sysdeps/i386/fpu/e_log2.S: Likewise.
6529 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6530 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6531 * sysdeps/i386/fpu/e_logf.S: Likewise.
6532 * sysdeps/i386/fpu/e_logl.S: Likewise.
6533 * sysdeps/i386/fpu/e_pow.S: Likewise.
6534 * sysdeps/i386/fpu/e_powf.S: Likewise.
6535 * sysdeps/i386/fpu/e_powl.S: Likewise.
6536 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6537 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6538 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6539 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6540 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6541 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6542 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6543 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6544 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6548 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6566 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6567 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6568 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6570 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6571 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6572 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6573 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6574 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6575 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6576 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6577 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6578 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6579 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6580 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6581 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6582 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6583 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6584 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6585 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6586 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6625 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6628 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6630 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6631 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6633 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6636 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6637 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6638 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6639 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6640 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6641 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6642 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6643 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6644 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6645 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6646 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6647 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6648 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6649 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6650 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6651 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6652 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6653 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6654 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6655 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6656 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6657 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6658 (__isnanf): Likewise.
6659 (__isinf_ns): Likewise.
6660 (__isinf_nsf): Likewise.
6661 (__finite): Likewise.
6662 (__finitef): Likewise.
6663 (__ieee754_sqrt): Define as macro.
6664 (__ieee754_sqrtf): Define as macro.
6665 (__ieee754_sqrtl): Define as macro.
6666 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6667 inlined copy.
6668 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6669 __FINITE_MATH_ONLY__ consistent.
6670 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6671
12cc2fcd
AS
66722011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6673
a843a204
AS
6674 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6675 of rawmemchr.
6676
12cc2fcd
AS
6677 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6678
c853acd5
UD
66792011-10-09 Ulrich Drepper <drepper@gmail.com>
6680
6681 * po/ja.po: Update from translation team.
6682
c658d255
RM
66832011-10-08 Roland McGrath <roland@hack.frob.com>
6684
110946e4
RM
6685 * locale/programs/locarchive.c (prepare_address_space): New function.
6686 (create_archive, enlarge_archive, open_archive): Use it.
6687
50604220
RM
6688 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6689 inside [SHARED], where it is used.
6690
c658d255
RM
6691 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6692
6693 * nss/getent.c (netgroup_keys): Remove unused variable.
6694 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6695
6a621eb7
UD
66962011-10-08 Ulrich Drepper <drepper@gmail.com>
6697
7edb55ce
UD
6698 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6699 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6702 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6703 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6704 * math/Makefile (libm-calls): Add s_isinf_ns.
6705 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6706 * math/multc3.c: Likewise.
6707 * math/s_casin.c: Likewise.
6708 * math/s_casinf.c: Likewise.
6709 * math/s_casinl.c: Likewise.
6710 * math/s_ccos.c: Likewise.
6711 * math/s_ccosf.c: Likewise.
6712 * math/s_ccosl.c: Likewise.
6713 * math/s_ctan.c: Likewise.
6714 * math/s_ctanf.c: Likewise.
6715 * math/s_ctanh.c: Likewise.
6716 * math/s_ctanhf.c: Likewise.
6717 * math/s_ctanhl.c: Likewise.
6718 * math/s_ctanl.c: Likewise.
6719 * math/w_fmod.c: Likewise.
6720 * math/w_fmodf.c: Likewise.
6721 * math/w_fmodl.c: Likewise.
6722 * math/w_remainder.c: Likewise.
6723 * math/w_remainderf.c: Likewise.
6724 * math/w_remainderl.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6726 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6727 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6729 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6730 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6731 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6732 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6733
187da0ae
UD
6734 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6735 of the number.
6736 * stdio-common/printf_fphex.c: Likewise.
6737 * stdio-common/printf_size.c: Likewise.
6738
9277c064
UD
6739 * math/e_exp10.c: Include math_private.h using <...> not "...".
6740 * math/e_exp10f.c: Likewise.
6741 * math/e_exp10l.c: Likewise.
6742 * math/e_exp2l.c: Likewise.
6743 * math/e_j0l.c: Likewise.
6744 * math/e_j1l.c: Likewise.
6745 * math/e_jnl.c: Likewise.
6746 * math/e_lgammal_r.c: Likewise.
6747 * math/e_rem_pio2l.c: Likewise.
6748 * math/e_scalb.c: Likewise.
6749 * math/e_scalbf.c: Likewise.
6750 * math/e_scalbl.c: Likewise.
6751 * math/k_cosl.c: Likewise.
6752 * math/k_sinl.c: Likewise.
6753 * math/k_tanl.c: Likewise.
6754 * math/s_cacoshf.c: Likewise.
6755 * math/s_catan.c: Likewise.
6756 * math/s_catanf.c: Likewise.
6757 * math/s_catanh.c: Likewise.
6758 * math/s_catanhf.c: Likewise.
6759 * math/s_catanhl.c: Likewise.
6760 * math/s_catanl.c: Likewise.
6761 * math/s_ccosh.c: Likewise.
6762 * math/s_ccoshf.c: Likewise.
6763 * math/s_ccoshl.c: Likewise.
6764 * math/s_cexp.c: Likewise.
6765 * math/s_cexpf.c: Likewise.
6766 * math/s_cexpl.c: Likewise.
6767 * math/s_clog.c: Likewise.
6768 * math/s_clog10.c: Likewise.
6769 * math/s_clog10f.c: Likewise.
6770 * math/s_clog10l.c: Likewise.
6771 * math/s_clogf.c: Likewise.
6772 * math/s_clogl.c: Likewise.
6773 * math/s_csin.c: Likewise.
6774 * math/s_csinf.c: Likewise.
6775 * math/s_csinh.c: Likewise.
6776 * math/s_csinhf.c: Likewise.
6777 * math/s_csinhl.c: Likewise.
6778 * math/s_csinl.c: Likewise.
6779 * math/s_csqrt.c: Likewise.
6780 * math/s_csqrtf.c: Likewise.
6781 * math/s_csqrtl.c: Likewise.
6782 * math/s_ctan.c: Likewise.
6783 * math/s_ctanf.c: Likewise.
6784 * math/s_ctanh.c: Likewise.
6785 * math/s_ctanhf.c: Likewise.
6786 * math/s_ctanhl.c: Likewise.
6787 * math/s_ctanl.c: Likewise.
6788 * math/s_ldexp.c: Likewise.
6789 * math/s_ldexpf.c: Likewise.
6790 * math/s_ldexpl.c: Likewise.
6791 * math/s_significand.c: Likewise.
6792 * math/s_significandf.c: Likewise.
6793 * math/s_significandl.c: Likewise.
6794 * math/w_acos.c: Likewise.
6795 * math/w_acosf.c: Likewise.
6796 * math/w_acosh.c: Likewise.
6797 * math/w_acoshf.c: Likewise.
6798 * math/w_acoshl.c: Likewise.
6799 * math/w_acosl.c: Likewise.
6800 * math/w_asin.c: Likewise.
6801 * math/w_asinf.c: Likewise.
6802 * math/w_asinl.c: Likewise.
6803 * math/w_atan2.c: Likewise.
6804 * math/w_atan2f.c: Likewise.
6805 * math/w_atan2l.c: Likewise.
6806 * math/w_atanh.c: Likewise.
6807 * math/w_atanhf.c: Likewise.
6808 * math/w_atanhl.c: Likewise.
6809 * math/w_cosh.c: Likewise.
6810 * math/w_coshf.c: Likewise.
6811 * math/w_coshl.c: Likewise.
6812 * math/w_dremf.c: Likewise.
6813 * math/w_exp10.c: Likewise.
6814 * math/w_exp10f.c: Likewise.
6815 * math/w_exp10l.c: Likewise.
6816 * math/w_exp2.c: Likewise.
6817 * math/w_exp2f.c: Likewise.
6818 * math/w_fmod.c: Likewise.
6819 * math/w_fmodf.c: Likewise.
6820 * math/w_fmodl.c: Likewise.
6821 * math/w_hypot.c: Likewise.
6822 * math/w_hypotf.c: Likewise.
6823 * math/w_hypotl.c: Likewise.
6824 * math/w_j0.c: Likewise.
6825 * math/w_j0f.c: Likewise.
6826 * math/w_j0l.c: Likewise.
6827 * math/w_j1.c: Likewise.
6828 * math/w_j1f.c: Likewise.
6829 * math/w_j1l.c: Likewise.
6830 * math/w_jn.c: Likewise.
6831 * math/w_jnf.c: Likewise.
6832 * math/w_jnl.c: Likewise.
6833 * math/w_lgamma.c: Likewise.
6834 * math/w_lgamma_r.c: Likewise.
6835 * math/w_lgammaf.c: Likewise.
6836 * math/w_lgammaf_r.c: Likewise.
6837 * math/w_lgammal.c: Likewise.
6838 * math/w_lgammal_r.c: Likewise.
6839 * math/w_log.c: Likewise.
6840 * math/w_log10.c: Likewise.
6841 * math/w_log10f.c: Likewise.
6842 * math/w_log10l.c: Likewise.
6843 * math/w_log2.c: Likewise.
6844 * math/w_log2f.c: Likewise.
6845 * math/w_log2l.c: Likewise.
6846 * math/w_logf.c: Likewise.
6847 * math/w_logl.c: Likewise.
6848 * math/w_pow.c: Likewise.
6849 * math/w_powf.c: Likewise.
6850 * math/w_powl.c: Likewise.
6851 * math/w_remainder.c: Likewise.
6852 * math/w_remainderf.c: Likewise.
6853 * math/w_remainderl.c: Likewise.
6854 * math/w_scalb.c: Likewise.
6855 * math/w_scalbf.c: Likewise.
6856 * math/w_scalbl.c: Likewise.
6857 * math/w_sinh.c: Likewise.
6858 * math/w_sinhf.c: Likewise.
6859 * math/w_sinhl.c: Likewise.
6860 * math/w_sqrt.c: Likewise.
6861 * math/w_sqrtf.c: Likewise.
6862 * math/w_sqrtl.c: Likewise.
6863 * math/w_tgamma.c: Likewise.
6864 * math/w_tgammaf.c: Likewise.
6865 * math/w_tgammal.c: Likewise.
6866
6a621eb7
UD
6867 * po/ja.po: Update from translation team.
6868
bf582445
AJ
68692011-09-29 Andreas Jaeger <aj@suse.de>
6870
f9efbf3a
AJ
6871 [BZ #13179]
6872 * sunrpc/netname.c (netname2host): Fix logic.
6873
bf582445
AJ
6874 [BZ #6779]
6875 [BZ #6783]
6876 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6877 correctly.
6878 * math/w_remainder.c (__remainder): Likewise.
6879 * math/w_remainderf.c (__remainderf): Likewise.
6880 * math/libm-test.inc (remainder_test): Add test cases.
6881
48693bea
AK
68822011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6883
6884 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6885 sdiv_qrnnd.
6886
42622229
LD
68872011-10-07 Ulrich Drepper <drepper@gmail.com>
6888
6889 * string/test-memcmp.c: Avoid unncessary #defines.
6890 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6891
093ecf92
LD
68922011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6893
6894 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6895 Use new sse2 version for core i3 - i7 as it's faster
6896 than sse42 version.
6897 (bit_Prefer_PMINUB_for_stringop): New.
6898 * sysdeps/x86_64/rawmemchr.S: Update.
6899 Replace with faster SSE2 version.
6900 * sysdeps/x86_64/memrchr.S: New file.
6901 * sysdeps/x86_64/memchr.S: Update.
6902 Replace with faster SSE2 version.
6903
fde56e5c
MP
69042011-09-12 Marek Polacek <mpolacek@redhat.com>
6905
6906 * elf/dl-load.c (lose): Add cast to avoid warning.
6907
21fd49a9
UD
69082011-10-07 Ulrich Drepper <drepper@gmail.com>
6909
5a06e643
UD
6910 * po/ca.po: Update from translation team.
6911
684ae515
UD
6912 * inet/getnetgrent_r.c: Hook up nscd.
6913 * nscd/Makefile (routines): Add nscd_netgroup.
6914 (nscd-modules): Add netgroupcache.
6915 (CFLAGS-netgroupcache.c): Define.
6916 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6917 (cache_search): Add const to second parameter.
6918 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6919 INNETGR.
6920 (dbs): Add netgrdb entry.
6921 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6922 (verify_persistent_db): Handle netgrdb.
6923 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6924 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6925 GETFDNETGR.
6926 (netgroup_response_header): Define.
6927 (innetgroup_response_header): Define.
6928 (datahead): Add netgroup_response_header and innetgroup_response_header
6929 elements.
6930 * nscd/nscd.conf: Add entries for netgroup cache.
6931 * nscd/nscd.h (dbtype): Add netgrdb.
6932 (_PATH_NSCD_NETGROUP_DB): Define.
6933 (netgroup_iov_disabled): Declare.
6934 (xmalloc, xcalloc, xrealloc): Move declarations here.
6935 (cache_search): Adjust prototype.
6936 Add netgroup-related prototypes.
6937 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6938 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6939 (__nscd_innetgr): Declare.
6940 * nscd/selinux.c (perms): Use access_vector_t as element type and
6941 add netgroup-related initializers.
6942 * nscd/netgroupcache.c: New file.
6943 * nscd/nscd_netgroup.c: New file.
6944 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6945 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6946 For four parameters use innetgr.
6947 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6948 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6949 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6950 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6951
21fd49a9
UD
6952 * nscd/connections.c (register_traced_file): Don't register file
6953 for disabled databases.
6954
054c0457
UD
69552011-10-06 Ulrich Drepper <drepper@gmail.com>
6956
32b63198
UD
6957 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6958
054c0457
UD
6959 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6960 from tree and freeing node.
6961
64031225
JO
69622011-09-25 Jiri Olsa <jolsa@redhat.com>
6963
6964 * nss/nsswitch.c (__nss_database_lookup): Handle
6965 nss_parse_service_list out of memory case.
6966
0490345c
JO
69672011-09-15 Jiri Olsa <jolsa@redhat.com>
6968
6969 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6970 out of memory case.
6971
3a62d00d
AS
69722011-10-04 Andreas Schwab <schwab@redhat.com>
6973
6974 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6975 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6976 pass it down.
6977 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6978 elf_machine_rela, elf_machine_lazy_rel.
6979 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6980 (ELF_DYNAMIC_DO_REL): Likewise.
6981 (ELF_DYNAMIC_DO_RELA): Likewise.
6982 (ELF_DYNAMIC_RELOCATE): Likewise.
6983 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6984 to ELF_DYNAMIC_DO_REL.
6985 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6986 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6987 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6988 elf_machine_rela.
6989 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6990 skip_ifunc, don't call ifunc function if non-zero.
6991 (elf_machine_rela): Likewise.
6992 (elf_machine_lazy_rel): Likewise.
6993 (elf_machine_lazy_rela): Likewise.
6994 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6995 (elf_machine_lazy_rel): Likewise.
6996 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6997 Likewise.
6998 (elf_machine_lazy_rel): Likewise.
6999 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7000 Likewise.
7001 (elf_machine_lazy_rel): Likewise.
7002 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7003 (elf_machine_lazy_rel): Likewise.
7004 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7005 (elf_machine_lazy_rel): Likewise.
7006 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7007 (elf_machine_lazy_rel): Likewise.
7008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7009 (elf_machine_lazy_rel): Likewise.
7010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7011 (elf_machine_lazy_rel): Likewise.
7012 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7013 (elf_machine_lazy_rel): Likewise.
7014
68577918
UD
70152011-09-28 Ulrich Drepper <drepper@gmail.com>
7016
7017 * nss/nss_files/files-init.c (_nss_files_init): Use static
7018 initialization for all the *_traced_file variables.
7019
68822d74
AS
70202011-09-28 Andreas Schwab <schwab@redhat.com>
7021
7022 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7023
2056100b
RM
70242011-09-27 Roland McGrath <roland@hack.frob.com>
7025
7026 [BZ #13226]
7027 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7028
32c76b63
AS
70292011-09-27 Andreas Schwab <schwab@redhat.com>
7030
7031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7032 Reread the line before reparsing it.
7033
bf972c9d
AS
70342011-09-26 Andreas Schwab <schwab@redhat.com>
7035
7036 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7037
e057a1b5
JM
70382011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7039 Maxim Kuvyrkov <maxim@codesourcery.com>
7040 Joseph Myers <joseph@codesourcery.com>
7041
7042 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7043 if needed for __stack_chk_guard.
7044
bc7e1c36
RM
70452011-09-19 Roland McGrath <roland@hack.frob.com>
7046
ecb1482f
RM
7047 * sysdeps/posix/spawni.c (script_execute): Always define it.
7048 It will be optimized away if unused.
7049 (maybe_script_execute): New function.
7050 (__spawni): Call it.
7051
bc7e1c36
RM
7052 * Makerules: Don't include tls.make.
7053 (config-tls): Always set to thread.
7054 * tls.make.c: File removed.
7055
1c3b002b
MF
70562011-09-19 Mike Frysinger <vapier@gentoo.org>
7057
7058 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7059 * config.make.in (CPPFLAGS-config): New substituted variable.
7060
2840865d
UD
70612011-09-15 Ulrich Drepper <drepper@gmail.com>
7062
88738eb6
UD
7063 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7064
cbf645a6 7065 [BZ #13192]
2840865d
UD
7066 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7067 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7068
b402e91a
RM
70692011-09-15 Roland McGrath <roland@hack.frob.com>
7070
7071 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7072 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7074 (CALL_FAIL): Likewise.
7075 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7076 (CALL_FAIL): Macro removed.
7077 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7078
4c1a1f71
UD
70792011-09-15 Ulrich Drepper <drepper@gmail.com>
7080
7081 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7082 for __FINITE_MATH_ONLY__ == 1.
7083
edc121be
AS
70842011-09-15 Andreas Schwab <schwab@redhat.com>
7085
7086 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7087 __ieee754_sqrt instead of sqrt.
7088 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7089 __ieee754_sqrtf instead of sqrtf.
7090 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7091 __floorf instead of floorf.
7092 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7093 __floorf, __truncf instead of floorf, truncf.
7094
cd205654
UD
70952011-09-14 Ulrich Drepper <drepper@gmail.com>
7096
ee4d0315
UD
7097 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7098
cd205654
UD
7099 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7100 __extern_always_inline.
7101 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7102 32-bit.
7103
48b67d71
AS
71042011-09-14 Andreas Schwab <schwab@redhat.com>
7105
7106 * elf/rtld.c (dl_main): Also relocate in dependency order when
7107 doing symbol dependency testing.
7108
1ae12c75
AS
71092011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7110
7111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7112 Always define `refsym'.
7113
995a80df
AS
71142011-09-13 Andreas Schwab <schwab@redhat.com>
7115
e529793b
AS
7116 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7117 (__FD_ELT): Renamed from __FDELT.
7118 * misc/bits/select2.h (__FD_ELT): Likewise.
7119 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7120 __FD_MASK instead of __FDELT, __FDMASK.
7121 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7122 Likewise.
7123 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7124 Likewise.
7125
52d4fef8
AS
7126 * elf/Makefile (gen-ldd): Fix pattern.
7127
995a80df
AS
7128 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7129 (init_tls): Likewise.
7130
8682f8b0
UD
71312011-09-12 Ulrich Drepper <drepper@gmail.com>
7132
7133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7134
de82006d
AS
71352011-09-12 Andreas Schwab <schwab@redhat.com>
7136
a7c8e6a1
AS
7137 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7138 `struct cmsghdr *' instead of `void *'.
7139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7140 Likewise.
7141
0f31fe77
AS
71422011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7143
7144 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7145 if non-absolute.
7146 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7147 ldd_rewrite_script.
0f31fe77 7148
32b4c839
UD
71492011-09-11 Ulrich Drepper <drepper@gmail.com>
7150
83cd1420
UD
7151 * configure.in: Remove --with-tls option.
7152 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7153 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7154 out in case it is missing.
7155 * sysdeps/ia64/elf/configure.in: Likewise.
7156 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7157 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7158 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7159 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7160 * sysdeps/sh/elf/configure.in: Likewise.
7161 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7162 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7163 * sysdeps/x86_64/elf/configure.in: Likewise.
7164 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7165 * sysdeps/mach/hurd/tls.h: Likewise.
7166
633f745d
UD
7167 [BZ #13067]
7168 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7169
f318beb8
UD
7170 [BZ #13090]
7171 * configure.in: Fix use of AC_INIT.
7172
32b4c839
UD
7173 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7174
3ce1f295
UD
71752011-09-10 Ulrich Drepper <drepper@gmail.com>
7176
bb016596
UD
7177 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7178 __set_errno.
8e58439c
UD
7179 * malloc/hooks.c: Likewise.
7180
aebae053 7181 [BZ #11929]
02d46fc4
UD
7182 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7183 variables statically.
7184 (narenas): Initialize.
7185 (list_lock): Initialize.
bb016596
UD
7186 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7187 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7188 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7189 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7190 Add initializers to main_arena and mp_.
7191 (malloc_state): Remove pagesize member. Change all users to use
7192 GLRO(dl_pagesize).
7193
7194 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7195 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7196 is always initialized.
7197
22a89187
UD
7198 * malloc/malloc.c: Removed unused configurations and dead code.
7199 * malloc/arena.c: Likewise.
7200 * malloc/hooks.c: Likewise.
02d46fc4 7201 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7202
d063d164
UD
7203 * include/tls.h: Removed. USE___THREAD must always be defined.
7204 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7205 * elf/dl-libc.c: Likewise.
7206 * elf/dl-tsd.c: Likewise.
7207 * include/errno.h: Likewise.
7208 * include/netdb.h: Likewise.
7209 * include/resolv.h: Likewise.
7210 * inet/herrno-loc.c: Likewise.
7211 * inet/herrno.c: Likewise.
7212 * malloc/arena.c: Likewise.
7213 * malloc/hooks.c: Likewise.
7214 * malloc/malloc.c: Likewise.
7215 * resolv/res-state.c: Likewise.
7216 * resolv/res_libc.c: Likewise.
7217 * sysdeps/i386/dl-machine.h: Likewise.
7218 * sysdeps/ia64/dl-machine.h: Likewise.
7219 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7220 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7221 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7222 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7223 * sysdeps/sh/dl-machine.h: Likewise.
7224 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7225 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7226 * sysdeps/unix/i386/sysdep.S: Likewise.
7227 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7228 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7232 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7233 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7234 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7237 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7238 * sysdeps/x86_64/dl-machine.h: Likewise.
7239 * tls.make.c: Likewise.
7240
3ce1f295
UD
7241 * configure.in: Remove --with-__thread option. Make tests for
7242 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7243 tls_model attribute fail if no support is available. Remove
7244 USE_IN_LIBIO.
7245 * Makeconfig: Adjust for dropped configure option. All features are
7246 now mandatory.
7247 * Makerules: Likewise.
7248 * Versions.def: Likewise.
7249 * argp/argp-fmtstream.c: Likewise.
7250 * argp/argp-fmtstream.h: Likewise.
7251 * argp/argp-help.c: Likewise.
7252 * assert/assert.c: Likewise.
7253 * config.h.in: Likewise.
7254 * config.make.in: Likewise.
7255 * configure: Likewise.
7256 * configure.in: Likewise.
7257 * csu/Versions: Likewise.
7258 * csu/init.c: Likewise.
7259 * elf/tst-audit2.c: Likewise.
7260 * elf/tst-tls10.c: Likewise.
7261 * elf/tst-tls10.h: Likewise.
7262 * elf/tst-tls11.c: Likewise.
7263 * elf/tst-tls12.c: Likewise.
7264 * elf/tst-tls14.c: Likewise.
7265 * elf/tst-tlsmod11.c: Likewise.
7266 * elf/tst-tlsmod12.c: Likewise.
7267 * elf/tst-tlsmod13.c: Likewise.
7268 * elf/tst-tlsmod13a.c: Likewise.
7269 * elf/tst-tlsmod14a.c: Likewise.
7270 * elf/tst-tlsmod15b.c: Likewise.
7271 * elf/tst-tlsmod16a.c: Likewise.
7272 * elf/tst-tlsmod16b.c: Likewise.
7273 * elf/tst-tlsmod7.c: Likewise.
7274 * elf/tst-tlsmod8.c: Likewise.
7275 * elf/tst-tlsmod9.c: Likewise.
7276 * gmon/gmon.c: Likewise.
7277 * grp/fgetgrent_r.c: Likewise.
7278 * grp/putgrent.c: Likewise.
7279 * hurd/fopenport.c: Likewise.
7280 * include/libc-symbols.h: Likewise.
7281 * include/tls.h: Likewise.
7282 * intl/gettextP.h: Likewise.
7283 * intl/loadinfo.h: Likewise.
7284 * locale/global-locale.c: Likewise.
7285 * locale/localeinfo.h: Likewise.
7286 * mach/devstream.c: Likewise.
7287 * malloc/arena.c: Likewise.
7288 * malloc/set-freeres.c: Likewise.
7289 * misc/err.c: Likewise.
7290 * misc/getttyent.c: Likewise.
7291 * misc/mntent_r.c: Likewise.
7292 * posix/getopt.c: Likewise.
7293 * posix/wordexp.c: Likewise.
7294 * pwd/fgetpwent_r.c: Likewise.
7295 * resolv/Versions: Likewise.
7296 * resolv/res_hconf.c: Likewise.
7297 * shadow/fgetspent_r.c: Likewise.
7298 * shadow/putspent.c: Likewise.
7299 * stdio-common/printf_fphex.c: Likewise.
7300 * stdio-common/tmpfile.c: Likewise.
7301 * stdlib/abort.c: Likewise.
7302 * stdlib/fmtmsg.c: Likewise.
7303 * sunrpc/auth_unix.c: Likewise.
7304 * sunrpc/clnt_perr.c: Likewise.
7305 * sunrpc/clnt_tcp.c: Likewise.
7306 * sunrpc/clnt_udp.c: Likewise.
7307 * sunrpc/clnt_unix.c: Likewise.
7308 * sunrpc/openchild.c: Likewise.
7309 * sunrpc/svc_simple.c: Likewise.
7310 * sunrpc/svc_tcp.c: Likewise.
7311 * sunrpc/svc_udp.c: Likewise.
7312 * sunrpc/svc_unix.c: Likewise.
7313 * sunrpc/xdr.c: Likewise.
7314 * sunrpc/xdr_array.c: Likewise.
7315 * sunrpc/xdr_rec.c: Likewise.
7316 * sunrpc/xdr_ref.c: Likewise.
7317 * sunrpc/xdr_stdio.c: Likewise.
7318
1248c1c4
PB
73192011-09-09 Ulrich Drepper <drepper@gmail.com>
7320
7321 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7322
73232011-07-03 Andreas Jaeger <aj@suse.de>
7324
7325 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7326 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7327 regenerate with gen-libm-tests.pl.
7328
73292010-05-12 Petr Baudis <pasky@suse.cz>
7330
7331 [BZ #11589]
7332 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7333 around j0() zero points by switching to j1().
7334 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7338
f22e1074
UD
73392011-09-09 Ulrich Drepper <drepper@gmail.com>
7340
f19009c1
UD
7341 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7342 instead of 0.
7343 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7344 instead of 0. .
7345 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7346 Patch in part by Pavel Roskin <proski@gnu.org>.
7347
3f8cc204
UD
7348 [BZ #13138]
7349 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7350 realloc.
7351 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7352 Free memory block if necessary.
7353
f22e1074
UD
7354 [BZ #12847]
7355 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7356 be NULL. Don't lock in this case.
7357
0a2349f9
RM
73582011-09-09 Roland McGrath <roland@hack.frob.com>
7359
7360 * elf/elf.h (ELFOSABI_GNU): New macro.
7361 (ELFOSABI_LINUX): Define to that.
7362
f3cdd467
DZ
73632011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7364
7365 * string/strncat.c (strncat): Undef the symbol in case it has been
7366 defined in bits/string.h.
7367
74718d13
UD
73682011-09-09 Ulrich Drepper <drepper@gmail.com>
7369
633e9e0f
UD
7370 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7371
0a2349f9 7372 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7373 link map.
7374
f9924780
AJ
73752011-08-17 Andreas Jaeger <aj@suse.de>
7376
7377 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7378
7f5517aa
PP
73792011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7380 Ian Lance Taylor <iant@google.com>
7381
7382 * math/libm-test.inc (lround_test): New testcase.
7383 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7384
762011fe
UD
73852011-09-08 Ulrich Drepper <drepper@gmail.com>
7386
92963737
UD
7387 * Makefile: Remove support for automatic cvs check-ins.
7388 * Makerules: Likewise.
7389 * config.make.in: Likewise.
7390 * configure.in: Likewise.
7391 * intl/Makefile: Likewise.
7392 * locale/Makefile: Likewise.
7393 * po/Makefile: Likewise.
7394 * posix/Makefile: Likewise.
7395 * sysdeps/gnu/Makefile: Likewise.
7396 * sysdeps/mach/hurd/Makefile: Likewise.
7397 * sysdeps/sparc/sparc32/Makefile: Likewise.
7398
b0727fd8
JS
7399 [BZ #13118]
7400 * posix/Makefile (bug-regex32-ENV): Define.
7401 Patch by John Stanley <jpsinthemix@verizon.net>.
7402
a0f33f99
UD
7403 * misc/Makefile (headers): Add bits/select2.h.
7404 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7405 * misc/bits/select2.h: New file.
7406 * include/bits/select2.h: New file.
7407 * debug/Makefile (routines): Add fdelt_chk.
7408 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7409 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7410 FD_ISSET.
7411 * debug/fdelt_chk.c: New file.
7412
762011fe
UD
7413 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7414 * wcsmbs/test-wmemcmp.c: Likewise.
7415 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7416 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7417
74182011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7419
7420 * string/Makefile (strop-tests): Add memcmp.
7421 * string/test-wmemcmp.c: New file.
7422 * string/test-memcmp.c: Add wmemcmp support.
7423
7f513ec8
RM
74242011-09-08 Roland McGrath <roland@hack.frob.com>
7425
0442afb4
RM
7426 [BZ #13153]
7427 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7428 2011-07-19 change.
7429
7f513ec8
RM
7430 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7431 garbage value in a __mach_port_mod_refs call in the cases of the
7432 task-self and thread-self ports.
7433
a12b2239
ST
74342011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7435
7436 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7437
610f9ab4
AS
74382011-09-08 Andreas Schwab <schwab@redhat.com>
7439
7f513ec8 7440 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7441
48882a1a
LD
74422011-09-07 Ulrich Drepper <drepper@gmail.com>
7443
b49865be
UD
7444 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7445
fdc86bc9
UD
7446 * elf/dl-libc.c (dlerror_run): Pass back error code from
7447 dl_catch_error.
7448
c966526a
UD
7449 [BZ #13123]
7450 * elf/dl-load.c (lose): Free l_origin if it is valid.
7451
48882a1a
LD
7452 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7453 names.
7454 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7455 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7456 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7457 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7458 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7459 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7460
77a2a8b4
AZ
74612011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7462
7463 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7464 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7465 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7466 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7467 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7468 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7469 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7470 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7471 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7472 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7473
24f579d8
AM
74742011-08-15 Alan Modra <amodra@gmail.com>
7475
7476 [BZ #13092]
7477 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7478 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7479 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7480 ppc_mcount to static-only-routines.
7481 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7482 __mcount_internal.
7483 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7484 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7485
3d4837df
UD
74862011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7487
7488 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7489 for finite and infinity parameters.
7490
22700377
WS
74912011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7492
7493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7494 and add nop instructions for throughput optimization.
7495 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7496
5025581e
WS
74972011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7498
7499 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7500 aligned copy for power7 with vector-scalar instructions.
7501 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7502
08a300c9
L
75032011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7504
7505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7506 AVX check.
7507
59178ef9
AS
75082011-09-07 Andreas Schwab <schwab@redhat.com>
7509
7510 [BZ #13144]
7511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7512 last change.
7513
e38ba7ab
UD
75142011-09-07 Ulrich Drepper <drepper@gmail.com>
7515
7516 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7517 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7518 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7519 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7520 clock_gettime.
7521
d53a73ac
UD
75222011-09-06 Ulrich Drepper <drepper@gmail.com>
7523
fc8bffcc
UD
7524 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7525 Forgot to demangle the pointer.
7526
ceaa0c5d
UD
7527 * sysdeps/i386/sysdep.h: Define atom_text_section.
7528 * sysdeps/x86_64/sysdep.h: Likewise.
7529 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7530 section with atom_text_section.
7531 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7532 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7533 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7535 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7536
a77d3c17
UD
7537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7538 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7539 already be defined. Change to take two parameters and don't assign
7540 result to variable. Adjust all users.
7541 Define INTERNAL_GETTIME if not already defined.
7542 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7543 call.
7544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7545 HAVE_CLOCK_GETTIME_VSYSCALL.
7546 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7547
d53a73ac
UD
7548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7549 gettimeofday vsyscall, just use time.
7550
a8f84144
AS
75512011-09-06 Andreas Schwab <schwab@redhat.com>
7552
7553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7554 <errno.h>.
7555
ef606249
UD
75562011-09-06 Ulrich Drepper <drepper@gmail.com>
7557
7558 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7559 syscall on x86-64.
7560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7561 syscall.
7562 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7563 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7564 syscall if possible.
7565
6585cb60
UD
75662011-09-05 Ulrich Drepper <drepper@gmail.com>
7567
7568 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7569 e_ident. Don't pass to find_mapsXX.
7570 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7571
a5f524e4
LD
75722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7573
7574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7575 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7576 * sysdeps/x86_64/multiarch/strchr.S: Update.
7577 Check bit_slow_BSF bit.
7578 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7579 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7580 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7581
554881ef
UD
75822011-09-05 Ulrich Drepper <drepper@gmail.com>
7583
d96de963
UD
7584 [BZ #13134]
7585 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7586 before glibc 2.15.
7587 (tryshell): Define.
7588 (__spawni): Change last parameter to be flag. Test
7589 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7590 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7591 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7592 * posix/spawni.c: Likewise.
7593 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7594 * posix/spawnp.c: Likewise. Change normal version to use
7595 SPAWN_XFLAGS_USE_PATH.
7596 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7597 SPAWN_XFLAGS_TRY_SHELL.
7598
d48e5868
UD
7599 [BZ #13150]
7600 * posix/glob.h: Remove gcc 1.x support.
7601
554881ef
UD
7602 [BZ #13068]
7603 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7604
693fb948
LD
76052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7606
7607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7608 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7609 strrchr-sse2-bsf
7610 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7611 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7612 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7613 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7614 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7616
1b48c537
UD
76172011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7618
49d42c37
UD
7619 * sysdeps/x86_64/wcscmp.S: New file.
7620
1b48c537
UD
7621 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7622 wcscmp-c wcscmp-sse2
7623 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7624 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7625 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7626 * wcsmbs/wcscmp.c: Allow renaming.
7627
15c95c5d
DM
76282011-09-05 David S. Miller <davem@davemloft.net>
7629
7630 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7631 stack slot, rather than the struct return pointer slot.
7632 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7633 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7635 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7636
2f0ad8f3
UD
76372011-09-05 Ulrich Drepper <drepper@gmail.com>
7638
d88ae418
UD
7639 * po/ja.po: Update from translation team.
7640
2f0ad8f3
UD
7641 [BZ #13144]
7642 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7643 kernel in 64-bit binaries.
7644
5f4318d1
DM
76452011-09-01 David S. Miller <davem@davemloft.net>
7646
7647 * elf/elf.h (HWCAP_SPARC_*): Move to..
7648 * sysdeps/sparc/sysdep.h: this new file and add new values.
7649 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7650 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7651 _DL_HWCAP_COUNT to 24.
7652 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7653 entries.
7654 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7655 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7656 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7658 instead of magic constants.
7659 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7660
3ba57516
DM
76612011-08-31 David S. Miller <davem@davemloft.net>
7662
7663 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7664 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7665 Reimplement to do errno handling inline.
7666 (SYSCALL_ERROR_HANDLER): New macro.
7667 (__SYSCALL_STRING): Do not do errno handling in asm.
7668 (__CLONE_SYSCALL_STRING): Delete.
7669 (__INTERNAL_SYSCALL_STRING): Delete.
7670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7671 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7672 (PSEUDO): Reimplement to do errno handling inline.
7673 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7674 (SYSCALL_ERROR_HANDLER): New macro.
7675 (__SYSCALL_STRING): Do not do errno handling in asm.
7676 (__CLONE_SYSCALL_STRING): Delete.
7677 (__INTERNAL_SYSCALL_STRING): Delete.
7678 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7679 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7680 i386.
7681 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7682 (inline_syscall*): Add 'err' argument.
7683 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7684 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7685 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7686 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7687
7688 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7689 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7690
2bc17433
AS
76912011-08-30 Andreas Schwab <schwab@redhat.com>
7692
7693 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7694
fbeb5f4d
JO
76952011-08-29 Jiri Olsa <jolsa@redhat.com>
7696
7697 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7698 directive.
7699
ad69cc26
DM
77002011-08-24 David S. Miller <davem@davemloft.net>
7701
7702 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7703
39dd69df
AS
77042011-08-24 Andreas Schwab <schwab@redhat.com>
7705
7706 * elf/Makefile: Add rules to build and run unload8 test.
7707 * elf/unload8.c: New file.
7708 * elf/unload8mod1.c: New file.
7709 * elf/unload8mod1x.c: New file.
7710 * elf/unload8mod2.c: New file.
7711 * elf/unload8mod3.c: New file.
7712
7713 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7714 it wasn't used.
7715
2c0b250a
DM
77162011-08-23 David S. Miller <davem@davemloft.net>
7717
7718 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7719 subtract stack bias.
7720 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7721 %sp not %fp in calculations.
7722 (_JMPBUF_UNWINDS_ADJ): Likewise.
7723
22044b48
DM
7724 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7725 (aio_suspend): Call it to force an exception region around the
7726 AIO_MISC_WAIT() invocation.
7727
2cae4995
AS
77282011-08-23 Andreas Schwab <schwab@redhat.com>
7729
7730 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7731 backslash.
7732
873a772e
AJ
77332011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7734
7735 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7736 protection macro.
7737 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7738 and <dl-machine.h>.
7739 (Elf64_FuncDesc): Remove.
7740
25ad0df1
DM
77412011-08-22 David S. Miller <davem@davemloft.net>
7742
7743 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7744 sigaltstack check, add missing cfi directives.
7745 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7746 missing cfi directives, and sigaltstack handling.
7747
e888bcbe
AS
77482011-08-16 Andreas Schwab <schwab@redhat.com>
7749
7750 [BZ #11724]
7751 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7752 object is seen twice.
7753 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7754
7755 * elf/Makefile (distribute): Add tst-initorder2.c.
7756 (tests): Add tst-initorder2.
7757 (modules-names): Add tst-initorder2a tst-initorder2b
7758 tst-initorder2c tst-initorder2d. Add rules to build them.
7759 ($(objpfx)tst-initorder2.out): New rule.
7760 * elf/tst-initorder2.c: New file.
7761 * elf/tst-initorder2.exp: New file.
7762
87162f46
AS
77632011-08-22 Andreas Schwab <schwab@redhat.com>
7764
70538b7f
AS
7765 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7766
f55ffe58
AS
7767 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7768 dependencies back to end of function.
7769
87162f46
AS
7770 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7771 $(elfobjdir)/ld.so.
7772
91b392a4
UD
77732011-08-21 Ulrich Drepper <drepper@gmail.com>
7774
7775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7776 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7778 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7779 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7780 of __vdso_gettimeofday.
7781 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7782 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7783 attribute_hidden.
7784 (_libc_vdso_platform_setup): Remove initialization of
7785 __vdso_gettimeofday and __vdso_time.
7786
5c43483f
UD
77872011-08-20 Ulrich Drepper <drepper@gmail.com>
7788
775a77e7
UD
7789 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7790 and fgetc_unlocked.
7791 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7792 getc_unlocked.
89f447ed 7793
49c74ba9
UD
7794 * elf/dl-open.c (add_to_global): Report additions to the global scope
7795 for LD_DEBUG=scopes.
7796 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7797 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7798
5c43483f
UD
7799 [BZ #13114]
7800 * stdio-common/Makefile (tests): Add bug24.
7801 * stdio-common/bug24.c: New file.
7802
a101b025
AJ
78032011-08-19 Andreas Jaeger <aj@suse.de>
7804
7805 [BZ #13114]
7806 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7807 non-existant file when using close-on-exec mode.
7808
c88f1766
UD
78092011-08-20 Ulrich Drepper <drepper@gmail.com>
7810
0276a718
UD
7811 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7812 the very first instruction.
7813
c88f1766
UD
7814 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7815 the CFI state in the end.
7816 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7817 inclusion of dl-trampoline.h.
7818 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7819
51ccffa0
AS
78202011-08-19 Andreas Schwab <schwab@redhat.com>
7821
94d7165f
AS
7822 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7823 expectations for long double.
7824
51ccffa0
AS
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7826 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7827
fd708658 78282011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7829
7830 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7831 artificual limit depends upon the system page size.
7832
44f0a71e
UD
78332011-08-17 Ulrich Drepper <drepper@gmail.com>
7834
7835 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7836 * resolv/Makefile: Define CFLAGS-libresolv.
7837
8de79a24
AS
78382011-08-17 Andreas Schwab <schwab@redhat.com>
7839
7840 * nss/makedb.c (compute_tables): Make variables used in nested
7841 function static.
7842
27724598
UD
78432011-08-17 Ulrich Drepper <drepper@gmail.com>
7844
c5305d88
UD
7845 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7846 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7847 if buffer was too small.
7848
27724598
UD
7849 * elf/pldd.c (main): Attach to all threads in the process.
7850 Rewrite /proc handling to use *at functions.
7851
076fe015
UD
78522011-08-16 Ulrich Drepper <drepper@gmail.com>
7853
174baab3
UD
7854 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7855 specifies first scope to show.
7856 (dl_open_worker): Update callers. Move printing scope of new
7857 object to before the relocation.
44f0a71e 7858 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7859 * sysdeps/generic/ldsodefs.h: Update declaration.
7860
076fe015
UD
7861 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7862 string for the scope number.
7863
a60df2c3
UD
78642011-08-14 Ulrich Drepper <drepper@gmail.com>
7865
7866 * nscd/servicescache.c (cache_addserv): Make sure written is always
7867 initialized.
7868
5e4287d1
RM
78692011-08-14 Roland McGrath <roland@hack.frob.com>
7870
85ae0589
RM
7871 * sysdeps/i386/i486/bits/atomic.h
7872 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7873 statement expression, so as to suppress "set but not used" warning.
7874 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7875
69f63097
RM
7876 * string/strncat.c (STRNCAT): Use prototype definition.
7877
675456ef
RM
7878 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7879 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7880 -Iprograms here.
7881 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7882 (localedef-modules): Add localedef.
7883 (locale-modules): Add locale.
7884
5e4287d1
RM
7885 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7886 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7887 to avoid a warning.
7888
9c96ff23
DM
78892011-08-14 David S. Miller <davem@davemloft.net>
7890
7891 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7892 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7893
f9ddf089
UD
78942011-08-13 Ulrich Drepper <drepper@gmail.com>
7895
44f0a71e 7896 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7897 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7898 * elf/rtld.c (dl_main): Set l_name of vDSO.
7899 Call _dl_show_scope when DL_DEBUG_SCOPES.
7900 (process_dl_debug): Recognize scopes flag and also set it for all.
7901 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7902 Declare _dl_show_scope.
7903
1dc27704
UD
7904 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7905 (do_dlopen): Pass caller_dlopen to dl_open.
7906 (__libc_dlopen_mode): Initialize caller_dlopen.
7907
f9ddf089
UD
7908 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7909 of libc. Make tolower call locale-independent. Optimize a bit by
7910 using isdigit instead of isalnum.
7911 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7912
9ac533d3
UD
79132011-08-12 Ulrich Drepper <drepper@gmail.com>
7914
7915 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7916 was a dependency or dynamically loaded.
7917
89edf2e9
UD
79182011-08-11 Ulrich Drepper <drepper@gmail.com>
7919
8e999d29
UD
7920 * intl/l10nflist.c: Allow architecture-specific pop function.
7921 * sysdeps/x86_64/l10nflist.c: New file.
7922
89edf2e9
UD
7923 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7924 classification.
7925
14d96785
AS
79262011-08-10 Andreas Schwab <schwab@redhat.com>
7927
7928 * include/dirent.h: Add libc_hidden_proto for scandirat and
7929 scandirat64. Don't declare __scandirat64.
7930 * dirent/scandirat.c: Add libc_hidden_def.
7931 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7932 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7933
6761ac04
DM
79342011-08-10 David S. Miller <davem@davemloft.net>
7935
7936 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7937 enum.
7938 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7941
c55fbd1e
UD
79422011-08-09 Ulrich Drepper <drepper@gmail.com>
7943
7944 * Versions.def [libc]: Add GLIBC_2.15.
7945 * dirent/Makefile (routines): Add scandirat and scandirat64.
7946 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7947 GLIBC_2.15.
7948 * dirent/dirent.h: Declare scandirat and scandirat64.
7949 * dirent/scandirat.c: New file.
7950 * dirent/scandirat64.c: New file.
7951 * sysdeps/wordsize-64/scandirat.c: New file.
7952 * sysdeps/wordsize-64/scandirat64.c: New file.
7953 * dirent/opendir.c: Define opendirat.
7954 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7955 using scandirat.
7956 * dirent/scandir64.c: Adjust for scandir.c change.
7957 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7958 __scandirat64, and __scandir_cancel_handler.
7959 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7960 additional parameter and use openat instead of open (outside of ld.so).
7961 Add new __opendir as wrapper around __opendirat.
7962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7963 here without requiring old scandirat implementation.
7964
879165f2
UD
79652011-08-08 Ulrich Drepper <drepper@gmail.com>
7966
7967 * dirent/scandir.c (cancel_handler): Renamed to
7968 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7969 defined. Adjust users.
7970 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7971 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7972
cb7e923b
UD
79732011-08-04 Ulrich Drepper <drepper@gmail.com>
7974
16292edd
UD
7975 * string/test-string.h (IMPL): Use __STRING to expand name and then
7976 stringify it.
7977
cb7e923b
UD
7978 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7979 of cleanups.
7980
cff82933
LD
79812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7982
7983 * string/Makefile: Update.
7984 (strop-tests): Append strncat.
7985 * string/test-wcscmp.c: New file.
7986 New comprehensive test for wcscmp.
7987 * string/test-strcmp.c: Update.
7988 (WIDE): New define.
7989
9be9bfcc
AS
79902011-07-22 Andreas Schwab <schwab@redhat.com>
7991
7992 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7993 line.
7994
2e96f1c7
AS
79952011-07-26 Andreas Schwab <schwab@redhat.com>
7996
7997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7998 encoding to ACE if AI_IDN.
7999
85188888
JJ
80002011-08-01 Jakub Jelinek <jakub@redhat.com>
8001
8002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8003 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8004
5fa16e9b
LD
80052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8006
8007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8008 Fix overflow bug in strncat.
8009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8010
8011 * string/test-strncat.c: Update.
8012 Add new tests for checking overflow bugs.
8013
80142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8015
8016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8017 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8018 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8019 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8021 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8022 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8023 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8024 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8025
8026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8027 (USE_AS_STRCAT): Define.
8028 Add strcat and strncat support.
8029 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8030
8c1a459f
AS
80312011-07-25 Andreas Schwab <schwab@redhat.com>
8032
8033 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8034 __n bigger than INT_MAX+1.
8035 (__strncmp_g): Likewise.
8036
bba33c28
UD
80372011-07-23 Ulrich Drepper <drepper@gmail.com>
8038
798be72d
UD
8039 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8040 * libio/stido.h: Likewise.
8041
8accd4dc
UD
8042 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8043 (AF_NFC): Define.
8044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8045 (AF_NFC): Define.
8046
cbff0d96
UD
8047 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8048 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8049 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8050 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8051 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8052
9191c04a
UD
8053 [BZ #13021]
8054 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8055 installed.
8056
bba33c28
UD
8057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8058 typo.
8059 (_dl_x86_64_save_sse): Likewise.
8060
90f139dd
UD
80612011-07-22 Ulrich Drepper <drepper@gmail.com>
8062
1aae088a
UD
8063 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8064 OSXSAVE.
8065 (_dl_x86_64_save_sse): Likewise.
8066
8e2045f5
UD
8067 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8068
90f139dd
UD
8069 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8070
1d002f25
AS
80712011-07-21 Andreas Schwab <schwab@redhat.com>
8072
8073 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8074 change.
8075 (_dl_x86_64_save_sse): Use correct AVX check.
8076
21137f89
UD
80772011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8078
8079 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8080 bug in strncpy/strncat.
8081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8082
a65c0b7a
UD
80832011-07-21 Ulrich Drepper <drepper@gmail.com>
8084
8085 * string/tester.c (test_strcat): Add tests for different alignments
8086 of source and destination.
8087 (test_strncat): Likewise.
8088
6986b98a
UD
80892011-07-20 Ulrich Drepper <drepper@gmail.com>
8090
90bb2039
UD
8091 [BZ #12852]
8092 * posix/glob.c (glob): Check passed in values before using them in
8093 expressions to avoid some overflows.
8094 (glob_in_dir): Likewise.
8095
5644ef54
UD
8096 [BZ #13007]
8097 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8098 check for AVX enablement so that we don't crash with old kernels and
8099 new hardware.
8100 * elf/tst-audit4.c: Add same checks here.
8101 * elf/tst-audit6.c: Likewise.
8102
8103 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8104
bfc9dc9b
AS
81052011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8106
8107 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8108
702e64bb
UD
81092011-07-20 Ulrich Drepper <drepper@gmail.com>
8110
8111 * po/cs.po: Update from translation team.
8112 * po/bg.po: Likewise.
8113
295e904f
MP
81142011-07-12 Marek Polacek <mpolacek@redhat.com>
8115
8116 * misc/sys/cdefs.h: Add support for const attribute.
8117 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8118 to gnu_dev_{major,minor,makedev} functions.
8119
3ff94596
MP
81202011-07-20 Marek Polacek <mpolacek@redhat.com>
8121
8122 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8123
28b59fca
AS
81242011-07-20 Andreas Schwab <schwab@redhat.com>
8125
8126 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8127 strlen results.
8128
19df733e
AK
81292011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8130
8131 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8132 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8133 register in order to avoid conflicts with the soft frame pointer
8134 being held in r11 when necessary.
8135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8136 (INTERNAL_VSYSCALL_NCS): Likewise.
8137
c8835729
MP
81382011-07-14 Marek Polacek <mpolacek@redhat.com>
8139
8140 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8141 * elf/dl-fini.c (_dl_fini): Adjust caller.
8142 * elf/dl-close.c (_dl_close_worker): Likewise.
8143 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8144
b902330c
MP
81452011-07-15 Marek Polacek <mpolacek@redhat.com>
8146
8991e135
MP
8147 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8148 "aux_cache->nlibs < 0".
8149
b902330c
MP
8150 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8151 in the reload-count case.
8152
99710781
LD
81532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8154
8155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8156 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8157 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8158 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8159 * sysdeps/x86_64/multiarch/strcat.S: New file.
8160 * sysdeps/x86_64/multiarch/strncat.S: New file.
8161 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8162 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8163 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8164 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8166 (USE_AS_STRCAT): Define.
8167 Add strcat and strncat support.
8168 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8169 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8170 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8171 * string/strncat.c: Update.
8172 (USE_AS_STRNCAT): Define.
8173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8174 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8175 and i7.
8176 * sysdeps/x86_64/multiarch/init-arch.h
8177 (bit_Prefer_PMINUB_for_stringop): New.
8178 (index_Prefer_PMINUB_for_stringop): Likewise.
8179 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8180 bit_Prefer_PMINUB_for_stringop.
8181
7dc6bd90
UD
81822011-07-19 Ulrich Drepper <drepper@gmail.com>
8183
8184 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8185 buffer64.
8186 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8187 of casting of buffer.
8188 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8189 buffer32 and buffer64.
8190 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8191 writes instead of casting of buffer.
8192 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8193 buffer32.
8194 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8195 casting of buffer.
8196
e0e72284
AS
81972011-07-19 Andreas Schwab <schwab@redhat.com>
8198
8199 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8200
feb1eb0b
UD
82012011-07-19 Ulrich Drepper <drepper@gmail.com>
8202
8203 * nscd/nscd.c (termination_handler): Don't do anything for a database
8204 if it has not yet been initialized.
8205
298711ff
UD
82062011-07-18 Ulrich Drepper <drepper@gmail.com>
8207
8208 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8209
82102011-07-15 Marek Polacek <mpolacek@redhat.com>
8211
8212 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8213
f9d68389
UD
82142011-07-18 Ulrich Drepper <drepper@gmail.com>
8215
8216 * po/nl.po: Update from translation team.
8217 * po/sv.po: Likewise.
8218
db290cf5
RM
82192011-07-16 Roland McGrath <roland@hack.frob.com>
8220
8221 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8222 now disallowed by GCC.
5c550700 8223
fd5e21c7
RM
8224 * configure.in (use-default-link): Default to yes if a test -shared
8225 link meets our qualifications.
8226 * configure: Regenerated.
8227
5c550700
RM
8228 * config.make.in (output-format): New variable.
8229 * configure.in: Check for ld --print-output-format support.
8230 * configure: Regenerated.
8231 * Makerules ($(common-objpfx)format.lds)
8232 [$(output-format) != unknown]: Just use $(output-format),
8233 instead of the linker-script munging.
8234
9fa2c032
RM
82352011-07-14 Roland McGrath <roland@hack.frob.com>
8236
a6928d51
RM
8237 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8238 of $(common-objpfx)shlib.lds.
8239 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8240
661607b3
RM
8241 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8242 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8243
9fa2c032
RM
8244 * configure.in (-z relro check): Adjust test code to add a large
8245 writable data section after it.
8246 * configure: Regenerated.
8247
defe9061
RM
82482011-07-11 Roland McGrath <roland@hack.frob.com>
8249
8250 * configure.in (-z relro check): Fix test code to make the variable
8251 truly const.
8252 * configure: Regenerated.
8253
319b9ad4
UD
82542011-07-11 Ulrich Drepper <drepper@gmail.com>
8255
8256 * nscd/nscd.h (struct traced_file): Define.
8257 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8258 elements. Add traced_files.
8259 (inotify_fd): Declare.
8260 (register_traced_file): Declare.
8261 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8262 (inotify_fd): Export.
8263 (resolv_conf_descr): Remove.
8264 (nscd_init): Move inotify descriptor creation to main.
8265 Don't register files for notification here.
8266 (register_traced_file): New function.
8267 (invalidate_cache): Don't use reset_res to determine whether to call
8268 res_init, go through the list of registered files.
8269 (main_loop_poll): The inotify descriptors are now stored in the
8270 structures for the traced files.
8271 (main_loop_epoll): Likewise
8272 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8273 to __nss_disable_nscd.
8274 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8275 for a database anymore. Check the records for all the registered
8276 files instead.
8277 * nss/Makefile (libnss_files-routines): Add files-init.
8278 (libnss_db-routines): Add db-init.
8279 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8280 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8281 * nss/nss_db/db-init.c: New file.
8282 * nss/nss_files/files-init.c: New file.
8283 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8284 __nss_lookup_function.
8285 (__nss_lookup_function): Call nss_load_library.
8286 (nss_load_all_libraries): New function.
8287 (__nss_disable_nscd): Take parameter with callback function for files
8288 to register. Set is_nscd. Load all the DSOs for the NSS modules
8289 used for the cached services.
8290 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8291 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8292 options for features to all the files in nscd.
8293
8294 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8295
23bee3e8
RM
82962011-07-10 Roland McGrath <roland@hack.frob.com>
8297
8298 * csu/elf-init.c (__libc_csu_init): Comment typo.
8299
46a5b7f0
UD
83002011-07-09 Ulrich Drepper <drepper@gmail.com>
8301
8302 * po/pl.po: Update from translation team.
8303 * po/ja.po: Likewise.
8304 * po/ru.po: Likewise.
8305 * po/ko.po: Likewise.
8306 * po/fr.po: Likewise.
8307
d30cf5bb
RM
83082011-07-09 Roland McGrath <roland@hack.frob.com>
8309
113ddea4
RM
8310 * configure.in (.ctors/.dtors header and trailer check):
8311 Use an empirical test on a built program.
8312 * configure: Regenerated.
8313
574920b4
RM
8314 * configure.in (-z relro check): Use an empirical test on a built DSO.
8315 Detect, but do not require, on ia64.
8316 * configure: Regenerated.
8317
d30cf5bb
RM
8318 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8319 Update tests that use readelf to use $READELF instead.
8320 * configure: Regenerated.
8321
8538fdb3
UD
83222011-07-08 Ulrich Drepper <drepper@gmail.com>
8323
8324 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8325 if the result is not used.
8326
04d08991
AJ
83272011-07-05 Andreas Jaeger <aj@suse.de>
8328
8329 [BZ#9696]
8330 * stdlib/tst-strtod.c: Add testcase.
8331
de283087
AD
83322011-07-07 Ulrich Drepper <drepper@gmail.com>
8333
4e5f31c8 8334 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8335 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8336 The latter has a higher limit. Take additional parameter to pass to
8337 the new function.
8338 (__pathconf): Pass file to __statfs_link_max.
8339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8340 __statfs_link_max.
8341 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8342 __statfs_link_max.
8343
de283087
AD
8344 [BZ #12868]
8345 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8346 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8347 Handle Lustre.
8348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8349 (__statfs_filesize_max): Likewise.
8350 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8351
c75fa153
AJ
83522011-07-05 Andreas Jaeger <aj@suse.de>
8353
8354 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8355
1a544854
UD
83562011-07-06 Marek Polacek <mpolacek@redhat.com>
8357
8358 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8359 `status' variable.
8360 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8361 Likewise.
8362
6f0eec67
UD
83632011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8364
8365 * Makefile (strop-tests): Add strncat.
8366 * string/test-strncat.c: New file.
8367
aae30307
UD
83682011-06-30 Marek Polacek <mpolacek@redhat.com>
8369
8370 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8371
c0cfb5eb
UD
83722011-06-21 Andreas Jaeger <aj@suse.de>
8373
8374 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8375 Copy rule from iconvdata/Makefile.
8376
01636b21
UD
83772011-07-06 Ulrich Drepper <drepper@gmail.com>
8378
8379 [BZ #12922]
8380 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8381 but no long options are defined, just return 'W'.
8382
9895c8bc
UD
83832011-06-22 Marek Polacek <mpolacek@redhat.com>
8384
8385 [BZ #9696]
8386 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8387
5d4cf042
UD
83882011-07-06 Ulrich Drepper <drepper@gmail.com>
8389
8390 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8391 netgroups to read.
960e5535 8392 (innetgr): Likewise.
5d4cf042 8393
751eb97e
RM
83942011-07-05 Roland McGrath <roland@hack.frob.com>
8395
8396 * config.make.in (install_root): Default to $(DESTDIR).
8397
f15f1e45
UD
83982011-07-05 Ulrich Drepper <drepper@gmail.com>
8399
8400 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8401
4e34ac6a
RM
84022011-07-02 Roland McGrath <roland@hack.frob.com>
8403
5e9b6af4
RM
8404 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8405
84f9ea0f
RM
8406 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8407 containing directory rather than embedding absolute directory names.
8408
ea5ee9f7
RM
8409 * scripts/check-local-headers.sh: Rewritten using awk.
8410 Match by word, not by line. Print error messages for matches.
8411 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8412
1b74661a
RM
8413 * Makerules [shlib-lds-flags empty]:
8414 ($(common-objpfx)libc_pic.opts): New target.
8415 ($(common-objpfx)libc_pic.os.clean): New target.
8416 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8417
8418 * config.make.in (OBJCOPY): New variable.
8419 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8420 * configure: Regenerated.
8421
f781ef40
RM
8422 * config.make.in (use-default-link): New variable.
8423 * configure.in (use_default_link): Grok --with-default-link to set it.
8424 * configure: Regenerated.
8425 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8426 (shlib-lds, shlib-lds-flags): Define to empty.
8427
2d4fa81e
RM
8428 * Makerules (shlib-lds): New variable.
8429 (shlib-lds-flags): New variable.
8430 (build-shlib, build-moduile, build-module-asneeded): Use it.
8431 ($(common-objpfx)libc.so): Use $(shlib-lds).
8432 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8433 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8434
31fffa6b
RM
8435 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8436 DT_FLAGS/DT_FLAGS_1 with zero flags.
8437
4e34ac6a
RM
8438 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8439 linker script munging.
8440
fcfc776b
UD
84412011-07-02 Ulrich Drepper <drepper@gmail.com>
8442
8443 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8444 as 128-bit value.
8445 * crypt/sha512.c (sha512_process_block): Perform total addition using
8446 128-bit if possible.
8447 (__sha512_finish_ctx): Likewise.
8448 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8449 as 64-bit value.
8450 * crypt/sha256.c (SWAP64): Define.
8451 (sha256_process_block): Perform total addition using 64-bit if
8452 possible.
8453 (__sha256_finish_ctx): Likewise.
8454
99231d9a
UD
84552011-07-01 Ulrich Drepper <drepper@gmail.com>
8456
8457 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8459 * nscd/hstcache.c (cache_addhst): Likewise.
8460 * nscd/grpcache.c (cache_addgr): Likewise.
8461 * nscd/aicache.c (addhstaiX): Likewise
8462 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8463
445b4a53
TK
84642011-07-01 Thorsten Kukuk <kukuk@suse.de>
8465
8466 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8467 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8468 * nscd/hstcache.c (cache_addhst): Likewise.
8469 * nscd/grpcache.c (cache_addgr): Likewise.
8470 * nscd/aicache.c (addhstaiX): Likewise
8471
6d4d8e8e
AS
84722011-07-01 Andreas Schwab <schwab@redhat.com>
8473
8474 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8475 domain only when needed.
8476
89f654c5
AS
84772011-06-30 Andreas Schwab <schwab@redhat.com>
8478
8479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8480 is always restored.
8481
cf3b23ff
UD
84822011-06-29 Ulrich Drepper <drepper@gmail.com>
8483
8484 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8485 are re-adding the entry.
8486 * nscd/servicescache.c (cache_addserv): Likewise.
8487
751626f9
AJ
84882011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8489
8490 * sysdeps/generic/dl-irel.h: fix protection against multiple
8491 inclusions.
8492 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8493
9113ea1f
UD
84942011-06-28 Ulrich Drepper <drepper@gmail.com>
8495
5c0b8d90
UD
8496 [BZ #12935]
8497 * malloc/memusage.sh: Fix quoting in message.
8498 * debug/xtrace.sh: Likewise.
8499
9113ea1f
UD
8500 * configure.in: Remove support for --experimental-malloc option, make
8501 it the default.
8502 * config.make.in: Likewise.
8503 * malloc/Makefile: Likewise.
8504
a4172181
AS
85052011-06-27 Andreas Schwab <schwab@redhat.com>
8506
8507 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8508 two-byte characters.
8509
78a7eee7
RM
85102011-06-27 Roland McGrath <roland@hack.frob.com>
8511
62bede13
RM
8512 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8513 AC_CACHE_CHECK invocation.
8514 * configure: Regenerated.
8515
78a7eee7
RM
8516 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8517
5ce33a62
UD
85182011-06-27 Ulrich Drepper <drepper@gmail.com>
8519
034807a9
UD
8520 [BZ #12350]
8521 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8522 bit from old_res_options.
8523
4902da17
UD
8524 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8525
5ce33a62
UD
8526 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8527 value type for setfct.
8528
c2344f56
L
85292011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8532 __gettimeofday instead of gettimeofday.
8533
68468076
UD
85342011-06-26 Ulrich Drepper <drepper@gmail.com>
8535
8536 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8537
acb0d739
L
85382011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8541
8542 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8543 info.
8544
8912479f
L
85452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8546
8547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8548 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8549 strcpy-sse2-unaligned strncpy-sse2-unaligned
8550 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8551 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8552 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8553 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8554 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8555 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8557 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8558 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8559 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8560 (STRCPY): Support SSE2 and SSSE3 versions.
8561
d5495a11
UD
85622011-06-24 Ulrich Drepper <drepper@gmail.com>
8563
8564 [BZ #12874]
8565 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8566 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8567 kernels which artificially limit size of requests.
8568
0b1cbaae
L
85692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8570
8571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8572 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8573 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8574 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8575 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8576 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8577 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8578 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8581 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8582 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8583 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8584 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8585 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8587 Enable unaligned load optimization for Intel Core i3, i5 and i7
8588 processors.
8589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8590 Define.
8591 (index_Fast_Unaligned_Load): Define.
8592 (HAS_FAST_UNALIGNED_LOAD): Define.
8593
07f494a0
MP
85942011-06-23 Marek Polacek <mpolacek@redhat.com>
8595
8596 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8597
fa3fc0fe
UD
85982011-06-22 Ulrich Drepper <drepper@gmail.com>
8599
8600 [BZ #12907]
8601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8602 until it is clear that the information is realy needed.
8603 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8604
e12df166
AS
86052011-06-22 Andreas Schwab <schwab@redhat.com>
8606
8607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8608
852eb34d
UD
86092011-06-22 Ulrich Drepper <drepper@gmail.com>
8610
84e2a551
UD
8611 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8612 /sys/devices/system/cpu/online if it is usable.
8613
852eb34d
UD
8614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8615 reading the information from the /proc filesystem to once a second.
8616
6e502e19
UD
86172011-06-21 Andreas Jaeger <aj@suse.de>
8618
8619 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8620 NULL after inclusion of kernel headers.
8621
75d39ff2
UD
86222011-06-21 Ulrich Drepper <drepper@gmail.com>
8623
51f9aa6a
UD
8624 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8625 calls to internal_setent.
8626
c0244a9d
UD
8627 [BZ #12885]
8628 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8629 addresses using gethostbyname4_r ignore IPv4 addresses.
8630
c5e3c2ae
UD
8631 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8632 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8633
75d39ff2
UD
8634 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8635
42675c6f
DM
86362011-06-20 David S. Miller <davem@davemloft.net>
8637
8638 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8639 inclusions.
8640 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8641
8642 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8643 (elf_irel): Use it.
8644 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8645 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8646 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8647 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8648 * sysdeps/x86_64/dl-irel.h: Likewise.
8649
8650 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8651 * elf/dl-sym.c: Likewise.
8652
57912a71
UD
86532011-06-15 Ulrich Drepper <drepper@gmail.com>
8654
8655 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8656 need to dereference resplen2.
8657
ee22793d
AS
86582011-06-14 Andreas Schwab <schwab@redhat.com>
8659
8660 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8661
a9e836b0
UD
86622011-06-15 Ulrich Drepper <drepper@gmail.com>
8663
77fb9117
UD
8664 * Makeconfig: Define vardbdir and inst_vardbdir.
8665 * nss/Makefile: Add rules to install db-Makefile.
8666
40c1b22c
UD
8667 * nss/nss_db/db-XXX.c: Cleanup.
8668
9f2da732
UD
8669 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8670 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8671 GLIBC_PRIVATE.
8672 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8673 * nss/makedb.c: Implement -g option to specify that value strings
8674 are generated and should not be added to table iterated over for
8675 get*ent calls.
8676 * nss/nss_db/db-initgroups.c: New file.
8677
82e9a1f7
UD
8678 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8679 interface.
8680
c41af17e
UD
8681 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8682 (internal_getgrouplist): Adjust to name change.
8683 Update use_initgroups_entry if this is not the first call.
8684 * nss/databases.def: Add initgroups entry.
8685
a9e836b0
UD
8686 * nss/makedb.c (compute_tables): Check result of multiple hash table
8687 sizes to minimize maximum chain length.
8688
2666d441
UD
86892011-06-14 Ulrich Drepper <drepper@gmail.com>
8690
8691 * Versions.def: Add entry for libnss_db.
8692 * shlib-versions: Likewise.
8693 * nss/Makefile: Add rules to build libnss_db.
8694 * nss/Versions: Add libnss_db information. Organize libnss_files
8695 entries better.
8696 * nss/db-Makefile: Add gshadow support. Change rules for the new
8697 makedb progra. Some minor improvements to generate smaller files.
8698 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8699 here from...
8700 * nss/makedb.c: ...here.
8701 Improve database format to be smaller and require less memory at
8702 runtime.
8703 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8704 db anymore.
8705 * nss/nss_db/db-netgrp.c: Likewise.
8706 * nss/nss_db/db-open.c: Likewise.
8707 * nss/nss_files/flies-XXX.x: Adjust comments.
8708 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8709 * nss/nss_files/files-grp.c: Likewise.
8710 * nss/nss_files/files-hosts.c: Likewise.
8711 * nss/nss_files/files-network.c: Likewise.
8712 * nss/nss_files/files-proto.c: Likewise.
8713 * nss/nss_files/files-pwd.c: Likewise.
8714 * nss/nss_files/files-rpc.c: Likewise.
8715 * nss/nss_files/files-service.c: Likewise.
8716 * nss/nss_files/files-sgrp.c: Likewise.
8717 * nss/nss_files/files-spwd.c: Likewise.
8718 * nss/nss_db/db-alias.c: Removed.
8719 * nss/nss_db/dummy-db.h: Removed.
8720
9ee76b5a
UD
87212011-06-02 Ulrich Drepper <drepper@gmail.com>
8722
8723 * nss/makedb.c: Rewritten to not use database library.
8724 * nss/Makefile: Update to build new makedb program.
8725
c71ca1f8
AJ
87262011-06-14 Andreas Jaeger <aj@suse.de>
8727
8728 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8729 memset declaration.
8730
3154bfb8
UD
87312011-06-10 Andreas Schwab <schwab@redhat.com>
8732
8733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8734 tmpbuf.
8735
b350afab
RM
87362011-06-10 Roland McGrath <roland@hack.frob.com>
8737
decd4e50
RM
8738 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8739 * elf/Makefile ($(objpfx)ld.so): Likewise.
8740
5615eaf2
RM
8741 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8742 Don't list ld.so twice in dependencies.
8743
8744 * posix/bug-regex31.c: Include <stdlib.h>.
8745
8746 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8747
8748 * nis/nss_compat/compat-spwd.c
8749 (getspent_next_nss_netgr): Remove unused variable.
8750 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8751
8752 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8753 nonmembers" output to use the right array.
8754
8755 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8756
8757 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8758
8759 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8760 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8761 * catgets/gencat.c (read_input_file): Likewise.
8762 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8763
8764 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8765 variable definition inside #if's controlling its use.
8766
8767 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8768
8769 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8770
8771 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8772
8773 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8774 unreachable code.
8775
8776 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8777
b68e08db
RM
8778 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8779 * configure: Regenerated.
8780
b350afab
RM
8781 * Makerules: Revert last change.
8782 * elf/Makefile: Likewise.
8783
28368601
RM
87842011-06-09 Roland McGrath <roland@hack.frob.com>
8785
8786 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8787 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8788 (reloc-link): Likewise.
8789
11988f8f
UD
87902011-06-09 Ulrich Drepper <drepper@gmail.com>
8791
8792 * elf/Makefile: Add rules to build pldd.
8793 * elf/pldd.c: New file.
8794 * elf/pldd-xx.c: New file.
8795
e80fab37
UD
87962011-06-07 Ulrich Drepper <drepper@gmail.com>
8797
8798 * version.h: Update for 2.15 development version.
8799
9b849836
DM
88002011-06-07 David S. Miller <davem@davemloft.net>
8801
8802 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8803 ifuncs.
8804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8805 elf_machine_lazy_rel): Likewise.
8806 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8808 elf_machine_lazy_rel): Likewise.
8809 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8810 dl_hwcap via passed in argument.
8811 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8812 Likewise.
8813
5a31b283
AK
88142011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8815
8816 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8817
069e52f8
RM
88182011-06-06 Roland McGrath <roland@hack.frob.com>
8819
8820 [BZ #12849]
8821 * manual/fdl-1.1.texi: New file, verbatim from:
8822 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8823 * manual/lgpl-2.1.texi: New file, verbatim from:
8824 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8825 * manual/Makefile (licenses): New variable, list those new file names.
8826 (texis): Use it.
8827 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8828
8829 * manual/fdl.texi: File removed.
8830 * manual/lesser.texi: File removed.
8831 * manual/libc.texinfo (Copying, Documentation License):
8832 Use new @include file names, put @appendix directive before @include.
8833
f16846a5
JJ
88342011-06-04 Jakub Jelinek <jakub@redhat.com>
8835
8836 [BZ #12841]
8837 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8838 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8839 (mq_open): Add __NTH.
8840
3d29045b
L
88412011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8842
8843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8844 Assume Intel Core i3/i5/i7 processor if AVX is available.
8845
8c297311
UD
88462011-05-31 Ulrich Drepper <drepper@gmail.com>
8847
8848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8849 typo.
8850
c8fc0c91
UD
88512011-05-31 Andreas Schwab <schwab@redhat.com>
8852
8853 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8854 memory. Use alloca_account. Fix memory leak when retrying.
8855
5b27a807
UD
88562011-05-31 Ulrich Drepper <drepper@gmail.com>
8857
356f8bc6
UD
8858 * version.h (RELEASE): Bump for 2.14 release.
8859 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8860
5b27a807
UD
8861 * config.make.in (RANLIB): Remove entry.
8862
01f16ab0
UD
88632011-05-30 Ulrich Drepper <drepper@gmail.com>
8864
41fce8bd
UD
8865 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8866 (libc.pot): Work around missing support for .ksh extension in xgettext.
8867
4769ae77
UD
8868 [BZ #12684]
8869 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8870 if both request failed.
8871 (send_dg): In case of server errors clear resplen or *resplen2.
8872
6b1e7d19
UD
8873 [BZ #12454]
8874 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8875 when there are multiple maps.
8876 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8877 (_dl_fini): Remove test here.
8878
01f16ab0
UD
8879 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8880
b1ebd700
UD
88812011-05-29 Ulrich Drepper <drepper@gmail.com>
8882
7ae22829
UD
8883 [BZ #12350]
8884 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8885 bit from old_res_options.
8886 (gaih_inet): Likewise.
8887
553149f6 8888 [BZ #11099]
18a84741 8889 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8890 as signed.
8891
652ffab1
UD
8892 * resolv/res_init.c (res_setoptions): Make the code more compact.
8893
16985fd0
UD
8894 [BZ #11558]
8895 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8896 set RES_USEVC.
8897
0464f746
UD
8898 [BZ #11634]
8899 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8900
7d17596c
UD
8901 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8902
cf6bbbd7
UD
8903 [BZ #11781]
8904 * malloc/malloc.h: Declare malloc hook variables as volatile.
8905
13f1ab36
UD
8906 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8907 in last patch.
8908
b1ebd700
UD
8909 [BZ #11799]
8910 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8911 raise in the comment.
80e2212d
UD
8912 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8913 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8914 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8915
ce67228d
UD
89162011-05-28 Ulrich Drepper <drepper@gmail.com>
8917
8887a920
UD
8918 [BZ #12811]
8919 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8920 grow the buffers more if it already has to be sufficient.
8921 (build_wcs_upper_buffer): Likewise.
8922 * posix/regexec.c (check_matching): Likewise.
8923 (clean_state_log_if_needed): Likewise.
8924 (extend_buffers): Don't enlarge buffers beyond size of the input
8925 buffer.
8926 Patches mostly by Emil Wojak <emil@wojak.eu>.
8927 * posix/bug-regex32.c: New file.
8928 * posix/Makefile (tests): Add bug-regex32.
8929
4f031072
UD
8930 * locale/findlocale.c (_nl_find_locale): Return right away if
8931 _nl_explode_name failed.
8932 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8933
d0478f0c
UD
8934 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8935
de81b246
UD
8936 * debug/xtrace.sh: Unify messages.
8937 * malloc/memusage.sh: Likewise.
8938
c738465a
UD
8939 [BZ #12813]
8940 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8941 time symbol from vDSO. Substitute with vsyscall if not available.
8942 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8943 __vdso_time.
8944
f1f929d7
UD
8945 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8946 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8947 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8948 Add sendmmsg and internal_sendmmsg.
8949 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8950 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8951 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8952
ce67228d
UD
8953 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8954 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8955 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8956
e57420c6
UD
89572011-05-27 Ulrich Drepper <drepper@gmail.com>
8958
a8509ca5
UD
8959 [BZ #12813]
8960 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8961 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8962 available.
8963 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8964 __vdso_getcpu.
8965
e57420c6
UD
8966 [BZ #12814]
8967 * iconvdata/Makefile (tests): Add bug-iconv9.
8968 * iconvdata/bug-iconv9.c: New file.
8969
4d07db15
AS
89702011-05-27 Andreas Schwab <schwab@redhat.com>
8971
8972 [BZ #12814]
8973 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8974
ea486f69
JJ
89752011-05-25 Jakub Jelinek <jakub@redhat.com>
8976
8977 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8978 (struct user_regs_struct): Change intcs field back to cs.
8979
6f038433
UD
89802011-05-25 Ulrich Drepper <drepper@gmail.com>
8981
8982 * po/ja.po: Update from translation team.
8983
67f86a25
UD
89842011-05-23 Ulrich Drepper <drepper@gmail.com>
8985
8986 [BZ #12795]
8987 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8988 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8989
def7fbd6
AS
89902011-05-20 Andreas Schwab <schwab@redhat.com>
8991
8992 * stdlib/longlong.h: Update from GCC.
8993
f50ef8f1
AS
89942011-05-23 Andreas Schwab <schwab@redhat.com>
8995
8996 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8997 parameter name.
8998 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8999 Add parameter name.
9000 (__sysconf): Pass it down.
9001
de7ce8f1
UD
90022011-05-22 Ulrich Drepper <drepper@gmail.com>
9003
f2962a71
UD
9004 [BZ #12671]
9005 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9006 some situations.
9007 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9008 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9009 add in in __libc_use_alloca calls. Adjust callers.
9010 (glob): Use malloc in some situations.
9011
de7ce8f1
UD
9012 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9013 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9014 pltexit.
9015
aec84f53
UD
90162011-05-21 Ulrich Drepper <drepper@gmail.com>
9017
05bb4a68
UD
9018 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9019 and CLOCK_BOOTTIME_ALARM.
9020
7ea72f99
UD
9021 [BZ #12782]
9022 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9023 is returned.
9024
7e4afad5
UD
9025 * string/_strerror.c (__strerror_r): Print negative errors as signed
9026 numbers.
9027
8e211fec
UD
9028 [BZ #12777]
9029 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9030 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9031 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9032
f7d82dc9
UD
9033 * configure.in: Fix typo in redirection and correct removal of test
9034 files in two cases.
9035
cc9e536d
UD
9036 [BZ #12788]
9037 * locale/setlocale.c (new_composite_name): Fix test to check for
9038 identical name of all categories.
9039
aec84f53
UD
9040 [BZ #12792]
9041 * libio/filedoalloc.c (local_isatty): New function.
9042 (_IO_file_doallocate): Use local_isatty.
9043 * stdio-common/perror.c (perror): In case a new stream is used
9044 forward the stream error.
9045 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9046 error flag.
9047
78e64fdc
RT
90482011-05-20 Ulrich Drepper <drepper@gmail.com>
9049
34a9094f
UD
9050 [BZ #11869]
9051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9052 alloca.
9053 * include/alloca.h (extend_alloca_account): Define.
9054
78e64fdc
RT
9055 [BZ #11857]
9056 * posix/regex.h: Fix comments with documentation of user-accessible
9057 fields after compilation and describe correct free'ing of pattern
9058 after re_compile_pattern.
9059 Patch by Reuben Thomas <rrt@sc3d.org>.
9060
457bddfc
RA
90612011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9062
9063 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9064 and -mno-altivec to prevent the compiler from using Altivec and/or
9065 VSX instructions when the corresponding registers are not available.
9066
a4527b51
AS
90672011-05-19 Andreas Schwab <schwab@redhat.com>
9068
9069 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9070
ed690b2f
UD
90712011-05-19 Ulrich Drepper <drepper@gmail.com>
9072
9073 * libio/freopen.c (freopen): Use __dup2, not dup2.
9074 * libio/freopen64.c (freopen64): Likewise.
9075
8db73634
L
90762011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9077
9078 [BZ #12775]
9079 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9080 * math/Makefile (tests): Add test-powl.
9081 (CFLAGS-test-powl.c): Define.
9082 * math/test-powl.c: New file.
9083
0a197a9d
L
90842011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9085
9086 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9087
ee30c380
UD
90882011-05-17 Ulrich Drepper <drepper@gmail.com>
9089
9090 [BZ #11837]
9091 * iconvdata/gb18030.c: Update to GB18020-2005.
9092
6ce75379
UD
90932011-05-16 Ulrich Drepper <drepper@gmail.com>
9094
a4b89fd8
AR
9095 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9096 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9097 Patch by Aharon Robbins <arnold@skeeve.com>.
9098
ea389b12
UD
9099 [BZ #11892]
9100 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9101 on the stack.
9102
68a3f91f
UD
9103 [BZ #11895]
9104 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9105 through underflows.
9106
15cc7dd1
UD
9107 [BZ #12766]
9108 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9109 point to strings before performing equality test for error_one_per_line
9110 mode.
9111
f3799213
UD
9112 [BZ #11697]
9113 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9114
d79a9c94
UD
9115 [BZ #11820]
9116 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9117 (struct user_fpregs_struct): Avoid __uint*_t types.
9118
56e5eb46
UD
9119 [BZ #6420]
9120 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9121 symbol info. Use it instead of calling _dl_addr locally.
9122 (lock_and_info): New function.
9123 (tr_freehook): Call lock_and_info and pass symbol info as additional
9124 parameter to tr_where.
9125 (tr_mallochook): Likewise.
9126 (tr_reallochook): Likewise.
9127 (tr_memalignhook): Likewise.
9128
6ce75379
UD
9129 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9130 used and couldn't be at all thread-safe.
9131
f8a3b5bf
UD
91322011-05-15 Ulrich Drepper <drepper@gmail.com>
9133
94b7cc37
UD
9134 * libio/freopen.c (freopen): Don't close old file descriptor
9135 before the new one is opened. Instead dup the new file descriptor
9136 to the old one after the new stream is created.
9137 * libio/freopen64.c (freopen64): Likewise.
9138 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9139 * libio/fileops.c (_IO_new_file_close_it): Handle new
9140 _IO_FLAGS2_NOCLOSE flag.
9141 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9142 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9143 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9144 _IO_FLAGS2_NOCLOSE flag.
9145 * include/unistd.h: Add hidden_proto for dup3.
9146 Define __have_dup3.
9147 * io/dup3.c: Define hidden symbol.
9148 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9149
bd25564e
UD
9150 [BZ #7101]
9151 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9152 when an incomplete long option is used.
9153 * posix/tst-getopt_long1.c: New file.
9154 * posix/Makefile (tests): Add tst-getopt_long1.
9155
c84cfef4
UD
9156 [BZ #10138]
9157 * scripts/config.guess: Update from autoconf-2.68.
9158 * scripts/config.sub: Likewise.
9159
3b85df27
UD
9160 [BZ #10157]
9161 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9162 tests into ...
9163 (has_cpuclock): ...this. New function.
9164 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9165 macro here based on has_cpuclock code.
9166
15a856b1
UD
9167 [BZ #10149]
9168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9169 First byte (not low byte) is now always NUL.
9170 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9171
05f399e6
UD
9172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9173 Use non-cancelable interfaces.
9174
10a52685 9175 [BZ #9809]
94ecc67d
UD
9176 * locale/iso-639.def: Add entry for Sorani.
9177
f8a3b5bf
UD
9178 [BZ #11901]
9179 * include/stdlib.h: Move include protection to the right place.
9180 Define abort_msg_s. Declare __abort_msg with it.
9181 * stdlib/abort.c (__abort_msg): Adjust type.
9182 * assert/assert.c (__assert_fail_base): New function. Majority
9183 of code from __assert_fail. Allocate memory for __abort_msg with
9184 mmap.
9185 (__assert_fail): Now call __assert_fail_base.
9186 * assert/assert-perr.c: Remove bulk of implementation. Use
9187 __assert_fail_base.
9188 * include/assert.hL Declare __assert_fail_base.
9189 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9190 mmap.
9191 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9192
1af4e298
UD
91932011-05-14 Ulrich Drepper <drepper@gmail.com>
9194
f8a3b5bf 9195 [BZ #11952]
d26dfc60
MG
9196 [BZ #12453]
9197 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9198 until all modules are registered in the DTV.
9199 * elf/Makefile: Add rules to build and run tst-tls19.
9200 * elf/tst-tls19.c: New file.
9201 * elf/tst-tls19mod1.c: New file.
9202 * elf/tst-tls19mod2.c: New file.
9203 * elf/tst-tls19mod3.c: New file.
9204 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9205
2fc54d6f
UD
9206 [BZ #12083]
9207 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9208 correctly.
9209
98d76b46
UD
9210 [BZ #12601]
9211 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9212 two-byte sequence errors.
9213 * iconvdata/Makefile (tests): Add bug-iconv8.
9214 * iconvdata/bug-iconv8.c: New file.
9215
da3c19ef
UD
9216 [BZ #12626]
9217 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9218 buf2 definition.
9219
ca408c15
UD
9220 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9221
d6f67f7d
UD
9222 [BZ #12432]
9223 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9224 (dummy_getcfa): New function.
9225 (init): Get _Unwind_GetCFA address, use dummy if not found.
9226 (backtrace_helper): In recursion check, also check whether CFA changes.
9227 (__backtrace): Completely initialize arg.
9228
1af4e298 9229 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9230 storing incomplete byte sequence in state object. Avoid testing for
9231 guaranteed too small input if we know there is enough data available.
1af4e298 9232
da62f81b
AS
92332011-05-11 Andreas Schwab <schwab@redhat.com>
9234
9235 * Makeconfig (+link-pie): Indent.
9236 * Rules (binaries-pie): Define if $(have-fpie) and
9237 $(build-shared).
9238 (binaries-shared): Also filter out $(binaries-pie).
9239 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9240 * nscd/Makefile (others-pie): Add nscd.
9241 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9242 ($(objpfx)nscd): Remove command override.
9243 * login/Makefile (others-pie): Add pt_chown.
9244 ($(objpfx)pt_chown): Remove command override.
9245 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9246 remove command overrides.
9247
fcabc0f8
UD
92482011-05-13 Ulrich Drepper <drepper@gmail.com>
9249
20030ae6
UD
9250 * libio/tst_putwc.c: Fix error messages.
9251
fcabc0f8
UD
9252 [BZ #12724]
9253 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9254 currently writing and seek to current position when not.
9255 * libio/Makefile (tests): Add bug-fclose1.
9256 * libio/bug-fclose1.c: New file.
9257
320a5dc0
PB
92582011-05-12 Ulrich Drepper <drepper@gmail.com>
9259
9260 [BZ #12511]
9261 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9262 don't set DF_1_NODELETE here.
9263 (do_lookup_x): When entering new entry test for copy relocation
9264 and if necessary set DF_1_NODELETE flag.
9265 * elf/tst-unique4.cc: New file.
9266 * elf/tst-unique4.h: New file.
9267 * elf/tst-unique4lib.cc: New file.
9268 * elf/Makefile: Add rules to build and run tst-unique4.
9269 Patch by Piotr Bury <pbury@goahead.com>.
9270
22836f52
UD
92712011-05-11 Ulrich Drepper <drepper@gmail.com>
9272
f574184a
UD
9273 [BZ #12052]
9274 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9275
e1fb097f
UD
9276 [BZ #12625]
9277 * misc/mntent_r.c (addmntent): Flush the stream after the output
9278
22836f52
UD
9279 [BZ #12393]
9280 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9281 (is_trusted_path_normalize): Skip initial colon. Append slash
9282 to empty buffer. Duplicate is_trusted_path code but allow
9283 constructed patch to be prefix.
9284 (is_dst): Allow $ORIGIN followed by /.
9285 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9286 Correct testing of result of is_trusted_path_normalize
9287 (decompose_rpath): Fix warning.
9288
7b3b0b2a
UD
92892011-05-10 Ulrich Drepper <drepper@gmail.com>
9290
9291 [BZ #11257]
9292 * grp/initgroups.c (internal_getgrouplist): When we found the service
9293 list through the initgroups entry in nsswitch.conf do not always
9294 continue on a successful lookup. Don't always use the
eac80ce2 9295 __nss_group_database value if it is set.
7b3b0b2a
UD
9296 * nss/nsswitch.conf (initgroups): Change action for successful db
9297 lookup to continue for compatibility.
9298
2a81eaa5
UD
92992011-05-09 Ulrich Drepper <drepper@gmail.com>
9300
be97a69e
UD
9301 [BZ #11532]
9302 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9303 and CP774 modules.
9304 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9305 and CP774 modules.
9306 * iconvdata/tst-tables.sh: Likewise.
9307 * iconvdata/cp770.c: New file.
9308 * iconvdata/cp771.c: New file.
9309 * iconvdata/cp772.c: New file.
9310 * iconvdata/cp773.c: New file.
9311 * iconvdata/cp774.c: New file.
9312 * iconvdata/testdata/CP770: New file.
9313 * iconvdata/testdata/CP770..UTF8: New file.
9314 * iconvdata/testdata/CP771: New file.
9315 * iconvdata/testdata/CP771..UTF8: New file.
9316 * iconvdata/testdata/CP772: New file.
9317 * iconvdata/testdata/CP772..UTF8: New file.
9318 * iconvdata/testdata/CP773: New file.
9319 * iconvdata/testdata/CP773..UTF8: New file.
9320 * iconvdata/testdata/CP774: New file.
9321 * iconvdata/testdata/CP774..UTF8: New file.
9322
9323 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9324 END CHARMAP line.
9325 * iconvdata/gen-8bit-gap.sh: Likewise.
9326 * iconvdata/gen-8bit.sh: Likewise.
9327
c1e9e399
UD
9328 * locale/iso-639.def: Add ary entry.
9329
24c55fb3 9330 [BZ #11258]
96b4b1b0
UD
9331 * locale/C-translit.h.in: Add U20A1 transliteration.
9332
bdc2f971
KB
9333 [BZ #12178]
9334 * locale/iso-639.def: Add wae entry.
9335 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9336
2952b117
UD
9337 [BZ #12545]
9338 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9339 for n.
9340
2a81eaa5
UD
9341 [BZ #12711]
9342 * locale/C-translit.h.in: Add entry for U20B9.
9343 Patch by pravin.d.s@gmail.com.
9344
28377d1b
UD
93452011-05-08 Ulrich Drepper <drepper@gmail.com>
9346
7fb90fb8
UD
9347 [BZ #12713]
9348 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9349 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9350 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9351 in rtld. Use *stat64.
7fb90fb8 9352 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9353 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9354 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9355 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9356 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9357 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9358 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9359 __fstatat64 macros.
7fb90fb8
UD
9360 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9361 * dirent/rewinddir.c: Add libc_hidden_def.
9362 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9363 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9364
28377d1b
UD
9365 * include/dirent.h (__alloc_dir): Add flags parameter.
9366 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9367 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9368 __alloc_dir.
9369 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9370 from fdopendir if O_CLOEXEC is already set.
9371
66bdbaa4
AM
93722011-03-15 Alan Modra <amodra@gmail.com>
9373
9374 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9375 l_tls_firstbyte_offset non-zero. Save padding offset in
9376 l_tls_firstbyte_offset for later use.
9377 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9378 freeing static tls block.
9379
95721191
JN
93802011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9381
9382 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9383 where #ifdef was intended. The intent is to prevent ARG_MAX from
9384 being defined by the kernel headers.
9385
f87dfb1f
UD
93862011-05-07 Ulrich Drepper <drepper@gmail.com>
9387
9388 [BZ #12734]
9389 * resolv/resolv.h: Define RES_NOTLDQUERY.
9390 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9391 no-tld-query and set RES_NOTLDQUERY.
9392 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9393 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9394 modern BIND to search name as TLD unless forbidden.
9395
47c3cd7a
UD
93962011-05-07 Petr Baudis <pasky@suse.cz>
9397 Ulrich Drepper <drepper@gmail.com>
9398
9399 [BZ #12393]
9400 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9401 (is_trusted_path): ...to here.
c1e9ea35 9402 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9403 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9404 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9405
8a35c912
PP
94062011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9407
9408 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9409 __BEGIN/__END_DECLS.
9410
acd41f47
UD
94112011-05-06 Ulrich Drepper <drepper@gmail.com>
9412
9413 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9414 NSS_STATUS_NOTFOUND if no record was found.
9415
597df647
AS
94162011-05-05 Andreas Schwab <schwab@redhat.com>
9417
9418 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9419 (headers-not-in-tirpc): Remove rpc/netdb.h
9420 * resolv/netdb.h: Revert last change.
9421
b9af1301
PP
94222011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9423
9424 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9425 circular dependency between libgcc.a and libc.a.
9426
4e34d5f5
AS
94272011-05-05 Andreas Schwab <schwab@redhat.com>
9428
9429 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9430 * nis/Makefile: Don't install rpcsvc/*.
9431 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9432 instead of <rpc/types.h>.
9433 (MAXHOSTNAMELEN): Define.
9434
00ee369c
AS
94352011-05-03 Andreas Schwab <schwab@redhat.com>
9436
9437 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9438
0b592a30
MB
94392011-04-28 Maciej Babinski <mbabinski@google.com>
9440
9441 [BZ #12714]
9442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9443 gethostbyname4_r when IPv6 results are possible.
9444
6e04cbbe
UD
94452011-05-02 Ulrich Drepper <drepper@gmail.com>
9446
9447 [BZ #12723]
9448 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9449 _PC_PIPE_BUF handling.
9450
e4ecafe0
BH
94512011-04-30 Bruno Haible <bruno@clisp.org>
9452
9453 [BZ #12717]
9454 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9455 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9456 to 'int'.
9457 * inet/getnameinfo.c (getnameinfo): Likewise.
9458
125ee683
UD
94592011-04-29 Ulrich Drepper <drepper@gmail.com>
9460
9461 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9462 to groups setting in database lookup.
9463 * nss/nsswitch.conf: Add initgroups entry.
9464
b722481a
EB
94652011-04-22 Ulrich Drepper <drepper@gmail.com>
9466
9467 [BZ #12685]
9468 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9469 mode string.
9470 Patch by Eric Blake <eblake@redhat.com>.
9471
4df46dbd
L
94722011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9473
9474 * sunrpc/Makefile (need-export-routines): Add svc_run.
9475 (routines): Remove svc_run.
9476 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9477 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9478 * sunrpc/svc_run.c (svc_run): Likewise.
9479 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9480
e84142d2
UD
94812011-04-21 Ulrich Drepper <drepper@gmail.com>
9482
9483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9484 problem in reallocation in last patch.
9485
877175d8
UD
94862011-04-20 Ulrich Drepper <drepper@gmail.com>
9487
9488 * sunrpc/Makefile: Move inclusion of Rules.
9489
ab8eed78
UD
94902011-04-19 Ulrich Drepper <drepper@gmail.com>
9491
9492 * nss/nss_files/files-initgroups.c: New file.
9493 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9494 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9495 _nss_files_initgroups_dyn.
9496
e3d8f584
RS
94972011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9498
9499 * elf/elf.h (R_ARM_IRELATIVE): Define.
9500
af190f45
UD
95012011-04-19 Ulrich Drepper <drepper@gmail.com>
9502
9503 * po/ru.po: Update from translation team.
9504
53cf59ef
UD
95052011-04-17 Ulrich Drepper <drepper@gmail.com>
9506
9507 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9508 dependencies.
9509
4c559bcd
MF
95102011-02-06 Mike Frysinger <vapier@gentoo.org>
9511
9512 [BZ #12653]
9513 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9514 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9515 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9517 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9518
4420675c
AS
95192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9520
9521 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9522 differing bytes.
9523 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9524 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9525 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9526
75ea32ab
UD
95272011-04-17 Ulrich Drepper <drepper@gmail.com>
9528
9529 [BZ #12420]
9530 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9531 storing it.
9532 * stdlib/bug-getcontext.c: New file.
9533 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9534
27390476
AK
95352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9536
9537 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9538 instructions into .machine "z9-109".
9539 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9540 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9541
10442705
AK
95422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9543
9544 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9545 between environment variables and auxiliary vector.
9546
7b57bfe5
UD
95472011-04-16 Ulrich Drepper <drepper@gmail.com>
9548
9549 * Makefile: Add rules to build linkobj/libc.so.
9550 * include/libc-symbols.h: Define libc_hidden_nolink.
9551 * include/rpc/auth.h: Mark functions which are to be hidden.
9552 * include/rpc/auth_des.h: Likewise.
9553 * include/rpc/auth_unix.h: Likewise.
9554 * include/rpc/clnt.h: Likewise.
9555 * include/rpc/des_crypt.h: Likewise.
9556 * include/rpc/key_prot.h: Likewise.
9557 * include/rpc/pmap_clnt.h: Likewise.
9558 * include/rpc/pmap_prot.h: Likewise.
9559 * include/rpc/pmap_rmt.h: Likewise.
9560 * include/rpc/rpc_msg.h: Likewise.
9561 * include/rpc/svc.h: Likewise.
9562 * include/rpc/svc_auth.h: Likewise.
9563 * include/rpc/xdr.h: Likewise.
9564 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9565 * nss/Makefile: Likewise.
9566 * sunrpc/Makefile: Don't install headers. Build library with normal
9567 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9568 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9569 for the compat linking library. Remove use of INTDEF/INTUSE.
9570 * sunrpc/auth_none.c: Likewise.
9571 * sunrpc/auth_unix.c: Likewise.
9572 * sunrpc/authdes_prot.c: Likewise.
9573 * sunrpc/authuxprot.c: Likewise.
9574 * sunrpc/clnt_gen.c: Likewise.
9575 * sunrpc/clnt_perr.c: Likewise.
9576 * sunrpc/clnt_raw.c: Likewise.
9577 * sunrpc/clnt_simp.c: Likewise.
9578 * sunrpc/clnt_tcp.c: Likewise.
9579 * sunrpc/clnt_udp.c: Likewise.
9580 * sunrpc/clnt_unix.c: Likewise.
9581 * sunrpc/des_crypt.c: Likewise.
9582 * sunrpc/des_soft.c: Likewise.
9583 * sunrpc/get_myaddr.c: Likewise.
9584 * sunrpc/key_call.c: Likewise.
9585 * sunrpc/key_prot.c: Likewise.
9586 * sunrpc/netname.c: Likewise.
9587 * sunrpc/pm_getmaps.c: Likewise.
9588 * sunrpc/pm_getport.c: Likewise.
9589 * sunrpc/pmap_clnt.c: Likewise.
9590 * sunrpc/pmap_prot.c: Likewise.
9591 * sunrpc/pmap_prot2.c: Likewise.
9592 * sunrpc/pmap_rmt.c: Likewise.
9593 * sunrpc/publickey.c: Likewise.
9594 * sunrpc/rpc_cmsg.c: Likewise.
9595 * sunrpc/rpc_common.c: Likewise.
9596 * sunrpc/rpc_dtable.c: Likewise.
9597 * sunrpc/rpc_prot.c: Likewise.
9598 * sunrpc/rpc_thread.c: Likewise.
9599 * sunrpc/rtime.c: Likewise.
9600 * sunrpc/svc.c: Likewise.
9601 * sunrpc/svc_auth.c: Likewise.
9602 * sunrpc/svc_authux.c: Likewise.
9603 * sunrpc/svc_raw.c: Likewise.
9604 * sunrpc/svc_run.c: Likewise.
9605 * sunrpc/svc_simple.c: Likewise.
9606 * sunrpc/svc_tcp.c: Likewise.
9607 * sunrpc/svc_udp.c: Likewise.
9608 * sunrpc/svc_unix.c: Likewise.
9609 * sunrpc/svcauth_des.c: Likewise.
9610 * sunrpc/xcrypt.c: Likewise.
9611 * sunrpc/xdr.c: Likewise.
9612 * sunrpc/xdr_array.c: Likewise.
9613 * sunrpc/xdr_float.c: Likewise.
9614 * sunrpc/xdr_intXX_t.c: Likewise.
9615 * sunrpc/xdr_mem.c: Likewise.
9616 * sunrpc/xdr_rec.c: Likewise.
9617 * sunrpc/xdr_ref.c: Likewise.
9618 * sunrpc/xdr_sizeof.c: Likewise.
9619 * sunrpc/xdr_stdio.c: Likewise.
9620
e6c61494
UD
96212011-04-10 Ulrich Drepper <drepper@gmail.com>
9622
9623 [BZ #12650]
9624 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9625 * sysdeps/ia64/dl-tls.h: Likewise.
9626 * sysdeps/powerpc/dl-tls.h: Likewise.
9627 * sysdeps/s390/dl-tls.h: Likewise.
9628 * sysdeps/sh/dl-tls.h: Likewise.
9629 * sysdeps/sparc/dl-tls.h: Likewise.
9630 * sysdeps/x86_64/dl-tls.h: Likewise.
9631 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9632
34fe483e
AS
96332011-03-14 Andreas Schwab <schwab@redhat.com>
9634
9635 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9636 rpath element also skip the following colon.
9637 (expand_dynamic_string_token): Add is_path parameter and pass
9638 down to DL_DST_REQUIRED and _dl_dst_substitute.
9639 (decompose_rpath): Call expand_dynamic_string_token with
9640 non-zero is_path. Ignore empty rpaths.
9641 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9642 with zero is_path.
9643
f12a32e6
AS
96442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9645
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9647 Make cancelable.
9648
38a7d692
UD
96492011-04-09 Ulrich Drepper <drepper@gmail.com>
9650
9651 [BZ #12655]
9652 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9653 Patch by Filipe David Manana <fdmanana@apache.org>.
9654
e451d22b
AS
96552011-04-07 Andreas Schwab <schwab@redhat.com>
9656
9657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9658 Maintain aligned stack.
9659 (CHECK_RSP): Remove unused macro.
9660
dedc7c7b
UD
96612011-04-03 Ulrich Drepper <drepper@gmail.com>
9662
9663 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9664 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9665
94521213
UD
96662011-04-02 Ulrich Drepper <drepper@gmail.com>
9667
9668 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9669
8cb700c0 9670 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9671
0354e355
L
96722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9673
9674 [BZ #12518]
9675 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9676 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9677 * sysdeps/x86_64/memmove.c: New file.
9678 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9679 (memcpy): Renamed to ...
9680 (__new_memcpy): This.
9681 (memcpy): Provide GLIBC_2_14 memcpy.
9682 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9683 (memcpy): Provide GLIBC_2_2_5 memcpy.
9684
8593482f
UD
96852011-04-01 Ulrich Drepper <drepper@gmail.com>
9686
9687 [BZ #12631]
9688 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9689
81a5726b
AS
96902011-03-30 Andreas Schwab <schwab@redhat.com>
9691
9692 * misc/syncfs.c: New file.
9693 * misc/Makefile (routines): Add syncfs.
9694 * posix/unistd.h: Declare syncfs.
9695 * sysdeps/unix/syscalls.list: Add syncfs.
9696
00e5419f
AS
96972011-04-01 Andreas Schwab <schwab@redhat.com>
9698
9699 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9700 open_by_handle_at.
9701 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9702 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9706 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9708
748876bf
UD
97092011-04-01 Ulrich Drepper <drepper@gmail.com>
9710
658e451d
UD
9711 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9712 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9713 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9715 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9718
748876bf
UD
9719 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9720 sync_file_range.c with -fexceptions.
9721 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9722 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9723 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9724 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9725 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9726 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9728 sync_file_range as cancellation point
9729 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9730 now a wrapper around __call_sync_file_range with cancellation handling.
9731 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9732 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9733 function name to __call_sync_file_range.
9734 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9735 Add call_sync_file_range.
748876bf 9736
6e63d5e1
AS
97372011-04-01 Andreas Schwab <schwab@redhat.com>
9738
9739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9740 bits/timex.h.
6e63d5e1 9741
46998f74
UD
97422011-04-01 Ulrich Drepper <drepper@gmail.com>
9743
4c1423ed
UD
9744 * iconv/iconv.h: Fix typo in comment.
9745 * io/fcntl.h: Likewise.
9746 * libio/stdio.h: Likewise.
9747 * posix/spawn.h: Likewise.
9748 * posix/unistd.h: Likewise.
9749 * stdlib/stdlib.h: Likewise.
9750 * time/time.h: Likewise.
9751 * wcsmbs/wchar.h: Likewise.
9752
158648c0
UD
9753 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9754 open_by_handle): Add.
9755 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9756 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9757 Augment a few comments.
9758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9763 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9764 open_by_handle.
9765
46998f74
UD
9766 * io/fcntl.h (AT_EMPTY_PATH): Define.
9767
83fe108b
UD
97682011-03-30 Ulrich Drepper <drepper@gmail.com>
9769
9770 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9771 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9772 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9773 to...
9774 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9775 * Versions.def: Add GLIBC_2.14.
9776 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9777 Export.
83fe108b 9778
bb242059
UD
97792011-03-22 Ulrich Drepper <drepper@gmail.com>
9780
9781 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9782 round counter.
9783 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9784
c97a1282
L
97852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9786
9787 [BZ #12597]
9788 * string/test-strncmp.c (do_page_test): New function.
9789 (check2): Likewise.
9790 (test_main): Call check2.
9791 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9792
2a115601
UD
97932011-03-20 Ulrich Drepper <drepper@gmail.com>
9794
9795 [BZ #12587]
9796 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9797 Handle cache information in CPU leaf 4.
9798 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9799
8126d904
UD
98002011-03-18 Ulrich Drepper <drepper@gmail.com>
9801
042c49c6 9802 [BZ #12583]
8126d904
UD
9803 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9804 character representation.
9805 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9806
ccfe366e
RA
98072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9808
9809 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9810 END(__isnan) to END(__isnanf) to match function entry point/label
9811 EALIGN(__isnanf,...).
9812
c6e13027
JJ
98132011-03-10 Jakub Jelinek <jakub@redhat.com>
9814
9815 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9816
33f85a3f
UD
98172011-03-10 Ulrich Drepper <drepper@gmail.com>
9818
028478fa
UD
9819 [BZ #12510]
9820 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9821 copy from the symbol referenced in the relocation to initialize the
9822 used variable.
9823 Patch by Piotr Bury <pbury@goahead.com>.
9824 * elf/Makefile: Add rules to build and tst-unique3.
9825 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9826 * elf/tst-unique3.cc: New file.
9827 * elf/tst-unique3.h: New file.
9828 * elf/tst-unique3lib.cc: New file.
9829 * elf/tst-unique3lib2.cc: New file.
9830
33f85a3f
UD
9831 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9832
03592fc7
MF
98332011-03-10 Mike Frysinger <vapier@gentoo.org>
9834
9835 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9836 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9837 to _start.
03592fc7 9838
6a5ee102
UD
98392011-03-06 Ulrich Drepper <drepper@gmail.com>
9840
9841 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9842 to-be-loaded object along a path to loader is ld.so.
9843
7e4ba49c
HJ
98442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9845 Ulrich Drepper <drepper@gmail.com>
9846
9847 * sysdeps/x86_64/memset.S: After aligning destination, code
9848 branches to different locations depending on the value of
9849 misalignment, when multiarch is enabled. Fix this.
9850
98512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9852
9853 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9854 Set _x86_64_preferred_memory_instruction for AMD processsors.
9855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9856 Set bit_Prefer_SSE_for_memop for AMD processors.
9857
13a804de
UD
98582011-03-04 Ulrich Drepper <drepper@gmail.com>
9859
9860 * libio/fmemopen.c (fmemopen): Optimize a bit.
9861
9d25c392
AS
98622011-03-03 Andreas Schwab <schwab@redhat.com>
9863
9864 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9865
a5543c6a
RM
98662011-03-03 Roland McGrath <roland@redhat.com>
9867
9868 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9869
012d35f7
DM
98702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9871
7e4ba49c 9872 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9873 __bzero_ultra1 instead of __memset_ultra1.
9874
4bff6e01
AS
98752011-02-23 Andreas Schwab <schwab@redhat.com>
9876 Ulrich Drepper <drepper@gmail.com>
9877
9878 [BZ #12509]
9879 * include/link.h (struct link_map): Add l_orig_initfini.
9880 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9881 returning unsuccessfully.
9882 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9883 close of a file loaded at startup, restore the original l_initfini
9884 list.
9885 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9886 list, store the pointer.
9887 * elf/Makefile ($(objpfx)noload-mem): New rule.
9888 (noload-ENV): Define.
9889 (tests): Add $(objpfx)noload-mem.
9890 * elf/noload.c: Include <memcheck.h>.
9891 (main): Call mtrace. Close all opened handles.
9892
f2092faf
AS
98932011-02-17 Andreas Schwab <schwab@redhat.com>
9894
9895 [BZ #12454]
9896 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9897 dependencies are missing.
9898
6c8a2e88
ST
98992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9900
f2092faf 9901 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9902 Hurd needs munmap.
9903 * sysdeps/mach/hurd/ifreq.h: New file.
9904
84a42118
PB
99052011-01-27 Petr Baudis <pasky@suse.cz>
9906 Ulrich Drepper <drepper@gmail.com>
9907
071f805e 9908 [BZ 12445]#
84a42118
PB
9909 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9910 to extend_alloca().
9911 * stdio-common/bug23.c: New file.
9912 * stdio-common/Makefile (tests): Add bug23.
9913
e23fe25b
AS
99142010-09-28 Andreas Schwab <schwab@redhat.com>
9915 Ulrich Drepper <drepper@gmail.com>
9916
9917 [BZ #12489]
9918 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9919 before performing relro protection. At old place add assertion
9920 to make sure nothing changed.
9921
d3f02e10
NS
99222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9923 Glauber de Oliveira Costa <glommer@gmail.com>
9924
9925 * elf/elf.h: Add new ARM TLS relocs.
9926
d55fd7a5
RA
99272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9928
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9930 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9931 cast from r3.
9932 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9933 'tests' variable.
9934 * sysdeps/wordsize-64/tst-writev.c: New file.
9935
2206397e
RA
99362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9937
9938 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9939 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9940 insns in _dl_start to prevent a TOC reference before relocs are
9941 resolved.
9942
e9433893
UD
99432011-02-15 Ulrich Drepper <drepper@gmail.com>
9944
9945 [BZ #12469]
9946 * Makeconfig: Remove RANLIB definition.
9947 * Makerules: Don't use RANLIB.
9948 * aclocal.m4: Remove ranlib test.
9949 * configure.in: No need to check for ranlib.
9950 * elf/rtld-Rules: Don't use RANLIB.
9951
f75286c6
ST
99522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9953
8e31c82d
ST
9954 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9955 protection macro.
9956 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9957 inclusion protection macro.
9958
f75286c6
ST
9959 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9960 SIGRTMIN and SIGRTMAX and print information in that case only when
9961 SIGRTMIN is defined.
9962
c1d0e639
JJ
99632011-02-11 Jakub Jelinek <jakub@redhat.com>
9964
9965 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9966 arginfo fn returning -1.
9967
9968 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9969 and thousands string is zero terminated.
9970
edf9294e
AS
99712011-02-03 Andreas Schwab <schwab@redhat.com>
9972
9973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9974 sysdeps/unix/sysv/linux/bits/socket.h.
9975
2b7e92df
ST
99762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9977
edf9294e
AS
9978 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9979 (__CPU_COUNT): Remove old macros.
9980 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9981 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9982 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9983 (__sched_cpualloc, __sched_cpufree): Add declarations.
9984
a4c7ea7b
UD
99852011-02-05 Ulrich Drepper <drepper@gmail.com>
9986
9987 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9988 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9989 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9990 (readdhstai): Return value of addhstaiX call.
9991 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9992 (addgrbyX): Return value returned by cache_addgr.
9993 (readdgrbyname): Return value returned by addgrbyX.
9994 (readdgrbygid): Likewise.
9995 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9996 (addpwbyX): Return value returned by cache_addpw.
9997 (readdpwbyname): Return value returned by addhstbyX.
9998 (readdpwbyuid): Likewise.
9999 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10000 (addservbyX): Return value returned by cache_addserv.
10001 (readdservbyname): Return value returned by addservbyX:
10002 (readdservbyport): Likewise.
10003 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10004 (addhstbyX): Return value returned by cache_addhst.
10005 (readdhstbyname): Return value returned by addhstbyX.
10006 (readdhstbyaddr): Likewise.
10007 (readdhstbynamev6): Likewise.
10008 (readdhstbyaddrv6): Likewise.
10009 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10010 (readdinitgroups): Return value returned by addinitgroupsX.
10011 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10012 (prune_cache): Keep track of timeout value of re-added entries.
10013 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10014 * nscd/nscd.h: Adjust prototypes of readd* functions.
10015
a0bf67cc
RM
100162011-02-04 Roland McGrath <roland@redhat.com>
10017
10018 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10019 (nis_stats): Likewise.
10020 * nis/nis_modify.c (nis_modify): Likewise.
10021 * nis/nis_remove.c (nis_remove): Likewise.
10022 * nis/nis_add.c (nis_add): Likewise.
10023
10024 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10025
10026 * posix/fnmatch_loop.c: Add some consts.
10027
10028 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10029
435b95eb
L
100302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10031
10032 [BZ #12460]
10033 * config.make.in (config-cflags-novzeroupper): Define.
10034 * configure.in: Substitute libc_cv_cc_novzeroupper.
10035 * elf/Makefile (AVX-CFLAGS): Define.
10036 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10037 (CFLAGS-tst-auditmod4a.c): Likewise.
10038 (CFLAGS-tst-auditmod4b.c): Likewise.
10039 (CFLAGS-tst-auditmod6b.c): Likewise.
10040 (CFLAGS-tst-auditmod6c.c): Likewise.
10041 (CFLAGS-tst-auditmod7b.c): Likewise.
10042 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10043
8517b15e
UD
100442011-02-02 Ulrich Drepper <drepper@gmail.com>
10045
10046 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10047 function to the callback.
10048 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10049
10a656fe
AS
100502011-02-02 Andreas Schwab <schwab@redhat.com>
10051
10052 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10053 of errno.
10054
968dad0a
UD
100552011-01-19 Ulrich Drepper <drepper@gmail.com>
10056
9f94d2ea 10057 [BZ #11724]
968dad0a
UD
10058 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10059 of constructors.
10060 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10061 of destructors.
10062 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10063
10064 [BZ #11724]
10065 * elf/Makefile: Add rules to build and run new test.
10066 * elf/tst-initorder.c: New file.
10067 * elf/tst-initorder.exp: New file.
10068 * elf/tst-initordera1.c: New file.
10069 * elf/tst-initordera2.c: New file.
10070 * elf/tst-initordera3.c: New file.
10071 * elf/tst-initordera4.c: New file.
10072 * elf/tst-initorderb1.c: New file.
10073 * elf/tst-initorderb2.c: New file.
10074 * elf/tst-order-a1.c: New file.
10075 * elf/tst-order-a2.c: New file.
10076 * elf/tst-order-a3.c: New file.
10077 * elf/tst-order-a4.c: New file.
10078 * elf/tst-order-b1.c: New file.
10079 * elf/tst-order-b2.c: New file.
10080 * elf/tst-order-main.c: New file.
10081 New test case by George Gensure <werkt0@gmail.com>.
10082
86e92359
UD
100832010-10-01 Andreas Schwab <schwab@redhat.com>
10084
10085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10086 decoding ACE if AI_CANONIDN.
10087
5d5732b0
UD
100882011-01-18 Ulrich Drepper <drepper@gmail.com>
10089
10090 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10091
a77e8cbc
UD
100922011-01-17 Ulrich Drepper <drepper@gmail.com>
10093
6392473f
UD
10094 * version.h (RELEASE): Bump for 2.13 release.
10095 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10096
620a0529
UD
10097 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10098
18ba70a5
UD
10099 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10100 MADV_NOHUGEPAGE.
32465c3e
UD
10101 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10102 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10103 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10104 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10105 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10106 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10107
c0dafcf1
UD
10108 * posix/getconf.c: Update copyright year.
10109 * catgets/gencat.c: Likewise.
10110 * csu/version.c: Likewise.
10111 * debug/catchsegv.sh: Likewise.
10112 * debug/xtrace.sh: Likewise.
10113 * elf/ldconfig.c: Likewise.
10114 * elf/ldd.bash.in: Likewise.
10115 * elf/sprof.c (print_version): Likewise.
10116 * iconv/iconv_prog.c: Likewise.
10117 * iconv/iconvconfig.c: Likewise.
10118 * locale/programs/locale.c: Likewise.
10119 * locale/programs/localedef.c: Likewise.
10120 * malloc/memusage.sh: Likewise.
10121 * malloc/mtrace.pl: Likewise.
10122 * nscd/nscd.c (print_version): Likewise.
10123 * nss/getent.c: Likewise.
10124
a77e8cbc
UD
10125 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10126 PF_CAIF, and PF_ALG.
10127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10128
77e8bddf
AS
101292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10130
1f20b93a
AS
10131 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10132 (modules-names): Use them.
10133 (ifunc-test-modules, ifunc-pie-tests): Define.
10134 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10135 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10136 (test-extras): Likewise.
10137 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10138 $(compile-command.c).
10139 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10140 (all-built-dso): Define.
10141 (check-textrel.out, check-execstack.out): Depend on it.
10142
77e8bddf
AS
10143 * configure.in: Don't override --enable-multi-arch.
10144
bc425b33
UD
101452011-01-15 Ulrich Drepper <drepper@gmail.com>
10146
10147 [BZ #6812]
10148 * nscd/hstcache.c (tryagain): Define.
10149 (cache_addhst): Return tryagain not notfound for temporary errors.
10150 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10151 failed.
10152
794c3ad3
UD
101532011-01-14 Ulrich Drepper <drepper@gmail.com>
10154
70181fdd
UD
10155 [BZ #10563]
10156 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10157 to make the syscall.
10158 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10159
794c3ad3
UD
10160 [BZ #12378]
10161 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10162 and fall back to matching as normal character if the string ends before
10163 the matching ']' is found. This is what POSIX requires.
10164 * posix/testfnm.c: Adjust test result.
10165 * posix/globtest.sh: Adjust test result. Add new test.
10166 * posix/tst-fnmatch.input: Likewise.
10167 * posix/tst-fnmatch2.c: Add new test.
10168
68dc9497
AS
101692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10170
10171 * elf/Makefile (check-execstack): Revert last change. Depend on
10172 check-execstack.h.
10173 (check-execstack.h): New target.
10174 (generated): Add check-execstack.h.
10175 * elf/check-execstack.c: Include "check-execstack.h".
10176 (main): Revert last change.
10177 (handle_file): Return zero if GNU_STACK is absent and
10178 DEFAULT_STACK_PERMS doesn't include PF_X.
10179
451f001b
UD
101802011-01-13 Ulrich Drepper <drepper@gmail.com>
10181
cfa28e56
UD
10182 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10183 in child fails because the descriptor is already closed.
8cf8ce17
UD
10184 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10185 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10186 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10187
1086d70d
UD
10188 [BZ #12397]
10189 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10190 syscall.
10191
451f001b
UD
10192 [BZ #10484]
10193 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10194 temporary buffer used to handle multi lookups locally.
a85b5cb4 10195 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10196
08769175
UD
101972011-01-12 Ulrich Drepper <drepper@gmail.com>
10198
10199 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10200 loader is ld.so.
10201
5e49c52e
UD
102022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10203
10204 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10205 alignment for SSE2.
10206
60522a5f
UD
102072011-01-12 Ulrich Drepper <drepper@gmail.com>
10208
10209 [BZ #12394]
10210 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10211 characters. When rounding increased number of integer digits recompute
10212 number of groups.
10213 * stdio-common/tst-grouping.c: New file.
10214 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10215
f257bbd7
UD
102162011-01-09 Ulrich Drepper <drepper@gmail.com>
10217
10218 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10219 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10220
10221 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10222 void.
10223 * bits/select.h: Likewise.
10224
fa9c15cb
UD
102252011-01-08 Ulrich Drepper <drepper@gmail.com>
10226
10227 * po/ja.po: Update from translation team.
10228
16c2895f
DM
102292011-01-04 David S. Miller <davem@sunset.davemloft.net>
10230
10231 [BZ #11155]
10232 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10233 implementation just like for lxstat, fxstatat, et al.
10234
2543fef2
JM
102352010-12-27 Jim Meyering <meyering@redhat.com>
10236
10237 [BZ #12348]
10238 * posix/regexec.c (build_trtable): Return failure indication upon
10239 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10240
98727dbe
UD
102412010-12-25 Ulrich Drepper <drepper@gmail.com>
10242
5bd6dc5c
UD
10243 [BZ #12201]
10244 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10245 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10246 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10247 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10248
97983464
UD
10249 [BZ #12207]
10250 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10251
98727dbe
UD
10252 [BZ #12204]
10253 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10254 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10255
4a531bb0
L
102562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10257
10258 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10259 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10260 script has SORT_BY_INIT_PRIORITY.
10261 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10262 NO_CTORS_DTORS_SECTIONS is defined.
10263 * elf/soinit.c: Likewise.
10264 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10265 NO_CTORS_DTORS_SECTIONS is defined.
10266 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10267 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10268 * sysdeps/sh/init-first.c: Likewise.
10269 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10270
07eb4b71
UD
102712010-12-24 Ulrich Drepper <drepper@gmail.com>
10272
10273 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10274 always use the slow path.
10275
30950a5f
RA
102762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10277
10278 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10279 similar rule which adds the sysdep directories to the header search in
10280 order to pick up the correct platform stackinfo.h.
10281 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10282 perform test if it is, otherwise return successfully without testing.
10283 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10284 DEFAULT_STACK_PERMS define in stackinfo.h.
10285 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10286 defined in stackinfo.h.
10287 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10288 DEFAULT_STACK_PERMS defined in stackinfo.h.
10289 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10290 * sysdeps/ia64/stackinfo.h: Likewise.
10291 * sysdeps/s390/stackinfo.h: Likewise.
10292 * sysdeps/sh/stackinfo.h: Likewise.
10293 * sysdeps/sparc/stackinfo.h: Likewise.
10294 * sysdeps/x86_64/stackinfo.h: Likewise.
10295 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10296 PF_X for powerpc64. Retain PF_X for powerpc32.
10297
db753e2c
UD
102982010-12-19 Ulrich Drepper <drepper@gmail.com>
10299
14b697f7
UD
10300 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10301 accurately.
db753e2c
UD
10302 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10303 GETDENTS_64BIT_ALIGNED.
10304
28300719
UD
103052010-12-14 Ulrich Drepper <dreper@gmail.com>
10306
14b697f7 10307 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10308
4f197237
AS
103092010-12-10 Andreas Schwab <schwab@redhat.com>
10310
dbb0472f
AS
10311 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10312 _GNU_SOURCE.
10313
4f197237
AS
10314 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10315 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10316 Remove __restrict.
10317 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10318 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10319
fb88ac72
UD
103202010-12-09 Ulrich Drepper <drepper@gmail.com>
10321
10322 [BZ #11655]
10323 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10324 are initialized.
10325
42acbb92
JJ
103262010-12-09 Jakub Jelinek <jakub@redhat.com>
10327
10328 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10329
c038d98d
UD
103302010-12-03 Ulrich Drepper <drepper@gmail.com>
10331
10332 * po/it.po: Update from translation team.
10333
3a4a2499
L
103342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10335
10336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10337 unused codes.
10338
1e24cf6e
UD
103392010-11-30 Ulrich Drepper <drepper@gmail.com>
10340
10341 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10342
a7690819
AS
103432010-11-24 Andreas Schwab <schwab@redhat.com>
10344
10345 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10346 specially.
10347 (gaih_getanswer_slice): Likewise.
10348
3bf8d1b1
JJ
103492010-10-20 Jakub Jelinek <jakub@redhat.com>
10350
10351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10352
6db52fbb
PB
103532010-05-31 Petr Baudis <pasky@suse.cz>
10354
10355 [BZ #11149]
10356 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10357 silently even in the chroot mode.
10358
eaca7569
UD
103592010-11-22 Ulrich Drepper <drepper@gmail.com>
10360
10361 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10362 last patch a bit. Pretty printing
10363
3056dcdb
UD
103642010-05-31 Petr Baudis <pasky@suse.cz>
10365
10366 [BZ #10085]
10367 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10368 initialization of skip_initgroups_dyn.
10369
cf7c9078
UD
103702010-11-19 Ulrich Drepper <drepper@gmail.com>
10371
10372 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10373 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10374
a1fb5e3e
UD
103752010-11-16 Ulrich Drepper <drepper@gmail.com>
10376
10377 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10378
3540d66b
AS
103792010-11-11 Andreas Schwab <schwab@redhat.com>
10380
10381 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10382 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10383 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10384 ($(objpfx)tst-fnmatch-mem): New rule.
10385 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10386 * posix/tst-fnmatch.c (main): Call mtrace.
10387
13b69574
L
103882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10389
10390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10391 Support Intel processor model 6 and model 0x2c.
10392
da93d214
LM
103932010-11-10 Luis Machado <luisgpm@br.ibm.com>
10394
10395 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10396 signed comparison.
10397
8ca52c6e
L
103982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10399
10400 [BZ #12205]
10401 * string/test-strncasecmp.c (check_result): New function.
10402 (do_one_test): Use it.
10403 (check1): New function.
10404 (test_main): Use it.
10405 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10406 Support strcasecmp and strncasecmp.
10407
69da074d
UD
104082010-11-08 Ulrich Drepper <drepper@gmail.com>
10409
10410 [BZ #12194]
10411 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10412 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10413
ff02d528
L
104142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10415
10416 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10417 IFUNC support.
10418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10419 memset-x86-64.
10420 * sysdeps/x86_64/multiarch/bzero.S: New file.
10421 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10422 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10423 * sysdeps/x86_64/multiarch/memset.S: New file.
10424 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10426 Set bit_Prefer_SSE_for_memop for Intel processors.
10427 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10428 Define.
10429 (index_Prefer_SSE_for_memop): Define.
10430 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10431
344d0b54
LM
104322010-11-04 Luis Machado <luisgpm@br.ibm.com>
10433
10434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10435 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10436
c0dde15b
UD
104372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10438
10439 [BZ #12191]
10440 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10441 (__x86_64_raw_data_cache_size_half): Likewise.
10442 (__x86_64_raw_shared_cache_size): Likewise.
10443 (__x86_64_raw_shared_cache_size_half): Likewise.
10444
10445 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10446 (__x86_64_raw_data_cache_size_half): Likewise.
10447 (__x86_64_raw_shared_cache_size): Likewise.
10448 (__x86_64_raw_shared_cache_size_half): Likewise.
10449 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10450 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10451 and __x86_64_raw_shared_cache_size_half. Round
10452 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10453 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10454 to multiple of 256 bytes.
10455
0e516e0e
MS
104562010-11-03 Ulrich Drepper <drepper@gmail.com>
10457
10458 [BZ #12167]
10459 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10460 of inacessible symlinks. Verify result of symlink before returning it.
10461 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10462 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10463
0e012e87
ER
104642010-10-28 Erich Ritz <erichritz@gmail.com>
10465
10466 * math/math.h (isinf): Fix typo in comment.
10467
de0ff7bc
UD
104682010-11-01 Ulrich Drepper <drepper@gmail.com>
10469
10470 * po/da.po: Update from translation team.
10471
fa41c84d
UD
104722010-10-26 Ulrich Drepper <drepper@gmail.com>
10473
10474 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10475 is added to the list.
10476
f0967738
AK
104772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10478 Ulrich Drepper <drepper@gmail.com>
10479
10480 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10481 the global list here. Move code to...
10482 (_dl_add_to_namespace_list): ...here. New function.
10483 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10484 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10485 * elf/dl-load.c (lose): Don't remove the element from the list.
10486 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10487 (_dl_map_object): Likewise.
10488
104892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10490
10491 [BZ #12159]
10492 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10493 into all bytes of SSE register.
10494 Patch by Richard Li <richardpku@gmail.com>.
10495
f0967738 104962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10497
10498 [BZ #12140]
10499 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10500 perturbing.
10501
d0b9e94f
MB
105022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10503
10504 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10505 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10506 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10507 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10509 submachine.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10511
8e9f92e9
AS
105122010-10-22 Andreas Schwab <schwab@redhat.com>
10513
10514 * include/dlfcn.h (__RTLD_SECURE): Define.
10515 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10516 mode & __RTLD_SECURE instead.
10517 (open_path): Rename preloaded parameter to secure.
10518 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10519 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10520 * elf/dl-deps.c (openaux): Likewise.
10521 * elf/rtld.c (struct map_args): Remove is_preloaded.
10522 (map_doit): Don't use it.
10523 (dl_main): Likewise.
10524 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10525 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10526
bc96fbda
AS
105272010-09-09 Andreas Schwab <schwab@redhat.com>
10528
10529 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10530 (sysd-rules-targets): Remove duplicates.
10531 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10532 rtld-%.$o dependency.
10533
22cd1c9b
AS
105342010-10-18 Andreas Schwab <schwab@redhat.com>
10535
10536 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10537 _dl_map_object do it.
10538
18edac48
UD
105392010-10-19 Ulrich Drepper <drepper@gmail.com>
10540
10541 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10542 fast fma builtins, define the macros in the C99 standard.
10543 (FP_FAST_FMAF): Likewise.
10544 (FP_FAST_FMAL): Likewise.
10545 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10546
10547 * bits/mathdef.h: Update copyright year.
10548 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10549
d2050124
MM
105502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10551
10552 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10553 builtins, define the macros in the C99 standard.
10554 (FP_FAST_FMAF): Likewise.
10555 (FP_FAST_FMAL): Likewise.
10556 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10557 multiply/add.
10558 (FP_FAST_FMAF): Likewise.
10559
475facd1
JJ
105602010-10-15 Jakub Jelinek <jakub@redhat.com>
10561
10562 [BZ #3268]
10563 * math/libm-test.inc (fma_test): Some new testcases.
10564 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10565 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10566 y and infinite z. Do multiplication by C already in long double.
10567 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10569 y and infinite z. Do bitwise or of inexact bit into u.d.
10570 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10571 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10572 * sysdeps/i386/fpu/s_fma.S: Removed.
10573 * sysdeps/i386/fpu/s_fmal.S: Removed.
10574
7c08a05c
JJ
105752010-10-16 Jakub Jelinek <jakub@redhat.com>
10576
10577 [BZ #3268]
10578 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10580 computation is not scheduled after fetestexcept. Fix value
10581 of minimum denormal long double.
10582
f3f7372d
JJ
105832010-10-14 Jakub Jelinek <jakub@redhat.com>
10584
10585 [BZ #3268]
10586 * math/libm-test.inc (fma_test): Add some more tests.
10587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10588 correctly.
10589
14d43591
AS
105902010-10-15 Andreas Schwab <schwab@redhat.com>
10591
10592 * scripts/data/localplt-s390-linux-gnu.data: New file.
10593 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10594
5e908464
JJ
105952010-10-13 Jakub Jelinek <jakub@redhat.com>
10596
10597 [BZ #3268]
10598 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10599 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10600 instead of dbl-64.
10601 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10602 inlines.
10603 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10605 if one of x and y is very large and the other is subnormal.
10606 * sysdeps/s390/fpu/s_fmaf.c: New file.
10607 * sysdeps/s390/fpu/s_fma.c: New file.
10608 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10609 * sysdeps/powerpc/fpu/s_fma.S: New file.
10610 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10611 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10612 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10613
106142010-10-12 Jakub Jelinek <jakub@redhat.com>
10615
10616 [BZ #3268]
10617 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10618 fma tests.
10619 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10620 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10621 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10622 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10623 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10624 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10625 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10626
b833d51f
UD
106272010-10-12 Ulrich Drepper <drepper@redhat.com>
10628
10629 [BZ #12078]
10630 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10631 * posix/bug-regex31.input: Add test case.
10632
1751705d
UD
106332010-10-11 Ulrich Drepper <drepper@gmail.com>
10634
e9b9cbf5
UD
10635 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10636 * posix/bug-regex31.input: New file.
10637
10638 [BZ #12078]
10639 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10640 (parse_sub_exp): Fix last change, use postorder.
10641
ef06edbe
UD
10642 * posix/bug-regex31.c: New file.
10643 * posix/Makefile: Add rules to build and run bug-regex31.
10644
a129c80d
UD
10645 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10646
10647 [BZ #12078]
10648 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10649
b76b818e
UD
10650 [BZ #12108]
10651 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10652 to have entries in sys_siglist.
10653
1751705d
UD
10654 [BZ #12093]
10655 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10656 be NULL.
10657
9ff8d36f
JJ
106582010-10-07 Jakub Jelinek <jakub@redhat.com>
10659
10660 [BZ #3268]
10661 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10662 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10663 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10664 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10665 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10666 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10667 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10668 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10669 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10670 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10671 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10672 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10673 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10674 * math/ftestexcept.c (fetestexcept): Likewise.
10675 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10676 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10677 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10678 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10679 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10680 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10681 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10682
af325969
UD
106832010-10-11 Ulrich Drepper <drepper@gmail.com>
10684
c579b202 10685 [BZ #12107]
af325969
UD
10686 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10687 newline.
10688
67a67b95
UD
106892010-10-06 Ulrich Drepper <drepper@gmail.com>
10690
10691 * string/bug-strstr1.c: New file.
10692 * string/Makefile: Add rules to build and run bug-strstr1.
10693
5fb308bc
EB
106942010-10-05 Eric Blake <eblake@redhat.com>
10695
10696 [BZ #12092]
10697 * string/str-two-way.h (two_way_long_needle): Always clear memory
10698 when skipping input due to the shift table.
10699
45db99c7
UD
107002010-10-03 Ulrich Drepper <drepper@gmail.com>
10701
3b111893
UD
10702 [BZ #12005]
10703 * malloc/mcheck.c: Handle large requests.
10704
45db99c7
UD
10705 [BZ #12077]
10706 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10707 for strncmp and strncasecmp.
10708 * string/stratcliff.c: Add tests for strcmp and strncmp.
10709 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10710
cf7a1eb8
NI
107112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10712
10713 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10714 __set_fpscr.
10715
6484ba5e
AJ
107162010-09-30 Andreas Jaeger <aj@suse.de>
10717
10718 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10719 (CGROUP_SUPER_MAGIC): Define.
10720 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10721 Handle btrfs and cgroup file systems.
10722 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10723 Likewise.
10724
91c42559
LM
107252010-09-27 Luis Machado <luisgpm@br.ibm.com>
10726
10727 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10728 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10729
87a97932
AK
107302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10731
10732 [BZ #12067]
10733 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10734 trying to locate the ELF header.
10735
c21cc9bc
AS
107362010-09-27 Andreas Schwab <schwab@redhat.com>
10737
10738 [BZ #11611]
10739 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10740 Mask out sign-bit copies when constructing f_fsid.
10741
315970f6
PB
107422010-09-24 Petr Baudis <pasky@suse.cz>
10743
10744 * debug/stack_chk_fail_local.c: Add missing licence exception.
10745 * debug/warning-nop.c: Likewise.
10746
1ac7a2c7
JM
107472010-09-15 Joseph Myers <joseph@codesourcery.com>
10748
10749 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10750 implementing getdents64 using getdents syscall, set d_type if
10751 __ASSUME_GETDENTS32_D_TYPE.
10752
56801c50
AS
107532010-09-16 Andreas Schwab <schwab@redhat.com>
10754
10755 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10756 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10757
dda51327
UD
107582010-09-21 Ulrich Drepper <drepper@redhat.com>
10759
10760 [BZ #12037]
10761 * posix/unistd.h: Undo change of feature selection for ftruncate from
10762 2010-01-11.
10763
8ffcee4a
UD
107642010-09-20 Ulrich Drepper <drepper@redhat.com>
10765
a545ecd9 10766 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10767 detection.
10768
e24f0a8b
AS
107692010-09-20 Andreas Schwab <schwab@redhat.com>
10770
10771 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10772 fanotify_mark.
10773 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10774
7291c56f
AS
107752010-09-14 Andreas Schwab <schwab@redhat.com>
10776
10777 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10778 variables after CHECK_SP call.
10779 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10780
bc5fb037
AS
107812010-09-13 Andreas Schwab <schwab@redhat.com>
10782 Ulrich Drepper <drepper@redhat.com>
10783
10784 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10785 re-relocationg ld.so.
10786 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10787 _dl_init_paths call.
10788 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10789 here anymore.
10790
e66e7419
UD
107912010-09-14 Ulrich Drepper <drepper@redhat.com>
10792
10793 * resolv/res_init.c (__res_vinit): Count the default server we added.
10794
c044aa75
CLT
107952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10796 Ulrich Drepper <drepper@redhat.com>
10797
10798 [BZ #11968]
10799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10800 (____longjmp_chk): Use %ebx for saving value across system call.
10801 Add unwind info.
10802
32cf4069
AS
108032010-09-06 Andreas Schwab <schwab@redhat.com>
10804
10805 * manual/Makefile: Don't mix pattern rules with normal rules.
10806
817328ee
AS
108072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10808
10809 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10810 operation.
10811 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10812 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10813 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10814 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10815 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10816 Likewise.
10817
29fddf61
UD
108182010-09-04 Ulrich Drepper <drepper@redhat.com>
10819
10820 [BZ #11979]
10821 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10822 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10823
0959ffc9
UD
108242010-09-02 Ulrich Drepper <drepper@redhat.com>
10825
10826 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10827 * sysdeps/x86_64/addmul_1.S: Likewise.
10828 * sysdeps/x86_64/lshift.S: Likewise.
10829 * sysdeps/x86_64/mul_1.S: Likewise.
10830 * sysdeps/x86_64/rshift.S: Likewise.
10831 * sysdeps/x86_64/sub_n.S: Likewise.
10832 * sysdeps/x86_64/submul_1.S: Likewise.
10833
ece29840
ST
108342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10835
0959ffc9
UD
10836 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10837 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10838 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10839 * bits/sched.h [__need_schedparam]
ece29840 10840 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10841 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10842 (__defined_schedparam): Define to 1.
ece29840
ST
10843 (__sched_param): New structure, identical to sched_param.
10844 (__need_schedparam): Undefine.
10845
e53a31fe
MF
108462010-08-31 Mike Frysinger <vapier@gentoo.org>
10847
fdc0c10d
MF
10848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10849 (epoll_create1): Declare.
10850
e53a31fe
MF
10851 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10852
a726d796
AS
108532010-08-31 Andreas Schwab <schwab@redhat.com>
10854
10855 [BZ #7066]
10856 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10857 shifting retval into place.
10858
2f3e3dc7
UD
108592010-09-01 Ulrich Drepper <drepper@redhat.com>
10860
f2933da9
UD
10861 * nis/rpcsvc/nis.h: Update copyright notice.
10862 * nis/rpcsvc/nis.x: Likewise.
10863 * nis/rpcsvc/nis_callback.h: Likewise.
10864 * nis/rpcsvc/nis_callback.x: Likewise.
10865 * nis/rpcsvc/nis_object.x: Likewise.
10866 * nis/rpcsvc/nis_tags.h: Likewise.
10867 * nis/rpcsvc/yp.h: Likewise.
10868 * nis/rpcsvc/yp.x: Likewise.
10869 * nis/rpcsvc/ypupd.h: Likewise.
10870 * nis/yp_xdr.c: Likewise.
10871 * nis/ypupdate_xdr.c: Likewise.
10872
2f3e3dc7
UD
10873 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10874 mainly the body of pmap_getport. Add parameters to specify timeouts.
10875 (pmap_getport): Use __libc_rpc_getport.
10876 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10877 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10878 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10879
f3dcc2f9
AS
108802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10881
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10883 fanotify_mark.
10884
6d34eb5b
RM
108852010-08-27 Roland McGrath <roland@redhat.com>
10886
10887 * sysdeps/i386/i686/multiarch/Makefile
10888 (CFLAGS-varshift.c): New variable.
10889
9ea3de11
UD
108902010-08-27 Ulrich Drepper <drepper@redhat.com>
10891
c96d23fc
UD
10892 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10893 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10894
9ea3de11
UD
10895 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10896
10897 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10898
623aac7f
L
108992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10900
10901 * sysdeps/x86_64/strlen.S: Unroll the loop.
10902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10903 strlen-sse2 strlen-sse2-bsf.
10904 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10905 __strlen_no_bsf if bit_Slow_BSF is set.
10906 (__strlen_sse42): Removed.
10907 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10908 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10909
8b2b7715
RM
109102010-08-25 Roland McGrath <roland@redhat.com>
10911
10912 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10913 * sysdeps/x86_64/multiarch/varshift.c: New file.
10914 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10915 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10916 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10917 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10918
e73015f2
L
109192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10920
10921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10922 strlen-sse2 strlen-sse2-bsf.
10923 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10924 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10925 (__strlen_sse2): Removed.
10926 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10929 bit_Slow_BSF for Atom.
10930 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10931 (index_Slow_BSF): Define.
10932 (HAS_SLOW_BSF): Define.
10933
df24a73e
UD
109342010-08-25 Ulrich Drepper <drepper@redhat.com>
10935
10936 [BZ #10851]
10937 * resolv/res_init.c (__res_vinit): When no server address at all
10938 is given default to loopback.
10939
f2ac4868
RM
109402010-08-24 Roland McGrath <roland@redhat.com>
10941
09055553
RM
10942 * configure.in: Remove config-name.h generation.
10943 * configure: Regenerated.
10944 * config-name.in: File removed.
10945 * scripts/config-uname.sh: New file.
10946 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10947 ($(objdir)config-name.h): New target.
10948
f2ac4868
RM
10949 * sunrpc/rpc_parse.h: Avoid nested comment.
10950
73f27d5e
RH
109512010-08-24 Richard Henderson <rth@redhat.com>
10952 Ulrich Drepper <drepper@redhat.com>
10953 H.J. Lu <hongjiu.lu@intel.com>
10954
10955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10957 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10958 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10959 _mm_alignr_epi8 with _mm_loadu_si128.
10960 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10961 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10962 (__m128i_shift_right): Removed.
10963 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10964 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10965 * sysdeps/x86_64/multiarch/varshift.h: New file.
10966 * sysdeps/x86_64/multiarch/varshift.S: New file.
10967
84b9230c
MF
109682010-08-21 Mike Frysinger <vapier@gentoo.org>
10969
10970 * configure.in: Move assembler checks to before sysdep dir checking.
10971
9bbd0ddc
PB
109722010-08-20 Petr Baudis <pasky@suse.cz>
10973
10974 * LICENSES: Sync the sunrpc license.
10975
9da4bb31
UD
109762010-08-19 Ulrich Drepper <drepper@redhat.com>
10977
a7ab6ec8
UD
10978 * sunrpc/auth_des.c: Update copyright notice once again.
10979 * sunrpc/auth_none.c: Likewise.
10980 * sunrpc/auth_unix.c: Likewise.
10981 * sunrpc/authdes_prot.c: Likewise.
10982 * sunrpc/authuxprot.c: Likewise.
10983 * sunrpc/bindrsvprt.c: Likewise.
10984 * sunrpc/clnt_gen.c: Likewise.
10985 * sunrpc/clnt_perr.c: Likewise.
10986 * sunrpc/clnt_raw.c: Likewise.
10987 * sunrpc/clnt_simp.c: Likewise.
10988 * sunrpc/clnt_tcp.c: Likewise.
10989 * sunrpc/clnt_udp.c: Likewise.
10990 * sunrpc/clnt_unix.c: Likewise.
10991 * sunrpc/des_crypt.c: Likewise.
10992 * sunrpc/des_soft.c: Likewise.
10993 * sunrpc/get_myaddr.c: Likewise.
10994 * sunrpc/getrpcport.c: Likewise.
10995 * sunrpc/key_call.c: Likewise.
10996 * sunrpc/key_prot.c: Likewise.
10997 * sunrpc/openchild.c: Likewise.
10998 * sunrpc/pm_getmaps.c: Likewise.
10999 * sunrpc/pm_getport.c: Likewise.
11000 * sunrpc/pmap_clnt.c: Likewise.
11001 * sunrpc/pmap_prot.c: Likewise.
11002 * sunrpc/pmap_prot2.c: Likewise.
11003 * sunrpc/pmap_rmt.c: Likewise.
11004 * sunrpc/rpc/auth.h: Likewise.
11005 * sunrpc/rpc/auth_unix.h: Likewise.
11006 * sunrpc/rpc/clnt.h: Likewise.
11007 * sunrpc/rpc/des_crypt.h: Likewise.
11008 * sunrpc/rpc/key_prot.h: Likewise.
11009 * sunrpc/rpc/netdb.h: Likewise.
11010 * sunrpc/rpc/pmap_clnt.h: Likewise.
11011 * sunrpc/rpc/pmap_prot.h: Likewise.
11012 * sunrpc/rpc/pmap_rmt.h: Likewise.
11013 * sunrpc/rpc/rpc.h: Likewise.
11014 * sunrpc/rpc/rpc_des.h: Likewise.
11015 * sunrpc/rpc/rpc_msg.h: Likewise.
11016 * sunrpc/rpc/svc.h: Likewise.
11017 * sunrpc/rpc/svc_auth.h: Likewise.
11018 * sunrpc/rpc/types.h: Likewise.
11019 * sunrpc/rpc/xdr.h: Likewise.
11020 * sunrpc/rpc_clntout.c: Likewise.
11021 * sunrpc/rpc_cmsg.c: Likewise.
11022 * sunrpc/rpc_common.c: Likewise.
11023 * sunrpc/rpc_cout.c: Likewise.
11024 * sunrpc/rpc_dtable.c: Likewise.
11025 * sunrpc/rpc_hout.c: Likewise.
11026 * sunrpc/rpc_main.c: Likewise.
11027 * sunrpc/rpc_parse.c: Likewise.
11028 * sunrpc/rpc_parse.h: Likewise.
11029 * sunrpc/rpc_prot.c: Likewise.
11030 * sunrpc/rpc_sample.c: Likewise.
11031 * sunrpc/rpc_scan.c: Likewise.
11032 * sunrpc/rpc_scan.h: Likewise.
11033 * sunrpc/rpc_svcout.c: Likewise.
11034 * sunrpc/rpc_tblout.c: Likewise.
11035 * sunrpc/rpc_util.c: Likewise.
11036 * sunrpc/rpc_util.h: Likewise.
11037 * sunrpc/rpcinfo.c: Likewise.
11038 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11039 * sunrpc/rpcsvc/key_prot.x: Likewise.
11040 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11041 * sunrpc/rpcsvc/mount.x: Likewise.
11042 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11043 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11044 * sunrpc/rpcsvc/rex.x: Likewise.
11045 * sunrpc/rpcsvc/rstat.x: Likewise.
11046 * sunrpc/rpcsvc/rusers.x: Likewise.
11047 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11048 * sunrpc/rpcsvc/spray.x: Likewise.
11049 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11050 * sunrpc/rtime.c: Likewise.
11051 * sunrpc/svc.c: Likewise.
11052 * sunrpc/svc_auth.c: Likewise.
11053 * sunrpc/svc_authux.c: Likewise.
11054 * sunrpc/svc_raw.c: Likewise.
11055 * sunrpc/svc_run.c: Likewise.
11056 * sunrpc/svc_simple.c: Likewise.
11057 * sunrpc/svc_tcp.c: Likewise.
11058 * sunrpc/svc_udp.c: Likewise.
11059 * sunrpc/svc_unix.c: Likewise.
11060 * sunrpc/svcauth_des.c: Likewise.
11061 * sunrpc/xcrypt.c: Likewise.
11062 * sunrpc/xdr.c: Likewise.
11063 * sunrpc/xdr_array.c: Likewise.
11064 * sunrpc/xdr_float.c: Likewise.
11065 * sunrpc/xdr_mem.c: Likewise.
11066 * sunrpc/xdr_rec.c: Likewise.
11067 * sunrpc/xdr_ref.c: Likewise.
11068 * sunrpc/xdr_sizeof.c: Likewise.
11069 * sunrpc/xdr_stdio.c: Likewise.
11070
9da4bb31
UD
11071 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11072 handling.
11073
bdaa77bc
AS
110742010-08-19 Andreas Schwab <schwab@redhat.com>
11075
11076 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11077
fe2f79db
LM
110782010-08-19 Luis Machado <luisgpm@br.ibm.com>
11079
11080 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11081 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11082 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11083 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11084 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11085 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11086 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11087 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11088 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11089 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11090 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11091 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11092 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11093 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11094
b9b42ee0
AB
110952010-07-26 Anton Blanchard <anton@samba.org>
11096
11097 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11098 * malloc/arena.c (heap_trim): Likewise.
11099
1c06ba31
UD
111002010-08-16 Ulrich Drepper <drepper@redhat.com>
11101
11102 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11103 here. Not...
11104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11105 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11106
f8392f40
L
111072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11108
11109 * sysdeps/i386/elf/Makefile: New file.
11110
3162f12e
AS
111112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11112
11113 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11114 from fanotify_init.
11115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11117
28c90b2c
UD
111182010-08-15 Ulrich Drepper <drepper@redhat.com>
11119
11120 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11121 of strncasecmp_l.
1feccb6c 11122 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11123
ca6bb004
UD
111242010-08-14 Ulrich Drepper <drepper@redhat.com>
11125
e9f82e0d
UD
11126 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11127 strncase_l-nonascii.
11128 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11129 Add strncase_l-ssse3.
11130 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11131 * sysdeps/x86_64/strcmp.S: Likewise.
11132 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11133 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11134 * sysdeps/x86_64/strncase.S: New file.
11135 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11136 * sysdeps/x86_64/strncase_l.S: New file.
11137 * string/Makefile (strop-tests): Add strncasecmp.
11138 * string/test-strncasecmp.c: New file.
11139
11140 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11141 warning.
11142
ca6bb004
UD
11143 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11144 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11145
052fa7b3
AS
111462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11147
11148 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11149
962dba78
UD
111502010-08-12 Ulrich Drepper <drepper@redhat.com>
11151
11152 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11153 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11154 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11155
bebff237
AM
111562010-05-01 Alan Modra <amodra@gmail.com>
11157
11158 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11159 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11160 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11161 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11162 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11163 tidying. Don't tail-call __sigjmp_save for static lib.
11164 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11165 save location.
11166 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11167 (CALL_MCOUNT): Add eh info, and nop after bl.
11168 (TAIL_CALL_SYSCALL_ERROR): New macro.
11169 (PSEUDO_RET): Use it.
11170 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11171 Correct save location of integer regs and cr.
11172 (_dl_profile_resolve): Correct cr save location. Delete nops
11173 after bl when SHARED. Reduce cfi size a little by better
11174 placement of cfi directives.
11175 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11176 make a stack frame. Instead use parm save area as a temp.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11178 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11180 Don't make a stack frame for parent, use parm save area.
11181 Increase child stack frame to 112 bytes. Don't save unused reg,
11182 and adjust reg usage. Set up cfi on error recovery and
11183 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11185 (__makecontext): Add dummy nop after jump to exit.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11187 Use correct parm save area and cr save, reduce stack frame.
11188 Correct cfi for possible PSEUDO_RET frame setup.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11190 Branch to local label emitted by PSEUDO_RET rather than
11191 __syscall_error.
11192
02637374
AS
111932010-08-12 Andreas Schwab <schwab@redhat.com>
11194
11195 [BZ #11904]
11196 * locale/programs/locale.c (print_assignment): New function.
11197 (show_locale_vars): Use it.
11198
c3e2f19b
UD
111992010-08-11 Ulrich Drepper <drepper@redhat.com>
11200
3cdaa6ad
UD
11201 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11202 field.
11203 (struct statfs64): Likewise.
11204 (_STATFS_F_FLAGS): Define.
11205 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11206 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11207 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11208 (ST_VALID): Define locally.
11209 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11210 __statvfs_getflags, use the provided value.
11211 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11212 __ASSUME_STATFS_F_FLAGS.
11213
754f7da3
UD
11214 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11215
10b3bedc
UD
11216 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11217 Add sys/fanotify.h.
11218 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11219 fanotify_mask for GLIBC_2.13.
11220 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11221 fanotify_init and fanotify_mark.
11222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11223 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11224
c08fb0d7
UD
11225 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11226 Add prlimit.
11227 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11228 prlimit64 for GLIBC_2.13.
11229 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11230 prlimit64.
11231 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11232 syscall.
11233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11234 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11235 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11236 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11238 add prlimit alias.
11239 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11240
15bac72b
UD
11241 [BZ #11903]
11242 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11243 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11244
c3e2f19b
UD
11245 * nss/Makefile: Add rules to build and run tst-nss-test1.
11246 * shlib-versions: Add entry for libnss_test1.
11247 * nss/nss_test1.c: New file.
11248 * nss/tst-nss-test1.c: New file.
11249
11250 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11251 (__nss_configure_lookup): Set appropriate entry in
11252 __nss_configure_lookup to true.
11253 * nss/nsswitch.h: Define enum with indeces of databases in
11254 databases and __nss_database_custom arrays. Declare
11255 __nss_database_custom.
11256 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11257 to avoid using nscd when custom rules are installed.
11258 * nss/getXXbyYY_r.c: Likewise.
11259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11260
11261 * nss/nss_files/files-parse.c: Whitespace fixes.
11262
f15ce4d8
UD
112632010-08-09 Ulrich Drepper <drepper@redhat.com>
11264
11265 [BZ #11883]
11266 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11267 * posix/fnmatch_loop.c: Likewise.
11268
d22e4cc9
AK
112692010-07-17 Andi Kleen <ak@linux.intel.com>
11270
11271 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11272 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11273 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11274 * Versions.def [GLIBC_2.13]: Add.
11275
805bc17d
UD
112762010-08-06 Ulrich Drepper <drepper@redhat.com>
11277
11278 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11279 Also fail if tpwd after pwuid call is NULL.
11280
5a42321d
ST
112812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11282
11283 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11284 when converting to ms.
11285
fd3ebeda
ST
112862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11287
11288 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11289 EOPNOTSUPP errors with ENOTTY.
11290 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11291 EOPNOTSUPP errors with ENOTTY.
11292
73507d3a
UD
112932010-07-31 Ulrich Drepper <drepper@redhat.com>
11294
11295 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11296 Add strcasecmp_l-ssse3.
11297 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11298 strcasecmp.
11299 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11300 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11301 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11302
fe36dd02
UD
113032010-07-30 Ulrich Drepper <drepper@redhat.com>
11304
66f6765a
UD
11305 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11306
42e08a54
UD
11307 * string/Makefile (strop-tests): Add strcasecmp.
11308 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11309 strcasecmp_l-nonascii.
11310 (gen-as-const-headers): Add locale-defines.sym.
11311 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11312 * sysdeps/x86_64/strcasecmp.S: New file.
11313 * sysdeps/x86_64/strcasecmp_l.S: New file.
11314 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11315 * sysdeps/x86_64/locale-defines.sym: New file.
11316 * string/test-strcasecmp.c: New file.
11317
fe36dd02
UD
11318 * string/test-strcasestr.c: Test both ends of the range of characters.
11319 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11320
48cbc0d6
RM
113212010-07-29 Roland McGrath <roland@redhat.com>
11322
76e6d6bc 11323 [BZ #11856]
48cbc0d6
RM
11324 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11325
880113d9
UD
113262010-07-27 Ulrich Drepper <drepper@redhat.com>
11327
11328 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11329 for ld.so.
11330
deb9cabb
AS
113312010-07-27 Andreas Schwab <schwab@redhat.com>
11332
11333 * manual/memory.texi (Malloc Tunable Parameters): Document
11334 M_PERTURB.
11335
1c7570ff
RM
113362010-07-26 Roland McGrath <roland@redhat.com>
11337
11338 [BZ #11840]
11339 * configure.in (-fgnu89-inline check): Set and substitute
11340 gnu89_inline, not libc_cv_gnu89_inline.
11341 * configure: Regenerated.
11342 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11343
24fb0f88
UD
113442010-07-26 Ulrich Drepper <drepper@redhat.com>
11345
11346 * string/test-strnlen.c: New file.
11347 * string/Makefile (strop-tests): Add strnlen.
11348 * string/tester.c (test_strnlen): Add a few more test cases.
11349 * string/tst-strlen.c: Better error reporting.
11350
11351 * sysdeps/x86_64/strnlen.S: New file.
11352
8e96b93a
UD
113532010-07-24 Ulrich Drepper <drepper@redhat.com>
11354
11355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11356 lower-latency instructions.
11357
dbc676d4
UD
113582010-07-23 Ulrich Drepper <drepper@redhat.com>
11359
11360 * string/test-strcasestr.c: New file.
11361 * string/test-strstr.c: New file.
11362 * string/Makefile (strop-tests): Add strstr and strcasestr.
11363 * string/str-two-way.h: Don't undefine MAX.
11364 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11365
f6a31e0e
AS
113662010-07-21 Andreas Schwab <schwab@redhat.com>
11367
11368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11369 strcasestr-nonascii.
11370 (CFLAGS-strcasestr-nonascii.c): Define.
11371 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11372 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11373 Remove unused attribute.
11374
5dbc3b6c
RM
113752010-07-20 Roland McGrath <roland@redhat.com>
11376
11377 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11378 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11379 ld.so.cache was broken. With it, there is no way to disable dsocaps
11380 like LD_HWCAP_MASK can disable hwcaps.
11381
23d101d8
EPM
113822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11383
11384 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11385
cc9f2e47
UD
113862010-07-16 Ulrich Drepper <drepper@redhat.com>
11387
11388 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11389 call in strcasestr.
11390 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11391 __strcasestr_sse42_nonascii.
11392 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11393 strcasestr-nonascii.c.
11394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11395
77c1b069
LM
113962010-06-15 Luis Machado <luisgpm@br.ibm.com>
11397
11398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11399 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11400 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11401 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11402
440566c3
UD
114032010-07-09 Ulrich Drepper <drepper@redhat.com>
11404
11405 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11406 fcntl.
11407
5be9d05d
AS
114082010-07-06 Andreas Schwab <schwab@redhat.com>
11409
c30b7ee2 11410 [BZ #11577]
5be9d05d
AS
11411 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11412 dl_signal_cerror.
11413
8a492a67
UD
114142010-07-06 Ulrich Drepper <drepper@redhat.com>
11415
11416 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11417 _PC_PIPE_BUF using F_GETPIPE_SZ.
11418
713df3d5
RM
114192010-07-05 Roland McGrath <roland@redhat.com>
11420
11421 * manual/arith.texi (Rounding Functions): Fix rint description
11422 implicit in round description.
11423
702e8f14
UD
114242010-07-02 Ulrich Drepper <drepper@redhat.com>
11425
11426 * elf/Makefile: Fix linking for a few tests to make recent linker
11427 happy.
11428
52ed8be9
AS
114292010-06-30 Andreas Schwab <schwab@redhat.com>
11430
11431 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11432 $(common-objpfx)libc_nonshared.a.
11433
f47c9a11
LM
114342010-06-21 Luis Machado <luisgpm@br.ibm.com>
11435
11436 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11437 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11438 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11439 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11440 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11441 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11442 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11443 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11458 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11459 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11460 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11461 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11462 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11463 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11464 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11465 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11466 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11467 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11468 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11469 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11484
6fb8cbcb
L
114852010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11486
11487 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11488 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11489 * string/memmove.c (memmove): Renamed to ...
11490 (MEMMOVE): ...this. Default to memmove.
11491 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11492 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11493 (END_CHK): Define.
11494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11495 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11496 mempcpy-ssse3-back memmove-ssse3-back.
11497 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11498 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11500 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11501 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11502 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11503 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11504 * sysdeps/x86_64/multiarch/memmove.c: New file.
11505 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11506 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11507 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11508 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11509 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11511 Define.
11512 (index_Fast_Copy_Backward): Define.
11513 (HAS_ARCH_FEATURE): Define.
11514 (HAS_FAST_REP_STRING): Define.
11515 (HAS_FAST_COPY_BACKWARD): Define.
11516
4e733bac 115172010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11518
11519 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11520 Restore proper fallback handling.
11521
63c4ed22
UD
115222010-06-19 Ulrich Drepper <drepper@redhat.com>
11523
ac2b484c
UD
11524 [BZ #11701]
11525 * posix/group_member.c (__group_member): Correct checking loop.
11526
63c4ed22
UD
11527 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11528 OOM in getpwuid_r correctly. Return error number when the caller
11529 should return, otherwise -1.
11530 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11531 call returning > 0 value.
11532 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11533
765ade4b
AS
115342010-06-07 Andreas Schwab <schwab@redhat.com>
11535
11536 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11537 libc_nonshared.a from targets in modules-names.
11538
80da2e09
KS
115392010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11540
11541 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11542 requires it.
11543
158db122
LM
115442010-06-10 Luis Machado <luisgpm@br.ibm.com>
11545
11546 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11547 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11548 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11549 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11550
caa78cf8
AS
115512010-06-02 Andreas Schwab <schwab@redhat.com>
11552
11553 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11554
b2ef2c01
UD
115552010-06-14 Ulrich Drepper <drepper@redhat.com>
11556
11557 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11558 and F_GETPIPE_SZ.
11559 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11563 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11564 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11565
fbd643b6
RM
115662010-06-14 Roland McGrath <roland@redhat.com>
11567
11568 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11569
f32f2869
JJ
115702010-06-07 Jakub Jelinek <jakub@redhat.com>
11571
11572 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11573 __REDIRECT followed by __THROW.
11574 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11575 * posix/getopt.h (getopt): Likewise.
11576
2a50c078
EPM
115772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11578
11579 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11580 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11581 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11582 in AT_FLAGS.
11583 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11584 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11585
eb5ad2eb
LM
115862010-05-28 Luis Machado <luisgpm@br.ibm.com>
11587
11588 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11589
3c88fe1e
L
115902010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11591
11592 [BZ #11640]
11593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11594 Properly check family and model.
11595
d2f73151
TY
115962010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11597
11598 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11599
ebd2e13d
LM
116002010-05-24 Luis Machado <luisgpm@br.ibm.com>
11601
11602 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11603
b32b8b45
UD
116042010-05-21 Ulrich Drepper <drepper@redhat.com>
11605
11606 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11607 symbol reference.
11608
9acbe24d
AS
116092010-05-19 Andreas Schwab <schwab@redhat.com>
11610
11611 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11612 symbol reference.
11613
f0ccf6ea
AS
116142010-05-21 Andreas Schwab <schwab@redhat.com>
11615
3d04ff3a
AS
11616 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11617 and internal_recvmmsg.
11618 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11619 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11620 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11621 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11622
f0ccf6ea
AS
11623 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11624 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11625 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11626
5b08ac57
AS
116272010-05-20 Andreas Schwab <schwab@redhat.com>
11628
11629 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11630
4828935d
LM
116312010-05-17 Luis Machado <luisgpm@br.ibm.com>
11632
11633 POWER7 optimizations.
11634 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11635 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11636
373d545e
UD
116372010-05-19 Ulrich Drepper <drepper@redhat.com>
11638
11639 * version.h: Update for 2.13 development version.
11640
21a2b1ae
AS
116412010-05-12 Andrew Stubbs <ams@codesourcery.com>
11642
11643 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11644 exceptions. Return 0.
11645
3f7dcb2b
RM
116462010-05-07 Roland McGrath <roland@redhat.com>
11647
11648 * elf/ldconfig.c (main): Add a const.
11649
5f24d53a 116502010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11651
a160f8d8
UD
11652 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11653 (args_options): Add no-idn option.
11654 (ahosts_keys_int): Add idn_flags to ai_flags.
11655 (parse_option): Handle 'i' option to clear idn_flags.
11656
5f24d53a
UD
11657 * malloc/malloc.c (_int_free): Possible race in the most recently
11658 added check. Only act on the data if no current modification
11659 happened.
265bb1ce
UD
11660
11661See ChangeLog.17 for earlier changes.
This page took 1.443526 seconds and 5 git commands to generate.