]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix attributes for fortify functions.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5ac3ea17
MP
12012-04-29 Marek Polacek <polacek@redhat.com>
2
3 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4 (__fortify_function): New macro.
5 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7 __extern_always_inline.
8 * libio/bits/stdio2.h: Likewise.
9 * libio/bits/stdio.h: Likewise.
10 * string/string.h: Likewise.
11 * string/bits/string3.h: Likewise.
12 * include/stdio.h: Likewise.
13 * stdlib/bits/stdlib.h: Likewise.
14 * stdlib/stdlib.h: Likewise.
15 * rt/bits/mqueue2.h: Likewise.
16 * rt/mqueue.h: Likewise.
17 * posix/bits/unistd.h: Likewise.
18 * posix/unistd.h: Likewise.
19 * io/bits/poll2.h: Likewise.
20 * io/bits/fcntl2.h: Likewise.
21 * io/fcntl.h: Likewise.
22 * io/sys/poll.h: Likewise.
23 * misc/bits/syslog.h: Likewise.
24 * misc/bits/syslog-ldbl.h: Likewise.
25 * misc/sys/syslog.h: Likewise.
26 * socket/bits/socket2.h: Likewise.
27 * socket/sys/socket.h: Likewise.
28 * debug/tst-chk1.c: Likewise.
29 * wcsmbs/bits/wchar2.h: Likewise.
30 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31 * wcsmbs/wchar.h: Likewise.
32
ecf0ebfb
AJ
332012-04-29 Andreas Jaeger <aj@suse.de>
34
35 * Makerules (tests): Remove enable-check-abi protection.
36 (check-abi-warn): Remove.
37 (check-abi-%): Remove check-abi-warn usage.
38
39 * configure.in: Remove check-abi configure option.
40 * configure: Regenerated.
41 * config.make.in (enable-check-abi): Remove.
42
6d5c57fa
AS
432012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44
ded5180a
AS
45 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46 double functions to double *_finite functions.
47
7e0d315d
AS
48 [BZ #13941]
49 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51 LDBL_MIN_EXP.
52 * stdio-common/Makefile (tests): Add tst-sprintf3.
53 * stdio-common/tst-sprintf3.c: New file.
54
6d5c57fa
AS
55 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
57
0749ff8b
JM
582012-04-28 Joseph Myers <joseph@codesourcery.com>
59
60 * conform/conformtest.pl: Remove duplicate typed-constant
61 handling.
62
8dbd5d7b
DM
632012-04-28 David S. Miller <davem@davemloft.net>
64
65 * Makerules (%.abilist): Add vpath on sysdep_dirs.
66 (check-abi-%): Remove AWK script prerequisite and explicit
67 abilist directory.
68 (check-abi): Rewrite to just diff the symlist with the abilist.
69 (config-tls, config-abi-config): Delete, no longer used.
70 (update-abi-%): Remove AWK script and explicit abilist directory.
71 (update-abi): Rewrite to simply compare and conditionally copy the
72 symlist and the sysdep abilist file. Remove update-abi-config
73 checks.
74 * abilist/ld.abilist: Remove.
75 * abilist/libBrokenLocale.abilist: Remove.
76 * abilist/libanl.abilist: Remove.
77 * abilist/libcrypt.abilist: Remove.
78 * abilist/libdl.abilist: Remove.
79 * abilist/librt.abilist: Remove.
80 * abilist/libthread_db.abilist: Remove.
81 * abilist/libutil.abilist: Remove.
82 * scripts/extract-abilist.awk: Remove.
83 * scripts/merge-abilist.awk: Remove.
84 * sysdeps/generic/libcidn.abilist: New file.
85 * sysdeps/generic/libnss_compat.abilist: New file.
86 * sysdeps/generic/libnss_db.abilist: New file.
87 * sysdeps/generic/libnss_dns.abilist: New file.
88 * sysdeps/generic/libnss_files.abilist: New file.
89 * sysdeps/generic/libnss_hesiod.abilist: New file.
90 * sysdeps/generic/libnss_nis.abilist: New file.
91 * sysdeps/generic/libnss_nisplus.abilist: New file.
92 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
93 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
94 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
95 file.
96 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
97 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
98 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
99 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
100 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
101 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
102 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
103 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
104 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
105 file.
106 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
107 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
108 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
109 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
110 file.
111 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
112 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
113 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
114 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
115 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
116 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
117 file.
118 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
119 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
120 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
121 file.
122 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
124 New file.
125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
126 New file.
127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
128 New file.
129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
130 New file.
131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
132 New file.
133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
134 New file.
135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
136 New file.
137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
138 New file.
139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
140 New file.
141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
142 New file.
143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
144 New file.
145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
146 New file.
147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
148 New file.
149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
150 file.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
152 New file.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
154 New file.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
156 file.
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
158 New file.
159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
160 New file.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
162 file.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
164 New file.
165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
166 New file.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
168 New file.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
170 New file.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
172 New file.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
174 New file.
175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
177 file.
178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
179 New file.
180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
181 file.
182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
183 file.
184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
185 file.
186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
187 file.
188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
189 file.
190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
191 New file.
192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
193 file.
194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
195 file.
196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
197 New file.
198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
199 file.
200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
202 file.
203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
204 New file.
205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
206 file.
207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
208 file.
209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
210 file.
211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
212 file.
213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
214 file.
215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
216 New file.
217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
218 file.
219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
220 file.
221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
222 New file.
223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
224 file.
225 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
226 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
227 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
228 file.
229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
230 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
231 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
232 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
233 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
234 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
235 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
236 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
237 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
238 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
241 file.
242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
243 New file.
244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
245 file.
246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
247 file.
248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
249 file.
250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
251 file.
252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
253 file.
254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
255 New file.
256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
257 New file.
258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
259 file.
260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
261 New file.
262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
263 file.
264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
266 file.
267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
268 New file.
269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
270 file.
271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
272 file.
273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
274 file.
275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
276 file.
277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
278 file.
279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
280 New file.
281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
282 New file.
283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
284 file.
285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
286 New file.
287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
288 file.
289
41d73a1b
JM
2902012-04-28 Joseph Myers <joseph@codesourcery.com>
291
292 * conform/conformtest.pl: Fix typo in handling typed-constant from
293 allow-header.
294
28aeeda4
JM
2952012-04-27 Joseph Myers <joseph@codesourcery.com>
296
adae8f5e
JM
297 * README: Cut down references to pre-2.6 Linux kernels and
298 Linuxthreads. Update lists of configurations in libc and ports
299 and sort alphabetically. Say "or newer" with Linux kernel version
300 requirements.
301
28aeeda4
JM
302 * config.h.in [IS_IN_build]: Allow compiling without optimization.
303
a462cb63
RA
3042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
305
306 [BZ #887]
307 * math/libm-test.inc (logb_test_downward): New test to expose
308 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
309 rounding mode.
310
6ad3493e
JM
3112012-04-27 Joseph Myers <joseph@codesourcery.com>
312
313 [BZ #14027]
314 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
315 to be done.
316 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
317 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
318
2ce4f015
JM
3192012-04-26 Joseph Myers <joseph@codesourcery.com>
320
5aeb141a
JM
321 * sysdeps/unix/i386/brk.S: Remove file.
322 * sysdeps/unix/i386/dl-brk.S: Likewise.
323 * sysdeps/unix/i386/pipe.S: Likewise.
324 * sysdeps/unix/i386/sigreturn.S: Likewise.
325 * sysdeps/unix/i386/syscall.S: Likewise.
326 * sysdeps/unix/i386/vfork.S: Likewise.
327 * sysdeps/unix/i386/wait.S: Likewise.
328
7143acae
JM
329 * sysdeps/unix/common/tcsendbrk.c: Move to ...
330 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
331
2ce4f015
JM
332 * configure.in (arm*-none*): Do not allow without
333 --enable-hacker-mode.
334 (netbsd*): Remove case setting base_os.
335 (386bsd*): Likewise.
336 (freebsd*): Likewise.
337 (bsdi*): Likewise.
338 (osf*): Likewise.
339 (sunos*): Likewise.
340 (ultrix*): Likewise.
341 (newsos*): Likewise.
342 (dynix*): Likewise.
343 (*bsd*): Likewise.
344 (sysv*): Likewise.
345 (isc*): Likewise.
346 (esix*): Likewise.
347 (sco*): Likewise.
348 (minix*): Likewise.
349 (irix4*): Likewise.
350 (irix6*): Likewise.
351 (solaris[2-9]*): Likewise.
352 (none): Likewise.
353 * configure: Regenerated.
354
0ac229c8
AZ
3552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
356
357 [BZ #11521]
358 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
359 overflow or cancellation in calculating denominator.
360 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
361 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
362 down expression to avoid unexpected rounding in newer GCCs.
363 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
364
33f244f4
DM
3652012-04-26 David S. Miller <davem@davemloft.net>
366
367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
368 long-double compat symbols.
369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
382
cfa1f3e8
DM
3832012-04-25 David S. Miller <davem@davemloft.net>
384
385 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
386 HWCAP_* values only after the memory barriers have been defined.
387 (atomic_full_barrier): Define.
388 (atomic_read_barrier): Define.
389 (atomic_write_barrier): Define.
390
6e236b92
SP
3912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
392
393 * shlib-versions: Add libgcc_s version information.
394 * sysdeps/generic/libgcc_s.h: Remove.
395 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
396 libgcc_s.h.
397 * sysdeps/gnu/unwind-resume.c: Likewise.
398 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
399
aab39a09
DM
4002012-04-25 David S. Miller <davem@davemloft.net>
401
402 * sysdeps/unix/sparc/brk.S: Delete.
403 * sysdeps/unix/sparc/dl-brk.S: Delete.
404 * sysdeps/unix/sparc/pipe.S: Delete.
405 * sysdeps/unix/sparc/sysdep.S: Delete.
406 * sysdeps/unix/sparc/sysdep.h: Delete.
407 * sysdeps/unix/sparc/vfork.S: Delete.
408 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
409 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
411 ret_ERRVAL, r0, r1, MOVE): Define.
412 (JUMPTARGET): Remove.
413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
414 sysdeps/unix/sparc/sysdep.h
415 (ENTRY, END): Remove.
416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
417
a3cc4f48
JM
4182012-04-25 Joseph Myers <joseph@codesourcery.com>
419
2ed8cda2
JM
420 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
421 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
422 -DIS_IN_build.
423
35d76d59
JM
424 * timezone/README: Update upstream location and email address for
425 tzcode and tzdata.
426 * timezone/zdump.c: Update from tzcode 2012b.
427 * timezone/zic.c: Likewise.
428
a3cc4f48
JM
429 * configure.in (libc_cv_as_needed): Remove test.
430 * configure: Regenerated.
431 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
432 conditional definition.
433 [$(have-as-needed) != yes] (no-as-needed): Likewise.
434 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
435 * config.make.in (have-as-needed): Remove variable.
436
ceab42c3
SP
4372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
438 Paul Pluzhnikov <ppluzhnikov@google.com>
439
440 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
441 strings correctly.
442
3ce2865f
CLT
4432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
444
445 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
446 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
447 * sysdeps/sh/strlen.S: Likewise.
448
f37e0d68
JM
4492012-04-24 Joseph Myers <joseph@codesourcery.com>
450
ae186e9a
JM
451 * sysdeps/unix/fork.S: Remove file.
452 * sysdeps/unix/i386/fork.S: Likewise.
453 * sysdeps/unix/sparc/fork.S: Likewise.
454
b96914af
JM
455 * sysdeps/unix/system.c: Remove file.
456 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
457
f37e0d68
JM
458 * sysdeps/unix/getegid.S: Remove file.
459 * sysdeps/unix/geteuid.S: Likewise.
460
87ef29ca
RM
4612012-04-24 Roland McGrath <roland@hack.frob.com>
462
83bcd236
RM
463 * scripts/check-localplt.awk: New file.
464 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
465 of diff.
466 * scripts/data/localplt-generic.data: Add a comment.
467
87ef29ca
RM
468 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
469 NODE when __dir_mkfile failed.
470 * sysdeps/mach/hurd/symlinkat.c: Likewise.
471 Reported by Ludovic Courtès <ludo@gnu.org>.
472
e5a6e567
AJ
4732012-04-24 Andreas Jaeger <aj@suse.de>
474
475 * Makerules (common-clean): Also remove gen-as-const-headers
476 files.
477
c1820385
JM
4782012-04-24 Joseph Myers <joseph@codesourcery.com>
479
480 * Makerules (native-compile): Do not change working directory for
481 build. Use $(OUTPUT_OPTION) in command.
482 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
483
94e02fc4
AZ
4842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
485
486 [BZ #13886]
487 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
488 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
489 * math/libm-test.inc (floor_test): Add more tests.
490 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
491
3a533ca3
JM
4922012-04-24 Joseph Myers <joseph@codesourcery.com>
493
940ab4b3
JM
494 * sysdeps/unix/getdents.c: Remove file.
495 * sysdeps/unix/sysv/getdents.c: Likewise.
496 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
497
90e037bd
JM
498 * sysdeps/unix/syscalls.list (madvise): Add syscall from
499 sysdeps/unix/mman/syscalls.list.
500 (mmap): Likewise.
501 (mprotect): Likewise.
502 (msync): Likewise.
503 (munmap): Likewise.
504 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
505 * sysdeps/unix/mman/syscalls.list: Remove.
506 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
507
3a533ca3
JM
508 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
509 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
510 * configure: Regenerated.
511 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
512 $(libgcc_s_suffix).
513 * config.make.in (libgcc_s_suffix): Remove variable.
514
1ad743de
JM
5152012-04-23 Joseph Myers <joseph@codesourcery.com>
516
4ad451e2
JM
517 * sysdeps/unix/sysv/gethostname.c: Move to ...
518 * sysdeps/posix/gethostname.c: ... here.
519
5e37ce39
JM
520 * sysdeps/unix/execve.S: Remove file.
521
1ad743de
JM
522 * sysdeps/unix/_exit.S: Remove file.
523
4e681b5b
AJ
5242012-04-23 Andreas Jaeger <aj@suse.de>
525
526 [BZ #13739]
527 * manual/Makefile: Remove make dist support, there's no
528 need for a stand-alone documentation tar ball.
529 (TEXI2DVI): Define always, it's not in Makeconfig.
530 (dist): Removed.
531 (tar-it): Removed.
532 (edition): Removed.
533 (glibc-doc-$(edition).tar): Removed
534 (%.Z): Removed.
535 (%.gz): Removed.
536 (%.uu): Removed.
537 (ETAGS): Remove, it's in Makeconfig.
538 (move-if-change): Remove, it's in Makeconfig.
539
c0baea34
PE
5402013-04-23 Paul Eggert <eggert@cs.ucla.edu>
541
542 [BZ #13970]
543 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
544 (strtod, strtof, strtold, strtol, strtoul, strtoq)
545 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
546 (strtod_l, strtof_l, strtold_l): Remove __wur.
547 It is not necessarily an error to ignore strtol's return value.
548 One can reliably look at the stored endptr to decide whether
549 the number had valid syntax.
550
7c0616fa
AJ
5512012-04-21 Andreas Jaeger <aj@suse.de>
552
803cb6b7 553 [BZ #13739]
7c0616fa
AJ
554 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
555
b0fe253f
JM
5562012-04-21 Joseph Myers <joseph@codesourcery.com>
557
558 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
559 * sysdeps/unix/sysv/Versions: Remove file.
560
8280f22d
MT
5612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
562
563 [BZ #13927]
564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
565
75ce411f 5662012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
567
568 [BZ #7064]
569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
570 version from __vm86.
571
097d59fa
JM
5722012-04-20 Joseph Myers <joseph@codesourcery.com>
573
a90f3bcb
JM
574 * sysdeps/unix/common/lxstat.c: Remove file.
575 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
576
edc7ea78
JM
577 * sysdeps/unix/sysv/Makefile: Remove file.
578
cb78c221
JM
579 * sysdeps/unix/sysv/direct.h: Remove file.
580
efa6a45f
JM
581 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
582 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
583 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
584 * sysdeps/unix/sysv/bits/signum.h: Likewise.
585 * sysdeps/unix/sysv/bits/stat.h: Likewise.
586 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
587 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
588
9c9f2d0c
JM
589 * sysdeps/unix/sysv/setrlimit.c: Remove file.
590
4541c83b
JM
591 * sysdeps/unix/xmknod.c: Remove file.
592 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
593
f5d153a0
JM
594 * sysdeps/unix/sysv/settimeofday.c: Remove file.
595
aa746595
JM
596 * sysdeps/unix/sysv/i386/time.S: Remove file.
597
cce5905e
JM
598 * sysdeps/unix/fxstat.c: Remove file.
599 * sysdeps/unix/xstat.c: Likewise.
600 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
601
37fa3841
JM
602 * sysdeps/unix/sysv/sigaction.c: Remove file.
603
ff1962a3
JM
604 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
605 (sysdep_headers): Remove variable.
606 [termio.h not in sysdep_headers] (generated): Likewise.
607 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
608 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
609 * sysdeps/unix/sysv/tcdrain.c: Likewise.
610 * sysdeps/unix/sysv/tcflow.c: Likewise.
611 * sysdeps/unix/sysv/tcflush.c: Likewise.
612 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
613 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
614 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
615 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
616 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
617
e7740d31
JM
618 * sysdeps/unix/siglist.c: Remove file.
619
ee06f18b
JM
620 * sysdeps/unix/getppid.S: Remove file.
621
097d59fa
JM
622 * sysdeps/unix/mkdir.c: Remove file.
623 * sysdeps/unix/rmdir.c: Likewise.
624
ff3d51ec
AS
6252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
626
627 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
628 ERR_MAX value.
629 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
630 errlist-compat value.
631
50f81fd7
DM
6322012-04-18 David S. Miller <davem@davemloft.net>
633
634 * sysdeps/generic/memcopy.h (reg_char): Delete.
635 * debug/strcat_chk.c: Use char, not reg_char.
636 * debug/strcpy_chk.c: Likewise.
637 * debug/strncat_chk.c: Likewise.
638 * debug/strncpy_chk.c: Likewise.
639 * string/memchr.c: Likewise.
640 * string/memrchr.c: Likewise.
641 * string/rawmemchr.c: Likewise.
642 * string/strcat.c: Likewise.
643 * string/strchr.c: Likewise.
644 * string/strchrnul.c: Likewise.
645 * string/strcmp.c: Likewise.
646 * string/strcpy.c: Likewise.
647 * string/strncat.c: Likewise.
648 * string/strncmp.c: Likewise.
649 * string/strncpy.c: Likewise.
650
8ff41c46
WS
6512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
652
653 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
654 __builtin_memcopy is called when src and dest ranges are known to not
655 overlap.
656
6b652f46
WS
6572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
658
659 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
660 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
661 fwd_align_merge macro call.
662 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
663 bwd_align_merge macro call.
664 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
665
b282631e
WS
6662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
667
668 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
669 bwd_align_merge macros.
670 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
671 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
672 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
673
95aa737c
DM
6742012-04-18 David S. Miller <davem@davemloft.net>
675
676 * sysdeps/sparc/sparc64/memcopy.h: Delete.
677
7a99a614
AJ
6782012-04-18 Andreas Jaeger <aj@suse.de>
679
680 [BZ# 6794]
681 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
682 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
683 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
684
685 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
686 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
687 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
688
689 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
690 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
691 Adjust for changed ldbl-128 files.
692
693 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
694 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
695 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
696
e5270c23
DM
6972012-04-17 David S. Miller <davem@davemloft.net>
698
699 * sysdeps/sparc/sparc32/memcopy.h: Delete.
700
fb5e92c9
AS
7012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
702
703 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
704 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
705 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
706 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
707 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
708 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
709
76da7265
AZ
7102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711
712 [BZ #6794]
713 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
714 * math/libm-test.inc: Add ilogb errno and exception tests.
715 * math/w_ilogb.c: New file: ilogb wrapper.
716 * math/w_ilogbf.c: New file: ilogbf wrapper.
717 * math/w_ilogbl.c: New file: ilogbl wrapper.
718 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
719 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
720 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
721 exception being thrown with 0.0 as argument.
722 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
723 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
724 exception being thrown with 0.0 as argument.
725 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
726 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
727 exception being thrown with 0.0 as argument.
728 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
729 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
730 exception being thrown with 0.0 as argument.
731 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
732 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 733 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
734 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
735 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
736 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
737 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
738 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
739 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
740
0396e69d
PB
7412012-04-17 Petr Baudis <pasky@ucw.cz>
742
743 * include/sys/uio.h: Change __vector to __iovec to avoid clash
744 with altivec.
745
750b5926
MP
7462012-04-16 Marek Polacek <polacek@redhat.com>
747
748 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
749
751728a1
MP
7502012-04-16 Marek Polacek <polacek@redhat.com>
751
752 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
753 operands of fdivp instruction.
754
34a27407
L
7552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
756
757 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
758 * elf/tst-auditmod3b.c: Likewise.
759 * elf/tst-auditmod4b.c: Likewise.
760 * elf/tst-auditmod5b.c: Likewise.
761 * elf/tst-auditmod6b.c: Likewise.
762 * elf/tst-auditmod6c.c: Likewise.
763 * elf/tst-auditmod7b.c: Likewise.
764 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
765 * sysdeps/x86_64/preconfigure.in: Likewise.
766 * sysdeps/x86_64/preconfigure: Regenerated.
767
7e73e17d
L
7682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
769
770 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
771 __ILP32__.
772
c7a6ab72
AB
7732012-04-13 Antoine Balestrat <merkil33@gmail.com>
774
775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
776 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
777
a9e8e0e0
CL
7782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
779
780 [BZ #13973]
781 * locale/iso-639.def: Fix gl language name. Spotted by
782 Yaron Shahrabani.
783
ec98af7d
RM
7842012-04-12 Roland McGrath <roland@hack.frob.com>
785
786 [BZ #2074]
787 * libio/libio.h (__io_write_fn): Update comment.
788
247c3ede
PB
7892012-04-12 Petr Baudis <pasky@ucw.cz>
790
791 [BZ #2074]
792 * stdio.texi (Hook Functions): The user provided writer function
793 is not allowed to return -1.
794
55939d6d
DM
7952012-04-11 David S. Miller <davem@davemloft.net>
796
797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
798
90020f5a
MF
7992012-04-11 Mike Frysinger <vapier@gentoo.org>
800
801 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
802 Add a leading slash to rtkaio.
803
288f9098
JM
8042012-04-11 Jim Meyering <meyering@redhat.com>
805
90020f5a
MF
806 [BZ #11959]
807 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
808 It is not necessarily an error to ignore fwrite's return
809 value. One can reliably use ferror to test for errors after
810 the fact.
288f9098 811
4be2b570
L
8122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
813
814 * bits/types.h (__snseconds_t): New type.
815 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
816
817 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
819 (__SNSECONDS_T_TYPE): Likewise.
820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
821 (__SNSECONDS_T_TYPE): Likewise.
822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
823 (__SNSECONDS_T_TYPE): Likewise.
824
288f9098 8252012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
826
827 [BZ #2636]
828 * manual/time.texi (Processor Time): Return type of times is
829 elapsed real time since an arbitrary point in the past.
830 (CPU Time): Move CLK_TCK from here...
831 (Processor Time): ...to here. Correct description.
832 * manual/conf.texi (Constants for Sysconf): Correct description of
833 _SC_CLK_TCK.
834
d7dd4413
DM
8352012-04-10 David S. Miller <davem@davemloft.net>
836
837 [BZ #13967]
838 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
839 where the is a gap between DT_REL(A) and DT_JMPREL.
840
b46068fc
L
8412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
842
843 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
844 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
845 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
846
73d65cc3
SP
8472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
848
849 * elf/dl-support.c (_dl_inhibit_cache): New variable.
850 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
851 (dl_main): Handle --inhibit-cache.
852 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
853 _dl_inhibit_cache.
854 * elf/dl-load.c (_dl_map_object): Use it.
855 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
856
bcc8d661
JM
8572012-04-09 Joseph Myers <joseph@codesourcery.com>
858
8f9a2fae
JM
859 [BZ #13872]
860 * sysdeps/i386/fpu/e_powl.S (p78): New object.
861 (__ieee754_powl): Saturate large exponents rather than testing for
862 overflow of y*log2(x).
863 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
864 * math/libm-test.inc (pow_test): Do not permit spurious overflow
865 exceptions.
866
bcc8d661
JM
867 [BZ #11521]
868 * math/s_ctan.c: Include <float.h>.
869 (__ctan): Avoid internal overflow or cancellation in calculating
870 denominator.
871 * math/s_ctanf.c: Likewise.
872 * math/s_ctanl.c: Likewise.
873 * math/s_ctanh.c: Likewise.
874 * math/s_ctanhf.c: Likewise.
875 * math/s_ctanhl.c: Likewise.
876 * math/libm-test.inc (ctan_test): Add more tests.
877 (ctanh_test): Likewise.
878 * sysdeps/i386/fpu/libm-test-ulps: Update.
879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880
823fbbb4
AJ
8812012-04-09 Andreas Jaeger <aj@suse.de>
882
03879793
AJ
883 [BZ #6894]
884 * manual/filesys.texi (Directory Entries): Mention that d_namlen
885 is an optional BSD extension.
886
823fbbb4
AJ
887 [BZ #10254]
888 * manual/stdio.texi (Opening Streams): Document additional fopen
889 parameters.
890
8de131cb
RM
8912012-04-09 Roland McGrath <roland@hack.frob.com>
892
893 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
894 %eax without telling the compiler.
895
c0ed9d7d
CD
8962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
897
898 [BZ # 13963]
899 * manual/install.texi: Use sourceware.org.
900
c483f6b4
JM
9012012-04-09 Joseph Myers <joseph@codesourcery.com>
902
d7dd9453
JM
903 [BZ #13873]
904 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
905 (__ieee754_pow): Generate overflow and underflow using huge*huge
906 and tiny*tiny rather than just returning constant infinity or zero
907 for large exponents.
908 * math/libm-test.inc (pow_test): Require overflow exceptions for
909 applicable cases of large exponents.
910
c483f6b4
JM
911 [BZ #706]
912 * sysdeps/i386/fpu/e_pow.S (p10): New object.
913 (__ieee754_pow): Use iterative multiplication algorithm only for
914 integer exponents with absolute value below 1024. Check for odd
915 integer exponents when using algorithm for real exponents.
916 * math/libm-test.inc (pow_test): Add more tests.
917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
918
d2de7579
JM
9192012-04-08 Joseph Myers <joseph@codesourcery.com>
920
921 [BZ #13705]
922 * math/libm-test.inc (exp_test): Do not allow overflow exception
923 on underflow test.
924
f77f1232
AJ
9252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
926
927 [BZ #13705]
928 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
929 instead of __kernel_standard_f.
930
3884932b
MF
9312012-04-08 Mike Frysinger <vapier@gentoo.org>
932
933 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
934 * sysdeps/x86_64/memset_chk.S: Likewise.
935
54472e9c
AJ
9362012-04-08 Andreas Jaeger <aj@suse.de>
937
6ab0fbfc
AJ
938 [BZ #10153]
939 * manual/startup.texi (Environment Access): Describe return value
940 for putenv and setenv.
941
61efba8c
AJ
942 [BZ #6895]
943 * manual/filesys.texi (Directory Entries): Add description for
944 DT_LNK.
945
95c3f29a
AJ
946 [BZ #6890]
947 * manual/filesys.texi (Directory Entries): Clarify that it's file
948 system not operating system in the description of DT_UNKNOWN.
949
54472e9c
AJ
950 [BZ #6578]
951 * manual/syslog.texi (closelog): Fix reference, it's openlog.
952
624254b1
SC
9532012-04-08 Stephen Compall <s11@member.fsf.org>
954
955 [BZ #6649]
956 * manual/llio.texi (Opening and Closing Files): Add cross
957 reference to explain mode argument.
958
1e4920e0
MF
9592012-04-07 Mike Frysinger <vapier@gentoo.org>
960
961 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
962 * sysdeps/x86_64/memset_chk.S: Likewise.
963
5ed848f3
DM
9642012-04-07 David S. Miller <davem@davemloft.net>
965
966 * elf/elf.h (R_SPARC_WDISP10): Define.
967 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
968 R_SPARC_SIZE32.
969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
970 R_SPARC_SIZE64 and R_SPARC_H34.
971
96154cd8
CD
9722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
973
974 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
975 conditions and remove no longer applicable assertion.
976
9904dc47
L
9772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
978
979 * bits/byteswap.h: Include <features.h>.
980 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
981 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
982
f8887d0a
L
9832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
984
985 * bits/byteswap.h (__bswap_16): Removed.
986 Include <bits/byteswap-16.h> to get __bswap_16.
987 * sysdeps/i386/bits/byteswap.h: Likewise.
988 * sysdeps/s390/bits/byteswap.h: Likewise.
989 * sysdeps/x86_64/bits/byteswap.h: Likewise.
990 * bits/byteswap-16.h: New file.
991 * sysdeps/i386/bits/byteswap-16.h: Likewise.
992 * sysdeps/s390/bits/byteswap-16.h: Likewise.
993 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
994 * string/Makefile (headers): Add bits/byteswap-16.h.
995
62470f60
PP
9962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
997
998 [BZ #13895]
999 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1000 extra indirection.
1001 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1002 * nss/tst-nss-static.c: New.
1003
4dad7bab
RM
10042012-04-06 Robert Millan <rmh@gnu.org>
1005
1006 [BZ #6486]
1007 * manual/llio.texi (File Position Primitive): lseek
1008 refers to WHENCE when it really means OFFSET.
1009
e9142a17
AJ
10102012-04-06 Andreas Jaeger <aj@suse.de>
1011
2c040eff
AJ
1012 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1013 strncmp declarations.
1014
e9142a17
AJ
1015 * abilist/libc.abilist: Add __poll and __ppoll.
1016
ff9f1c5f
DM
10172012-04-05 David S. Miller <davem@davemloft.net>
1018
dcd2ae90
DM
1019 * scripts/check-local-headers.sh: Accept a host triplet in the
1020 path matched by the exclude regexp.
1021
993eb054
DM
1022 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1023 definition.
1024 * sysdeps/powerpc/powerpc32/dl-machine.h
1025 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1026 * sysdeps/s390/s390-32/dl-machine.h
1027 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1028 * sysdeps/sparc/sparc32/dl-machine.h
1029 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1030 * sysdeps/sparc/sparc64/dl-machine.h
1031 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1032
ff9f1c5f
DM
1033 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1034 lazy binding.
48e2e132 1035 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1036 undefined symbol errors.
1037
48e2e132 1038 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1039 DT_NEEDED entries.
1040
e80d6f94
MM
10412012-04-05 Michael Matz <matz@suse.de>
1042
1043 [BZ #13592]
1044 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1045
349fa79f
AJ
10462012-04-05 Andreas Jaeger <aj@suse.de>
1047
1048 [BZ #13908]
1049 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1050 comment.
1051
f402708f
KK
10522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1053
1054 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1055 which ROUND is no valid rounding mode.
1056
2ecccfc9
KK
10572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1058
1059 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1060 read again.
1061 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1062
8a53f50f
KK
10632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1064
1065 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1066 an exception using FPU order intentionally.
1067
10682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1069
1070 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1071 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1072 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1073 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1074
d653abb7
SJ
10752012-04-05 Simon Josefsson <simon@josefsson.org>
1076
1077 [BZ #12340]
1078 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1079 EINVAL when BUFLEN is too smal.
1080
c3b1bf7d
TS
10812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1082
1083 [BZ #13553]
1084 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1085 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1086
b1aa60f3
AJ
10872012-04-03 Andreas Jaeger <aj@suse.de>
1088
c3b1bf7d 1089 [BZ #13938]
67f60a26
AJ
1090 * manual/setjmp.texi (System V contexts): Fix sentence.
1091
b1aa60f3
AJ
1092 [BZ #13926]
1093 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1094 New macro for this case.
1095 [!__GNUC__] (__bswap_64): New inline function for this case.
1096 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1097 * bits/byteswap.h: Likewise.
1098 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1099 ull, guard with __GLIBC_HAVE_LONG_LONG.
1100
1101 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1102 __GLIBC_HAVE_LONG_LONG.
1103
1104 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1105 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1106
39c59c35
TMQMF
11072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1108
1109 [BZ #13691]
1110 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1111 inptr and inend, rather than using last_ch.
1112
135ffda8
DM
11132012-04-02 David S. Miller <davem@davemloft.net>
1114
1115 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1116 * stdio-common/printf-parse.h (read_int): Change return type to
1117 'int', return -1 on INT_MAX overflow.
1118 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1119 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1120 overflows INT_MAX. Check for overflow of in-format-string precision
1121 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1122 SIZE_MAX not INT_MAX for integer overflow test.
1123 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1124 skip the construct in the format string but do not record anything.
1125 * stdio-common/bug22.c: Adjust to test both width/prevision
1126 INT_MAX overflow as well as total length INT_MAX overflow. Check
1127 explicitly for proper errno values.
1128
228c019e
TS
11292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1130
302cadd3
TS
1131 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1132 CHAR_MAX.
1133 * string/test-strcmp.c [! WIDE]: Likewise.
1134 * time/tst-mktime2.c: Likewise for INT_MAX.
1135 * string/test-string.h: #include <sys/param.h> for MIN.
1136
228c019e
TS
1137 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1138 * sysdeps/i386/init-first.c (init): Likewise.
1139 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1140 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1141 * sysdeps/sh/init-first.c (init): Likewise.
1142
cfa633f5
UD
11432012-04-01 Ulrich Drepper <drepper@gmail.com>
1144
1145 * po/ru.po: Update from translation team.
d1635ef8 1146 * po/vi.po: Likewise.
cfa633f5 1147
6cd0a5ea
SP
11482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1149
1150 * resolv/nss_dns/dns-host.c: Merge copyright years.
1151
4b43400f
LD
11522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1153
1154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1155 Optimize memcpy with prefetch if
1156 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1157 src, dst pointers have unequal 16 byte alignments.
1158
48c41d04
SP
11592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1160
1161 [BZ #13928]
1162 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1163 from a CNAME entry and return the minimum ttl for the query.
1164 (gaih_getanswer_slice): Likewise.
1165
b8dc394d
JL
11662012-03-30 Jeff Law <law@redhat.com>
1167
1168 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1169 due to long keys.
1170 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1171 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1172
2f5a5ed0
JL
1173 * resolv/nss_dns/dns-host.c: Update copyright year.
1174
1d39e359
UD
11752012-03-30 Ulrich Drepper <drepper@gmail.com>
1176
c030f70c 1177 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1178 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1179
1d39e359
UD
1180 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1181 comments for sendmmsg.
1182
11832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1184
1185 [BZ #13691]
1186 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1187 with only 1 character between 0x0041 and 0x01b0.
1188 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1189 * wcsmbs/tst-mbsnrtowcs.c: New file.
1190
20fde227
DM
11912012-03-29 David S. Miller <davem@davemloft.net>
1192
1193 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1194 small copies by hand.
1195
984a4237
JL
11962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1197
1198 [BZ #13761]
1199 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1200 _nss_compat_initgroups_dyn): Fall back to malloc/free
1201 for large group memberships.
1202
18c9d62b
DM
12032012-03-28 David S. Miller <davem@davemloft.net>
1204
88d85d4f
DM
1205 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1206 that branches into memcpy.
1207 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1208 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1210 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1212 bits.
1213 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1214 implementation too.
1215 * sysdeps/sparc/mempcpy.S: New file.
1216
e5aa83e1
DM
1217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1218 the IFUNC routine in the libc case.
1219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1220
88570753
DM
1221 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1222 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1223 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1224 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1225 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1226 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1227 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1228 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1229
249d7567
DM
1230 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1231 loop to 256 bytes instead of 64 bytes and fix test signedness.
1232
18c9d62b
DM
1233 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1234 * sysdeps/sparc/sparc32/Makefile: rather than here...
1235 * sysdeps/sparc/sparc64/Makefile: and here.
1236
05f3d1f6
UD
12372012-03-28 Ulrich Drepper <drepper@gmail.com>
1238
1239 * malloc/mallocbug.c: Avoid warnings about unused variables.
1240
86ae07a8
JL
12412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1242
1243 [BZ #13760]
1244 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1245 in the right place. Discard and retry query if response is
1246 larger than input buffer size.
1247
41bf21a1
JM
12482012-03-28 Joseph Myers <joseph@codesourcery.com>
1249
d6270972
JM
1250 [BZ #369]
1251 [BZ #2678]
1252 [BZ #3866]
1253 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1254 x for large integer exponent.
1255 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1256 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1257 sign of result as needed afterwards.
1258 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1259 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1260 result for underflowing pow the same as for overflow.
1261 (__kernel_standard_l): Handle powl overflow and underflow here
1262 rather than calling __kernel_standard.
1263 * math/libm-test.inc (pow_test): Add more tests.
1264
414fca03 1265 [BZ #3868]
41bf21a1
JM
1266 [BZ #13879]
1267 [BZ #13910]
1268 [BZ #13911]
1269 [BZ #13912]
1270 [BZ #13913]
1271 [BZ #13915]
1272 [BZ #13916]
1273 [BZ #13917]
1274 [BZ #13918]
1275 [BZ #13919]
1276 [BZ #13920]
1277 [BZ #13921]
1278 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1279 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1280 (__kernel_standard_l): New function.
1281 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1282 __kernel_standard.
1283 * math/w_acosl.c (__acosl): Likewise.
1284 * math/w_asinl.c (__asinl): Likewise.
1285 * math/w_atan2l.c (__atan2l): Likewise.
1286 * math/w_atanhl.c (__atanhl): Likewise.
1287 * math/w_coshl.c (__coshl): Likewise.
1288 * math/w_exp10l.c (__exp10l): Likewise.
1289 * math/w_exp2l.c (__exp2l): Likewise.
1290 * math/w_fmodl.c (__fmodl): Likewise.
1291 * math/w_hypotl.c (__hypotl): Likewise.
1292 * math/w_j0l.c (__j0l, __y0l): Likewise.
1293 * math/w_j1l.c (__j1l, __y1l): Likewise.
1294 * math/w_jnl.c (__jnl, __ynl): Likewise.
1295 * math/w_lgammal.c (__lgammal): Likewise.
1296 * math/w_log10l.c (__log10l): Likewise.
1297 * math/w_log2l.c (__log2l): Likewise.
1298 * math/w_logl.c (__logl): Likewise.
1299 * math/w_powl.c (__powl): Likewise.
1300 * math/w_remainderl.c (__remainderl): Likewise.
1301 * math/w_scalbl.c (sysv_scalbl): Likewise.
1302 * math/w_sinhl.c (__sinhl): Likewise.
1303 * math/w_sqrtl.c (__sqrtl): Likewise.
1304 * math/w_tgammal.c (__tgammal): Likewise.
1305 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1306 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1307 * math/libm-test.inc (acos_test): Add more tests.
1308 (acosh_test): Likewise.
1309 (asin_test): Likewise.
1310 (atanh_test): Likewise.
1311 (exp_test): Likewise.
1312 (exp10_test): Likewise.
1313 (exp2_test): Likewise.
1314 (expm1_test): Likewise.
1315 (lgamma_test): Likewise.
1316 (log_test): Likewise.
1317 (log10_test): Likewise.
1318 (log1p_test): Likewise.
1319 (log2_test): Likewise.
1320 (pow_test): Do not allow some spurious overflow exceptions.
1321 (sqrt_test): Add more tests.
1322 (tgamma_test): Likewise.
1323 (y0_test): Likewise.
1324 (y1_test): Likewise.
1325 (yn_test): Likewise.
1326
dd62fda6
AB
13272012-03-27 Anton Blanchard <anton@samba.org>
1328
1329 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1330 MAP_HUGETLB.
1331 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1332 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1333 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1334
1e3cdfda
AJ
13352012-03-27 David S. Miller <davem@davemloft.net>
1336
b855ab85
DM
1337 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1338
1e3cdfda
AJ
1339 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1340 have-as-vis3 check.
1341
13422012-03-27 Andreas Jaeger <aj@suse.de>
1343
1344 * sysdeps/x86_64/elf/configure.in: Moved to ...
1345 * sysdeps/x86_64/configure.in: ... here.
1346 * sysdeps/x86_64/elf/start.S: Moved to ...
1347 * sysdeps/x86_64/start.S: ... here.
1348 * sysdeps/x86_64/elf/configure: Delete.
1349
1350 * sysdeps/x86_64/configure.in: Merge contents from
1351 sysdeps/i386/configure.in (without i686 check).
1352
1353 * sysdeps/i386/elf/Versions: Merge into ...
1354 * sysdeps/i386/Versions: ... this.
1355 * sysdeps/i386/elf/Versions: Delete file.
1356 * sysdeps/i386/elf/start.S: Moved to ...
1357 * sysdeps/i386/start.S: ...here.
1358 * sysdeps/i386/elf/configure.in: Merge into...
1359 * sysdeps/i386/configure.in: ...here.
1360 * sysdeps/i386/elf/configure.in: Delete file.
1361 * sysdeps/i386/elf/configure: Delete file.
1362
1363 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1364 * debug/backtracesyms.c: ... here.
1365 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1366 * debug/backtracesymsfd.c: ... here.
1367 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1368 * sysdeps/generic/ifunc-sel.h: ... here.
1369
1370 * sysdeps/unix/i386/start.c: Delete file.
1371 * sysdeps/unix/sparc/start.c: Delete file.
1372 * sysdeps/unix/start.c: Delete file.
1373
1374 * sysdeps/sh/elf/configure.in: Moved to ...
1375 * sysdeps/sh/configure.in: ... here.
1376 * sysdeps/sh/elf/start.S: Moved to ...
1377 * sysdeps/sh/start.S: ... here.
1378 * sysdeps/sh/elf/configure: Delete file.
1379
1380 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1381 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1382 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1383 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1384 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1385 * sysdeps/powerpc/powerpc64/start.S: here.
1386 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1387 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1388 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1389 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1390 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1391
1392 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1393 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1394 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1395 * sysdeps/powerpc/powerpc32/start.S: ... here.
1396 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1397 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1398 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1399
1400 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1401 * sysdeps/powerpc/ifunc-sel.h: ... here.
1402 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1403 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1404
1405 * sysdeps/sparc/elf/configure.in: Moved to ...
1406 * sysdeps/sparc/configure.in: ... here.
1407 * sysdeps/sparc/elf/configure: Delete file.
1408 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1409 * sysdeps/sparc/sparc32/start.S: ... here.
1410 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1411 * sysdeps/sparc/sparc64/start.S: ... here.
1412 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1413 * sysdeps/sparc/sparc32/Makefile: ... this.
1414 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1415 * sysdeps/sparc/sparc64/Makefile: ... this.
1416
1417 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1418 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1419 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1420 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1421 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1422 * sysdeps/s390/s390-32/setjmp.S: ... here.
1423 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1424 * sysdeps/s390/s390-32/configure.in: ... here.
1425 * sysdeps/s390/s390-32/elf/configure: Delete file.
1426 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1427 * sysdeps/s390/s390-32/start.S: ... here.
1428
1429 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1430 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1431 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1432 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1433 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1434 * sysdeps/s390/s390-64/setjmp.S: ... here.
1435 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1436 * sysdeps/s390/s390-64/configure.in: ... here
1437 * sysdeps/s390/s390-64/elf/configure: Delete file.
1438 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1439 * sysdeps/s390/s390-64/start.S: ... here.
1440 * sysdeps/s390/s390-64/elf/configure: Delete.
1441
1442 * configure.in: Remove support for elf directories in sysdeps.
1443
1444 * configure: Regenerated.
1445 * sysdeps/i386/configure: Regenerated.
1446 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1447 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1448 * sysdeps/s390/s390-32/configure: Regenerated.
1449 * sysdeps/s390/s390-64/configure: Regenerated.
1450 * sysdeps/sh/configure: Regenerated.
1451 * sysdeps/sparc/configure: Regenerated.
1452 * sysdeps/x86_64/configure: Regenerated.
1453
a3f61311
AS
14542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1455
c876e002
AS
1456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1457
a3f61311
AS
1458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1459 denormal result into account.
1460
ac4c54f0
RM
14612012-03-25 Roland McGrath <roland@hack.frob.com>
1462
1463 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1464 Reported by Allan McRae <allan@archlinux.org>.
1465
6a9b9c02
JL
14662012-03-23 Jeff Law <law@redhat.com>
1467
1468 * nss/getnssent.c (__nss_getent): Fix typo.
1469
4c42a0c1
DM
14702012-03-23 David S. Miller <davem@davemloft.net>
1471
1472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1473
1532c7ac
L
14742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1475
1476 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1477 to pad to uint64_t for each field.
1478 (dl_tls_index): Replace unsigned long with uint64_t.
1479
3ff42526
PP
14802012-03-23 Daniel Jacobowitz <dmj@google.com>
1481 Paul Pluzhnikov <ppluzhnikov@google.com>
1482
1483 [BZ #6528]
1484 * grp/Makefile (otherlibs): Don't set it.
1485 * inet/Makefile (otherlibs): Likewise.
1486 * login/Makefile (otherlibs): Likewise.
1487 * nscd/Makefile (otherlibs): Likewise.
1488 * posix/Makefile (otherlibs): Likewise.
1489 * pwd/Makefile (otherlibs): Likewise.
1490 * rt/Makefile (otherlibs): Likewise.
1491 * sunrpc/Makefile (otherlibs): Likewise.
1492 * nss/Makefile (otherlibs): Likewise.
1493 Add libnss_files to routines and static-only-routines.
1494 ($(objpfx)getent): Remove rule.
1495 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1496 static-only-routines.
1497
7c69cd14
JM
14982012-03-22 Joseph Myers <joseph@codesourcery.com>
1499
1500 [BZ #13892]
1501 * math/s_cexp.c: Include <float.h>.
1502 (__cexp): Handle exp result overflowing not necessarily
1503 overflowing both real and imaginary parts of result.
1504 * math/s_cexpf.c: Likewise.
1505 * math/s_cexpl.c: Likewise.
1506 * math/libm-test.inc (cexp_test): Add more tests.
1507 * sysdeps/i386/fpu/libm-test-ulps: Update.
1508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1509
81b035fe
L
15102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 * include/link.h (ELFW): New macro.
1513 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1514 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1515
1da7940c
L
15162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1519 with uint64_t.
1520
b749dbb9
L
15212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1522
1523 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1524 declaration.
1525 (struct La_x32_retval): Likewise.
1526
2ff87f3f
L
15272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1528
1529 * sysdeps/x86_64/preconfigure.in: New file.
1530 * sysdeps/x86_64/preconfigure: New generated file.
1531
c0df8e69
JM
15322012-03-22 Joseph Myers <joseph@codesourcery.com>
1533
48e44791
JM
1534 [BZ #13824]
1535 * math/e_exp2l.c: Include <float.h>.
1536 (__ieee754_exp2l): Handle overflow and underflow cases
1537 separately. Only pass fractional part of argument to
1538 __ieee754_expl.
1539 * math/libm-test.inc (exp2_test): Add more tests.
1540
c0df8e69
JM
1541 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1542 negating x to take absolute value.
1543 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1544 Likewise.
1545 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1546 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1547 Likewise.
1548 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1549 computing low part if x was negated.
1550 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1551
c8e43ba7
L
15522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1553
1554 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1555 la_x32_gnu_pltexit.
1556 (pltexit): Cast int_retval to ptrdiff_t.
1557 * elf/tst-auditmod3b.c: Likewise.
1558 * elf/tst-auditmod4b.c: Likewise.
1559 * elf/tst-auditmod5b.c: Likewise.
1560 * elf/tst-auditmod6b.c: Likewise.
1561 * elf/tst-auditmod6c.c: Likewise.
1562 * elf/tst-auditmod7b.c: Likewise.
1563
1564 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1565 and x32_gnu_pltexit.
1566
1567 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1568 __ELF_NATIVE_CLASS.
1569 (La_x32_regs): New macro.
1570 (La_x32_retval): Likewise.
1571 (la_x32_gnu_pltenter): New function prototype.
1572 (la_x32_gnu_pltexit): Likewise.
1573
7998fa78
AS
15742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1575
dcb33988
AS
1576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1577 exponent.
1578
233fc563
AS
1579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1580
7998fa78
AS
1581 * configure.in (libc_cv_cc_nofma): Check for option to disable
1582 generation of FMA instructions.
1583 * configure: Regenerate.
1584 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1585 * sysdeps/ieee754/dbl-64/Makefile: New file.
1586 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1587 Remove brandred-fma4.
1588 (CFLAGS-brandred-fma4.c): Remove.
1589 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1590 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1591 define.
1592 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1593 define.
1594
8e95c99a
L
15952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1596
1597 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1598 LLONG_MAX != LONG_MAX.
1599 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1600 (_fitoa_word): Likewise.
1601 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1602 LLONG_MAX != LONG_MAX.
1603 * stdio-common/_itowa.h: Include <_itoa.h>.
1604 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1605 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1606 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1607 only if not defined.
1608 (_ITOA_WORD_TYPE): Likewise.
1609 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1610 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1611
6f4db457
DM
16122012-03-21 David S. Miller <davem@davemloft.net>
1613
1614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1615
7785fe5a
L
16162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1617
1618 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1619 of x86_64 when setting libc_cv_slibdir, libdir and
1620 libc_cv_localedir.
1621 * sysdeps/unix/sysv/linux/configure: Regenerated.
1622
4535cd55
JM
16232012-03-21 Joseph Myers <joseph@codesourcery.com>
1624
1625 * manual/lang.texi (Old Varargs): Remove section.
1626 (How Variadic): Update menu.
1627 (va_start): Do not mention varargs.h.
1628
17228132
TS
16292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1630 Joseph Myers <joseph@codesourcery.com>
1631
1632 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1633 link test.
1634 * configure: Regenerated.
1635
8149f976
TS
16362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1637
05f3d1f6
UD
1638 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1639 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1640 conformtest.pl
8149f976 1641
1a4ac776
JM
16422012-03-21 Joseph Myers <joseph@codesourcery.com>
1643
be22ce65
JM
1644 * NOTES: Remove.
1645 * Makefile (files-for-dist): Remove NOTES.
1646 (NOTES): Remove rule.
1647 * README: Don't refer to NOTES.
1648 * manual/creature.texi: Don't include macros.texi.
1649 * manual/intro.texi (creature.texi): Remove comment referring to
1650 NOTES.
1651
40b601fb
JM
1652 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1653 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1654 * configure: Regenerated.
1655 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1656 LIBC_TRY_CC_OPTION.
1657 (libc_cv_as_i686): Likewise.
1658 (libc_cv_cc_avx): Likewise.
1659 (libc_cv_cc_sse2avx): Likewise.
1660 (libc_cv_cc_fma4): Likewise.
1661 (libc_cv_cc_novzeroupper): Likewise.
1662 * sysdeps/i386/configure: Regenerated.
1663
1a4ac776
JM
1664 [BZ #13883]
1665 * sysdeps/i386/fpu/s_cexp.S: Remove.
1666 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1667 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1668 * math/libm-test.inc (cexp_test): Add more tests.
1669 * sysdeps/i386/fpu/libm-test-ulps: Update.
1670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1671
a458e7fe
AM
16722012-03-21 Allan McRae <allan@archlinux.org>
1673
1674 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1675
0cb7efc5
JM
16762012-03-21 Joseph Myers <joseph@codesourcery.com>
1677
1678 [BZ #13871]
1679 * math/w_exp2.c: Do not include <float.h>.
1680 (o_threshold, u_threshold): Remove.
1681 (__exp2): Calculate result before checking finiteness and calling
1682 __kernel_standard.
1683 * math/w_exp2f.c: Likewise.
1684 * math/w_exp2l.c: Likewise.
1685 * math/libm-test.inc (exp2_test): Require overflow exception for
1686 1e6 input.
2460d3aa
JM
1687
1688 [BZ #3866]
1689 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1690 range of signed 64-bit integers before using fistpll. Remove
1691 checks for whether integers fit in mantissa bits.
1692 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1693 the range of signed 32-bit integers before using fistpl. Remove
1694 checks for whether integers fit in mantissa bits.
1695 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1696 (__ieee754_powl): Test for y outside the range of signed 64-bit
1697 integers before using fistpll. Reduce 64-bit values to 63-bit
1698 ones as needed.
1699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1700 divide-by-zero is raised for zero to large negative powers.
1701 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1702 (__ieee754_powl): Test for y outside the range of signed 64-bit
1703 integers before using fistpll. Reduce 64-bit values to 63-bit
1704 ones as needed.
1705 * math/libm-test.inc (pow_test): Add more tests.
1706
eb96ffb0
L
17072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1708
1709 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1710 <stdio-common/_itoa.h>.
1711 * debug/segfault.c: Likewise.
1712 * elf/dl-cache.c: Likewise.
1713 * elf/dl-minimal.c: Likewise.
1714 * elf/dl-misc.c: Likewise.
1715 * elf/dl-sysdep.c: Likewise.
1716 * elf/dl-version.c: Likewise.
1717 * elf/rtld.c: Likewise.
1718 * hurd/hurdsock.c: Likewise.
1719 * hurd/lookup-retry.c: Likewise.
1720 * malloc/malloc.c: Likewise.
1721 * malloc/mtrace.c: Likewise.
1722 * nscd/nscd_getgr_r.c: Likewise.
1723 * nscd/nscd_getpw_r.c: Likewise.
1724 * nscd/nscd_getserv_r.c: Likewise.
1725 * posix/getopt_init.c: Likewise.
1726 * posix/wordexp.c: Likewise.
1727 * stdio-common/_itoa.c: Likewise.
1728 * stdio-common/printf_fphex.c: Likewise.
1729 * stdio-common/vfprintf.c: Likewise.
1730 * string/_strerror.c: Likewise.
1731 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1732 * sysdeps/i386/i686/hp-timing.h: Likewise.
1733 * sysdeps/mach/_strerror.c: Likewise.
1734 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1735 * sysdeps/mach/hurd/sethostid.c: Likewise.
1736 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1737 * sysdeps/mach/xpg-strerror.c: Likewise.
1738 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1739 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1740 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1741 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1742 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1743 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1744 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1745 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1746 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1747 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1748 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1749 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1750 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1751 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1752 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1753 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1754 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1755 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1756 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1757 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1758 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1759
1760 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1761
1762 * stdio-common/_itoa.h: Moved to ...
1763 * sysdeps/generic/_itoa.h: Here.
1764
1765 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1766
1767 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1768 instead of "_itoa.h" and "_itowa.h".
1769 * stdio-common/vfprintf.: Likewise.
1770
d1af992d
L
17712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1772
1773 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1774 <bits/wordsize.h>.
1775 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1776 (__signbit): Likwise.
1777 (llrintf): Likwise.
1778 (llrint): Likwise.
1779
114883e0
L
17802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1783 __WORDSIZE != 64.
1784
c135cc1b
JM
17852012-03-20 Joseph Myers <joseph@codesourcery.com>
1786
1787 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1788 OVERFLOW_EXCEPTION_OK.
1789 * math/libm-test.inc ("Philosophy"): Update comment about
1790 exception testing.
1791 (OVERFLOW_EXCEPTION): Define.
1792 (OVERFLOW_EXCEPTION_OK): Likewise.
1793 (INVALID_EXCEPTION_OK): Renumber.
1794 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1795 (IGNORE_ZERO_INF_SIGN): Likewise.
1796 (test_exceptions): Handle FE_OVERFLOW.
1797 (exp10_test): Expect overflow exceptions.
1798 (exp2_test): Likewise.
1799 (expm1_test): Likewise.
1800 (nextafter_test): Likewise.
1801 (pow_test): Likewise.
1802 (scalbn_test): Likewise.
1803 (scalbln_test): Likewise.
1804
95443d88
L
18052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1806
1807 * sysdeps/x86_64/bits/atomic.h
1808 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1809 64bit integer.
1810 (atomic_exchange_acq): Likewise.
1811 (__arch_exchange_and_add_body): Likewise.
1812 (__arch_add_body): Likewise.
1813 (atomic_add_negative): Likewise.
1814 (atomic_add_zero): Likewise.
1815
490df6c4
L
18162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1817
c2722551 1818 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1819 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1820
5e52b189
L
18212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1824 Check __x86_64__ instead of __WORDSIZE.
1825
a9879d4c
L
18262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1827
1828 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1829
5df98260
DM
18302012-03-19 David S. Miller <davem@davemloft.net>
1831
e1497744
DM
1832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1833
5df98260
DM
1834 * sysdeps/sparc/fpu/fenv_private.h: New file.
1835 * sysdeps/sparc/fpu/math_private.h: Use it.
1836 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1837 Remove.
1838 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1839 (libc_feholdexcept_setroundl): Remove.
1840 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1841 Remove.
1842 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1843 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1844
b4c35121
L
18452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1846
1847 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1848 int64_t instead of long int.
1849 (INSERT_WORDS64): Likwise.
1850
56965fd7
L
18512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1852
1853 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1854 _Unwind_GetCFA return to _Unwind_Ptr first.
1855
83d1aec8
JM
18562012-03-19 Joseph Myers <joseph@codesourcery.com>
1857
1897ad44
JM
1858 [BZ #13629]
1859 * math/s_clog.c: Include <float.h>.
1860 (__clog): Scale large or subnormal inputs.
1861 * math/s_clogf.c: Likewise.
1862 * math/s_clogl.c: Likewise.
1863 * math/s_clog10.c: Include <float.h>.
1864 (M_LOG10_2): Define.
1865 (__clog10): Scale large or subnormal inputs.
1866 * math/s_clog10f.c: Likewise.
1867 * math/s_clog10l.c: Likewise.
1868 * math/libm-test.inc (clog_test): Add more tests.
1869 (clog10_test): Likewise.
1870 * sysdeps/i386/fpu/libm-test-ulps: Update.
1871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1872
7726d6a9
JM
1873 [BZ #11451]
1874 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1875 x and y.
1876 * math/libm-test.inc (atan2_test): Add another test.
1877
83d1aec8
JM
1878 * Makerules (common-objdir-compile): Remove.
1879 * sysdeps/unix/Makefile (config-generated): Do not add
1880 $(unix-generated) to variable.
1881 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1882 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1883 Remove rule.
1884 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1885 Likewise.
1886 [generic bits/local_lim.h] (before-compile): Do not append to
1887 variable.
1888 [generic bits/local_lim.h] (common-generated): Likewise.
1889 [generic sys/param.h] (before-compile): Do not append to variable.
1890 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1891 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1892 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1893 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1894 include.
1895 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1896 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1897 [generic sys/param.h] ($(addprefix
1898 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1899 [generic sys/param.h] (common-generated): Do not append to
1900 variable.
1901 [generic sys/param.h] (sysdep_headers): Likewise.
1902 [generic bits/errno.h] (before-compile): Do not append to
1903 variable.
1904 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1905 rule.
1906 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1907 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1908 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1909 [generic bits/errno.h] (common-generated): Do not append to
1910 variable.
1911 [generic bits/ioctls.h] (before-compile): Do not append to
1912 variable.
1913 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1914 rule.
1915 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1916 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1917 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1918 rule.
1919 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1920 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1921 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1922 [generic bits/ioctls.h] (common-generated): Do not append to
1923 variable.
1924 [generic sys/syscall.h] (syscall.h): Remove variable.
1925 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1926 rule.
1927 [generic sys/syscall.h] (before-compile): Do not append to
1928 variable.
1929 [generic sys/syscall.h] (common-generated): Likewise.
1930 * sysdeps/unix/errnos-tmpl.c: Remove file.
1931 * sysdeps/unix/errnos.awk: Likewise.
1932 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1933 * sysdeps/unix/ioctls.awk: Likewise.
1934 * sysdeps/unix/mk-local_lim.c: Likewise.
1935 * sysdeps/unix/snarf-ioctls: Likewise.
1936
4851a949
RH
19372012-03-19 Richard Henderson <rth@twiddle.net>
1938
bd37f2ee
RH
1939 * sysdeps/i386/fpu/fenv_private.h: New file.
1940 * sysdeps/i386/fpu/math_private.h: Use it.
1941 (math_opt_barrier, math_force_eval): Remove.
1942 (libc_feholdexcept_setround_53bit): Remove.
1943 (libc_feupdateenv_53bit): Remove.
1944 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1945 (math_opt_barrier, math_force_eval): Remove.
1946 (libc_feholdexcept): Remove.
1947 (libc_feholdexcept_setround): Remove.
1948 (libc_fetestexcept, libc_fesetenv): Remove.
1949 (libc_feupdateenv_test): Remove.
1950 (libc_feupdateenv, libc_feholdsetround): Remove.
1951 (libc_feresetround): Remove.
1952
d0adc922
RH
1953 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1954 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1955
0fe0f1f8
RH
1956 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1957 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1958 (libc_feupdateenv_testl): New.
1959 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1960 (libc_feupdateenv_testf): New.
1961 (libc_feupdateenv): Use libc_feupdateenv_test.
1962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1963 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1964
eb92c487
RH
1965 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1966 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1967 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1968 (libc_feresetround_noex): New.
1969 (libc_feresetround_noexf): New.
1970 (libc_feresetround_noexl): New.
1971 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1972 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1973 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1974 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1975 SET_RESTORE_ROUND.
1976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1977 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1978 (__cos): Likewise.
1979 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1980 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1981 SET_RESTORE_ROUND_NOEX.
1982 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1983 SET_RESTORE_ROUND_NOEXF.
1984 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1985 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1986 (libc_feholdsetroundf): New.
1987 (libc_feresetround, libc_feresetroundf): New.
1988
7d2e8012
RH
1989 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1990 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1991 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1992
b4dabbb4
RH
1993 * sysdeps/generic/math_private.h: Include <fenv.h>.
1994 (default_libc_feholdexcept): New.
1995 (default_libc_feholdexcept_setround): New.
1996 (default_libc_fesetenv, default_libc_feupdateenv): New.
1997 (libc_feholdexcept): Only define if undefined.
1998 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1999 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2000 (libc_feholdexcept_setroundl): Likewise.
2001 (libc_feholdexcept_setround_53bit): Likewise.
2002 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2003 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2004 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2005 (libc_feupdateenv_53bit): Likewise.
2006 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2007 (libc_feholdexcept): Convert from macro to inline function.
2008 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2009 (libc_fesetenv, libc_feupdateenv): Likewise.
2010
4851a949
RH
2011 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2012 not previously defined.
2013 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2014 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2015 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2016 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2017 * sysdeps/ieee754/flt-32/math_private.h: New file.
2018 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2019 math_private.h below SET_FLOAT_WORD.
2020 (__isnan, __isinf_ns, __finite): Remove.
2021 (__isnanf, __isinf_nsf, __finitef): Remove.
2022
e79d442e
AS
20232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2024
2025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2026
90b80344
DM
20272012-03-17 David S. Miller <davem@davemloft.net>
2028
2029 [BZ #6471]
2030 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2031 for 2.16.
2032
edc21804
DM
20332012-03-16 David S. Miller <davem@davemloft.net>
2034
77e927af
DM
2035 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2036 warnings.
2037
374976dd
DM
2038 [BZ #6471]
2039 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2040 properly.
2041 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2042 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2043 sysdep_routines when subdir is sysvipc.
2044 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2045 __getshmlba helper.
2046
edc21804
DM
2047 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2048
473c3ef3
L
20492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2052 [__LP64__].
2053
eb0f39b6
L
20542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2057 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2058 (__lround): Renamed to ...
2059 (__llround): This. Replace long int with long long int.
2060 Define lround functions as aliases of llround functions.
2061 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2062
6b6cd74b
L
20632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2064
2065 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2066 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2067 adresses to uintptr_t. Replace "long int" and "unsigned long
2068 int" with "greg_t" on va_arg.
2069
f1a77b01
L
20702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2071
2072 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2073 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2074
2075 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2076 Move e_machine check before EI_CLASS check. Handle x32
2077 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2078 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2079 SKIP_EM_IA_64 and include
2080 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2081
2082 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2083 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2084 (add_system_dir): New macro.
2085
2086 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2087 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2088
11b90b9f
JM
20892012-03-16 Joseph Myers <joseph@codesourcery.com>
2090
c36e1d23
JM
2091 [BZ #2551]
2092 [BZ #2552]
2093 [BZ #2553]
2094 [BZ #2554]
2095 [BZ #2562]
2096 [BZ #2563]
2097 [BZ #2565]
2098 [BZ #2566]
2099 [BZ #2576]
2100 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2101 (y0): Likewise.
2102 * math/w_j0f.c (j0f): Likewise.
2103 (y0f): Likewise.
2104 * math/w_j0l.c (__j0l): Likewise.
2105 (__y0l): Likewise.
2106 * math/w_j1.c (j1): Likewise.
2107 (y1): Likewise.
2108 * math/w_j1f.c (j1f): Likewise.
2109 (y1f): Likewise.
2110 * math/w_j1l.c (__j1l): Likewise.
2111 (__y1l): Likewise.
2112 * math/w_jn.c (jn): Likewise.
2113 (yn): Likewise.
2114 * math/w_jnf.c (jnf): Likewise.
2115 (ynf): Likewise.
2116 * math/w_jnl.c (__jnl): Likewise.
2117 (__ynl): Likewise.
2118 * math/libm-test.inc (j0_test): Add more tests.
2119 (j1_test): Likewise.
2120 (jn_test): Likewise. Add trailing semicolon to existing test.
2121 (y0_test): Likewise.
2122 (y1_test): Likewise.
2123 * sysdeps/i386/fpu/libm-test-ulps: Update.
2124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2125
11b90b9f
JM
2126 [BZ #13851]
2127 [BZ #13854]
2128 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2129 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2130 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2131 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2132 (__tanl): Set errno for infinite argument.
2133 * sysdeps/i386/fpu/mptan.c: Remove.
2134 * sysdeps/i386/fpu/s_tan.S: Likewise.
2135 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2136 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2137 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2138 * math/libm-test.inc (tan_test): Add more tests and enable more
2139 tests for double and long double.
2140 * sysdeps/i386/fpu/libm-test-ulps: Update.
2141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2142
6a1bd2a1
JK
21432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2144
2145 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2146 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2147
10a803e0
RM
21482012-03-16 Roland McGrath <roland@hack.frob.com>
2149
2150 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2151 * configure.in: Use it for both main tree and add-ons.
2152 * configure: Regenerated.
2153
f196c7f7
L
21542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2155
2156 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2157
8848d99d
JM
21582012-03-16 Joseph Myers <joseph@codesourcery.com>
2159
96cbe7f4
JM
2160 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2161 in comment.
2162
8848d99d
JM
2163 [BZ #13851]
2164 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2165 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2169 infinite argument.
2170 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2172 != 0 for prec == 2.
2173 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2174 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2175 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2176 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2177 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2178 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2179 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2180 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2181 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2182 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2183 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2184 * math/libm-test.inc (cos_test): Add more tests and enable more
2185 tests for long double.
2186 (sin_test): Likewise.
2187 (sincos_test): Likewise.
2188 * sysdeps/i386/fpu/libm-test-ulps: Update.
2189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2190
dd7f4703
DM
21912012-03-16 David S. Miller <davem@davemloft.net>
2192
2193 * sysdeps/sparc/fpu/math_private.h: New file.
2194
006f1daa
DM
21952012-03-15 David S. Miller <davem@davemloft.net>
2196
c0c83bc8
DM
2197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2198 file.
e6a62e18 2199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2201 file.
e6a62e18
DM
2202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2208 sysdep routines.
2209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2210
88cb87d9
DM
2211 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2212 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2213
006f1daa 2214 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2216 sparc-ifunc.h
006f1daa 2217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2219 Likewise.
2220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2221 Likewise.
006f1daa
DM
2222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2226 Likewise.
006f1daa
DM
2227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2232 Likewise.
2233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2234 Likewise.
006f1daa
DM
2235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2257 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2258 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2259
11e0098e
AS
22602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2261
2262 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2263 scaling.
2264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2265
e85b09d0
AJ
22662012-03-15 Andreas Jaeger <aj@suse.de>
2267
2268 [BZ #13852]
2269 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2270 ieee754/flt-32 implementation for sin, cos and sincos.
2271 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2272 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2273 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2274 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2275 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2276 ieee754/flt-32 implementation for tan.
2277
2278 * math/libm-test.inc (cos_test): Enable some large input tests for
2279 float as well
2280 (sin_test): Likewise.
2281 (sincos_test): Likewise.
2282 (tan_test): Add tests for large input.
2283
2284 * sysdeps/i386/fpu/libm-test-ulps: Update.
2285
81c64153
AJ
22862012-03-15 Andreas Jaeger <aj@suse.de>
2287
2288 [BZ #13658]
2289 * math/libm-test.inc (cos_test): Add more test cases.
2290 (sin_test): Likewise.
2291 (sincos_test): Likewise.
2292
7bbfa5c6
AJ
22932012-03-15 Andreas Jaeger <aj@suse.de>
2294
2295 [BZ #13837]
2296 * math/libm-test.inc (cos_test): Add a test case for large input
2297 value.
2298 (sin_test): Likewise.
2299 (sincos_test): Likewise.
2300
23012012-03-15 Andreas Jaeger <aj@suse.de>,
2302 Joseph Myers <joseph@codesourcery.com>
2303
2304 [BZ #13658]
0671f479 2305 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2306 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2307 * sysdeps/i386/fpu/branred.c: Likewise.
2308 * sysdeps/i386/fpu/dosincos.c: Likewise.
2309 * sysdeps/i386/fpu/mpa.c: Likewise.
2310 * sysdeps/i386/fpu/s_cos.S: Likewise.
2311 * sysdeps/i386/fpu/s_sin.S: Likewise.
2312 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2313 * sysdeps/i386/fpu/sincos32.c: Likewise.
2314
2315 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2316 Define.
2317 (libc_feupdateenv_53bit): Define.
2318 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2319 Define.
2320 (libc_feupdateenv_53bit): Define.
2321
2322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2323 53 bit (without extend i386 double precision).
2324
2325 * math/libm-test.inc (sincos_test): Add tests for large input.
2326 (sin): Likewise.
2327 (cos): Likewise.
2328
2329 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2330
9cad04ea
AS
23312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2332
2333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2334
f7062b9a
DM
23352012-03-15 David S. Miller <davem@davemloft.net>
2336
2337 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2338 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2339 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2340 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2353 file.
f7062b9a 2354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2356 file.
f7062b9a 2357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2359 file.
f7062b9a 2360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2362 file.
f7062b9a
DM
2363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2365 fmin/fmax sysdep routines.
2366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2367
7bd951ff
DM
23682012-03-14 David S. Miller <davem@davemloft.net>
2369
559398ab
DM
2370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2375 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2376 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2397 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2399 routines.
2400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2401 file.
559398ab 2402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2404 file.
559398ab 2405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2407 file.
559398ab 2408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2410 file.
559398ab 2411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2413 file.
559398ab 2414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2416 file.
2417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2418 file.
2419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2420 file.
2421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2422 file.
2423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2424 New file.
2425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2426 file.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2428 file.
559398ab 2429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2431 file.
559398ab 2432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2434 file.
559398ab 2435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2437 file.
559398ab 2438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2440 VIS3 routines.
559398ab
DM
2441
2442 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2443 New file.
2444
5a1c1e32
DM
2445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2446
eae47a36
DM
2447 * sysdeps/sparc/configure.in: New file.
2448 * sysdeps/sparc/configure: Generate.
2449 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2450 * configure: Regenerate.
2451 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2452 * config.make.in (have-as-vis3): New.
2453 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2454 available use -Av9d instead of -Av9a.
2455 * sysdeps/sparc/sparc64/Makefile: Likewise.
2456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
2457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2458 New file.
2459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2460 file.
2461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2462 New file.
2463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2464 file.
eae47a36
DM
2465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2467 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2468 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2469 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2470
c0c83bc8
DM
2471 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2472 fzeros/fnegs to load 0x80000000 into a float register instead of
2473 using the stack.
7bd951ff
DM
2474 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2475
bd951ccb
JM
24762012-03-14 Joseph Myers <joseph@codesourcery.com>
2477
2478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2479 bits/syscall.h.
2480 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2481 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2482 ($(inst_includedir)/bits/syscall.h): Remove rule.
2483 ($(objpfx)bits/syscall.d): Include instead of
2484 $(objpfx)syscall-list.d.
2485 (generated): Change syscall-list.h and syscall-list.d to
2486 bits/syscall.h and bits/syscall.d.
2487
bb4e6db2
RM
24882012-03-14 Roland McGrath <roland@hack.frob.com>
2489
2490 [BZ #13846]
2491 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2492
aa4a2ae1
JM
24932012-03-14 Joseph Myers <joseph@codesourcery.com>
2494
e456826d
JM
2495 [BZ #13841]
2496 * math/s_csqrt.c: Include <float.h>.
2497 (__csqrt): Scale large or subnormal inputs.
2498 * math/s_csqrtf.c: Likewise.
2499 * math/s_csqrtl.c: Likewise.
2500 * math/libm-test.inc (csqrt_test): Add more tests.
2501 * sysdeps/i386/fpu/libm-test-ulps: Update.
2502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2503
aa4a2ae1
JM
2504 [BZ #13840]
2505 * math/libm-test.inc (hypot_test): Add more tests.
2506
7c10fd35
DM
25072012-03-13 David S. Miller <davem@davemloft.net>
2508
2509 [BZ #13840]
2510 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2511 double-precision for the calculation instead of scaling.
2512
f453b98b
JM
25132012-03-13 Joseph Myers <joseph@codesourcery.com>
2514
2515 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2516 manipulate bits before adding and subtracting TWO52[sx].
2517 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2518 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2519 Likewise.
2520 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2521
09a3453f
DM
25222012-03-13 David S. Miller <davem@davemloft.net>
2523
8e59da90
DM
2524 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2525 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2527 rtld-global-offsets.h
2528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2529
2a8ab7f2
DM
2530 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2531 large parameters.
2532
10f62770
DM
2533 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2534
5f0bdb18
DM
2535 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2536 'err' in the ifdef scope in which it is actually used.
2537
09a3453f
DM
2538 * nss/nss_db/db-init.c: Include string.h
2539
b4b2eb5e
DM
25402012-03-12 David S. Miller <davem@davemloft.net>
2541
98bb2f1c
DM
2542 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2543 masking out of the most significant byte of random value used.
2544 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2545 Fix coding style in previous change.
2546
b4b2eb5e
DM
2547 * sysdeps/unix/sysv/linux/kernel-features.h
2548 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2549 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2550 expression.
2551 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2552 later.
2553
6e226b09
DM
25542012-03-11 David S. Miller <davem@davemloft.net>
2555
a1bcbd40
DM
2556 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2557 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2559 for 'resultvar' otherwise things get truncated on 64-bit.
2560
cb9d6174
DM
2561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2562 Fix masking out of the most significant byte of random value used.
2563
6e226b09
DM
2564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2565
058c132d
AS
25662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2567
2568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2569
2d2cd515
DM
25702012-03-09 David S. Miller <davem@davemloft.net>
2571
2572 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2573 variables with appropriate CPP guards.
2574 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2575 frame pointer, not the stack pointer. Correct layout comments. Fix test
2576 on resulting framesize and the management of the outregs buffer for pltexit.
2577 Preserve floating point return values across _dl_call_pltexit call.
2578 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2579 framesize and the management of the outregs buffer for pltexit.
2580 Preserve floating point return values across _dl_call_pltexit
2581 call.
2582 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2583 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2584 (print_exit): Fix format string for return register value.
2585
9a07f9d0
JM
25862012-03-10 Joseph Myers <joseph@codesourcery.com>
2587
2588 * sunrpc/Makefile (others): Add rpcgen.
2589 ($(objpfx)rpcgen): Remove special build rule and dependency on
2590 libc.
2591 * sunrpc/rpcgen.c: New file.
2592
547b5e30
PE
25932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2594
c524201a
PE
2595 [BZ #13673]
2596 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2597 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2598 * sysdeps/i386/crti.S: Likewise.
2599 * sysdeps/i386/crtn.S: Likewise.
2600 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2601 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2602 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2603 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2604 * sysdeps/sh/crti.S: Likewise.
2605 * sysdeps/sh/crtn.S: Likewise.
2606 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2607
7b6235f2
PE
2608 [BZ #13673]
2609 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2610 with URL.
2611 * locale/programs/locfile-kw.gperf: Likewise.
2612 * locale/programs/charmap-kw.h: Regenerated.
2613 * locale/programs/locfile-kw.h: Likewise.
2614
547b5e30
PE
2615 [BZ #13673]
2616 * intl/plural.y: Replace FSF snail mail address with URL.
2617 * intl/plural.c: Regenerated.
2618
5f0a5dae
RH
26192012-03-09 Richard Henderson <rth@twiddle.net>
2620
2621 * include/math_private.h: Remove file.
2622 * math/math_private.h: Move file ...
2623 * sysdeps/generic/math_private.h: ... here.
2624
b8c03620
RH
2625 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2626 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2627 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2628
4e234f5d 2629 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2630 and <math_private.h>.
2631 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2632 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2633 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2634 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2635 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2636 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2637 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2639 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2640 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2643 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2645 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2646 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2647 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2648 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2649 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2650 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2652 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2653 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2655 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2656 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2657 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2658 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2661 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2663 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2664 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2665 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2666 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2667 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2668 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2669 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2670 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2671 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2672 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2673 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2674 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2675 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2676 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2677 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2678 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2679 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2680 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2681 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2682 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2683 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2684 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2685 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2686 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2687 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2688 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2689 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2690 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2691 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2692 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2693 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2694 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2695 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2696 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2697 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2698 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2699 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2700 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2701 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2702 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2703 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2704 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2705 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2707 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2709 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2710 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2711 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2712 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2713 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2714 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2715 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2718 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2719 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2720 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2721 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2722 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2723 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2724 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2725 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2726 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2727 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2728 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2729 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2730 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2731 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2732 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2733 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2734 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2735 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2736 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2737 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2738 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2739 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2740 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2741 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2742 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2743 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2744 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2745 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2746 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2747 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2748 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2749 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2750 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2751 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2752 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2753 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2754 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2755 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2756 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2757 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2758 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2759 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2760 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2761 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2762 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2763 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2764 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2765 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2766 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2767 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2768 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2769 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2770 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2771 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2772 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2773 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2774 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2775 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2776 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2777 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2778 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2779 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2780 * sysdeps/ieee754/k_standard.c: Likewise.
2781 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2782 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2783 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2784 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2785 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2786 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2787 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2788 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2789 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2790 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2791 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2792 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2793 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2794 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2795 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2796 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2797 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2798 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2799 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2800 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2801 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2802 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2803 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2804 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2805 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2806 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2807 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2808 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2809 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2810 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2811 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2812 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2813 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2814 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2818 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2819 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2820 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2823 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2824 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2831 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2833 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2834 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2840 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2841 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2842 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2843 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2844 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2845 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2846 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2848 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2849 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2851 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2864 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2865 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2872 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2874 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2879 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2881 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2884 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2885 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2886 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2888 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2891 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2893 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2894 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2896 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2897 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2898 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2899 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2900 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2901 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2902 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2903 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2904 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2905 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2906 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2907 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2908 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2909 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2910 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2912 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2913 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2917 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2926 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2929 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2930 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2931 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2932 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2934 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2935 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2936 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2939 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2940 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2941 * sysdeps/ieee754/s_lib_version.c: Likewise.
2942 * sysdeps/ieee754/s_matherr.c: Likewise.
2943 * sysdeps/ieee754/s_signgam.c: Likewise.
2944 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2945 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2946 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2947 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2948 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2949 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2950 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2951 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2952 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2953 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2954 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2955 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2956 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2957 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2958 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2959 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2960 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2961 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2962 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2963 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2964 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2965
1991fa03
JM
29662012-03-09 Joseph Myers <joseph@codesourcery.com>
2967
2968 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2969 * sunrpc/rpc_main.c: Likewise.
2970 * sunrpc/rpc_svcout.c: Likewise.
2971
60d6f5a6
DM
29722012-03-09 David S. Miller <davem@davemloft.net>
2973
2974 * include/math_private.h: New file.
2975
4962050e
JM
29762012-03-09 Joseph Myers <joseph@codesourcery.com>
2977
02a6f887
JM
2978 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2979 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2980 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2981 from <bits/socket_type.h>.
2982 (enum __socket_type): Don't define here.
2983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2985 bits/socket_type.h.
2986
c6e013c1
JM
2987 [BZ #13566]
2988 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2989 checking __USE_GNU.
2990
4962050e
JM
2991 * Makerules ($(inst_includedir)/%.h): New rule.
2992 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2993 (install-others): Remove variable setting.
2994 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2995
38842f45
RH
29962012-03-08 Richard Henderson <rth@twiddle.net>
2997
67bb6da6
RH
2998 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2999 from macro to inline function; merge with the
3000 !__LIBC_INTERNAL_MATH_INLINES version.
3001 (__ieee754_sqrtf): Likewise.
3002
15194b4b
RH
3003 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3004 to inline function.
3005 (__rintf, __floor, __floorf): Likewise.
3006
64e21ede
RH
3007 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3008 macro to inline function.
3009 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3010
38842f45
RH
3011 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3012 not <math/math_private.h>.
3013
c64bf5fe
DM
30142012-03-08 David S. Miller <davem@davemloft.net>
3015
3016 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3017 copyright year.
3018 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3019
82d86f28
TS
30202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3021
3022 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3023 normalization.
3024 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3025 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3026
aea5d727
UD
30272012-03-08 Ulrich Drepper <drepper@gmail.com>
3028
3029 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3030 be defined individually, they must be defined as a block. Define
3031 S for printing a string instead of hidint the different by using a
3032 macro for adding the 'l'.
3033 * stdio-common/tst-fphex-wide.c: Adjust.
3034
70bca0a3
MP
30352012-03-07 Marek Polacek <polacek@redhat.com>
3036
3037 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3038
65b81130
MP
30392012-03-08 Marek Polacek <polacek@redhat.com>
3040
3041 [BZ #13806]
3042 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3043 * stdio-common/tst-fphex.c: Define a few macros to make the
3044 test reusable. Use them.
3045 * stdio-common/tst-fphex-wide.c: New file.
3046
07037eeb
JM
30472012-03-08 Joseph Myers <joseph@codesourcery.com>
3048
a7a93d50
JM
3049 [BZ #6911]
3050 * manual/macros.texi (gnusystems): New macro.
3051 (nongnusystems): Likewise.
3052 (gnulinuxhurdsystems): Likewise.
3053 (gnuhurdsystems): Likewise..
3054 (gnulinuxsystems): Likewise.
3055 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3056 variants of the GNU system, not "GNU system".
3057 * manual/conf.texi: Likewise.
3058 * manual/errno.texi: Likewise. Update example of errno macro
3059 expansion.
3060 * manual/filesys.texi: Likewise.
3061 (getumask): Document as specific to GNU/Hurd.
3062 * manual/install.texi: Likewise. Reword some references to
3063 GNU/Linux.
3064 * manual/intro.texi: Likewise.
3065 * manual/io.texi: Likewise.
3066 (File Name Portability): Detail which constraints are inapplicable
3067 to all GNU systems and which are only inapplicable to GNU/Hurd.
3068 * manual/job.texi: Likewise.
3069 * manual/llio.texi: Likewise.
3070 (O_NOCTTY): Document as present on GNU/Linux.
3071 * manual/maint.texi: Likewise.
3072 * manual/memory.texi: Likewise.
3073 * manual/pattern.texi: Likewise.
3074 * manual/pipe.texi: Likewise.
3075 * manual/process.texi: Likewise.
3076 * manual/resource.texi: Likewise.
3077 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3078 child on GNU/Hurd.
3079 * manual/setjmp.texi: Likewise.
3080 * manual/signal.texi: Likewise.
3081 * manual/startup.texi: Likewise.
3082 * manual/stdio.texi: Likewise.
3083 * manual/terminal.texi: Likewise.
3084 (ONLCR): Document as POSIX.
3085 (OXTABS): Document availability on GNU/Linux as XTABS.
3086 (ONOEOT): Document availability separately from other bits.
3087 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3088 * manual/time.texi: Likewise.
3089 * manual/users.texi: Likewise.
3090 * INSTALL: Regenerated.
3091 * sysdeps/gnu/errlist.c: Regenerated.
3092
07037eeb
JM
3093 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3094 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3095 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3096 puts.
3097 * configure: Regenerated.
3098
d1d3431a
JM
30992012-03-07 Joseph Myers <joseph@codesourcery.com>
3100
af6a1e37
JM
3101 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3102 default includes instead of AC_HEADER_CHECK.
3103 * sysdeps/i386/configure: Regenerated.
3104
d1d3431a
JM
3105 [BZ #10716]
3106 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3107 * math/s_cacoshf.c (__cacoshf): Likewise.
3108 * math/s_cacoshl.c (__cacoshl): Likewise.
3109 * math/s_casinh.c (__casinh): Set signs of result from argument.
3110 * math/s_casinhf.c (__casinhf): Likewise.
3111 * math/s_casinhl.c (__casinhl): Likewise.
3112 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3113 (casinh_test): Add more tests.
3114 * sysdeps/i386/fpu/libm-test-ulps: Update.
3115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3116
482ff4da
UD
31172012-03-07 Ulrich Drepper <drepper@gmail.com>
3118
872fda05
UD
3119 * po/zh_TW.po: Update from translation team.
3120
a4300c7a
UD
3121 * login/Makefile (distribute): Remove variable.
3122 * catgets/Makefile: Likewise.
3123 * mach/Makefile: Likewise.
3124 * malloc/Makefile: Likewise.
3125 * misc/Makefile: Likewise.
3126 * iconv/Makefile: Likewise.
3127 * nscd/Makefile: Likewise.
3128 * hurd/Makefile: Likewise.
3129 * manual/Makefile: Likewise.
3130 * locale/Makefile: Likewise.
3131 * intl/Makefile: Likewise.
3132 * conform/Makefile: Likewise.
3133 * nss/Makefile: Likewise.
3134 * time/Makefile: Likewise.
3135 * soft-fp/Makefile: Likewise.
3136 * dirent/Makefile: Likewise.
3137 * gmon/Makefile: Likewise.
3138 * po/Makefile: Likewise.
3139 * rt/Makefile: Likewise.
3140 * socket/Makefile: Likewise.
3141 * math/Makefile: Likewise.
3142 * signal/Makefile: Likewise.
3143 * debug/Makefile: Likewise.
3144 * elf/Makefile: Likewise.
3145 * timezone/Makefile: Likewise.
3146 * stdlib/Makefile: Likewise.
3147 * iconvdata/Makefile: Likewise.
3148 * sunrpc/Makefile: Likewise.
3149 * io/Makefile: Likewise.
3150 * argp/Makefile: Likewise.
3151 * inet/Makefile: Likewise.
3152 * hesiod/Makefile: Likewise.
3153 * grp/Makefile: Likewise.
3154 * csu/Makefile: Likewise.
3155 * wctype/Makefile: Likewise.
3156 * crypt/Makefile: Likewise.
3157 * libio/Makefile: Likewise.
3158 * string/Makefile: Likewise.
3159 * nis/Makefile: Likewise.
3160 * resolv/Makefile: Likewise.
3161 * stdio-common/Makefile: Likewise.
3162 * wcsmbs/Makefile: Likewise.
3163 * dlfcn/Makefile: Likewise.
3164 * posix/Makefile: Likewise.
3165
482ff4da
UD
3166 * timezone/Makefile: Don't install timezone files, just the programs
3167 and scripts.
3168
f72ed77d
UD
31692012-03-06 Ulrich Drepper <drepper@gmail.com>
3170
a000466f
UD
3171 * nss/databases.def: Add missing gshadow entry.
3172
f72ed77d
UD
3173 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3174
a53b7a4e
MP
31752012-03-06 Marek Polacek <polacek@redhat.com>
3176
3177 [BZ #13726]
3178 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3179 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3180 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3181 * stdio-common/tst-long-dbl-fphex.c: New file.
3182
e9258400
DM
31832012-03-06 David S. Miller <davem@davemloft.net>
3184
3185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3186 (set_obp_int): New function.
3187 (get_obp_int): New function.
3188 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3189 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3190 Avoid unused variable warnings on 'val' and use builtin_expect.
3191 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3192 __builtin_expect.
e9258400
DM
3193 (INLINE_CLONE_SYSCALL): Likewise.
3194
3bd2c723
DM
31952012-03-05 David S. Miller <davem@davemloft.net>
3196
3197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3198
bbb78d03
AS
31992012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3200
884c5db4
AS
3201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3202
bbb78d03
AS
3203 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3204 only for |x| >= 40.
3205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3206
1c9f702a 32072012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3208
3209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3210 Replace gettimeofday with __vdso_gettimeofday.
3211
7be16f82
RM
3212 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3213 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3214 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3215
3216 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3217 time with __vdso_time.
3218
ed58a00f
JM
32192012-03-05 Joseph Myers <joseph@codesourcery.com>
3220
3221 * manual/lang.texi (size_t): Note types to which size_t may be
3222 equivalent with the GNU C Library, but do not describe when
3223 differences between them are significant.
3224
30ee4ced
AJ
32252012-03-05 Andreas Jaeger <aj@suse.de>
3226
3227 * sysdeps/i386/fpu/libm-test-ulps: Update.
3228
b7cd39e8
JM
32292012-03-05 Joseph Myers <joseph@codesourcery.com>
3230
3231 [BZ #3976]
3232 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3233 (__ieee754_pow): Save and restore rounding mode and use
3234 round-to-nearest for main computations.
3235 * math/libm-test.inc (pow_test_tonearest): New function.
3236 (pow_test_towardzero): Likewise.
3237 (pow_test_downward): Likewise.
3238 (pow_test_upward): Likewise.
3239 (main): Call the new functions.
3240 * sysdeps/i386/fpu/libm-test-ulps: Update.
3241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3242
3243 [BZ #3976]
3244 * math/libm-test.inc (cosh_test_tonearest): New function.
3245 (cosh_test_towardzero): Likewise.
3246 (cosh_test_downward): Likewise.
3247 (cosh_test_upward): Likewise.
3248 (sinh_test_tonearest): Likewise.
3249 (sinh_test_towardzero): Likewise.
3250 (sinh_test_downward): Likewise.
3251 (sinh_test_upward): Likewise.
3252 (main): Call the new functions.
3253 * sysdeps/i386/fpu/libm-test-ulps: Update.
3254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3255
6c6a98c9
TV
32562012-03-05 Tom de Vries <tom@codesourcery.com>
3257
3258 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3259 default stack guard is set in last bytes.
3260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3261
21bb2d2e 32622012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3263
21bb2d2e 3264 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3265
21bb2d2e
AJ
3266 [BZ #13656]
3267 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3268 possibly allocate from heap instead of stack.
3269 * stdio-common/bug-vfprintf-nargs.c: New file.
3270 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3271
c6922934
AS
32722012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3273
3274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3275
bc957d53
MP
32762012-03-03 Marek Polacek <polacek@redhat.com>
3277
3278 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3279 * math/math_private.h: Likewise.
3280 * stdlib/tst-strtod.c: Likewise.
3281 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3282 * sysdeps/x86_64/bits/atomic.h: Likewise.
3283
6358490d
DM
32842012-03-02 David S. Miller <davem@davemloft.net>
3285
3286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3290 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3291 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3292 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3293 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3294
01ae168d
RM
32952012-03-02 Roland McGrath <roland@hack.frob.com>
3296
d9a17c07
RM
3297 [BZ #13792]
3298 * manual/examples/README: New file, says the example source files
3299 can be used under GPL>=2.
3300 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3301 line containing just "*/".
3302 * manual/examples/add.c: Add copyright header (GPL>=2).
3303 * manual/examples/argp-ex1.c: Likewise.
3304 * manual/examples/argp-ex2.c: Likewise.
3305 * manual/examples/argp-ex3.c: Likewise.
3306 * manual/examples/argp-ex4.c: Likewise.
3307 * manual/examples/atexit.c: Likewise.
3308 * manual/examples/db.c: Likewise.
3309 * manual/examples/dir.c: Likewise.
3310 * manual/examples/dir2.c: Likewise.
3311 * manual/examples/execinfo.c: Likewise.
3312 * manual/examples/filecli.c: Likewise.
3313 * manual/examples/filesrv.c: Likewise.
3314 * manual/examples/fmtmsgexpl.c: Likewise.
3315 * manual/examples/genpass.c: Likewise.
3316 * manual/examples/inetcli.c: Likewise.
3317 * manual/examples/inetsrv.c: Likewise.
3318 * manual/examples/isockad.c: Likewise.
3319 * manual/examples/longopt.c: Likewise.
3320 * manual/examples/memopen.c: Likewise.
3321 * manual/examples/memstrm.c: Likewise.
3322 * manual/examples/mkfsock.c: Likewise.
3323 * manual/examples/mkisock.c: Likewise.
3324 * manual/examples/mygetpass.c: Likewise.
3325 * manual/examples/pipe.c: Likewise.
3326 * manual/examples/popen.c: Likewise.
3327 * manual/examples/rprintf.c: Likewise.
3328 * manual/examples/search.c: Likewise.
3329 * manual/examples/select.c: Likewise.
3330 * manual/examples/setjmp.c: Likewise.
3331 * manual/examples/sigh1.c: Likewise.
3332 * manual/examples/sigusr.c: Likewise.
3333 * manual/examples/stpcpy.c: Likewise.
3334 * manual/examples/strdupa.c: Likewise.
3335 * manual/examples/strftim.c: Likewise.
3336 * manual/examples/strncat.c: Likewise.
3337 * manual/examples/subopt.c: Likewise.
3338 * manual/examples/swapcontext.c: Likewise.
3339 * manual/examples/termios.c: Likewise.
3340 * manual/examples/testopt.c: Likewise.
3341 * manual/examples/testpass.c: Likewise.
3342 * manual/examples/timeval_subtract.c: Likewise.
3343
01ae168d
RM
3344 [BZ #13792]
3345 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3346 function to ...
3347 * manual/timeval_subtract.c.texi: ... here, new file.
3348
49efa33d
DM
33492012-03-02 David S. Miller <davem@davemloft.net>
3350
3351 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3352
28afd92d
JM
33532012-03-02 Joseph Myers <joseph@codesourcery.com>
3354
804360ed
JM
3355 [BZ #3976]
3356 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3357 (__sin): Save and restore rounding mode and use round-to-nearest
3358 for all computations.
3359 (__cos): Save and restore rounding mode and use round-to-nearest
3360 for all computations.
3361 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3362 <fenv.h>.
3363 (tan): Save and restore rounding mode and use round-to-nearest for
3364 all computations.
3365 * math/libm-test.inc (cos_test_tonearest): New function.
3366 (cos_test_towardzero): Likewise.
3367 (cos_test_downward): Likewise.
3368 (cos_test_upward): Likewise.
3369 (sin_test_tonearest): Likewise.
3370 (sin_test_towardzero): Likewise.
3371 (sin_test_downward): Likewise.
3372 (sin_test_upward): Likewise.
3373 (tan_test_tonearest): Likewise.
3374 (tan_test_towardzero): Likewise.
3375 (tan_test_downward): Likewise.
3376 (tan_test_upward): Likewise.
3377 (main): Call the new functions.
3378 * sysdeps/i386/fpu/libm-test-ulps: Update.
3379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3380
a6d06d7b
JM
3381 [BZ #10135]
3382 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3383 small n, then large n, before computing and testing k+n.
3384 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3386 Likewise.
3387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3388 Likewise.
3389 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3390 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3391 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3392 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3393 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3394 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3395 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3396 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3397 * math/libm-test.inc (scalbn_test): Add more tests.
3398 (scalbln_test): Likewise.
3399
07e12bb3
JM
3400 * manual/filesys.texi (mode_t): Describe constraints on size and
3401 signedness, not exact equivalence to a particular type.
3402 (ino_t): Likewise.
3403 (ino64_t): Likewise.
3404 (dev_t): Likewise.
3405 (nlink_t): Likewise.
3406 (blkcnt_t): Likewise.
3407 (blkcnt64_t): Likewise.
3408 * manual/llio.texi (off_t): Likewise.
3409
28afd92d
JM
3410 [BZ #3976]
3411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3412 (__ieee754_exp): Save and restore rounding mode and use
3413 round-to-nearest for all computations.
3414 * math/libm-test.inc (exp_test_tonearest): New function.
3415 (exp_test_towardzero): Likewise.
3416 (exp_test_downward): Likewise.
3417 (exp_test_upward): Likewise.
3418 (main): Call the new functions.
3419 * sysdeps/i386/fpu/libm-test-ulps: Update.
3420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3421
b1eeb65d
CD
34222012-03-01 Chris Demetriou <cgd@google.com>
3423
3424 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3425 have predictable order.
3426
53362a4b
DM
34272012-03-01 David S. Miller <davem@davemloft.net>
3428
3c969083
DM
3429 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3430
759707de
DM
3431 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3432 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3433 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3434 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3435
dfdb8ff2
DM
3436 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3437 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3438 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3440 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3441 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3442 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3443 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3444 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3445
ead89f96
DM
3446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3447
7f66bd07
DM
3448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3449 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3450 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3451
53362a4b
DM
3452 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3453 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3454 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3455 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3456 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3457 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3458 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3459 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3460 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3461 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3462 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3463 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3465 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3466 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3468 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3469 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3470 * sysdeps/sparc/elf/configure: Regenerated.
3471
7b1902cb
JM
34722012-03-01 Joseph Myers <joseph@codesourcery.com>
3473
bec039bc
JM
3474 * configure.in (AS, LD): Require binutils 2.20 or later.
3475 * configure: Regenerated.
3476 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3477 as required minimum version.
3478 * INSTALL: Regenerated.
3479
7b1902cb
JM
3480 [BZ #2541]
3481 [BZ #4108]
3482 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3483 before squaring exponent.
3484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3485 bottom long double and 27 bits of top long double before squaring
3486 exponent.
3487 * math/libm-test.inc (erfc_test): Add more tests.
3488 * sysdeps/i386/fpu/libm-test-ulps: Update.
3489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3491
f775c276
KT
34922012-03-01 Kai Tietz <ktietz@redhat.com>
3493
3494 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3495 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3496 containing bit-fields.
3497 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3498 * soft-fp/single.h (_FP_UNION_S): Likewise.
3499 * soft-fp/double.h (_FP_UNION_D): Likewise.
3500
5b8a4d4a
JM
35012012-02-29 Joseph Myers <joseph@codesourcery.com>
3502
0bab47b6
JM
3503 [BZ #13786]
3504 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3505 not include ../strcmp.S.
3506 [USE_AS_STRNCASECMP_L]: Likewise.
3507 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3508 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3509 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3510 (__strncasecmp_l_ia32): Define as alias to
3511 __strncasecmp_l_nonascii.
3512
0fcad3e2
JM
3513 [BZ #5794]
3514 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3515 * sysdeps/i386/fpu/libm-test-ulps: Update.
3516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3517
5b8a4d4a
JM
3518 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3520
8fdceb2e
JL
35212012-02-29 Jeff Law <law@redhat.com>
3522
3523 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3524 out of bounds read.
3525
1f393a11
MP
35262012-02-29 Marek Polacek <polacek@redhat.com>
3527
3528 [BZ #13706]
3529 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3530 * elf/Makefile: Add rules to run tst-unused-dep.out.
3531
8847f037
DM
35322012-02-28 David S. Miller <davem@davemloft.net>
3533
3534 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3535 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3536 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3538 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3539 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3540
169d7f11
JM
35412012-02-29 Joseph Myers <joseph@codesourcery.com>
3542
3543 * math/libm-test.inc (llround_test): Move one test from
3544 lround_test. Use TEST_f_L in moved test.
3545 (lround_test): Move misplaced test to llround_test. Add testcase
3546 from bug 2561.
3547
39adf059
UD
35482012-02-28 Ulrich Drepper <drepper@gmail.com>
3549
3550 * sysdeps/x86_64/fpu/e_expf.S: New file.
3551 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3552
71b5d1c5
SB
35532012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3554
3555 [BZ #13637]
3556 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3557 of remain_len that may cause incomplete multi-byte character and
3558 false match.
3559 * posix/bug-regex33.c: New file.
3560 * posix/Makefile (tests): Add bug-regex33.
3561
1f77f049
JM
35622012-02-28 Joseph Myers <joseph@codesourcery.com>
3563
3564 * manual/macros.texi: New file.
3565 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3566 * manual/libc.texinfo: Include macros.texi.
3567 * manual/creatute.texi: Likewise.
3568 * manual/install.texi: Likewise.
3569 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3570 @glibcadj{} in references to the GNU C Library.
3571 * manual/charset.texi: Likewise.
3572 * manual/conf.texi: Likewise.
3573 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3574 when not using those macros.
3575 * manual/creature.texi: Likewise.
3576 * manual/crypt.texi: Likewise.
3577 * manual/errno.texi: Likewise.
3578 * manual/filesys.texi: Likewise.
3579 * manual/header.texi: Likewise.
3580 * manual/install.texi: Likewise.
3581 * manual/intro.texi: Likewise.
3582 * manual/io.texi: Likewise.
3583 * manual/job.texi: Likewise.
3584 * manual/lang.texi: Likewise.
3585 * manual/libc.texiinfo: Likewise.
3586 * manual/llio.texi: Likewise.
3587 * manual/locale.texi: Likewise.
3588 * manual/maint.texi: Likewise.
3589 * manual/math.texi: Likewise.
3590 * manual/memory.texi: Likewise.
3591 * manual/message.texi: Likewise.
3592 * manual/nss.texi: Likewise.
3593 * manual/pattern.texi: Likewise.
3594 * manual/process.texi: Likewise.
3595 * manual/resource.texi: Likewise.
3596 * manual/search.texi: Likewise.
3597 * manual/setjmp.texi: Likewise.
3598 * manual/signal.texi: Likewise.
3599 * manual/socket.texi: Likewise.
3600 * manual/startup.texi: Likewise.
3601 * manual/stdio.texi: Likewise.
3602 * manual/string.texi: Likewise.
3603 * manual/sysinfo.texi: Likewise.
3604 * manual/syslog.texi: Likewise.
3605 * manual/terminal.texi: Likewise.
3606 * manual/time.texi: Likewise.
3607 * manual/users.texi: Likewise.
3608 * INSTALL: Regenerated.
3609 * NOTES: Regenerated.
d40c5d54 3610 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3611
450bf206
AS
36122012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3613
3614 * include/dirent.h: Include <dirstream.h> before
3615 <dirent/dirent.h>.
3616
741a235b
DM
36172012-02-28 David S. Miller <davem@davemloft.net>
3618
3619 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3620 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3621 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3622 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3623
d6b5aa58
DM
36242012-02-27 David S. Miller <davem@davemloft.net>
3625
1aff59a3
DM
3626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3628 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3629 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3630
d6b5aa58
DM
3631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3632 frame pointer instead of stack pointer relative arg slot.
3633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3634 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3635 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3636
433f48bf
CD
36372012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3638
3639 [BZ #3992]
3640 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3641
d674b76d
DM
36422012-02-27 David S. Miller <davem@davemloft.net>
3643
3644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3648 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3649 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3650 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3651 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3652
0e7727f7
JM
36532012-02-27 Joseph Myers <joseph@codesourcery.com>
3654
3655 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3656 later. Allow versions 5-9.
43be4ca2 3657 * configure: Regenerated.
0e7727f7
JM
3658 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3659 required minimum version and 4.6 as recommended version. Do not
3660 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3661 * INSTALL: Regenerated.
0e7727f7 3662
a78bc654
DM
36632012-02-27 David S. Miller <davem@davemloft.net>
3664
428d5830
DM
3665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3671 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3672 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3673
a78bc654
DM
3674 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3675 manipulate bits before adding and subtracting TWO112[sx].
3676 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3677
4579f81c
RM
36782012-02-27 Roland McGrath <roland@hack.frob.com>
3679
36c8acb4
RM
3680 [BZ #13775]
3681 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3682 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3683 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3684 being in POSIX, because they are in 1003.1-2008.
3685
84ad622b
RM
3686 * rt/tst-aio.c: Include <fcntl.h>.
3687 * rt/tst-aio7.c: Likewise.
3688 * rt/tst-aio64.c: Likewise.
3689
4579f81c
RM
3690 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3691
abd923db
JM
36922012-02-27 Joseph Myers <joseph@codesourcery.com>
3693
3694 * manual/install.texi (--with-headers): Describe headers as
3695 interface headers, not private headers.
3696 (Specific advice for GNU/Linux systems): Describe use of headers
3697 from "make headers_install", not private headers from older
3698 kernels.
43be4ca2 3699 * INSTALL: Regenerated.
abd923db
JM
3700 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3701 Change to 2.6.19.
3702 * sysdeps/unix/sysv/linux/configure: Regenerated.
3703
6664049b
JM
3704 * manual/llio.texi (fclean): Remove documentation.
3705
bb8b6697
JM
3706 * manual/Makefile (libc-texi-generated): New variable. Include
3707 version.texi.
3708 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3709 $(libc-texi-generated), not duplicated list of files.
3710 (version.texi, stamp-version): New rules.
3711 (realclean): Remove $(libc-texi-generated), not individual files
3712 from that list. Do not remove dir-add.texinfo.
3713 * manual/libc.texinfo: Comment out uses of edition numbers and
3714 references to printed manual. Remove last-updated dates.
3715 (EDITION): Comment out.
3716 (ISBN): Likewise.
3717 (VERSION, UPDATED): Remove.
3718 (version.texi): Include.
3719
12e5c3b9
AS
37202012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3721
3722 * sysdeps/posix/spawni.c: Include <signal.h>.
3723 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3724 * sysdeps/pthread/aio_fsync.c: Likewise.
3725
4efeffc1 37262012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3727
ba63ba08
UD
3728 * conform/Makefile (tests): Run only when not cross-compiling and
3729 when fast-check is not defined.
3730
d94a4670
UD
3731 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3732 * conform/data/limits.h-data: Fixes for POSIX2008.
3733 * conform/run-conformtest.sh: Run all tests.
3734 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3735 headers.
3736 * include/bits/dlfcn.h: Likewise.
3737 * include/langinfo.h: Likewise.
3738 * include/monetary.h: Likewise.
3739 * include/sys/poll.h: Likewise.
3740
3741 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3742 for __USE_GNU.
3743 * posix/spawn.h: Define __need_sigset_t.
3744 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3745 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3746 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3747 to get sigevent_t only.
3748 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3749 only for __USE_GNU.
3750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3751 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3752 process_vm_writev only for __USE_GNU.
3753 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3754
3755 * conform/Makefile: For now ignore errors from run-conformtest.
3756 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3757 POSIX to avoid namespace pollution. Don't prepend headers.
3758 * conform/data/aio.h-data: Fixes for POSIX testing.
3759 * conform/data/fcntl.h-data: Likewise.
3760 * conform/data/glob.h-data: Likewise.
3761 * conform/data/grp.h-data: Likewise.
3762 * conform/data/pthread.h-data: Likewise.
3763 * conform/data/pwd.h-data: Likewise.
3764 * conform/data/signal.h-data: Likewise.
3765 * conform/data/spawn.h-data: Likewise.
3766 * conform/data/stdio.h-data: Likewise.
3767 * conform/data/stdlib.h-data: Likewise.
3768 * conform/data/stropts.h-data: Likewise.
3769 * conform/data/sys/mman.h-data: Likewise.
3770 * conform/data/sys/stat.h-data: Likewise.
3771 * conform/data/sys/types.h-data: Likewise.
3772 * conform/data/sys/wait.h-data: Likewise.
3773 * conform/data/time.h-data: Likewise.
3774 * conform/data/unistd.h-data: Likewise.
3775 * conform/data/utime.h-data: Likewise.
3776
3777 * io/sys/stat.h: fchmod was always in POSIX.
3778 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3779 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3780 * rt/aio.h: Define __need_timespec before including <time.h>.
3781 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3782 struct. Add forward declaration of pthread_attr_t and use it in
3783 sigevent.
3784 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3785 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3786 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3787 always remove CLK_TCK definition.
3788
c20105c3
AS
37892012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3790
3791 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3792
7a270350
UD
37932012-02-25 Ulrich Drepper <drepper@gmail.com>
3794
31341567
UD
3795 * conform/run-conformtest.sh: New file.
3796 * conform/Makefile: Run run-conformtest for tests.
3797 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3798 support.
3799
3800 * conform/data/uchar.h-data: New file.
3801 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3802 * conform/data/arpa/inet.h-data: Likewise.
3803 * conform/data/assert.h-data: Likewise.
3804 * conform/data/complex.h-data: Likewise.
3805 * conform/data/cpio.h-data: Likewise.
3806 * conform/data/ctype.h-data: Likewise.
3807 * conform/data/dirent.h-data: Likewise.
3808 * conform/data/dlfcn.h-data: Likewise.
3809 * conform/data/errno.h-data: Likewise.
3810 * conform/data/fcntl.h-data: Likewise.
3811 * conform/data/float.h-data: Likewise.
3812 * conform/data/fmtmsg.h-data: Likewise.
3813 * conform/data/fnmatch.h-data: Likewise.
3814 * conform/data/ftw.h-data: Likewise.
3815 * conform/data/glob.h-data: Likewise.
3816 * conform/data/grp.h-data: Likewise.
3817 * conform/data/iconv.h-data: Likewise.
3818 * conform/data/inttypes.h-data: Likewise.
3819 * conform/data/langinfo.h-data: Likewise.
3820 * conform/data/libgen.h-data: Likewise.
3821 * conform/data/limits.h-data: Likewise.
3822 * conform/data/locale.h-data: Likewise.
3823 * conform/data/math.h-data: Likewise.
3824 * conform/data/monetary.h-data: Likewise.
3825 * conform/data/mqueue.h-data: Likewise.
3826 * conform/data/ndbm.h-data: Likewise.
3827 * conform/data/net/if.h-data: Likewise.
3828 * conform/data/netdb.h-data: Likewise.
3829 * conform/data/netinet/in.h-data: Likewise.
3830 * conform/data/nl_types.h-data: Likewise.
3831 * conform/data/poll.h-data: Likewise.
3832 * conform/data/pthread.h-data: Likewise.
3833 * conform/data/pwd.h-data: Likewise.
3834 * conform/data/regex.h-data: Likewise.
3835 * conform/data/sched.h-data: Likewise.
3836 * conform/data/search.h-data: Likewise.
3837 * conform/data/semaphore.h-data: Likewise.
3838 * conform/data/setjmp.h-data: Likewise.
3839 * conform/data/signal.h-data: Likewise.
3840 * conform/data/spawn.h-data: Likewise.
3841 * conform/data/stdarg.h-data: Likewise.
3842 * conform/data/stdio.h-data: Likewise.
3843 * conform/data/stdlib.h-data: Likewise.
3844 * conform/data/string.h-data: Likewise.
3845 * conform/data/strings.h-data: Likewise.
3846 * conform/data/stropts.h-data: Likewise.
3847 * conform/data/sys/ipc.h-data: Likewise.
3848 * conform/data/sys/mman.h-data: Likewise.
3849 * conform/data/sys/msg.h-data: Likewise.
3850 * conform/data/sys/resource.h-data: Likewise.
3851 * conform/data/sys/select.h-data: Likewise.
3852 * conform/data/sys/sem.h-data: Likewise.
3853 * conform/data/sys/shm.h-data: Likewise.
3854 * conform/data/sys/socket.h-data: Likewise.
3855 * conform/data/sys/stat.h-data: Likewise.
3856 * conform/data/sys/statvfs.h-data: Likewise.
3857 * conform/data/sys/time.h-data: Likewise.
3858 * conform/data/sys/timeb.h-data: Likewise.
3859 * conform/data/sys/times.h-data: Likewise.
3860 * conform/data/sys/types.h-data: Likewise.
3861 * conform/data/sys/uio.h-data: Likewise.
3862 * conform/data/sys/un.h-data: Likewise.
3863 * conform/data/sys/utsname.h-data: Likewise.
3864 * conform/data/sys/wait.h-data: Likewise.
3865 * conform/data/syslog.h-data: Likewise.
3866 * conform/data/tar.h-data: Likewise.
3867 * conform/data/termios.h-data: Likewise.
3868 * conform/data/utime.h-data: Likewise.
3869 * conform/data/utmpx.h-data: Likewise.
3870 * conform/data/varargs.h-data: Likewise.
3871 * conform/data/wchar.h-data: Likewise.
3872 * conform/data/wctype.h-data: Likewise.
3873 * conform/data/wordexp.h-data: Likewise.
3874
3875 * include/stropts.h: New file.
3876 * include/uchar.h: New file.
3877 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3878 * include/assert.h: Likewise.
3879 * include/ctype.h: Likewise.
3880 * include/dirent.h: Likewise.
3881 * include/dlfcn.h: Likewise.
3882 * include/fcntl.h: Likewise.
3883 * include/fnmatch.h: Likewise.
3884 * include/glob.h: Likewise.
3885 * include/grp.h: Likewise.
3886 * include/libio.h: Likewise.
3887 * include/locale.h: Likewise.
3888 * include/math.h: Likewise.
3889 * include/net/if.h: Likewise.
3890 * include/netdb.h: Likewise.
3891 * include/netinet/in.h: Likewise.
3892 * include/pthread.h: Likewise.
3893 * include/pwd.h: Likewise.
3894 * include/regex.h: Likewise.
3895 * include/sched.h: Likewise.
3896 * include/search.h: Likewise.
3897 * include/setjmp.h: Likewise.
3898 * include/signal.h: Likewise.
3899 * include/stdio.h: Likewise.
3900 * include/stdlib.h: Likewise.
3901 * include/string.h: Likewise.
3902 * include/sys/cdefs.h: Likewise.
3903 * include/sys/mman.h: Likewise.
3904 * include/sys/msg.h: Likewise.
3905 * include/sys/resource.h: Likewise.
3906 * include/sys/select.h: Likewise.
3907 * include/sys/socket.h: Likewise.
3908 * include/sys/stat.h: Likewise.
3909 * include/sys/statvfs.h: Likewise.
3910 * include/sys/time.h: Likewise.
3911 * include/sys/times.h: Likewise.
3912 * include/sys/uio.h: Likewise.
3913 * include/sys/utsname.h: Likewise.
3914 * include/sys/wait.h: Likewise.
3915 * include/termios.h: Likewise.
3916 * include/time.h: Likewise.
3917 * include/ulimit.h: Likewise.
3918 * include/unistd.h: Likewise.
3919 * include/utime.h: Likewise.
3920 * include/wchar.h: Likewise.
3921 * include/wctype.h: Likewise.
3922 * include/wordexp.h: Likewise.
3923
3924 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3925
7a270350
UD
3926 * time/time.h: TIME_UTC must be a macro.
3927 Make timespec_get available for ISO C11 only as well.
3928
7724defc
UD
39292012-02-24 Ulrich Drepper <drepper@gmail.com>
3930
3931 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3932 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3933
6b1d1d46
JM
39342012-02-24 Joseph Myers <joseph@codesourcery.com>
3935
3936 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3937
0f8bbd69
JM
39382012-02-24 Joseph Myers <joseph@codesourcery.com>
3939
3940 * manual/texinfo.tex: Update to version 2012-01-19.16.
3941
66ab80bc
JM
39422012-02-24 Joseph Myers <joseph@codesourcery.com>
3943
3944 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3945
74981cc5
RM
39462012-02-24 Roland McGrath <roland@hack.frob.com>
3947
ee968201
RM
3948 [BZ #13738]
3949 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3950 * manual/fdl-1.3.texi: New file.
3951 * manual/fdl-1.1.texi: File removed.
3952
74981cc5
RM
3953 [BZ #13738]
3954 * manual/libc.texinfo (FDL_VERSION): New @set.
3955 Use it for mention of FDL in cover text.
3956 (Documentation License): Use it in @include file name.
3957
7bb764bc
JM
39582012-02-22 Joseph Myers <joseph@codesourcery.com>
3959 Roland McGrath <roland@hack.frob.com>
3960
3961 [BZ #5461]
3962 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3963 not LONG_LONG_MAX and LONG_LONG_MIN.
3964 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3965 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3966 name.
3967 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3968
6cbeae47
JM
39692012-02-22 Joseph Myers <joseph@codesourcery.com>
3970
3971 [BZ #2547]
3972 [BZ #11365]
3973 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3974 manipulate bits before adding and subtracting TWO23[sx].
3975 * math/libm-test.inc (nearbyint_test): Add more tests.
3976
fe45ce09
JM
39772012-02-22 Joseph Myers <joseph@codesourcery.com>
3978
3979 [BZ #2548]
3980 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3981 bits before adding and subtracting TWO23[sx].
3982 * math/libm-test.inc (rint_test): Add more tests.
3983 (rint_test_tonearest): Likewise.
3984 (rint_test_towardzero): Likewise.
3985 (rint_test_downward): Likewise.
3986 (rint_test_upward: Likewise.
3987
ff3b3d82
JM
39882012-02-22 Joseph Myers <joseph@codesourcery.com>
3989
3990 [BZ #10110]
3991 * include/stdc-predef.h: New file. Extracted from features.h.
3992 * include/features.h: Include stdc-predef.h.
3993 * Makefile (headers): Add stdc-predef.h.
3994 * CONFORMANCE (Compiler limitations): Update.
3995
ef0aab35
JM
39962012-02-22 Joseph Myers <joseph@codesourcery.com>
3997
3998 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3999
58639409
DM
40002012-02-21 David S. Miller <davem@davemloft.net>
4001
4002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4003 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4004
c0e70b25
DM
40052012-02-20 David S. Miller <davem@davemloft.net>
4006
4007 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4008 using a normal save/restore sequence, rather than allocating a
4009 dummy stack frame just to store a frame pointer and restore.
4010 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4011
fb06851d
JM
40122012-02-21 Joseph Myers <joseph@codesourcery.com>
4013
4014 * manual/install.texi: Fix stray word in line-wrapped comment.
4015
7a8b71c3
DM
40162012-02-20 David S. Miller <davem@davemloft.net>
4017
d510c123
DM
4018 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4019 both binutils and gcc support GOTDATA.
4020
0722d7c2
DM
4021 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4022 "rd %pc" in the PIC register setup sequences.
4023
3d2b3019
DM
4024 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4025 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4026 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4027 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4028 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4030 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4033 (SYSCALL_ERROR_HANDLER): Likewise.
4034 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4035 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4037 (SYSCALL_ERROR_HANDLER): Likewise.
4038
c80098a9
DM
4039 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4040 (HAVE_GCC_GOTDATA): New.
4041 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4042 relocation support in both binutils and gcc.
4043 * sysdeps/sparc/elf/configure: Regenerate.
4044
3a2545a0
DM
4045 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4046 * sysdeps/sparc/sparc32/elf/configure: Delete.
4047 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4048 * sysdeps/sparc/sparc64/elf/configure: Delete.
4049 * sysdeps/sparc/elf/configure.in: New file.
4050 * sysdeps/sparc/elf/configure: Generate.
4051
7a8b71c3
DM
4052 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4053 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4054 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4055 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4056 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4057
f1e86fca
JM
40582012-02-21 Joseph Myers <joseph@codesourcery.com>
4059
4060 * manual/install.texi: Do not mention specific glibc version
4061 numbers.
4062 * manual/libc.texinfo (VERSION, UPDATED): Update.
4063 (@copying): Use @copyright{} and range of years.
4064
0e7dfaef
JM
40652012-02-21 Joseph Myers <joseph@codesourcery.com>
4066
4067 [BZ #13695]
4068 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4069 [crti.S not in sysdirs] (generated): Do not append.
4070 [crti.S not in sysdirs] (omit-deps): Likewise.
4071 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4072 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4073 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4074 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4075 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4076 Likewise.
4077 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4078 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4079 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4080 * csu/defs.awk: Remove file.
4081 * sysdeps/generic/initfini.c: Likewise.
4082 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4083 variable.
4084 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4085 Likewise.
4086
599af3ca
JM
40872012-02-20 Joseph Myers <joseph@codesourcery.com>
4088
4089 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4090 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4091 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4092 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4094 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4095 <bits/epoll.h>.
4096 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4097 (__EPOLL_PACKED): Define to empty if not defined by
4098 <bits/epoll.h>.
4099 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4101 bits/epoll.h.
4102
0e499750
JM
41032012-02-20 Joseph Myers <joseph@codesourcery.com>
4104
4105 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4106 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4107 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4108 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4109 <bits/timerfd.h>.
4110 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4112 bits/timerfd.h.
4113
5ad91f6e
JM
41142012-02-20 Joseph Myers <joseph@codesourcery.com>
4115
4116 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4117 in C locale.
4118 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4119 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4120 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4122
06b99b02
AJ
41232012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4124
4125 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4126 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4127
7638c0fd
AS
41282012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4129
4130 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4131 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4132 defined.
4133 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4134 Likewise.
4135 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4136 entry for 2.16.
4137
92221550
AJ
41382012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4139
4140 * math/w_acos.c: Use non-signaling floating-point comparisons.
4141 * math/w_acosf.c: Likewise.
4142 * math/w_acosh.c: Likewise.
4143 * math/w_acoshf.c: Likewise.
4144 * math/w_acoshl.c: Likewise.
4145 * math/w_acosl.c: Likewise.
4146 * math/w_asin.c: Likewise.
4147 * math/w_asinf.c: Likewise.
4148 * math/w_asinl.c: Likewise.
4149 * math/w_atanh.c: Likewise.
4150 * math/w_atanhf.c: Likewise.
4151 * math/w_atanhl.c: Likewise.
4152 * math/w_exp2.c: Likewise.
4153 * math/w_exp2f.c: Likewise.
4154 * math/w_exp2l.c: Likewise.
4155 * math/w_j0.c: Likewise.
4156 * math/w_j0f.c: Likewise.
4157 * math/w_j0l.c: Likewise.
4158 * math/w_j1.c: Likewise.
4159 * math/w_j1f.c: Likewise.
4160 * math/w_j1l.c: Likewise.
4161 * math/w_jn.c: Likewise.
4162 * math/w_jnf.c: Likewise.
4163 * math/w_log.c: Likewise.
4164 * math/w_log10.c: Likewise.
4165 * math/w_log10f.c: Likewise.
4166 * math/w_log10l.c: Likewise.
4167 * math/w_log2.c: Likewise.
4168 * math/w_log2f.c: Likewise.
4169 * math/w_log2l.c: Likewise.
4170 * math/w_logf.c: Likewise.
4171 * math/w_logl.c: Likewise.
4172 * math/w_sqrt.c: Likewise.
4173 * math/w_sqrtf.c: Likewise.
4174 * math/w_sqrtl.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4177 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4178 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4179 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4180
ebaf36eb
JM
41812012-02-19 Joseph Myers <joseph@codesourcery.com>
4182
4183 [BZ #9739]
4184 * manual/string.texi (strnlen): Use correct parameter name in
4185 equivalent expression.
4186
71c254a6
JM
41872012-02-19 Joseph Myers <joseph@codesourcery.com>
4188
4189 [BZ #11174]
4190 * manual/users.texi (seteuid): Consistently use neweuid for
4191 argument name.
4192
16d2c631
JM
41932012-02-19 Joseph Myers <joseph@codesourcery.com>
4194
4195 [BZ #13704]
4196 * manual/nss.texi (Services in the NSS configuration): Correct
4197 list of services in example configuration file.
4198
cd837b09
NB
41992012-02-19 Nick Bowler <nbowler@draconx.ca>
4200
4201 [BZ #11322]
4202 * manual/arith.texi: Remove statements about negative zero
4203 behaving identically to zero.
4204
02c4bbad
JM
42052012-02-18 Joseph Myers <joseph@codesourcery.com>
4206
4207 [BZ #5993]
4208 * manual/install.texi: Do not document upgrading from libc5.
4209
366842e7
JM
42102012-02-18 Joseph Myers <joseph@codesourcery.com>
4211
4212 [BZ #4596]
4213 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4214
dd54084d
DM
42152012-02-18 David S. Miller <davem@davemloft.net>
4216
4217 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4218 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4219 %o7 across the call.
4220 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4221 instead.
4222 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4223 SETUP_PIC_REG_LEAF.
4224 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4225 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4226 * sysdeps/sparc/crtn.S: Likewise.
4227
2bcc53a3
UD
42282012-02-17 Ulrich Drepper <drepper@gmail.com>
4229
4230 * aout/Makefile: Remove.
4231
09c093b5
RK
42322012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4233
4234 [BZ #13058]
4235 * manual/examples/argp-ex1.c (main): Format definition in GNU
4236 style.
4237 * manual/examples/argp-ex2.c (main): Likewise.
4238 * manual/examples/argp-ex3.c (main): Likewise.
4239 * manual/examples/argp-ex4.c (main): Likewise.
4240 * manual/examples/longopt.c (main): Use new-style prototype
4241 definition.
4242 * manual/examples/strncat.c (main): Specify return type and use
4243 (void) for arguments.
4244 * manual/examples/subopt.c (main): Use char **argv argument.
4245
2ee633a2
JM
42462012-02-17 Joseph Myers <joseph@codesourcery.com>
4247
4248 [BZ #5077]
4249 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4250 rounding modes.
4251
0520adde
FB
42522012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4253
4254 [BZ #6907]
4255 * manual/string.texi (strchr): Change when strchrnul is
4256 recommended.
4257
3f4081cd
DGM
42582012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4259
4260 [BZ #174]
4261 * manual/locale.texi (setlocale): Document LOCPATH.
4262
d1b10e78
JM
42632012-02-17 Joseph Myers <joseph@codesourcery.com>
4264
4265 [BZ #10210]
4266 * manual/process.texi (execle): Move @dots{} before last argument.
4267
79c6869c
PB
42682012-02-17 Paul Bolle <pebolle@tiscali.nl>
4269
4270 [BZ #12047]
4271 * manual/charset.texi (Generic Charset Conversion): Fix typo
4272 (LC_TYPE -> LC_CTYPE).
4273
cc6e48bc
NB
42742012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4275
4276 [BZ #5805]
4277 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4278 (scalbnf): Likewise.
4279 (scalbnl): Likewise.
4280 (scalbln): Likewise.
4281 (scalblnf): Likewise.
4282 (scalblnl): Likewise.
4283 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4284 (vwarnx): Likewise.
4285 (verr): Likewise.
4286 (verrx): Likewise.
4287 * manual/filesys.texi (telldir): Use braces around return type.
4288 * manual/llio.texi (mmap): Add space after comma.
4289 (mmap64): Likewise.
4290 * manual/math.texi (jn): Use @var{} on parameter names.
4291 (jnf): Likewise.
4292 (jnl): Likewise.
4293 (yn): Likewise.
4294 (ynf): Likewise.
4295 (ynl): Likewise.
4296 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4297 line.
4298 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4299 "...".
4300 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4301 (sched_get_priority_max): Likewise.
4302 * manual/signal.texi (sigvec): Add space after comma.
4303 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4304 names.
4305 (if_indextoname): Likewise.
4306 (if_freenameindex): Likewise.
4307 (sendto): Use ',' instead of '.' in prototype.
4308 * manual/startup.texi (syscall): Use @dots{} instead of literal
4309 "...".
4310 * manual/stdio.texi (__fpending): Separate initial words of
4311 paragraph from @deftypefun line.
4312 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4313 "...".
4314 (vsyslog): Use @var{} on parameter names.
4315 * manual/terminal.texi (stty): Use @var{} on parameter names.
4316 * manual/users.texi (getutmp): Use @var{} on parameter names.
4317 (getutmpx): Likewise.
4318
5b23062f
JM
43192012-02-17 Joseph Myers <joseph@codesourcery.com>
4320
4321 [BZ #6884]
4322 * manual/stdio.texi (fopen): Fix typos in description of
4323 ",ccs=STRING".
4324
8dee4833
AJ
43252012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4326
4327 [BZ #4026]
4328 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4329 get clock_id definition.
4330
9078ce93
TS
43312012-02-17 Thomas Schwinge <thomas@schwinge.name>
4332
4333 [BZ #4822]
4334 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4335 (madvise): Cast every argument to void on its own.
4336
3835c55f
JM
43372012-02-17 Joseph Myers <joseph@codesourcery.com>
4338
4339 [BZ #9902]
4340 * manual/startup.texi (Exit Status): Fix typo.
4341
35c47e37
JM
43422012-02-17 Joseph Myers <joseph@codesourcery.com>
4343
4344 [BZ #10140]
4345 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4346 * manual/examples/argp-ex2.c: Likewise.
4347 * manual/examples/argp-ex3.c: Likewise.
4348
e3b69ca7
RH
43492012-02-16 Richard Henderson <rth@redhat.com>
4350
4351 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4352 * sysdeps/s390/s390-32/initfini.c: Remove.
4353 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4354 * sysdeps/s390/s390-64/initfini.c: Remove.
4355
df83af67
KK
43562012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4357
4358 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4359 compiler output for sysdeps/generic/initfini.c.
4360 * sysdeps/sh/elf/initfini.c: Remove file.
4361
f63f3380
DM
43622012-02-16 David S. Miller <davem@davemloft.net>
4363
fb59b3a4
DM
4364 [BZ #11494]
4365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4366
f63f3380
DM
4367 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4368 * sysdeps/sparc/crti.S: New file.
4369 * sysdeps/sparc/crtn.S: New file.
4370 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4371 * sysdeps/sparc/sparc64/Makefile: Likewise.
4372
df6a4a4a
MF
43732012-02-15 Mike Frysinger <vapier@gentoo.org>
4374
6dd8f3dc 4375 [BZ #3335]
df6a4a4a
MF
4376 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4377
1cac7236
RM
43782012-02-15 Roland McGrath <roland@hack.frob.com>
4379
d2c736f8
RM
4380 [BZ #4822]
4381 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4382
1cac7236
RM
4383 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4384 (write, read, close): Likewise.
4385 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4386
8e475601
JM
43872012-02-15 Joseph Myers <joseph@codesourcery.com>
4388
4389 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4390 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4391 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4392 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4393 <bits/signalfd.h>.
4394 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4396 bits/signalfd.h.
4397
ed656b40
MP
43982012-02-14 Marek Polacek <polacek@redhat.com>
4399
4400 * sysdeps/x86_64/crti.S: New file.
4401 * sysdeps/x86_64/crtn.S: New file.
4402 * sysdeps/x86_64/elf/initfini.c: Remove file.
4403
2a979d3a
JM
44042012-02-13 Joseph Myers <joseph@codesourcery.com>
4405
4406 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4407 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4408 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4409 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4410 <bits/inotify.h>.
4411 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4413 bits/inotify.h.
4414
2a418ac3
JM
44152012-02-13 Joseph Myers <joseph@codesourcery.com>
4416
4417 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4418 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4419 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4420 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4421 <bits/eventfd.h>.
4422 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4424 bits/eventfd.h.
4425
fb779be7
TS
44262012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4427
e19e83c5
RM
4428 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4429 __feraiseexcept instead of feraiseexcept.
7c35ffed 4430
fb779be7
TS
4431 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4432 nanosleep invocations.
4433 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4434 strings, and add error checking for a nanosleep invocations.
4435
59ba27a6
PE
44362012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4437
4438 Replace FSF snail mail address with URLs, as per GNU coding standards.
4439 Most of the snail mail addresses were wrong anyway, and omitting
4440 them makes the source code easier to maintain. Almost all of the
4441 changes are to license notices and to locale LC_IDENTIFICATION
4442 addresses, except for this one:
4443 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4444 not its snail mail address.
4445
57b957eb
RH
44462012-02-09 Richard Henderson <rth@twiddle.net>
4447
af850b1c
RH
4448 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4449 of kernel-features.h.
4450
57b957eb
RH
4451 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4452
6b73181a
MP
44532012-02-08 Marek Polacek <polacek@redhat.com>
4454
4455 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4456 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4457 * sysdeps/gnu/_G_config.h: Likewise.
4458 * sysdeps/generic/_G_config.h: Likewise.
4459
26ecc33a
AS
44602012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4461
6c6dbc63
AS
4462 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4463 tests.
4464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4465
e216c012
AS
4466 * sysdeps/powerpc/powerpc32/crti.S: New file.
4467 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4468 * sysdeps/powerpc/powerpc64/crti.S: New file.
4469 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4470
26ecc33a
AS
4471 * Makeconfig (have-initfini): Don't set.
4472 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4473 * configure.in (nopic_initfini): Don't substitute.
4474 * config.h.in (HAVE_INITFINI): Don't #undef.
4475 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4476 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4477
3add8e13
JM
44782012-02-08 Joseph Myers <joseph@codesourcery.com>
4479
4480 Support crti.S and crtn.S provided directly by architectures.
4481 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4482 [crti.S in sysdirs] (omit-deps): Likewise.
4483 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4484 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4485 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4486 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4487 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4488 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4489 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4490 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4491 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4492 compiler output for sysdeps/generic/initfini.c.
4493 * sysdeps/i386/elf/Makefile: Remove file.
4494 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4495
a22f12b4
MP
44962012-02-07 Marek Polacek <polacek@redhat.com>
4497
4498 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4499 * sysdeps/gnu/_G_config.h: Likewise.
4500 * sysdeps/mach/hurd/_G_config.h: Likewise.
4501
148cf100
MP
45022012-02-07 Marek Polacek <polacek@redhat.com>
4503
4504 * math/Makefile (tests): Add tst-CMPLX2.
4505 * math/tst-CMPLX2.c: New file.
4506
cfdc0dd7
AS
45072012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4508
84ba42c4
AS
4509 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4510
cfdc0dd7
AS
4511 * math/libm-test.inc (jn_test): Add missing L suffix.
4512
622c86f4
MP
45132012-02-06 Marek Polacek <polacek@redhat.com>
4514
4515 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4516 * sysdeps/i386/fpu/e_powf.S: Likewise.
4517 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4518 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4519 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4520 * sysdeps/i386/fpu/e_pow.S: Likewise.
4521 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4522 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4523 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4524 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4525 * sysdeps/i386/fpu/e_log2.S: Likewise.
4526 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4527 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4528 * sysdeps/i386/fpu/e_powl.S: Likewise.
4529 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4530 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4531 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4532 * sysdeps/i386/fpu/e_logl.S: Likewise.
4533 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4534 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4535 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4536 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4537 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4538 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4539 * sysdeps/i386/fpu/e_log.S: Likewise.
4540 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4541 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4542 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4543 * sysdeps/i386/fpu/e_logf.S: Likewise.
4544 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4545 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4546 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4547 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4548 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4549 * sysdeps/i386/fpu/e_log10.S: Likewise.
4550 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4551 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4552 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4553 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4554 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4555 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4556 * sysdeps/i386/asm-syntax.h: Likewise.
4557 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4558 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4559 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4560 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4561 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4562 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4563 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4564 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4565 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4566 * sysdeps/powerpc/sysdep.h: Likewise.
4567 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4568 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4569
d4a54ac6
JM
45702012-02-06 Joseph Myers <joseph@codesourcery.com>
4571
4572 [BZ #411]
4573 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4574
314054ea
JM
45752012-02-06 Joseph Myers <joseph@codesourcery.com>
4576
4577 * sysdeps/i386/sysdep.h: Include <features.h>.
4578 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4579 version.
4580
d8e0ca50
JM
45812012-02-05 Joseph Myers <joseph@codesourcery.com>
4582
4583 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4584 Define.
4585 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4586 LOAD_PIC_REG_STR.
4587
b1da7dd9
JM
45882012-02-03 Joseph Myers <joseph@codesourcery.com>
4589
4590 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4591 (SETUP_PIC_REG): Use GET_PC_THUNK.
4592 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4593 macro.
4594
9a1d9254
JM
45952012-02-03 Joseph Myers <joseph@codesourcery.com>
4596
4597 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4598 for non-PIC compilation.
4599 (SETUP_PIC_REG): Add .p2align directive.
4600 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4601 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4602 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4603 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4604 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4605 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4606 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4607 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4608 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4609 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4610 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4611 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4612 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4613 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4614 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4615 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4616 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4617 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4618 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4619 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4620 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4621 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4622 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4623 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4626 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4627 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4628 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4629 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4630 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4631 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4632 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4633 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4634 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4635 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4636 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4637 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4638 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4639 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4640 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4641
65dc3b75
JM
46422012-02-03 Joseph Myers <joseph@codesourcery.com>
4643
4644 * math/tst-CMPLX.c: Include <stdio.h>.
4645
d55bf177
JM
46462012-01-31 Joseph Myers <joseph@codesourcery.com>
4647
4648 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4649 float.
4650 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4651 * sysdeps/sparc/bits/mathdef.h: Likewise.
4652
69db4f8f
MP
46532012-01-31 Marek Polacek <polacek@redhat.com>
4654
4655 * libio/libio.h: Don't define _PARAMS.
4656 * locale/programs/config.h: Don't define PARAMS.
4657 * stdlib/strtol_l.c: Likewise.
4658 (__strtol_l): Remove PARAMS from the prototype.
4659
41b81892
UD
46602012-01-31 Ulrich Drepper <drepper@gmail.com>
4661
3b49edc0
UD
4662 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4663 names. Just use the correct names. Remove unnecessary wrapper
4664 functions.
4665 * malloc/arena.c: Likewise.
4666 * malloc/hooks.c: Likewise.
4667
41b81892
UD
4668 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4669 ARENA_TEST says not to. Simplify test for creation of a new arena.
4670 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4671
27a25b6e
UD
46722012-01-30 Ulrich Drepper <drepper@gmail.com>
4673
4674 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4675 into tail calls.
4676 (update_get_addr): New function.
4677 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4678 GET_ADDR_MODULE parameter.
4679
c8a89e7d
JM
46802012-01-30 Joseph Myers <joseph@codesourcery.com>
4681
4682 * crypt/cert.c: Remove __STDC__ conditionals.
4683 * crypt/crypt-entry.c: Likewise.
4684 * crypt/crypt_util.c: Likewise.
4685 * libio/filedoalloc.c: Likewise.
4686 * libio/fileops.c: Likewise.
4687 * libio/genops.c: Likewise.
4688 * libio/iofclose.c: Likewise.
4689 * libio/iofdopen.c: Likewise.
4690 * libio/iofopen.c: Likewise.
4691 * libio/iofopen64.c: Likewise.
4692 * libio/iogetdelim.c: Likewise.
4693 * libio/iopopen.c: Likewise.
4694 * libio/obprintf.c: Likewise.
4695 * libio/oldfileops.c: Likewise.
4696 * libio/oldiofclose.c: Likewise.
4697 * libio/oldiofdopen.c: Likewise.
4698 * libio/oldiofopen.c: Likewise.
4699 * libio/oldiopopen.c: Likewise.
4700 * libio/wfiledoalloc.c: Likewise.
4701 * libio/wgenops.c: Likewise.
4702 * locale/programs/xmalloc.c: Likewise.
4703 * misc/syslog.c: Likewise.
4704 * stdio-common/xbug.c: Likewise.
4705 * string/memchr.c: Likewise.
4706 * string/memcmp.c: Likewise.
4707 * string/memrchr.c: Likewise.
4708 * string/rawmemchr.c: Likewise.
4709 * sysdeps/posix/getcwd.c: Likewise.
4710 * time/strftime_l.c: Likewise.
4711
3b100462
JM
47122012-01-30 Joseph Myers <joseph@codesourcery.com>
4713
4714 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4715 * config.make.in (config-cflags-sse2avx): Define.
4716 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4717 Fix typo.
4718
607998af
CM
47192012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4720
4721 * scripts/config.guess: Update from upstream config git repository.
4722 * scripts/config.sub: Likewise.
4723
3601428f
CM
47242012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4725
3ac8b282
CM
4726 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4727 (EM_NUM): Update.
4728 (R_TILEPRO_*, R_TILEGX_*): New macros.
4729
e034841e
CM
4730 * scripts/firstversions.awk: Fix bug in version range handling.
4731
540d7568
CM
4732 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4733
3601428f
CM
4734 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4735
463de862
CM
4736 * include/sys/epoll.h: New file.
4737 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4738 libc_hidden_def.
4739
73139a76
UD
47402012-01-28 Ulrich Drepper <drepper@gmail.com>
4741
96bc5b45
UD
4742 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4743 Avoid unnecessary __WORDSIZE == 64 test.
4744 (fmaxf): Use VEX format if possible.
4745 (fmax): Likewise.
4746 (fminf): Likewise.
4747 (fmin): Likewise.
4748
56f6f6a2
UD
4749 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4750 * math/math_private.h: Remove libc_fegetround* and
4751 libc_fesetround*.
4752 * sysdeps/i386/configure.in: Check for -msse2avx.
4753 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4754 also if SSE2AVX is defined.
4755 Remove libc_fegetround* and libc_fesetround*.
4756 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4757 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4758 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4759 of HAS_YMM_USABLE.
4760 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4761 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4763 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4764 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4765
73139a76
UD
4766 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4767
d73f93a4
AZ
47682012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4769
4770 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4771 size is not set.
4772 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4773
6ee65ed6
UD
47742012-01-27 Ulrich Drepper <drepper@gmail.com>
4775
4776 [BZ #13618]
4777 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4778 relocation.
4779 * Makeconfig (libm): Define.
4780 * elf/Makefile: Add rules to build and run tst-relsort1.
4781 * elf/tst-relsort1.c: New file.
4782 * elf/tst-relsort1mod1.c: New file.
4783 * elf/tst-relsort1mod2.c: New file.
4784
8db21882
JM
47852012-01-27 Joseph Myers <joseph@codesourcery.com>
4786
4787 * math/s_ldexp.c: Remove __STDC__ conditionals.
4788 * math/s_ldexpf.c: Likewise.
4789 * math/s_ldexpl.c: Likewise.
4790 * math/s_nextafter.c: Likewise.
4791 * math/s_nexttowardf.c: Likewise.
4792 * math/s_significand.c: Likewise.
4793 * math/s_significandf.c: Likewise.
4794 * math/s_significandl.c: Likewise.
4795 * math/w_jnl.c: Likewise.
4796 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4797 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4798 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4799 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4800 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4802 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4803 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4804 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4805 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4806 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4807 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4808 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4809 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4810 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4811 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4812 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4813 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4814 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4815 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4816 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4817 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4818 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4819 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4820 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4821 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4822 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4823 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4824 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4825 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4826 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4827 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4828 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4829 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4830 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4831 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4832 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4833 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4834 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4835 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4836 * sysdeps/ieee754/k_standard.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4841 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4880 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4890 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4893 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4894 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4897 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4898 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4901 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4902 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4903 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4904 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4905 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4906 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4907 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4908 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4911 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4912 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4913 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4916 * sysdeps/ieee754/s_matherr.c: Likewise.
4917 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4918 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4921
965a54a4
JM
49222012-01-26 Joseph Myers <joseph@codesourcery.com>
4923
4924 * crypt/md5.h: Remove __STDC__ conditionals.
4925 * libio/libioP.h: Likewise.
4926 * locale/programs/config.h: Likewise.
4927 * sysdeps/generic/sysdep.h: Likewise.
4928 * sysdeps/i386/asm-syntax.h: Likewise.
4929 * sysdeps/s390/asm-syntax.h: Likewise.
4930 * sysdeps/unix/sysdep.h: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4933
7071ad79
JM
49342012-01-26 Joseph Myers <joseph@codesourcery.com>
4935
4936 * libio/libio.h: Remove __STDC__ conditionals.
4937 * malloc/obstack.h: Likewise.
4938 * math/complex.h: Likewise.
4939 * math/math.h: Likewise.
4940 * sysdeps/generic/_G_config.h: Likewise.
4941 * sysdeps/gnu/_G_config.h: Likewise.
4942 * sysdeps/mach/hurd/_G_config.h: Likewise.
4943 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4944 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4945 * sysdeps/sparc/bits/mathdef.h: Likewise.
4946
afc5ed09
UD
49472012-01-26 Ulrich Drepper <drepper@gmail.com>
4948
4949 [BZ #13583]
4950 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4951 Clean up HAS_* macros.
afc5ed09 4952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4953 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4954 possible.
4955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4956 HAS_AVX.
4957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4962
bdb6de1d
JM
49632012-01-25 Joseph Myers <joseph@codesourcery.com>
4964
4965 * elf/tst-unique3.cc (gets): Remove declaration.
4966 * elf/tst-unique3lib.cc (gets): Likewise.
4967 * elf/tst-unique3lib2.cc (gets): Likewise.
4968 * elf/tst-unique4.cc (gets): Likewise.
4969
b15549e6
UD
49702012-01-24 Ulrich Drepper <drepper@gmail.com>
4971
4972 * include/stdio.h: Add C++ protection. Add gets declarations and
4973 definitions.
4974 * debug/tst-chk1.c: Don't declare gets here.
4975 * stdio-common/tst-gets.c: Likewise.
4976
a037381f
JM
49772012-01-24 Joseph Myers <joseph@codesourcery.com>
4978
4979 * posix/glob: Remove directory.
4980
f1d4aa75
JM
49812012-01-24 Joseph Myers <joseph@codesourcery.com>
4982
4983 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4984
81c0c964
PT
49852012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4986
4987 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4988 of the non-standard EPFNOSUPPORT.
4989
0ea698ae
ST
49902011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4991
4992 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4993 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4994 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4995
d220b117
UD
49962012-01-21 Ulrich Drepper <drepper@gmail.com>
4997
4998 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4999
3e1aa84e
UD
50002012-01-20 Ulrich Drepper <drepper@gmail.com>
5001
5002 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5003 transient errors.
5004 * nscd/grpcache.c (cache_addgr): Likewise.
5005 * nscd/hstcache.c (cache_addhst): Likewise.
5006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5007 * nscd/pwdcache.c (cache_addpw): Likewise.
5008 * nscd/servicescache.c (cache_addserv): Likewise.
5009
400aa020
UD
50102012-01-16 Ulrich Drepper <drepper@gmail.com>
5011
d77e7869
UD
5012 * malloc/malloc.c: Various cleanups.
5013 * malloc/hooks.c: Likewise.
5014
400aa020
UD
5015 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5016 * stdlib/bug-fmtmsg1.c: New file.
5017
5018 * stdlib/fmtmsg.c (init): Add missing unlock.
5019 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5020
e0a309cf
MP
50212012-01-12 Marek Polacek <polacek@redhat.com>
5022
5023 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5024 and _GNU_SOURCE.
5025
929d11c7
WS
50262012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5027
5028 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5029 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5030 macro to ensure uniqueness of label name.
5031 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5032 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5033
41d0e869
UD
50342012-01-11 Ulrich Drepper <drepper@gmail.com>
5035
0cc5ed3b
UD
5036 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5037
41d0e869
UD
5038 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5039 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5040 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5042
a47a831a
UD
50432012-01-10 Ulrich Drepper <drepper@gmail.com>
5044
daa891c0
UD
5045 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5046
5047 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5048 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5049 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5050
e58ef0f2
UD
5051 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5052
a47a831a 5053 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5054 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5055 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5057
5058 * math/bits/math-finite.h: Add ldexp support.
5059
a0bfc9c7
MP
50602012-01-10 Marek Polacek <polacek@redhat.com>
5061
5062 * locale/programs/localedef.h (show_archive_content): Add noreturn
5063 attribute.
5064
d6e97a1d
UD
50652012-01-09 Ulrich Drepper <drepper@gmail.com>
5066
5067 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5068
d5835c26
UD
50692012-01-08 Ulrich Drepper <drepper@gmail.com>
5070
e5f484c6
UD
5071 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5072
d5835c26
UD
5073 * io/Makefile (headers): Add bits/poll2.h.
5074
d1f741e9
WS
50752011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5076
5077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5078 typo #include statement.
5079
ec09c1c4
UD
50802012-01-08 Ulrich Drepper <drepper@gmail.com>
5081
5082 * include/sys/cdefs.h: Define __attribute_alloc_size.
5083 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5084 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5085 * elf/pldd.c: Likewise.
5086 * iconv/iconv_charmap.c: Likewise.
5087 * iconv/iconvconfig.c: Likewise.
5088 * iconv/strtab.c: Likewise.
5089 * locale/programs/locale.c: Likewise.
5090 * locale/programs/localedef.h: Likewise.
5091 * locale/programs/simple-hash.c: Likewise.
5092 * nscd/nscd.h: Likewise.
5093 * nss/makedb.c: Likewise.
5094 * sysdeps/generic/ldconfig.h: Likewise.
5095 * locale/programs/localedef.c: Remove xmalloc prototype.
5096 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5097
20b38e03
PP
50982012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5099
5100 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5101 appropriate.
5102
a0da5fe1
UD
51032012-01-08 Ulrich Drepper <drepper@gmail.com>
5104
1d5a644a 5105 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5106 * math/tst-CMPLX.c: New file.
1d5a644a 5107
8784a6db
UD
5108 * math/complex.h (CMPLXL): Fix typo.
5109
d9a216c0
UD
5110 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5111 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5112 GLIBC_2.16.
5113 * debug/tst-chk1.c: Add poll and ppoll tests.
5114 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5115 * include/sys/poll.h: Add hidden proto for ppoll.
5116 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5117 * sysdeps/mach/hurd/ppoll.c: Likewise.
5118 * io/ppoll.c: Likewise.
5119 * debug/poll_chk.c: New file.
5120 * debug/ppoll_chk.c: New file.
5121 * include/bits/poll2.h: New file.
5122 * io/bits/poll2.h: New file.
5123
ac097f5c
UD
5124 [BZ #1350]
5125 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5126
2119dcfa
UD
5127 * configure.in: static is always set to yes. Remove.
5128 * config.make.in: Don't set build-static.
5129 * Makeconfig: Remove use of build-static.
5130 * dlfcn/Makefile: Likewise.
5131 * elf/Makefile: Likewise.
5132 * math/Makefile: Likewise.
5133 * misc/Makefile: Likewise.
5134 * nptl/Makefile: Likewise.
5135 * sysdeps/mach/hurd/Makefile: Likewise.
5136
121766a9
UD
5137 * configure.in: PWD_P is not used anymore.
5138 * config.make.in: Remove PWD_P entry.
5139
51a1d39c 5140 * configure.in: Remove last remnants of RANLIB.
8720d066 5141 No need to check for signed size_t anymore.
215f4bdc
UD
5142 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5143 and IA-64.
3857022a 5144 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5145 * aclocal.m4: Likewise.
5146
d3ed7225
UD
5147 * wcsmbs/mbrtoc16.c: Implement using towc function.
5148 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5149 * wcsmbs/wcsmbsload.c: Likewise.
5150 * iconv/gconv_simple.c: Likewise.
5151 * iconv/gconv_int.h: Likewise.
5152 * iconv/gconv_builtin.h: Likewise.
5153 * iconv/iconv_prog.c: Remove CHAR16 handling.
5154
5155 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5156
5157 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5158
a0da5fe1
UD
5159 * configure.in: Remove --with-elf and --enable-bounded options.
5160 Dont set base_machine for ia64. More non-ELF conditions removed.
5161 Remove testing and setting of leading underscore information.
5162 * config.make.in (build-bounded): Set to no.
5163 * config.h.in: Remove NO_UNDERSCORES entry.
5164 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5165 them.
5166 * csu/start.c: Remove !NO_UNDERSCORE code.
5167 * locale/localeinfo.h: Likewise.
5168 * sysdeps/generic/machine-gmon.h: Likewise.
5169 * sysdeps/generic/sysdep.h: Likewise.
5170 * sysdeps/i386/sysdep.h: Likewise.
5171 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5172 * sysdeps/mach/sysdep.h: Likewise.
5173 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5174 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5175 * sysdeps/sh/sysdep.h: Likewise.
5176 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5177 * sysdeps/unix/i386/sysdep.S: Likewise.
5178 * sysdeps/unix/sparc/start.c: Likewise.
5179 * sysdeps/unix/sparc/sysdep.S: Likewise.
5180 * sysdeps/unix/sparc/sysdep.h: Likewise.
5181 * sysdeps/unix/start.c: Likewise.
5182 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5183 * sysdeps/x86_64/sysdep.h: Likewise.
5184
df78418a
UD
51852012-01-07 Ulrich Drepper <drepper@gmail.com>
5186
a784e502
UD
5187 [BZ #13553]
5188 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5189 for non-gcc.
5190 * argp/argp-fmtstream.h: Use const instead __const.
5191 * argp/argp.h: Likewise.
5192 * assert/assert.h: Likewise.
5193 * bits/fenv.h: Likewise.
5194 * bits/sched.h: Likewise.
5195 * bits/sigset.h: Likewise.
5196 * bits/sigthread.h: Likewise.
5197 * catgets/nl_types.h: Likewise.
5198 * conform/data/pthread.h-data: Likewise.
5199 * crypt/crypt-private.h: Likewise.
5200 * crypt/crypt.h: Likewise.
5201 * crypt/crypt_util.c: Likewise.
5202 * ctype/ctype.h: Likewise.
5203 * debug/execinfo.h: Likewise.
5204 * debug/mbsnrtowcs_chk.c: Likewise.
5205 * debug/mbsrtowcs_chk.c: Likewise.
5206 * debug/wcsnrtombs_chk.c: Likewise.
5207 * debug/wcsrtombs_chk.c: Likewise.
5208 * debug/wcstombs_chk.c: Likewise.
5209 * dirent/dirent.h: Likewise.
5210 * dlfcn/dlfcn.h: Likewise.
5211 * elf/neededtest4.c: Likewise.
5212 * grp/grp.h: Likewise.
5213 * gshadow/gshadow.h: Likewise.
5214 * iconv/gconv.h: Likewise.
5215 * iconv/gconv_int.h: Likewise.
5216 * iconv/gconv_simple.c: Likewise.
5217 * iconv/iconv.h: Likewise.
5218 * iconv/loop.c: Likewise.
5219 * iconv/skeleton.c: Likewise.
5220 * include/aio.h: Likewise.
5221 * include/aliases.h: Likewise.
5222 * include/argz.h: Likewise.
5223 * include/arpa/inet.h: Likewise.
5224 * include/assert.h: Likewise.
5225 * include/dirent.h: Likewise.
5226 * include/dlfcn.h: Likewise.
5227 * include/execinfo.h: Likewise.
5228 * include/fcntl.h: Likewise.
5229 * include/fenv.h: Likewise.
5230 * include/glob.h: Likewise.
5231 * include/grp.h: Likewise.
5232 * include/libintl.h: Likewise.
5233 * include/mntent.h: Likewise.
5234 * include/netdb.h: Likewise.
5235 * include/pwd.h: Likewise.
5236 * include/rpc/netdb.h: Likewise.
5237 * include/sched.h: Likewise.
5238 * include/search.h: Likewise.
5239 * include/shadow.h: Likewise.
5240 * include/signal.h: Likewise.
5241 * include/stdio.h: Likewise.
5242 * include/stdlib.h: Likewise.
5243 * include/string.h: Likewise.
5244 * include/sys/socket.h: Likewise.
5245 * include/sys/stat.h: Likewise.
5246 * include/sys/statfs.h: Likewise.
5247 * include/sys/statvfs.h: Likewise.
5248 * include/sys/syslog.h: Likewise.
5249 * include/sys/time.h: Likewise.
5250 * include/sys/uio.h: Likewise.
5251 * include/time.h: Likewise.
5252 * include/unistd.h: Likewise.
5253 * include/utmp.h: Likewise.
5254 * include/wchar.h: Likewise.
5255 * include/wctype.h: Likewise.
5256 * inet/aliases.h: Likewise.
5257 * inet/arpa/inet.h: Likewise.
5258 * inet/netinet/ether.h: Likewise.
5259 * inet/netinet/in.h: Likewise.
5260 * intl/libintl.h: Likewise.
5261 * io/bits/fcntl2.h: Likewise.
5262 * io/fcntl.h: Likewise.
5263 * io/ftw.h: Likewise.
5264 * io/sys/poll.h: Likewise.
5265 * io/sys/stat.h: Likewise.
5266 * io/sys/statfs.h: Likewise.
5267 * io/sys/statvfs.h: Likewise.
5268 * io/utime.h: Likewise.
5269 * libio/bits/stdio.h: Likewise.
5270 * libio/bits/stdio2.h: Likewise.
5271 * libio/libio.h: Likewise.
5272 * libio/libioP.h: Likewise.
5273 * libio/stdio.h: Likewise.
5274 * locale/lc-ctype.c: Likewise.
5275 * locale/locale.h: Likewise.
5276 * login/utmp.h: Likewise.
5277 * malloc/arena.c: Likewise.
5278 * malloc/malloc.c: Likewise.
5279 * malloc/malloc.h: Likewise.
5280 * malloc/mcheck.c: Likewise.
5281 * malloc/mtrace.c: Likewise.
5282 * math/bits/mathcalls.h: Likewise.
5283 * math/fenv.h: Likewise.
5284 * math/math_private.h: Likewise.
5285 * misc/bits/error.h: Likewise.
5286 * misc/bits/syslog.h: Likewise.
5287 * misc/err.h: Likewise.
5288 * misc/error.h: Likewise.
5289 * misc/fstab.h: Likewise.
5290 * misc/mntent.h: Likewise.
5291 * misc/regexp.h: Likewise.
5292 * misc/search.h: Likewise.
5293 * misc/sgtty.h: Likewise.
5294 * misc/sys/mman.h: Likewise.
5295 * misc/sys/syslog.h: Likewise.
5296 * misc/sys/uio.h: Likewise.
5297 * misc/sys/xattr.h: Likewise.
5298 * misc/ttyent.h: Likewise.
5299 * nis/rpcsvc/ypclnt.h: Likewise.
5300 * nss/nss.h: Likewise.
5301 * posix/bits/unistd.h: Likewise.
5302 * posix/fnmatch.h: Likewise.
5303 * posix/glob.h: Likewise.
5304 * posix/sched.h: Likewise.
5305 * posix/spawn.h: Likewise.
5306 * posix/sys/wait.h: Likewise.
5307 * posix/unistd.h: Likewise.
5308 * posix/wordexp.h: Likewise.
5309 * pwd/pwd.h: Likewise.
5310 * resolv/netdb.h: Likewise.
5311 * resource/sys/resource.h: Likewise.
5312 * rt/aio.h: Likewise.
5313 * rt/bits/mqueue2.h: Likewise.
5314 * rt/mqueue.h: Likewise.
5315 * shadow/shadow.h: Likewise.
5316 * signal/signal.h: Likewise.
5317 * socket/send.c: Likewise.
5318 * socket/sendto.c: Likewise.
5319 * socket/sys/socket.h: Likewise.
5320 * stdio-common/printf.h: Likewise.
5321 * stdlib/bits/stdlib.h: Likewise.
5322 * stdlib/fmtmsg.h: Likewise.
5323 * stdlib/monetary.h: Likewise.
5324 * stdlib/stdlib.h: Likewise.
5325 * stdlib/ucontext.h: Likewise.
5326 * streams/stropts.h: Likewise.
5327 * string/argz.h: Likewise.
5328 * string/bits/string2.h: Likewise.
5329 * string/string.h: Likewise.
5330 * string/strings.h: Likewise.
5331 * sunrpc/rpc/auth.h: Likewise.
5332 * sunrpc/rpc/auth_des.h: Likewise.
5333 * sunrpc/rpc/clnt.h: Likewise.
5334 * sunrpc/rpc/netdb.h: Likewise.
5335 * sunrpc/rpc/pmap_clnt.h: Likewise.
5336 * sunrpc/rpc/xdr.h: Likewise.
5337 * sysdeps/generic/inttypes.h: Likewise.
5338 * sysdeps/generic/net/if.h: Likewise.
5339 * sysdeps/generic/sys/swap.h: Likewise.
5340 * sysdeps/gnu/net/if.h: Likewise.
5341 * sysdeps/gnu/utmpx.h: Likewise.
5342 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5343 * sysdeps/i386/i486/bits/string.h: Likewise.
5344 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5345 * sysdeps/s390/bits/string.h: Likewise.
5346 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5347 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5348 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5349 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5350 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5351 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5352 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5353 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5354 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5355 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5356 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5357 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5358 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5359 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5360 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5361 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5362 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5364 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5365 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5366 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5367 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5368 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5369 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5370 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5371 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5372 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5374 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5375 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5376 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5377 * sysvipc/sys/ipc.h: Likewise.
5378 * sysvipc/sys/msg.h: Likewise.
5379 * sysvipc/sys/sem.h: Likewise.
5380 * sysvipc/sys/shm.h: Likewise.
5381 * termios/termios.h: Likewise.
5382 * time/sys/time.h: Likewise.
5383 * time/time.h: Likewise.
5384 * wcsmbs/bits/wchar2.h: Likewise.
5385 * wcsmbs/uchar.h: Likewise.
5386 * wcsmbs/wchar.h: Likewise.
5387 * wctype/wctype.h: Likewise.
5388
0269750c
UD
5389 [BZ #13551]
5390 * Makeconfig: Remove all but ELF support including AIX support.
5391 * Makerules: Likewise.
5392 * config.h.in: Likewise.
5393 * config.make.in: Likewise.
5394 * configure: Likewise.
5395 * configure.in: Likewise.
5396 * csu/Makefile: Likewise.
5397 * csu/version.c: Likewise.
5398 * debug/Makefile: Likewise.
5399 * dlfcn/Makefile: Likewise.
5400 * elf/Makefile: Likewise.
5401 * extra-lib.mk: Likewise.
5402 * iconv/Makefile: Likewise.
5403 * include/libc-symbols.h: Likewise.
5404 * include/shlib-compat.h: Likewise.
5405 * resolv/Makefile: Likewise.
5406 * resolv/res_libc.c: Likewise.
5407 * rt/Makefile: Likewise.
5408 * sysdeps/i386/asm-syntax.h: Likewise.
5409 * sysdeps/i386/sysdep.h: Likewise.
5410 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5411 * sysdeps/mach/sysdep.h: Likewise.
5412 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5413 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5414 * sysdeps/s390/asm-syntax.h: Likewise.
5415 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5416 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5417 * sysdeps/sh/sysdep.h: Likewise.
5418 * sysdeps/unix/sparc/sysdep.h: Likewise.
5419 * sysdeps/wordsize-32/divdi3.c: Likewise.
5420 * sysdeps/x86_64/sysdep.h: Likewise.
5421
00bbd29b
UD
5422 * argp/Versions: Remove _argp_unlock_xxx.
5423
5424 [BZ #13559]
5425 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5426 * abilist/libBrokenLocale.abilist: Likewise.
5427 * abilist/libanl.abilist: Likewise.
5428 * abilist/libc.abilist: Likewise.
5429 * abilist/libcrypt.abilist: Likewise.
5430 * abilist/libdl.abilist: Likewise.
5431 * abilist/libm.abilist: Likewise.
5432 * abilist/libnsl.abilist: Likewise.
5433 * abilist/libpthread.abilist: Likewise.
5434 * abilist/libresolv.abilist: Likewise.
5435 * abilist/librt.abilist: Likewise.
5436 * abilist/libthread_db.abilist: Likewise.
5437 * abilist/libutil.abilist: Likewise.
5438 * abilist/libnss_db.abilist: New file.
5439
5440 * scripts/abilist.awk: Add support for indirect functions.
5441
a2693a0e
UD
5442 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5443
3f05895f
UD
5444 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5445
ecb6fb48
UD
5446 * shlib-versions: Remove entries for ports architectures.
5447
664f8cb9
UD
5448 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5449 files in ports.
5450 * elf/stackguard-macros.h: Remove support for IA-64.
5451 * elf/tst-auditmod1.c: Likewise.
5452 * sysdeps/generic/ldsodefs.h: Likewise.
5453
7ae81d88
UD
5454 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5455 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5456 configure files.
5457
bdeba135
UD
5458 [BZ #13552]
5459 * configure.in: Remove --enable-omitfp support.
5460 * FAQ.in: Adjust.
5461 * config.make.in: Likewise.
5462 * Makeconfig: Likewise.
5463 * manual/install.texi: Likewise.
5464
d75a0a62
UD
5465 In case anyone cares, the IA-64 architecture could move to ports.
5466 * sysdeps/ia64/*: Removed.
5467 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5468 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5469
dcc9756b
UD
5470 [BZ #13555]
5471 * configure.in: Remove entries for unsupported architectures.
5472
d3761ebc 5473 [BZ #13533]
9954432e
UD
5474 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5475 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5476 routines.
5477 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5478 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5479 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5480 fall back to using wcrtomb.
5481 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5482 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5483 renaming.
5484 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5485 * wcsmbs/tst-c16c32-1.c: New file.
5486
5487 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5488 local variable.
5489
c3a87236
UD
5490 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5491
28926a1b
UD
5492 * elf/tst-unique3.cc: Add explicit declaration of gets.
5493 * elf/tst-unique3lib.cc: Likewise.
5494 * elf/tst-unique3lib2.cc: Likewise.
5495 * elf/tst-unique4.cc: Likewise.
5496
df78418a
UD
5497 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5498
8ecd6b2a
JM
54992012-01-06 Joseph Myers <joseph@codesourcery.com>
5500
5501 [BZ #13566]
5502 * assert/assert.h (static_assert): Don't define for C++.
5503 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5504 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5505
9f115170
UD
55062012-01-03 Ulrich Drepper <drepper@gmail.com>
5507
5e0d0300
UD
5508 * iconv/loop.c (single loop): Fix assertion in storing of
5509 remaining bytes.
5510
9f115170
UD
5511 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5512
81fb02b0
UD
55132012-01-01 Ulrich Drepper <drepper@gmail.com>
5514
5515 * posix/getconf.c: Update copyright year.
5516 * nss/getent.c: Likewise.
a316c1f6 5517 * nss/makedb.c: Likewise.
81fb02b0
UD
5518 * iconv/iconvconfig.c: Likewise.
5519 * iconv/iconv_prog.c: Likewise.
5520 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5521 * elf/pldd.c: Likewise.
5522 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5523 * catgets/gencat.c: Likewise.
5524 * csu/version.c: Likewise.
5525 * elf/ldd.bash.in: Likewise.
5526 * elf/sprof.c (print_version): Likewise.
5527 * locale/programs/locale.c: Likewise.
5528 * locale/programs/localedef.c: Likewise.
a316c1f6 5529 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5530 * nscd/nscd.c (print_version): Likewise.
5531 * debug/xtrace.sh: Likewise.
5532 * malloc/memusage.sh: Likewise.
5533 * malloc/mtrace.pl: Likewise.
5534 * debug/catchsegv.sh: Likewise.
5535
2ba92745
JJ
55362011-12-30 Jakub Jelinek <jakub@redhat.com>
5537
5538 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5539 pure attribute.
5540
dadebdae
UD
55412011-12-24 Ulrich Drepper <drepper@gmail.com>
5542
d3761ebc 5543 [BZ #13533]
db6af3eb
UD
5544 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5545 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5546 transformations.
5547 * iconv/gconv_int.h: Likewise.
5548 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5549 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5550 from libc for GLIBC_2.16.
5551 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5552 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5553 * wcsmbs/uchar.h: Really define mbstate_t.
5554 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5555 * wcsmbs/c16rtomb.c: New file.
5556 * wcsmbs/mbrtoc16.c: New file.
5557 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5558 for C/POSIX locale.
5559 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5560 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5561
dadebdae
UD
5562 * wcsmbs/wchar.h: Add missing __restrict.
5563
67371b56
UD
55642011-12-23 Ulrich Drepper <drepper@gmail.com>
5565
74033a25
UD
5566 [BZ #13532]
5567 * time/Makefile (routines): Add timespec_get.
5568 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5569 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5570 timespec for ISO C11.
5571 * time/timespec_get.c: New file.
5572 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5573 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5574
380d7e87
UD
5575 [BZ #13531]
5576 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5577 * stdlib/stdlib.h: Declare aligned_alloc.
5578 * Versions.def: Add GLIBC_2.16 for libc.
5579 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5580
4e9e7a35
UD
5581 [BZ 13527]
5582 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5583 ISO C11.
5584
380d7e87 5585 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5586 code.
5587
03a71829
UD
5588 [BZ #13528]
5589 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5590
839e283e
UD
5591 [BZ #13529]
5592 * assert/assert.h (static_assert): Define.
5593
ce5294e2 5594 * version.h: Update for 2.16 development version.
90fa7312 5595
8d44e150 5596 [BZ #13526]
d7809905
UD
5597 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5598 _ISOC11_SOURCE.
5599
c0da14cd
UD
5600 * version.h (RELEASE): Bump for 2.15 release.
5601 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5602
530a3249
MP
5603 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5604 Patch by Marek Polacek <mpolacek@redhat.com>.
5605
67371b56
UD
5606 * bits/byteswap.h: Protect long long constants with __extension__.
5607 * sysdeps/i386/bits/byteswap.h: Likewise.
5608 * sysdeps/ia64/bits/byteswap.h: Likewise.
5609 * sysdeps/s390/bits/byteswap.h: Likewise.
5610 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5611
15db4de1
LD
56122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5613
5614 [BZ #13540]
bbe315ea
LD
5615 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5616 destination buffer.
15db4de1
LD
5617 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5618
2b2596b1
MP
56192011-12-23 Marek Polacek <polacek@redhat.com>
5620
5621 * elf/dl-addr.c (determine_info): Add inline keyword.
5622 * elf/tst-auditmod4b.c (check_avx): Likewise.
5623 * elf/tst-auditmod6b.c (check_avx): Likewise.
5624 * elf/tst-auditmod6c.c (check_avx): Likewise.
5625 * elf/tst-auditmod7b.c (check_avx): Likewise.
5626
70c6c246
UD
56272011-12-23 Ulrich Drepper <drepper@gmail.com>
5628
5629 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5630 !__SSE_MATH__.
5631
c044cf14
LD
56322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5633
15db4de1 5634 [BZ #13540]
c044cf14
LD
5635 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5636 processing for last bytes.
5637
6b13d9d9
BH
56382011-08-06 Bruno Haible <bruno@clisp.org>
5639
d455f537
BH
5640 [BZ #13061]
5641 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5642 U+0385, not to U+1FEE.
5643
6b13d9d9
BH
5644 [BZ #13062]
5645 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5646 entry for U+00A5 U+0301.
5647
db910efd
UD
56482011-12-22 Ulrich Drepper <drepper@gmail.com>
5649
27deeafc
UD
5650 [BZ #13166]
5651 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5652 buffer for the output is too small.
5653
aed9d171
UD
5654 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5655 optimization.
5656
db910efd
UD
5657 [BZ #13185]
5658 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5659 SSE flags if possible.
5660
2bd779ae
LD
56612011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5662
e7f9dac3 5663 [BZ #13540]
2bd779ae
LD
5664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5665 processing for last bytes.
5666
154bfc16
JM
56672011-12-22 Joseph Myers <joseph@codesourcery.com>
5668
5669 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5670 (syscall-list-default-options, syscall-list-default-condition)
5671 (syscall-list-includes): Define.
5672 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5673 list of ABIs and options and #if conditions for each ABI. Do not
5674 handle common syscalls between ABIs specially.
5675 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5676 Remove.
5677 (syscall-list-variants, syscall-list-32bit-options)
5678 (syscall-list-32bit-condition, syscall-list-64bit-options)
5679 (syscall-list-64bit-condition): Define.
5680 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5681 (syscall-list-variants, syscall-list-32bit-options)
5682 (syscall-list-32bit-condition, syscall-list-64bit-options)
5683 (syscall-list-64bit-condition): Define.
5684 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5685 Remove.
5686 (syscall-list-variants, syscall-list-32bit-options)
5687 (syscall-list-32bit-condition, syscall-list-64bit-options)
5688 (syscall-list-64bit-condition): Define.
5689 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5690 Remove.
5691 (syscall-list-variants, syscall-list-32bit-options)
5692 (syscall-list-32bit-condition, syscall-list-64bit-options)
5693 (syscall-list-64bit-condition): Define.
5694
21eaf3a5
UD
56952011-12-22 Ulrich Drepper <drepper@gmail.com>
5696
16c6f992
UD
5697 * locale/iso-639.def: Add brx entry.
5698
41043168
UD
5699 [BZ #13328]
5700 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5701 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5702
21eaf3a5
UD
5703 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5704 __feraiseexcept_renamed.
5705
e3a851a2
UD
57062011-12-21 Ulrich Drepper <drepper@gmail.com>
5707
4920765e
UD
5708 [BZ #13538]
5709 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5710 EPOLLET with unsigned values.
5711 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5712 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5713
e3a851a2
UD
5714 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5715 to large cancellation.
5716 * math/s_cacoshf.c: Likewise.
5717 * math/s_cacoshl.c: Likewise.
5718
b27e24b8
RK
57192011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5720
5721 [BZ #13305]
aebefeee 5722 [BZ #12786]
b27e24b8
RK
5723 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5724 * math/s_cacoshf.c: Likewise.
5725 * math/s_cacoshl.c: Likewise.
5726
ee190f67
UD
57272011-12-21 Ulrich Drepper <drepper@gmail.com>
5728
5729 [BZ #13439]
5730 * iconv/gconv.h: Define __GCONV_SWAP.
5731 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5732 * iconvdata/utf-16.c: Likewise.
5733 * iconvdata/utf-32.c: Likewise.
5734
707f25df
AS
57352011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5736
5737 [BZ #13524]
5738 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5739 numerator after shifting it by one limb.
5740
d2daaa1e
RÁE
57412011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5742
5743 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5744 under [__USE_EXTERN_INLINES].
5745
a4647e72
UD
57462011-12-17 Ulrich Drepper <drepper@gmail.com>
5747
5748 [BZ #13446]
5749 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5750
f0b264f1
AZ
57512011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5752
5753 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5754 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5755 optimized code.
5756 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5757 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5758 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5759 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5760 for strncasecmp/strncasecmp_l compilation.
5761 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5762 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5763
8ef4f244
MP
57642011-12-08 Marek Polacek <mpolacek@redhat.com>
5765
5766 [BZ #13484]
5767 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5768 of __asm__.
5769
97ac2654
UD
57702011-12-17 Ulrich Drepper <drepper@gmail.com>
5771
5772 [BZ #13506]
5773 * time/tzfile.c (__tzfile_read): Check values from file header.
5774
91d2a845
WS
57752011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5776
5777 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5778 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5779 * powerpc/powerpc32/dl-start.S: Likewise.
5780 * powerpc/powerpc32/elf/start.S: Likewise.
5781 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5782 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5783 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5784 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5785 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5786 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5787 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5788 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5789 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5790 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5791 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5792 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5793 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5794 * powerpc/powerpc32/memset.S: Likewise.
5795 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5796 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5797 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5798 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5799 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5800 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5801 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5802 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5803 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5804 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5805 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5806 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5807 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5808
a1267ba1
AZ
58092011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5810
5811 * math/libm-test.inc: Added more nearbyint tests.
5812 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5813 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5814 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5815 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5816
ad8ac1bd
RL
58172011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5818
5819 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5820 FD_CLOEXEC.
5821
1d3e4b61
UD
58222011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5823
5824 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5825 Add wcscpy-ssse3 wcscpy-c.
5826 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5827 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5828 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5829 * sysdeps/x86_64/wcschr.S: New file.
5830 * sysdeps/x86_64/wcsrchr.S: New file.
5831 * string/test-strcmp.c: Remove checking of wcscmp function for
5832 wrong alignments.
5833 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5834 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5835 wcsrchr-sse2 wcsrchr-c.
5836 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5837 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5838 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5839 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5840 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5841 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5842 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5843 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5844 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5845 * wcsmbc/wcschr.c (WCSCHR): New macro.
5846
5b330a2d
UD
58472011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5848
5849 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5850 * wcsmbs/test-wcsrchr.c: New file.
5851 * string/test-strrchr.c: Add wcsrchr support.
5852 (WIDE): New macro.
5853 * wcsmbs/test-wcscpy.c: New file.
5854 * string/test-strcpy.c: Add wcscpy support.
5855 (WIDE): New macro.
26428b7c 5856
f039c043
UD
58572011-12-10 Ulrich Drepper <drepper@gmail.com>
5858
5859 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5860 the inner loop.
5861
850fb039
AS
58622011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5863
5864 [BZ #13472]
5865 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5866
4efbd5cb
UD
58672011-12-04 Ulrich Drepper <drepper@gmail.com>
5868
52ff5dd0 5869 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5870 Minor optimizations.
52ff5dd0 5871
4efbd5cb
UD
5872 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5873 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5874 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5875
8a426e12
UD
58762011-12-03 Ulrich Drepper <drepper@gmail.com>
5877
aff2453d
UD
5878 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5879 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5880 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5881 for gcc to avoid warnings.
5882 * inet/Makefile (tests): Add tst-checks.
5883 * inet/tst-checks.c: New file.
5884
5885 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5886 warning.
5887
5888 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5889 __wmemcmp_sse2.
5890
5891 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5892 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5893
8a426e12
UD
5894 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5895
9bea3473
UD
58962011-12-02 Ulrich Drepper <drepper@gmail.com>
5897
3a965496
UD
5898 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5899 problem.
5900
9bea3473
UD
5901 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5902
f101631b
UD
59032011-11-29 Joseph Myers <joseph@codesourcery.com>
5904
5905 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5906 conditional on GCC version.
5907 (__arch_compare_and_exchange_val_8_acq)
5908 (__arch_compare_and_exchange_val_16_acq)
5909 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5910 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5911 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5912
a98275aa
UD
59132011-12-02 Joseph Myers <joseph@codesourcery.com>
5914
5915 * sysdeps/sh/backtrace.c: New file.
5916
d4cc29a2
AS
59172011-12-02 Andreas Schwab <schwab@redhat.com>
5918
5919 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5920 parenthesis.
5921
6257af2d
AS
59222011-12-01 Andreas Schwab <schwab@redhat.com>
5923
5924 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5925 falling back to utime.
5926
b5f44c1a
AS
59272011-11-30 Andreas Schwab <schwab@redhat.com>
5928
5929 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5930 expectations for float.
5931
f3a6cc0a
AS
59322011-11-29 Andreas Schwab <schwab@redhat.com>
5933
5934 * locale/weight.h (findidx): Add parameter len.
5935 * locale/weightwc.h (findidx): Likewise.
5936 * posix/fnmatch_loop.c (FCT): Adjust caller.
5937 * posix/regcomp.c (build_equiv_class): Likewise.
5938 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5939 * posix/regexec.c (check_node_accept_bytes): Likewise.
5940 * string/strcoll_l.c (STRCOLL): Likewise.
5941 * string/strxfrm_l.c (STRXFRM): Likewise.
5942
9d65ea3a
UD
59432011-11-17 Ulrich Drepper <drepper@gmail.com>
5944
5945 * Makefile.in: Remove CVSOPT handling.
5946 * configure.in: Remove use of AC_REVISION.
5947 * iconvdata/Makefile (distribute): No need to filter out CVS.
5948 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5949 handling.
5950
5583a086
AS
59512011-11-16 Andreas Schwab <schwab@redhat.com>
5952
5953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5954 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5955 [USE_AS_STRNCASECMP_L]: Likewise.
5956 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5957 NO_TLS_DIRECT_SEG_REFS.
5958 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5959 Fix argument offsets for non-PIC.
5960 [USE_AS_STRNCASECMP_L]: Likewise.
5961 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5962 NO_TLS_DIRECT_SEG_REFS.
5963
d62a8200
UD
59642011-11-15 Ulrich Drepper <drepper@gmail.com>
5965
9d65ea3a 5966 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5967 O_CLOEXEC.
5968 * locale/loadlocale.c (_nl_load_locale): Likewise.
5969
09f93bd3
AS
59702011-11-15 Andreas Schwab <schwab@redhat.com>
5971
446514f9
AS
5972 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5973 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5974 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5975 (SYSCALL_GETTIME): Set errno on error.
5976
09f93bd3
AS
5977 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5978 count references to noai6ai_cached.
5979
312be3f9
UD
59802011-11-15 Ulrich Drepper <drepper@gmail.com>
5981
5982 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5983
5984 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5985 FD_CLOEXEC for /proc/self/maps.
5986
5987 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5988 FD_CLOEXEC for /proc/meminfo.
5989
5990 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5991 gai.conf.
5992
5993 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5994 FD_CLOEXEC for given file.
5995
5996 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5997
5998 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5999 FD_CLOEXEC for /etc/hosts.
6000 (_gethtent): Likewise.
6001
6002 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6003
6004 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6005 cancellation and set FD_CLOEXEC for /etc/netgroup.
6006
6007 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6008 reading /etc/publickey.
6009
6010 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6011 allow cancellation when reading /etc/group.
6012
6013 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6014 cancellation.
6015 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6016
6017 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6018 when using data file.
6019
6020 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6021
6022 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6023 (write_nis_obj): Use "c" and "e" in fopen.
6024
6025 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6026
6027 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6028
6029 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6030
6031 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6032
6033 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6034 locale.alias.
6035
6036 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6037
6038 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6039
6040 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6041
6042 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6043 file parsing and set FD_CLOEXEC.
6044
82af0fa8
UD
60452011-11-14 Ulrich Drepper <drepper@gmail.com>
6046
6047 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6048
a5fb313c
AS
60492011-11-14 Andreas Schwab <schwab@redhat.com>
6050
6051 * malloc/arena.c (arena_get2): Don't call reused_arena when
6052 _int_new_arena failed.
6053
6abf3465
UD
60542011-11-14 Ulrich Drepper <drepper@gmail.com>
6055
6056 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6057 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6058 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6059 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6060 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6061 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6062 to compile strcasecmp and strncasecmp.
6063 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6064 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6065
6066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6067
76e3966e
UD
60682011-11-13 Ulrich Drepper <drepper@gmail.com>
6069
6070 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6071 locale-defines.sym to gen-as-const-headers.
6072 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6073 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6074 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6075 to compile strcasecmp and strncasecmp.
6076 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6077 strcasecmp_l and strncasecmp_l.
6078 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6079 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6080 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6081 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6082 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6083 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6084 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6085 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6086 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6087 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6088 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6089
ab26144e
UD
60902011-11-12 Ulrich Drepper <drepper@gmail.com>
6091
7edb22ef
UD
6092 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6093 result of SYSDEP_GETTIME_CPU to retval.
6094 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6095 parameter list to macro. Remove trailing semicolon. Adjust users.
6096
9694fc44
UD
6097 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6098 variable.
6099
8ad89ef8
UD
6100 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6101 mantissa words.
6102 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6103
0c822ef9
UD
6104 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6105 from unused variable.
6106
874e0564
UD
6107 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6108 DWARF definitions.
6109 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6110 for assembling.
6111
3a2edc79
UD
6112 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6113 over namespaces.
6114
f3c2577f
UD
6115 * sunrpc/rpc_prot.c (rejected): Fix case value.
6116
294ce126
UD
6117 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6118 unsigned long long int to avoid warnings in shift.
6119
5e2b63c6
UD
6120 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6121 of use of trans.
6122 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6123 variable tmp.
6124
e7f4b08e
UD
6125 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6126 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6127 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6128
ab26144e
UD
6129 * nis/nis_table.c (nis_list): Use variable of correct type for
6130 result of __follow_path call.
6131
8a6d5255
AZ
61322011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133
6134 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6135 of math functions ceil, trunc, floor, round, and sqrt, when
6136 avaliable on the platform.
6137 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6138 name clash.
6139 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6140 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6141 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6142
aaddc98c
MP
61432011-10-30 Marek Polacek <mpolacek@redhat.com>
6144
6145 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6146 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6147
95b7042b
RM
61482011-11-11 Roland McGrath <roland@hack.frob.com>
6149
6150 * include/unistd.h: Fix __readlink return type.
6151 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6152
57769839
UD
61532011-11-11 Ulrich Drepper <drepper@gmail.com>
6154
6155 * stdlib/ucontext.h: Undo last change for makecontext.
6156
edc5984d
AS
61572011-11-11 Andreas Schwab <schwab@redhat.com>
6158
98591e58
AS
6159 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6160
edc5984d
AS
6161 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6162 * setjmp/setjmp.h: Mark functions as non-leaf.
6163 * setjmp/bits/setjmp2.h: Likewise.
6164 * stdlib/ucontext.h: Likewise.
6165
77cdc054
AS
61662011-11-10 Andreas Schwab <schwab@redhat.com>
6167
6168 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6169 (reused_arena): Don't check arena limit.
6170 (arena_get2): Atomically check arena limit.
6171
fe72eebd
UD
61722011-11-08 Ulrich Drepper <drepper@gmail.com>
6173
5f078c32
UD
6174 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6175 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6176
fe72eebd
UD
6177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6178 instructions.
6179
ae1bc2fa
AS
61802011-11-07 Andreas Schwab <schwab@redhat.com>
6181
7583a88d
AS
6182 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6183 handler when locking.
6184
ae1bc2fa
AS
6185 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6186 Fix size of allocated buffer.
6187
10fb0bfa
AS
61882011-11-04 Andreas Schwab <schwab@redhat.com>
6189
998832a4
AS
6190 [BZ #10103]
6191 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6192 declarations for long double functions.
6193 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6194
10fb0bfa
AS
6195 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6196
3d7ba52b
AS
61972011-11-03 Andreas Schwab <schwab@redhat.com>
6198
a9ae54a1
AS
6199 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6200 installed.
6201
3d7ba52b
AS
6202 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6203 is disabled.
6204
bc8db248
ST
62052011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6206
6207 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6208
45b96dd6
AS
62092011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6210
647776f6
AS
6211 * include/alloca.h (stackinfo_alloca_round): Define.
6212 (extend_alloca): Use it.
6213 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6214 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6215 here.
6216
d91a8b93
AS
6217 * scripts/check-local-headers.sh: Ignore libaudit.h.
6218
45b96dd6
AS
6219 * nscd/Makefile (extra-objs): Make recursively expanded.
6220
432d41ce
UD
62212011-11-01 Ulrich Drepper <drepper@gmail.com>
6222
34372fc6
UD
6223 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6224 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6225
fadb59f8
UD
6226 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6227 * posix/tst-rfc3484-2.c: Likewise.
6228 * posix/tst-rfc3484-3.c: Likewise.
6229
78239589
UD
6230 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6231 process_vm_writev.
6232 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6233 process_vm_writev.
6234 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6235 process_vm_writev from libc using GLIBC_2.15 version.
6236
432d41ce
UD
6237 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6238
02f9c6cf
PP
62392011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6240
6241 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6242 stack usage.
6243
3a2c0242
UD
62442011-10-31 Ulrich Drepper <drepper@gmail.com>
6245
f4ec4833
UD
6246 [BZ #13367]
6247 * nss/getent.c (initgroups_keys): Show error message in case no group
6248 names are given.
6249
3a2c0242
UD
6250 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6251 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6252 __bump_nl_timestamp.
6253 * nscd/connections (nscd_init): When host database is served open
6254 netlink socket and request notification about configuration changes.
6255 (main_loop_poll): Track netlink file descriptor and bump timestamp
6256 in case data becomes available.
6257 (main_loop_epoll): Likewise.
6258 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6259 (database_pers_head): Add extra_data fileds.
6260 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6261 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6262 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6263 Adjust caller.
6264 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6265 in6ai data, call __free_in6ai.
6266 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6267 Add -DHAVE_NETLINK.
6268 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6269 interface information. Reuse previous data if netlink timestamp
6270 is not changed.
6271 (__bump_nl_timestamp): New function.
6272 (__free_in6ai): New function.
6273
636064eb
UD
62742011-10-30 Ulrich Drepper <drepper@gmail.com>
6275
6276 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6277 close_not_cancel_no_status here.
6278 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6279
9beb2334
UD
62802011-10-29 Ulrich Drepper <drepper@gmail.com>
6281
6ef76f3b
UD
6282 [BZ #13276]
6283 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6284 return value.
6285
0ffc4f3e 6286 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6287 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6288 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6289
cb95113e
UD
62902011-07-03 Andreas Jaeger <aj@suse.de>
6291
6292 [BZ #10709]
6293 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6294 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6295 * math/libm-test.inc (sin_test): Add test case.
6296
a1b560ff
UD
62972011-10-29 Ulrich Drepper <drepper@gmail.com>
6298
c9aaface
UD
6299 [BZ #13337]
6300 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6301 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6302
d272e7f1
UD
6303 * elf/chroot_canon.c (chroot_canon): Cleanups.
6304
1bc33071
UD
6305 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6306
1760874d
TJ
6307 [BZ #13335]
6308 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6309 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6310
51d91b18
UD
6311 * string/test-strchr.c: Make usable for strchrnul testing.
6312 * string/test-strchrnul.c: New file.
6313 * string/Makefile (strop-tests): Add strchrnul.
6314
a1b560ff 6315 * po/it.po: Update from translation team.
b611fb81 6316 * po/es.po: Likewise.
a1b560ff 6317
a5b81e1f
UD
63182011-10-28 Ulrich Drepper <drepper@gmail.com>
6319
fd52bc6d
UD
6320 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6321 the three constants needed as parameters. Drop the others.
6322 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6323 __m128i_strloadu_tolower.
52e4b9eb
UD
6324 Create and initialize variable zero and use it in all the places
6325 where _mm_setzero_si128 was used.
fd52bc6d 6326
a5b81e1f
UD
6327 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6328 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6329 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6330 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6331 anymore.
6332 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6333 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6334 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6335 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6336 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6337 __mpranred, __mptan.
6338 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6339 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6340 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6341 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6342 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6343 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6344 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6345 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6346 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6347
b4343346
AS
63482011-10-28 Andreas Schwab <schwab@redhat.com>
6349
0c92d8a8
AS
6350 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6351 redefine if SHARED.
6352 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6353
b4343346
AS
6354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6355 wide char related routines to wcsmbs subdir.
6356
3871f58f
AS
63572011-10-27 Andreas Schwab <schwab@redhat.com>
6358
6359 [BZ #13344]
6360 * misc/sys/cdefs.h (__THROWNL): Define.
6361 * posix/unistd.h: Use __THREADNL instead of __THREAD
6362 for memory synchronization functions.
6363
94d44d9f
RM
63642011-10-26 Roland McGrath <roland@hack.frob.com>
6365
21b64b15 6366 [BZ #13349]
94d44d9f
RM
6367 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6368 doesn't exist.
6369 * manual/stdio.texi (Obstack Streams): Node removed.
6370
f6ce9294
AS
63712011-10-26 Andreas Schwab <schwab@redhat.com>
6372
80479147
AS
6373 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6374 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6375 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6376
f6ce9294
AS
6377 * math/math_private.h (math_force_eval): Allow non-addressable
6378 arguments.
6379 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6380
618280a1
UD
63812011-10-25 Ulrich Drepper <drepper@gmail.com>
6382
e0016b11
UD
6383 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6384 file is not needed.
6385
6386 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6387 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6388 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6389 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6390 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6391 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6392 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6393 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6394 Add AVX variants.
6395 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6396 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6397 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6398 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6399 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6400 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6401 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6402 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6403 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6404 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6405 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6406 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6408 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6409 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6410 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6411 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6412 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6413 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6414
6415 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6416 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6417
618280a1
UD
6418 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6419 place. Use VEX encoding when compiling for AVX.
6420
37822576
AS
64212011-10-25 Andreas Schwab <schwab@redhat.com>
6422
1f1e1947
AS
6423 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6424 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6425
37822576
AS
6426 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6427
31ea014d
UD
64282011-10-25 Ulrich Drepper <drepper@gmail.com>
6429
d7826aa1 6430 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6431 useless if() expression.
d7826aa1
UD
6432 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6441 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6442 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6443 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6444 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6445 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6446 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6447 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6448 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6450 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6451
31ea014d
UD
6452 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6453
16437fec
AS
64542011-10-25 Andreas Schwab <schwab@redhat.com>
6455
6456 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6457 condition.
6458 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6459
31d3cc00
UD
64602011-10-25 Ulrich Drepper <drepper@gmail.com>
6461
6462 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6463 .text section. Avoid duplicate constants.
6464 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6474 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6476 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6479 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6481 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6487 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6488 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6489 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6490 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6491 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6492 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6493 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6494 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6495 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6497 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6498 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6499 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6500 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6501 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6502 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6503 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6504 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6505 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6506 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6507 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6508 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6509
58985aa9
UD
65102011-10-24 Ulrich Drepper <drepper@gmail.com>
6511
202c9deb
UD
6512 * sysdeps/x86_64/dla.h: Move to ...
6513 * sysdeps/x86_64/fpu/dla.h: ...here.
6514 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6515 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6516
af968f62
UD
6517 * config.make.in: Add have-mfma4 entry.
6518 * configure.in: Substitute libc_cv_cc_fma4.
6519 * math/Makefile (dbl-only-routines): Add sincostab.
6520 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6521 Use __sincostab not sincos.
6522 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6523 name is a macro.
6524 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6528 using __copysign.
6529 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6530 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6531 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6532 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6533 and __inv.
6534 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6535 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6536 __copysign.
6537 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6538 define aliases when function name is a macro.
6539 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6540 sysdeps/ieee754/dbl-64/sincos.tbl.
6541 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6542 fma4-enabled routines.
6543 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6544 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6545 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6546 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6547 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6548 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6549 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6550 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6551 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6552 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6553 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6554 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6555 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6556 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6557 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6558 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6559 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6560 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6561 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6562 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6563 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6564 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6565 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6566 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6568 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6569 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6570 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6571 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6572 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6573
58985aa9
UD
6574 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6575 rename.
6576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6584
a201fbcf
AS
65852011-10-24 Andreas Schwab <schwab@redhat.com>
6586
6587 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6588
fc2ee42a
LD
65892011-10-23 Ulrich Drepper <drepper@gmail.com>
6590
bb3129bd
UD
6591 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6592
0275fff8
UD
6593 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6594 prediction.
6595 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6596
2fa2ae85
UD
6597 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6598 Remove unused variable magic_bits.
6599 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6600
fc2ee42a
LD
6601 * string/strnlen.c: Define and use STRNLEN macro.
6602 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6603 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6604 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6605 * wcsmbs/wcslen.c: Define and use WCSLEN.
6606 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6607 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6608 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6609 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6610 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6611 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6612 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6613
ce7dd29f
LD
66142011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6615
6616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6617 strnlen-sse2-no-bsf.
6618 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6620 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6621 Add strnlen support.
6622 (USE_AS_STRNLEN): New macro.
6623 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6624 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6625 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6626 * sysdeps/x86_64/wcslen.S: New file.
6627
979c70a3
MZ
66282011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6629
6630 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6631 XMM-moves are used for copying on small sizes.
6632
2d09f82f
LD
66332011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6634
6635 * wcsmbs/Makefile (strop-tests): Add wcschr.
6636 * wcsmbs/test-wcschr.c: New file.
6637 * string/test-strchr.c: Update.
6638 Add wcschr support.
6639 (WIDE): New macro.
6640
619fccca
LD
66412011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6642
2d09f82f 6643 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6644 * wcsmbs/test-wcslen.c: New file.
6645 * string/test-strlen.c: Update.
6646 Add wcslen support.
6647 (WIDE): New macro.
6648
09f699ea
UD
66492011-10-23 Ulrich Drepper <drepper@gmail.com>
6650
6651 * po/it.po: Update from translation team.
6652
95584d3b
LD
66532011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6654
6655 * sysdeps/x86_64/wcscmp.S: Update.
6656 Fix wrong comparison semantics.
6657 wcscmp shall use signed comparison not unsigned.
6658 Don't use substraction to avoid overflow bug.
6659 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6660 * wcsmbc/wcscmp.c: Likewise.
6661 * string/test-strcmp.c: Likewise.
6662 Add new tests to check cases with negative values.
6663
c8b3296b
UD
66642011-10-23 Ulrich Drepper <drepper@gmail.com>
6665
6666 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6667 * sysdeps/x86_64/dla.h: ...here. New file.
6668 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6669 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6677
246ad57a
AS
66782011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6679
6680 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6681 __ynl_finite aliases.
6682
a1a87169
UD
66832011-10-22 Ulrich Drepper <drepper@gmail.com>
6684
0d355eb7
UD
6685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6686
a1a87169
UD
6687 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6688 define DLA_FMA.
6689 [DLA_FMA] (EMULV): Use DLA_FMA.
6690 [DLA_FMA] (MUL12): Use EMULV.
6691 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6692 that are not needed.
6693 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6695 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6697 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6698 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6700
ee2aafe0
AS
67012011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6702
6703 * math/s_nan.c: Undef __nan.
6704 * math/s_nanf.c: Undef __nanf.
6705 * math/s_nanl.c: Undef __nanl.
6706 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6707 "math_private.h".
6708
bc62c2fb
UD
67092011-10-22 Ulrich Drepper <drepper@gmail.com>
6710
77425c63
UD
6711 * math/s_catan.c: Add branch predictions.
6712 * math/s_catanf.c: Likewise.
6713 * math/s_catanh.c: Likewise.
6714 * math/s_catanhf.c: Likewise.
6715 * math/s_catanhl.c: Likewise.
6716 * math/s_catanl.c: Likewise.
6717 * math/s_cexp.c: Likewise.
6718 * math/s_cexpf.c: Likewise.
6719 * math/s_cexpl.c: Likewise.
6720 * math/s_clog.c: Likewise.
6721 * math/s_clog10.c: Likewise.
6722 * math/s_clog10f.c: Likewise.
6723 * math/s_clog10l.c: Likewise.
6724 * math/s_clogf.c: Likewise.
6725 * math/s_clogl.c: Likewise.
6726 * math/s_csqrt.c: Likewise.
6727 * math/s_csqrtf.c: Likewise.
6728 * math/s_csqrtl.c: Likewise.
6729 * math/s_ctanf.c: Likewise.
6730 * math/s_ctanh.c: Likewise.
6731 * math/s_ctanhf.c: Likewise.
6732 * math/s_ctanhl.c: Likewise.
6733 * math/s_ctanl.c: Likewise.
6734
bc62c2fb
UD
6735 * math/math_private.h: Define __nan, __nanf, __nanl.
6736 * math/s_cacosh.c: Include <math_private.h>.
6737 * math/s_cacoshl.c: Likewise.
6738 * math/s_casinh.c: Likewise.
6739 * math/s_casinhf.c: Likewise.
6740 * math/s_casinhl.c: Likewise.
6741 * math/s_ccos.c: Rely entire on ccosh.
6742 * math/s_ccosf.c: Rely entire on ccoshf.
6743 * math/s_ccosl.c: Rely entirely on ccoshl.
6744 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6745 Remove tests for FE_INVALID.
6746 * math/s_ccoshf.c: Likewise.
6747 * math/s_ccoshl.c: Likewise.
6748 * math/s_csin.c: Likewise.
6749 * math/s_csinf.c: Likewise.
6750 * math/s_csinh.c Likewise.
6751 * math/s_csinhf.c: Likewise.
6752 * math/s_csinhl.c: Likewise.
6753 * math/s_csinl.c: Likewise.
6754 * math/s_ctan.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6756 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6757 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6758
8ec250a4
UD
67592011-10-21 Ulrich Drepper <drepper@gmail.com>
6760
c196fed8
UD
6761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6762 compilation problems.
6763
8ec250a4
UD
6764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6765 __builtin_expect.
6766
8d4f46c6
UD
67672011-10-20 Ulrich Drepper <drepper@gmail.com>
6768
ed72b654
UD
6769 * sysdeps/i386/configure.in: Test for -mfma4 option.
6770 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6771 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6772 COMMON_CPUID_INDEX_80000001.
6773 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6774 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6775 use it if FMA3 is not supported.
6776 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6777
8d4f46c6
UD
6778 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6779 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6780
d45c60c2
AS
67812011-10-20 Andreas Schwab <schwab@redhat.com>
6782
6783 [BZ #12892]
6784 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6785 it would create a cycle with a link time dependency.
6786
d9a4d2ab
UD
67872011-10-19 Ulrich Drepper <drepper@gmail.com>
6788
855d1560
UD
6789 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6790 instruction.
6791 * string/Makefile (strop-tests): Add rawmemchr.
6792 * string/test-rawmemchr.c: New file.
6793
d9a4d2ab
UD
6794 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6795 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6796 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6797 when compiling str{,n}casecmp and when AVX is available. Hook up
6798 new optimized code in initializers.
6799
8f3b1ffe
AS
68002011-10-19 Andreas Schwab <schwab@redhat.com>
6801
6802 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6803 __feraiseexcept instead of feraiseexcept.
6804
d38f1dba
UD
68052011-10-18 Ulrich Drepper <drepper@gmail.com>
6806
d9a8d0ab
UD
6807 * math/math_private.h: Define defaults for libc_fetestexcept and
6808 libc_feupdateenv.
6809 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6810 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6811 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6812 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6813 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6814 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6815 libc_fetestexcept and libc_feupdateenv.
6816
4855e3dd
UD
6817 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6818 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6819 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6820 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6821 libc_feholdexcept_setround.
6822
581d30e3
UD
6823 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6824 Add s_nearbyint-c and s_nearbyintf-c.
6825 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6826 nearbyintf inlines.
6827 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6828 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6829 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6830 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6831
d38f1dba
UD
6832 * math/math_private.h: Define defaults for libc_fegetround,
6833 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6834 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6835 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6836 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6837 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6838 standard functions.
6839 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6840 Remove comments and hacks for old compiler versions.
6841 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6842 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6843 libc_feholdexceptl.
6844
caa6c9d8
AS
68452011-10-18 Andreas Schwab <schwab@redhat.com>
6846
6847 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6848 (__feraiseexcept_renamed): Add __NTH.
6849 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6850 namespace violations.
6851
97c066e6
UD
68522011-10-17 Ulrich Drepper <drepper@gmail.com>
6853
99ce7b04
UD
6854 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6855
1004d182
UD
6856 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6857
228a984d
UD
6858 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6859 recently added interfaces.
6860 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6861
c8553a6a
UD
6862 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6863 about macro parameter expansion.
6864
ed22dcf6
UD
6865 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6866 __NO_MATH_INLINES is defined. Cleanups.
6867
6868 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6869 and __floorf is target has SSE4.1.
6870 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6871 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6872 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6873 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6874
b171c137
UD
6875 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6876 name.
6877 (floorf): Likewise.
6878
97c066e6
UD
6879 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6880
629f62ef
AS
68812011-10-17 Andreas Schwab <schwab@redhat.com>
6882
49a43d80
AS
6883 * misc/sys/cdefs.h: Fix last change.
6884
629f62ef
AS
6885 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6886 database lookup.
6887
e453f6cd
UD
68882011-10-16 Ulrich Drepper <drepper@gmail.com>
6889
aa78043a
UD
6890 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6891
ad0f5cad
UD
6892 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6893 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6894 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6898 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6899 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6900 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6901 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6902 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6903 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6904 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6905 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6906 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6907 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6908 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6909 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6910 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6911 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6912 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6913 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6914
6915 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6916 ceil, ceilf, floor, floorf.
6917
6918 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6919 Perform IRELATIVE relocations last.
6920
e453f6cd
UD
6921 * elf/do-rel.h: Add another parameter nrelative, replacing the
6922 local variable with the same name. Change name of the function
6923 to end in Rel or Rela (uppercase).
6924 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6925 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6926 elf_dynamic_do_##reloc function.
6927
fd5bdc09
UD
69282011-10-15 Ulrich Drepper <drepper@gmail.com>
6929
79b195b5
UD
6930 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6931 is sufficient, at least on modern CPUs.
6932
d4a28569
UD
6933 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6934
b61099b5
UD
6935 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6936 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6937
bcf01e6d
UD
6938 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6939 __expl_finite.
6940 * math/bits/math-finite.h: Add entries for exp.
6941 * math/e_expl.c: Add __*_finite alias.
6942 * sysdeps/i386/fpu/e_exp.S: Likewise.
6943 * sysdeps/i386/fpu/e_expf.S: Likewise.
6944 * sysdeps/i386/fpu/e_expl.c: Likewise.
6945 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6946 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6949 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6950 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6951 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6952
ba1a0d59
UD
6953 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6954 is sufficient, at least on modern CPUs.
6955
fd5bdc09
UD
6956 * ctype/ctype-info.c (__ctype_init): Define.
6957 * include/ctype.h (__ctype_init): Declare.
6958 (__ctype_b_loc): The variable is always initialized.
6959 (__ctype_toupper_loc): Likewise.
6960 (__ctype_tolower_loc): Likewise.
6961 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6962 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6963
7872cfb0
AS
69642011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6965
b468825a
AS
6966 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6967
7872cfb0
AS
6968 * configure.in: Also look in $cxxmachine/include for C++ system
6969 headers.
6970
be13f7bf
LD
69712011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6972
6973 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6974 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6975 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6976 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6977 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6978 (USE_AS_WMEMCMP): New macro.
6979 Fixing indents.
6980 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6981 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6982 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6983 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6985 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6986 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6987 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6988 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6989 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6990 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6991 (USE_AS_WMEMCMP): New macro.
6992 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6993 * sysdeps/string/test-memcmp.c: Update.
6994 Fix simple_wmemcmp.
6995 Add new tests.
6996 * wcsmbs/wmemcmp.c: Update.
6997 (WMEMCMP): New macro.
6998 Fix overflow bug.
6999
556a2007
AJ
70002011-10-12 Andreas Jaeger <aj@suse.de>
7001
7002 [BZ #13268]
7003 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7004
538faaa7
UD
70052011-10-15 Ulrich Drepper <drepper@gmail.com>
7006
ab6737ff
UD
7007 * libio/iofwide.c (do_length): Avoid warning.
7008
538faaa7
UD
7009 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7010
396a21b1
UD
70112011-10-14 Ulrich Drepper <drepper@gmail.com>
7012
cdf2901f
UD
7013 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7014
38ad40ce
UD
7015 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7016 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7017 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7018 * sysdeps/i386/i686/fpu/e_log.S: New file.
7019 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7020 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7021
396a21b1
UD
7022 * ctype/ctype.h: Add support for inlined isXXX functions when
7023 compiling C++ code.
7024
6b1f68c9
AS
70252011-10-14 Andreas Schwab <schwab@redhat.com>
7026
349290c0
AS
7027 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7028
6b1f68c9
AS
7029 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7030
f2282d42
RM
70312011-10-13 Roland McGrath <roland@hack.frob.com>
7032
7033 [BZ #13291]
7034 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7035
5298ffa8
AS
70362011-10-13 Andreas Schwab <schwab@redhat.com>
7037
714fad23
AS
7038 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7039 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7040 feraiseexcept.
7041
81dcc7fb
AS
7042 * sysdeps/x86_64/memrchr.S: Check for zero size.
7043
5298ffa8
AS
7044 * string/stratcliff.c: Add memrchr tests.
7045
951fbcec
LD
70462011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7047
7048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7049 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7050 rawmemchr-sse2 rawmemchr-sse2-bsf.
7051 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7052 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7053 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7054 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7055 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7056 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7057 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7058 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7059 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7060 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7061 * string/memrchr.c (MEMRCHR): New macro.
7062
0ac5ae23
UD
70632011-10-12 Ulrich Drepper <drepper@gmail.com>
7064
7065 Add integration with gcc's -ffinite-math-only and optimize wrapper
7066 functions in libm.
7067 * Versions.def: Define GLIBC_2.15 version for libm.
7068 * math/Makefile (headers): Add bits/math-finite.h.
7069 * math/bits/math-finite.h: New file.
7070 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7071 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7072 * math/e_acoshl.c: Add __*_finite alias.
7073 * math/e_acosl.c: Likewise.
7074 * math/e_asinl.c: Likewise.
7075 * math/e_atan2l.c: Likewise.
7076 * math/e_atanhl.c: Likewise.
7077 * math/e_coshl.c: Likewise.
7078 * math/e_exp10.c: Likewise.
7079 * math/e_exp10f.c: Likewise.
7080 * math/e_exp10l.c: Likewise.
7081 * math/e_exp2l.c: Likewise.
7082 * math/e_fmodl.c: Likewise.
7083 * math/e_gammal_r.c: Likewise.
7084 * math/e_hypotl.c: Likewise.
7085 * math/e_j0l.c: Likewise.
7086 * math/e_j1l.c: Likewise.
7087 * math/e_jnl.c: Likewise.
7088 * math/e_lgammal_r.c: Likewise.
7089 * math/e_log10l.c: Likewise.
7090 * math/e_log2l.c: Likewise.
7091 * math/e_logl.c: Likewise.
7092 * math/e_powl.c: Likewise.
7093 * math/e_sinhl.c: Likewise.
7094 * math/e_sqrtl.c: Likewise.
7095 * math/e_scalb.c: Completely rewritten and optimized.
7096 * math/e_scalbf.c: Likewise.
7097 * math/e_scalbl.c: Likewise.
7098 * math/w_acos.c: Likewise.
7099 * math/w_acosf.c: Likewise.
7100 * math/w_acosl.c: Likewise.
7101 * math/w_acosh.c: Likewise.
7102 * math/w_acoshf.c: Likewise.
7103 * math/w_acoshl.c: Likewise.
7104 * math/w_asin.c: Likewise.
7105 * math/w_asinf.c: Likewise.
7106 * math/w_asinl.c: Likewise.
7107 * math/w_atan2.c: Likewise.
7108 * math/w_atan2f.c: Likewise.
7109 * math/w_atan2l.c: Likewise.
7110 * math/w_atanh.c: Likewise.
7111 * math/w_atanhf.c: Likewise.
7112 * math/w_atanhl.c: Likewise.
7113 * math/w_exp10.c: Likewise.
7114 * math/w_exp10f.c: Likewise.
7115 * math/w_exp10l.c: Likewise.
7116 * math/w_fmod.c: Likewise.
7117 * math/w_fmodf.c: Likewise.
7118 * math/w_fmodl.c: Likewise.
7119 * math/w_j0.c: Likewise.
7120 * math/w_j0f.c: Likewise.
7121 * math/w_j0l.c: Likewise.
7122 * math/w_j1.c: Likewise.
7123 * math/w_j1f.c: Likewise.
7124 * math/w_j1l.c: Likewise.
7125 * math/w_jn.c: Likewise.
7126 * math/w_jnf.c: Likewise.
7127 * math/w_log.c: Likewise.
7128 * math/w_logf.c: Likewise.
7129 * math/w_logl.c: Likewise.
7130 * math/w_log10.c: Likewise.
7131 * math/w_log10f.c: Likewise.
7132 * math/w_log10l.c: Likewise.
7133 * math/w_log2.c: Likewise.
7134 * math/w_log2f.c: Likewise.
7135 * math/w_log2l.c: Likewise.
7136 * math/w_pow.c: Likewise.
7137 * math/w_powf.c: Likewise.
7138 * math/w_powl.c: Likewise.
7139 * math/w_remainder.c: Likewise.
7140 * math/w_remainderf.c: Likewise.
7141 * math/w_remainderl.c: Likewise.
7142 * math/w_scalb.c: Likewise.
7143 * math/w_scalbf.c: Likewise.
7144 * math/w_scalbl.c: Likewise.
7145 * math/w_sqrt.c: Likewise.
7146 * math/w_sqrtf.c: Likewise.
7147 * math/w_sqrtl.c: Likewise.
7148 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7149 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7150 used.
7151 * math/math_private.h: Declare __kernel_standard_f.
7152 * math/w_cosh.c: Remove cruft and optimize a bit.
7153 * math/w_coshf.c: Likewise.
7154 * math/w_coshl.c: Likewise.
7155 * math/w_exp2.c: Likewise.
7156 * math/w_exp2f.c: Likewise.
7157 * math/w_exp2l.c: Likewise.
7158 * math/w_hypot.c: Likewise.
7159 * math/w_hypotf.c: Likewise.
7160 * math/w_hypotl.c: Likewise.
7161 * math/w_lgamma.c: Likewise.
7162 * math/w_lgamma_r.c: Likewise.
7163 * math/w_lgammaf.c: Likewise.
7164 * math/w_lgammaf_r.c: Likewise.
7165 * math/w_lgammal.c: Likewise.
7166 * math/w_lgammal_r.c: Likewise.
7167 * math/w_sinh.c: Likewise.
7168 * math/w_sinhf.c: Likewise.
7169 * math/w_sinhl.c: Likewise.
7170 * math/w_tgamma.c: Likewise.
7171 * math/w_tgammaf.c: Likewise.
7172 * math/w_tgammal.c: Likewise.
7173 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7174 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7175 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7176 Minor optimizations. Pretty printing. Remove cruft.
7177 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7178 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7179 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7180 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7181 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7182 * sysdeps/i386/fpu/e_asin.S: Likewise.
7183 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7184 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7185 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7186 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7187 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7188 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7189 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7190 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7191 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7192 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7193 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7194 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7195 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7196 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7197 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7198 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7199 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7200 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7201 * sysdeps/i386/fpu/e_log.S: Likewise.
7202 * sysdeps/i386/fpu/e_log10.S: Likewise.
7203 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7204 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7205 * sysdeps/i386/fpu/e_log2.S: Likewise.
7206 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7207 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7208 * sysdeps/i386/fpu/e_logf.S: Likewise.
7209 * sysdeps/i386/fpu/e_logl.S: Likewise.
7210 * sysdeps/i386/fpu/e_pow.S: Likewise.
7211 * sysdeps/i386/fpu/e_powf.S: Likewise.
7212 * sysdeps/i386/fpu/e_powl.S: Likewise.
7213 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7214 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7215 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7216 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7217 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7218 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7219 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7220 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7221 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7223 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7225 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7228 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7230 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7231 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7236 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7238 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7239 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7240 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7242 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7243 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7244 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7245 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7246 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7247 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7248 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7249 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7250 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7251 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7252 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7253 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7256 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7257 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7258 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7259 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7260 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7261 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7262 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7263 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7302 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7305 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7307 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7308 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7310 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7313 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7314 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7315 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7316 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7317 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7318 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7319 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7320 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7321 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7322 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7323 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7324 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7325 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7326 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7327 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7328 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7330 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7331 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7332 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7333 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7334 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7335 (__isnanf): Likewise.
7336 (__isinf_ns): Likewise.
7337 (__isinf_nsf): Likewise.
7338 (__finite): Likewise.
7339 (__finitef): Likewise.
7340 (__ieee754_sqrt): Define as macro.
7341 (__ieee754_sqrtf): Define as macro.
7342 (__ieee754_sqrtl): Define as macro.
7343 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7344 inlined copy.
7345 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7346 __FINITE_MATH_ONLY__ consistent.
7347 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7348
12cc2fcd
AS
73492011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7350
a843a204
AS
7351 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7352 of rawmemchr.
7353
12cc2fcd
AS
7354 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7355
c853acd5
UD
73562011-10-09 Ulrich Drepper <drepper@gmail.com>
7357
7358 * po/ja.po: Update from translation team.
7359
c658d255
RM
73602011-10-08 Roland McGrath <roland@hack.frob.com>
7361
110946e4
RM
7362 * locale/programs/locarchive.c (prepare_address_space): New function.
7363 (create_archive, enlarge_archive, open_archive): Use it.
7364
50604220
RM
7365 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7366 inside [SHARED], where it is used.
7367
c658d255
RM
7368 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7369
7370 * nss/getent.c (netgroup_keys): Remove unused variable.
7371 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7372
6a621eb7
UD
73732011-10-08 Ulrich Drepper <drepper@gmail.com>
7374
7edb55ce
UD
7375 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7376 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7378 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7379 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7380 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7381 * math/Makefile (libm-calls): Add s_isinf_ns.
7382 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7383 * math/multc3.c: Likewise.
7384 * math/s_casin.c: Likewise.
7385 * math/s_casinf.c: Likewise.
7386 * math/s_casinl.c: Likewise.
7387 * math/s_ccos.c: Likewise.
7388 * math/s_ccosf.c: Likewise.
7389 * math/s_ccosl.c: Likewise.
7390 * math/s_ctan.c: Likewise.
7391 * math/s_ctanf.c: Likewise.
7392 * math/s_ctanh.c: Likewise.
7393 * math/s_ctanhf.c: Likewise.
7394 * math/s_ctanhl.c: Likewise.
7395 * math/s_ctanl.c: Likewise.
7396 * math/w_fmod.c: Likewise.
7397 * math/w_fmodf.c: Likewise.
7398 * math/w_fmodl.c: Likewise.
7399 * math/w_remainder.c: Likewise.
7400 * math/w_remainderf.c: Likewise.
7401 * math/w_remainderl.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7403 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7404 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7405 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7406 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7407 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7408 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7409 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7410
187da0ae
UD
7411 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7412 of the number.
7413 * stdio-common/printf_fphex.c: Likewise.
7414 * stdio-common/printf_size.c: Likewise.
7415
9277c064
UD
7416 * math/e_exp10.c: Include math_private.h using <...> not "...".
7417 * math/e_exp10f.c: Likewise.
7418 * math/e_exp10l.c: Likewise.
7419 * math/e_exp2l.c: Likewise.
7420 * math/e_j0l.c: Likewise.
7421 * math/e_j1l.c: Likewise.
7422 * math/e_jnl.c: Likewise.
7423 * math/e_lgammal_r.c: Likewise.
7424 * math/e_rem_pio2l.c: Likewise.
7425 * math/e_scalb.c: Likewise.
7426 * math/e_scalbf.c: Likewise.
7427 * math/e_scalbl.c: Likewise.
7428 * math/k_cosl.c: Likewise.
7429 * math/k_sinl.c: Likewise.
7430 * math/k_tanl.c: Likewise.
7431 * math/s_cacoshf.c: Likewise.
7432 * math/s_catan.c: Likewise.
7433 * math/s_catanf.c: Likewise.
7434 * math/s_catanh.c: Likewise.
7435 * math/s_catanhf.c: Likewise.
7436 * math/s_catanhl.c: Likewise.
7437 * math/s_catanl.c: Likewise.
7438 * math/s_ccosh.c: Likewise.
7439 * math/s_ccoshf.c: Likewise.
7440 * math/s_ccoshl.c: Likewise.
7441 * math/s_cexp.c: Likewise.
7442 * math/s_cexpf.c: Likewise.
7443 * math/s_cexpl.c: Likewise.
7444 * math/s_clog.c: Likewise.
7445 * math/s_clog10.c: Likewise.
7446 * math/s_clog10f.c: Likewise.
7447 * math/s_clog10l.c: Likewise.
7448 * math/s_clogf.c: Likewise.
7449 * math/s_clogl.c: Likewise.
7450 * math/s_csin.c: Likewise.
7451 * math/s_csinf.c: Likewise.
7452 * math/s_csinh.c: Likewise.
7453 * math/s_csinhf.c: Likewise.
7454 * math/s_csinhl.c: Likewise.
7455 * math/s_csinl.c: Likewise.
7456 * math/s_csqrt.c: Likewise.
7457 * math/s_csqrtf.c: Likewise.
7458 * math/s_csqrtl.c: Likewise.
7459 * math/s_ctan.c: Likewise.
7460 * math/s_ctanf.c: Likewise.
7461 * math/s_ctanh.c: Likewise.
7462 * math/s_ctanhf.c: Likewise.
7463 * math/s_ctanhl.c: Likewise.
7464 * math/s_ctanl.c: Likewise.
7465 * math/s_ldexp.c: Likewise.
7466 * math/s_ldexpf.c: Likewise.
7467 * math/s_ldexpl.c: Likewise.
7468 * math/s_significand.c: Likewise.
7469 * math/s_significandf.c: Likewise.
7470 * math/s_significandl.c: Likewise.
7471 * math/w_acos.c: Likewise.
7472 * math/w_acosf.c: Likewise.
7473 * math/w_acosh.c: Likewise.
7474 * math/w_acoshf.c: Likewise.
7475 * math/w_acoshl.c: Likewise.
7476 * math/w_acosl.c: Likewise.
7477 * math/w_asin.c: Likewise.
7478 * math/w_asinf.c: Likewise.
7479 * math/w_asinl.c: Likewise.
7480 * math/w_atan2.c: Likewise.
7481 * math/w_atan2f.c: Likewise.
7482 * math/w_atan2l.c: Likewise.
7483 * math/w_atanh.c: Likewise.
7484 * math/w_atanhf.c: Likewise.
7485 * math/w_atanhl.c: Likewise.
7486 * math/w_cosh.c: Likewise.
7487 * math/w_coshf.c: Likewise.
7488 * math/w_coshl.c: Likewise.
7489 * math/w_dremf.c: Likewise.
7490 * math/w_exp10.c: Likewise.
7491 * math/w_exp10f.c: Likewise.
7492 * math/w_exp10l.c: Likewise.
7493 * math/w_exp2.c: Likewise.
7494 * math/w_exp2f.c: Likewise.
7495 * math/w_fmod.c: Likewise.
7496 * math/w_fmodf.c: Likewise.
7497 * math/w_fmodl.c: Likewise.
7498 * math/w_hypot.c: Likewise.
7499 * math/w_hypotf.c: Likewise.
7500 * math/w_hypotl.c: Likewise.
7501 * math/w_j0.c: Likewise.
7502 * math/w_j0f.c: Likewise.
7503 * math/w_j0l.c: Likewise.
7504 * math/w_j1.c: Likewise.
7505 * math/w_j1f.c: Likewise.
7506 * math/w_j1l.c: Likewise.
7507 * math/w_jn.c: Likewise.
7508 * math/w_jnf.c: Likewise.
7509 * math/w_jnl.c: Likewise.
7510 * math/w_lgamma.c: Likewise.
7511 * math/w_lgamma_r.c: Likewise.
7512 * math/w_lgammaf.c: Likewise.
7513 * math/w_lgammaf_r.c: Likewise.
7514 * math/w_lgammal.c: Likewise.
7515 * math/w_lgammal_r.c: Likewise.
7516 * math/w_log.c: Likewise.
7517 * math/w_log10.c: Likewise.
7518 * math/w_log10f.c: Likewise.
7519 * math/w_log10l.c: Likewise.
7520 * math/w_log2.c: Likewise.
7521 * math/w_log2f.c: Likewise.
7522 * math/w_log2l.c: Likewise.
7523 * math/w_logf.c: Likewise.
7524 * math/w_logl.c: Likewise.
7525 * math/w_pow.c: Likewise.
7526 * math/w_powf.c: Likewise.
7527 * math/w_powl.c: Likewise.
7528 * math/w_remainder.c: Likewise.
7529 * math/w_remainderf.c: Likewise.
7530 * math/w_remainderl.c: Likewise.
7531 * math/w_scalb.c: Likewise.
7532 * math/w_scalbf.c: Likewise.
7533 * math/w_scalbl.c: Likewise.
7534 * math/w_sinh.c: Likewise.
7535 * math/w_sinhf.c: Likewise.
7536 * math/w_sinhl.c: Likewise.
7537 * math/w_sqrt.c: Likewise.
7538 * math/w_sqrtf.c: Likewise.
7539 * math/w_sqrtl.c: Likewise.
7540 * math/w_tgamma.c: Likewise.
7541 * math/w_tgammaf.c: Likewise.
7542 * math/w_tgammal.c: Likewise.
7543
6a621eb7
UD
7544 * po/ja.po: Update from translation team.
7545
bf582445
AJ
75462011-09-29 Andreas Jaeger <aj@suse.de>
7547
f9efbf3a
AJ
7548 [BZ #13179]
7549 * sunrpc/netname.c (netname2host): Fix logic.
7550
bf582445
AJ
7551 [BZ #6779]
7552 [BZ #6783]
7553 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7554 correctly.
7555 * math/w_remainder.c (__remainder): Likewise.
7556 * math/w_remainderf.c (__remainderf): Likewise.
7557 * math/libm-test.inc (remainder_test): Add test cases.
7558
48693bea
AK
75592011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7560
7561 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7562 sdiv_qrnnd.
7563
42622229
LD
75642011-10-07 Ulrich Drepper <drepper@gmail.com>
7565
7566 * string/test-memcmp.c: Avoid unncessary #defines.
7567 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7568
093ecf92
LD
75692011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7570
7571 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7572 Use new sse2 version for core i3 - i7 as it's faster
7573 than sse42 version.
7574 (bit_Prefer_PMINUB_for_stringop): New.
7575 * sysdeps/x86_64/rawmemchr.S: Update.
7576 Replace with faster SSE2 version.
7577 * sysdeps/x86_64/memrchr.S: New file.
7578 * sysdeps/x86_64/memchr.S: Update.
7579 Replace with faster SSE2 version.
7580
fde56e5c
MP
75812011-09-12 Marek Polacek <mpolacek@redhat.com>
7582
7583 * elf/dl-load.c (lose): Add cast to avoid warning.
7584
21fd49a9
UD
75852011-10-07 Ulrich Drepper <drepper@gmail.com>
7586
5a06e643
UD
7587 * po/ca.po: Update from translation team.
7588
684ae515
UD
7589 * inet/getnetgrent_r.c: Hook up nscd.
7590 * nscd/Makefile (routines): Add nscd_netgroup.
7591 (nscd-modules): Add netgroupcache.
7592 (CFLAGS-netgroupcache.c): Define.
7593 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7594 (cache_search): Add const to second parameter.
7595 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7596 INNETGR.
7597 (dbs): Add netgrdb entry.
7598 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7599 (verify_persistent_db): Handle netgrdb.
7600 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7601 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7602 GETFDNETGR.
7603 (netgroup_response_header): Define.
7604 (innetgroup_response_header): Define.
7605 (datahead): Add netgroup_response_header and innetgroup_response_header
7606 elements.
7607 * nscd/nscd.conf: Add entries for netgroup cache.
7608 * nscd/nscd.h (dbtype): Add netgrdb.
7609 (_PATH_NSCD_NETGROUP_DB): Define.
7610 (netgroup_iov_disabled): Declare.
7611 (xmalloc, xcalloc, xrealloc): Move declarations here.
7612 (cache_search): Adjust prototype.
7613 Add netgroup-related prototypes.
7614 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7615 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7616 (__nscd_innetgr): Declare.
7617 * nscd/selinux.c (perms): Use access_vector_t as element type and
7618 add netgroup-related initializers.
7619 * nscd/netgroupcache.c: New file.
7620 * nscd/nscd_netgroup.c: New file.
7621 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7622 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7623 For four parameters use innetgr.
7624 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7625 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7626 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7627 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7628
21fd49a9
UD
7629 * nscd/connections.c (register_traced_file): Don't register file
7630 for disabled databases.
7631
054c0457
UD
76322011-10-06 Ulrich Drepper <drepper@gmail.com>
7633
32b63198
UD
7634 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7635
054c0457
UD
7636 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7637 from tree and freeing node.
7638
64031225
JO
76392011-09-25 Jiri Olsa <jolsa@redhat.com>
7640
7641 * nss/nsswitch.c (__nss_database_lookup): Handle
7642 nss_parse_service_list out of memory case.
7643
0490345c
JO
76442011-09-15 Jiri Olsa <jolsa@redhat.com>
7645
7646 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7647 out of memory case.
7648
3a62d00d
AS
76492011-10-04 Andreas Schwab <schwab@redhat.com>
7650
7651 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7652 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7653 pass it down.
7654 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7655 elf_machine_rela, elf_machine_lazy_rel.
7656 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7657 (ELF_DYNAMIC_DO_REL): Likewise.
7658 (ELF_DYNAMIC_DO_RELA): Likewise.
7659 (ELF_DYNAMIC_RELOCATE): Likewise.
7660 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7661 to ELF_DYNAMIC_DO_REL.
7662 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7663 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7664 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7665 elf_machine_rela.
7666 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7667 skip_ifunc, don't call ifunc function if non-zero.
7668 (elf_machine_rela): Likewise.
7669 (elf_machine_lazy_rel): Likewise.
7670 (elf_machine_lazy_rela): Likewise.
7671 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7672 (elf_machine_lazy_rel): Likewise.
7673 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7674 Likewise.
7675 (elf_machine_lazy_rel): Likewise.
7676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7677 Likewise.
7678 (elf_machine_lazy_rel): Likewise.
7679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7680 (elf_machine_lazy_rel): Likewise.
7681 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7682 (elf_machine_lazy_rel): Likewise.
7683 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7684 (elf_machine_lazy_rel): Likewise.
7685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7686 (elf_machine_lazy_rel): Likewise.
7687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7688 (elf_machine_lazy_rel): Likewise.
7689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7690 (elf_machine_lazy_rel): Likewise.
7691
68577918
UD
76922011-09-28 Ulrich Drepper <drepper@gmail.com>
7693
7694 * nss/nss_files/files-init.c (_nss_files_init): Use static
7695 initialization for all the *_traced_file variables.
7696
68822d74
AS
76972011-09-28 Andreas Schwab <schwab@redhat.com>
7698
7699 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7700
2056100b
RM
77012011-09-27 Roland McGrath <roland@hack.frob.com>
7702
7703 [BZ #13226]
7704 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7705
32c76b63
AS
77062011-09-27 Andreas Schwab <schwab@redhat.com>
7707
7708 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7709 Reread the line before reparsing it.
7710
bf972c9d
AS
77112011-09-26 Andreas Schwab <schwab@redhat.com>
7712
7713 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7714
e057a1b5
JM
77152011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7716 Maxim Kuvyrkov <maxim@codesourcery.com>
7717 Joseph Myers <joseph@codesourcery.com>
7718
7719 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7720 if needed for __stack_chk_guard.
7721
bc7e1c36
RM
77222011-09-19 Roland McGrath <roland@hack.frob.com>
7723
ecb1482f
RM
7724 * sysdeps/posix/spawni.c (script_execute): Always define it.
7725 It will be optimized away if unused.
7726 (maybe_script_execute): New function.
7727 (__spawni): Call it.
7728
bc7e1c36
RM
7729 * Makerules: Don't include tls.make.
7730 (config-tls): Always set to thread.
7731 * tls.make.c: File removed.
7732
1c3b002b
MF
77332011-09-19 Mike Frysinger <vapier@gentoo.org>
7734
7735 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7736 * config.make.in (CPPFLAGS-config): New substituted variable.
7737
2840865d
UD
77382011-09-15 Ulrich Drepper <drepper@gmail.com>
7739
88738eb6
UD
7740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7741
cbf645a6 7742 [BZ #13192]
2840865d
UD
7743 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7744 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7745
b402e91a
RM
77462011-09-15 Roland McGrath <roland@hack.frob.com>
7747
7748 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7749 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7751 (CALL_FAIL): Likewise.
7752 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7753 (CALL_FAIL): Macro removed.
7754 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7755
4c1a1f71
UD
77562011-09-15 Ulrich Drepper <drepper@gmail.com>
7757
7758 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7759 for __FINITE_MATH_ONLY__ == 1.
7760
edc121be
AS
77612011-09-15 Andreas Schwab <schwab@redhat.com>
7762
7763 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7764 __ieee754_sqrt instead of sqrt.
7765 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7766 __ieee754_sqrtf instead of sqrtf.
7767 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7768 __floorf instead of floorf.
7769 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7770 __floorf, __truncf instead of floorf, truncf.
7771
cd205654
UD
77722011-09-14 Ulrich Drepper <drepper@gmail.com>
7773
ee4d0315
UD
7774 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7775
cd205654
UD
7776 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7777 __extern_always_inline.
7778 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7779 32-bit.
7780
48b67d71
AS
77812011-09-14 Andreas Schwab <schwab@redhat.com>
7782
7783 * elf/rtld.c (dl_main): Also relocate in dependency order when
7784 doing symbol dependency testing.
7785
1ae12c75
AS
77862011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7787
7788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7789 Always define `refsym'.
7790
995a80df
AS
77912011-09-13 Andreas Schwab <schwab@redhat.com>
7792
e529793b
AS
7793 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7794 (__FD_ELT): Renamed from __FDELT.
7795 * misc/bits/select2.h (__FD_ELT): Likewise.
7796 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7797 __FD_MASK instead of __FDELT, __FDMASK.
7798 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7799 Likewise.
7800 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7801 Likewise.
7802
52d4fef8
AS
7803 * elf/Makefile (gen-ldd): Fix pattern.
7804
995a80df
AS
7805 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7806 (init_tls): Likewise.
7807
8682f8b0
UD
78082011-09-12 Ulrich Drepper <drepper@gmail.com>
7809
7810 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7811
de82006d
AS
78122011-09-12 Andreas Schwab <schwab@redhat.com>
7813
a7c8e6a1
AS
7814 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7815 `struct cmsghdr *' instead of `void *'.
7816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7817 Likewise.
7818
0f31fe77
AS
78192011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7820
7821 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7822 if non-absolute.
7823 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7824 ldd_rewrite_script.
0f31fe77 7825
32b4c839
UD
78262011-09-11 Ulrich Drepper <drepper@gmail.com>
7827
83cd1420
UD
7828 * configure.in: Remove --with-tls option.
7829 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7830 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7831 out in case it is missing.
7832 * sysdeps/ia64/elf/configure.in: Likewise.
7833 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7834 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7835 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7836 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7837 * sysdeps/sh/elf/configure.in: Likewise.
7838 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7839 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7840 * sysdeps/x86_64/elf/configure.in: Likewise.
7841 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7842 * sysdeps/mach/hurd/tls.h: Likewise.
7843
633f745d
UD
7844 [BZ #13067]
7845 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7846
f318beb8
UD
7847 [BZ #13090]
7848 * configure.in: Fix use of AC_INIT.
7849
32b4c839
UD
7850 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7851
3ce1f295
UD
78522011-09-10 Ulrich Drepper <drepper@gmail.com>
7853
bb016596
UD
7854 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7855 __set_errno.
8e58439c
UD
7856 * malloc/hooks.c: Likewise.
7857
aebae053 7858 [BZ #11929]
02d46fc4
UD
7859 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7860 variables statically.
7861 (narenas): Initialize.
7862 (list_lock): Initialize.
bb016596
UD
7863 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7864 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7865 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7866 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7867 Add initializers to main_arena and mp_.
7868 (malloc_state): Remove pagesize member. Change all users to use
7869 GLRO(dl_pagesize).
7870
7871 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7872 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7873 is always initialized.
7874
22a89187
UD
7875 * malloc/malloc.c: Removed unused configurations and dead code.
7876 * malloc/arena.c: Likewise.
7877 * malloc/hooks.c: Likewise.
02d46fc4 7878 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7879
d063d164
UD
7880 * include/tls.h: Removed. USE___THREAD must always be defined.
7881 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7882 * elf/dl-libc.c: Likewise.
7883 * elf/dl-tsd.c: Likewise.
7884 * include/errno.h: Likewise.
7885 * include/netdb.h: Likewise.
7886 * include/resolv.h: Likewise.
7887 * inet/herrno-loc.c: Likewise.
7888 * inet/herrno.c: Likewise.
7889 * malloc/arena.c: Likewise.
7890 * malloc/hooks.c: Likewise.
7891 * malloc/malloc.c: Likewise.
7892 * resolv/res-state.c: Likewise.
7893 * resolv/res_libc.c: Likewise.
7894 * sysdeps/i386/dl-machine.h: Likewise.
7895 * sysdeps/ia64/dl-machine.h: Likewise.
7896 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7897 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7898 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7899 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7900 * sysdeps/sh/dl-machine.h: Likewise.
7901 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7902 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7903 * sysdeps/unix/i386/sysdep.S: Likewise.
7904 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7905 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7908 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7910 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7914 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7915 * sysdeps/x86_64/dl-machine.h: Likewise.
7916 * tls.make.c: Likewise.
7917
3ce1f295
UD
7918 * configure.in: Remove --with-__thread option. Make tests for
7919 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7920 tls_model attribute fail if no support is available. Remove
7921 USE_IN_LIBIO.
7922 * Makeconfig: Adjust for dropped configure option. All features are
7923 now mandatory.
7924 * Makerules: Likewise.
7925 * Versions.def: Likewise.
7926 * argp/argp-fmtstream.c: Likewise.
7927 * argp/argp-fmtstream.h: Likewise.
7928 * argp/argp-help.c: Likewise.
7929 * assert/assert.c: Likewise.
7930 * config.h.in: Likewise.
7931 * config.make.in: Likewise.
7932 * configure: Likewise.
7933 * configure.in: Likewise.
7934 * csu/Versions: Likewise.
7935 * csu/init.c: Likewise.
7936 * elf/tst-audit2.c: Likewise.
7937 * elf/tst-tls10.c: Likewise.
7938 * elf/tst-tls10.h: Likewise.
7939 * elf/tst-tls11.c: Likewise.
7940 * elf/tst-tls12.c: Likewise.
7941 * elf/tst-tls14.c: Likewise.
7942 * elf/tst-tlsmod11.c: Likewise.
7943 * elf/tst-tlsmod12.c: Likewise.
7944 * elf/tst-tlsmod13.c: Likewise.
7945 * elf/tst-tlsmod13a.c: Likewise.
7946 * elf/tst-tlsmod14a.c: Likewise.
7947 * elf/tst-tlsmod15b.c: Likewise.
7948 * elf/tst-tlsmod16a.c: Likewise.
7949 * elf/tst-tlsmod16b.c: Likewise.
7950 * elf/tst-tlsmod7.c: Likewise.
7951 * elf/tst-tlsmod8.c: Likewise.
7952 * elf/tst-tlsmod9.c: Likewise.
7953 * gmon/gmon.c: Likewise.
7954 * grp/fgetgrent_r.c: Likewise.
7955 * grp/putgrent.c: Likewise.
7956 * hurd/fopenport.c: Likewise.
7957 * include/libc-symbols.h: Likewise.
7958 * include/tls.h: Likewise.
7959 * intl/gettextP.h: Likewise.
7960 * intl/loadinfo.h: Likewise.
7961 * locale/global-locale.c: Likewise.
7962 * locale/localeinfo.h: Likewise.
7963 * mach/devstream.c: Likewise.
7964 * malloc/arena.c: Likewise.
7965 * malloc/set-freeres.c: Likewise.
7966 * misc/err.c: Likewise.
7967 * misc/getttyent.c: Likewise.
7968 * misc/mntent_r.c: Likewise.
7969 * posix/getopt.c: Likewise.
7970 * posix/wordexp.c: Likewise.
7971 * pwd/fgetpwent_r.c: Likewise.
7972 * resolv/Versions: Likewise.
7973 * resolv/res_hconf.c: Likewise.
7974 * shadow/fgetspent_r.c: Likewise.
7975 * shadow/putspent.c: Likewise.
7976 * stdio-common/printf_fphex.c: Likewise.
7977 * stdio-common/tmpfile.c: Likewise.
7978 * stdlib/abort.c: Likewise.
7979 * stdlib/fmtmsg.c: Likewise.
7980 * sunrpc/auth_unix.c: Likewise.
7981 * sunrpc/clnt_perr.c: Likewise.
7982 * sunrpc/clnt_tcp.c: Likewise.
7983 * sunrpc/clnt_udp.c: Likewise.
7984 * sunrpc/clnt_unix.c: Likewise.
7985 * sunrpc/openchild.c: Likewise.
7986 * sunrpc/svc_simple.c: Likewise.
7987 * sunrpc/svc_tcp.c: Likewise.
7988 * sunrpc/svc_udp.c: Likewise.
7989 * sunrpc/svc_unix.c: Likewise.
7990 * sunrpc/xdr.c: Likewise.
7991 * sunrpc/xdr_array.c: Likewise.
7992 * sunrpc/xdr_rec.c: Likewise.
7993 * sunrpc/xdr_ref.c: Likewise.
7994 * sunrpc/xdr_stdio.c: Likewise.
7995
1248c1c4
PB
79962011-09-09 Ulrich Drepper <drepper@gmail.com>
7997
7998 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7999
80002011-07-03 Andreas Jaeger <aj@suse.de>
8001
8002 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8003 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8004 regenerate with gen-libm-tests.pl.
8005
80062010-05-12 Petr Baudis <pasky@suse.cz>
8007
8008 [BZ #11589]
8009 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8010 around j0() zero points by switching to j1().
8011 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8013 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8015
f22e1074
UD
80162011-09-09 Ulrich Drepper <drepper@gmail.com>
8017
f19009c1
UD
8018 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8019 instead of 0.
8020 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8021 instead of 0. .
8022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8023 Patch in part by Pavel Roskin <proski@gnu.org>.
8024
3f8cc204
UD
8025 [BZ #13138]
8026 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8027 realloc.
8028 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8029 Free memory block if necessary.
8030
f22e1074
UD
8031 [BZ #12847]
8032 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8033 be NULL. Don't lock in this case.
8034
0a2349f9
RM
80352011-09-09 Roland McGrath <roland@hack.frob.com>
8036
8037 * elf/elf.h (ELFOSABI_GNU): New macro.
8038 (ELFOSABI_LINUX): Define to that.
8039
f3cdd467
DZ
80402011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8041
8042 * string/strncat.c (strncat): Undef the symbol in case it has been
8043 defined in bits/string.h.
8044
74718d13
UD
80452011-09-09 Ulrich Drepper <drepper@gmail.com>
8046
633e9e0f
UD
8047 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8048
0a2349f9 8049 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8050 link map.
8051
f9924780
AJ
80522011-08-17 Andreas Jaeger <aj@suse.de>
8053
8054 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8055
7f5517aa
PP
80562011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8057 Ian Lance Taylor <iant@google.com>
8058
8059 * math/libm-test.inc (lround_test): New testcase.
8060 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8061
762011fe
UD
80622011-09-08 Ulrich Drepper <drepper@gmail.com>
8063
92963737
UD
8064 * Makefile: Remove support for automatic cvs check-ins.
8065 * Makerules: Likewise.
8066 * config.make.in: Likewise.
8067 * configure.in: Likewise.
8068 * intl/Makefile: Likewise.
8069 * locale/Makefile: Likewise.
8070 * po/Makefile: Likewise.
8071 * posix/Makefile: Likewise.
8072 * sysdeps/gnu/Makefile: Likewise.
8073 * sysdeps/mach/hurd/Makefile: Likewise.
8074 * sysdeps/sparc/sparc32/Makefile: Likewise.
8075
b0727fd8
JS
8076 [BZ #13118]
8077 * posix/Makefile (bug-regex32-ENV): Define.
8078 Patch by John Stanley <jpsinthemix@verizon.net>.
8079
a0f33f99
UD
8080 * misc/Makefile (headers): Add bits/select2.h.
8081 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8082 * misc/bits/select2.h: New file.
8083 * include/bits/select2.h: New file.
8084 * debug/Makefile (routines): Add fdelt_chk.
8085 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8086 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8087 FD_ISSET.
8088 * debug/fdelt_chk.c: New file.
8089
762011fe
UD
8090 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8091 * wcsmbs/test-wmemcmp.c: Likewise.
8092 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8093 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8094
80952011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8096
8097 * string/Makefile (strop-tests): Add memcmp.
8098 * string/test-wmemcmp.c: New file.
8099 * string/test-memcmp.c: Add wmemcmp support.
8100
7f513ec8
RM
81012011-09-08 Roland McGrath <roland@hack.frob.com>
8102
0442afb4
RM
8103 [BZ #13153]
8104 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8105 2011-07-19 change.
8106
7f513ec8
RM
8107 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8108 garbage value in a __mach_port_mod_refs call in the cases of the
8109 task-self and thread-self ports.
8110
a12b2239
ST
81112011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8112
8113 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8114
610f9ab4
AS
81152011-09-08 Andreas Schwab <schwab@redhat.com>
8116
7f513ec8 8117 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8118
48882a1a
LD
81192011-09-07 Ulrich Drepper <drepper@gmail.com>
8120
b49865be
UD
8121 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8122
fdc86bc9
UD
8123 * elf/dl-libc.c (dlerror_run): Pass back error code from
8124 dl_catch_error.
8125
c966526a
UD
8126 [BZ #13123]
8127 * elf/dl-load.c (lose): Free l_origin if it is valid.
8128
48882a1a
LD
8129 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8130 names.
8131 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8132 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8133 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8134 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8135 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8136 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8137
77a2a8b4
AZ
81382011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8139
8140 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8141 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8143 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8144 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8145 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8146 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8147 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8148 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8149 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8150
24f579d8
AM
81512011-08-15 Alan Modra <amodra@gmail.com>
8152
8153 [BZ #13092]
8154 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8155 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8156 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8157 ppc_mcount to static-only-routines.
8158 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8159 __mcount_internal.
8160 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8161 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8162
3d4837df
UD
81632011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8164
8165 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8166 for finite and infinity parameters.
8167
22700377
WS
81682011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8169
8170 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8171 and add nop instructions for throughput optimization.
8172 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8173
5025581e
WS
81742011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8175
8176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8177 aligned copy for power7 with vector-scalar instructions.
8178 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8179
08a300c9
L
81802011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8181
8182 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8183 AVX check.
8184
59178ef9
AS
81852011-09-07 Andreas Schwab <schwab@redhat.com>
8186
8187 [BZ #13144]
8188 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8189 last change.
8190
e38ba7ab
UD
81912011-09-07 Ulrich Drepper <drepper@gmail.com>
8192
8193 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8194 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8195 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8196 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8197 clock_gettime.
8198
d53a73ac
UD
81992011-09-06 Ulrich Drepper <drepper@gmail.com>
8200
fc8bffcc
UD
8201 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8202 Forgot to demangle the pointer.
8203
ceaa0c5d
UD
8204 * sysdeps/i386/sysdep.h: Define atom_text_section.
8205 * sysdeps/x86_64/sysdep.h: Likewise.
8206 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8207 section with atom_text_section.
8208 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8209 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8210 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8211 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8212 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8213
a77d3c17
UD
8214 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8215 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8216 already be defined. Change to take two parameters and don't assign
8217 result to variable. Adjust all users.
8218 Define INTERNAL_GETTIME if not already defined.
8219 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8220 call.
8221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8222 HAVE_CLOCK_GETTIME_VSYSCALL.
8223 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8224
d53a73ac
UD
8225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8226 gettimeofday vsyscall, just use time.
8227
a8f84144
AS
82282011-09-06 Andreas Schwab <schwab@redhat.com>
8229
8230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8231 <errno.h>.
8232
ef606249
UD
82332011-09-06 Ulrich Drepper <drepper@gmail.com>
8234
8235 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8236 syscall on x86-64.
8237 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8238 syscall.
8239 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8240 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8241 syscall if possible.
8242
6585cb60
UD
82432011-09-05 Ulrich Drepper <drepper@gmail.com>
8244
8245 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8246 e_ident. Don't pass to find_mapsXX.
8247 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8248
a5f524e4
LD
82492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8250
8251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8252 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8253 * sysdeps/x86_64/multiarch/strchr.S: Update.
8254 Check bit_slow_BSF bit.
8255 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8256 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8257 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8258
554881ef
UD
82592011-09-05 Ulrich Drepper <drepper@gmail.com>
8260
d96de963
UD
8261 [BZ #13134]
8262 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8263 before glibc 2.15.
8264 (tryshell): Define.
8265 (__spawni): Change last parameter to be flag. Test
8266 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8267 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8268 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8269 * posix/spawni.c: Likewise.
8270 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8271 * posix/spawnp.c: Likewise. Change normal version to use
8272 SPAWN_XFLAGS_USE_PATH.
8273 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8274 SPAWN_XFLAGS_TRY_SHELL.
8275
d48e5868
UD
8276 [BZ #13150]
8277 * posix/glob.h: Remove gcc 1.x support.
8278
554881ef
UD
8279 [BZ #13068]
8280 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8281
693fb948
LD
82822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8283
8284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8285 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8286 strrchr-sse2-bsf
8287 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8288 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8289 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8290 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8291 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8292 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8293
1b48c537
UD
82942011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8295
49d42c37
UD
8296 * sysdeps/x86_64/wcscmp.S: New file.
8297
1b48c537
UD
8298 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8299 wcscmp-c wcscmp-sse2
8300 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8301 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8302 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8303 * wcsmbs/wcscmp.c: Allow renaming.
8304
15c95c5d
DM
83052011-09-05 David S. Miller <davem@davemloft.net>
8306
8307 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8308 stack slot, rather than the struct return pointer slot.
8309 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8310 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8312 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8313
2f0ad8f3
UD
83142011-09-05 Ulrich Drepper <drepper@gmail.com>
8315
d88ae418
UD
8316 * po/ja.po: Update from translation team.
8317
2f0ad8f3
UD
8318 [BZ #13144]
8319 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8320 kernel in 64-bit binaries.
8321
5f4318d1
DM
83222011-09-01 David S. Miller <davem@davemloft.net>
8323
8324 * elf/elf.h (HWCAP_SPARC_*): Move to..
8325 * sysdeps/sparc/sysdep.h: this new file and add new values.
8326 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8327 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8328 _DL_HWCAP_COUNT to 24.
8329 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8330 entries.
8331 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8332 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8333 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8334 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8335 instead of magic constants.
8336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8337
3ba57516
DM
83382011-08-31 David S. Miller <davem@davemloft.net>
8339
8340 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8341 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8342 Reimplement to do errno handling inline.
8343 (SYSCALL_ERROR_HANDLER): New macro.
8344 (__SYSCALL_STRING): Do not do errno handling in asm.
8345 (__CLONE_SYSCALL_STRING): Delete.
8346 (__INTERNAL_SYSCALL_STRING): Delete.
8347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8348 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8349 (PSEUDO): Reimplement to do errno handling inline.
8350 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8351 (SYSCALL_ERROR_HANDLER): New macro.
8352 (__SYSCALL_STRING): Do not do errno handling in asm.
8353 (__CLONE_SYSCALL_STRING): Delete.
8354 (__INTERNAL_SYSCALL_STRING): Delete.
8355 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8356 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8357 i386.
8358 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8359 (inline_syscall*): Add 'err' argument.
8360 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8361 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8362 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8363 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8364
8365 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8366 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8367
2bc17433
AS
83682011-08-30 Andreas Schwab <schwab@redhat.com>
8369
8370 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8371
fbeb5f4d
JO
83722011-08-29 Jiri Olsa <jolsa@redhat.com>
8373
8374 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8375 directive.
8376
ad69cc26
DM
83772011-08-24 David S. Miller <davem@davemloft.net>
8378
8379 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8380
39dd69df
AS
83812011-08-24 Andreas Schwab <schwab@redhat.com>
8382
8383 * elf/Makefile: Add rules to build and run unload8 test.
8384 * elf/unload8.c: New file.
8385 * elf/unload8mod1.c: New file.
8386 * elf/unload8mod1x.c: New file.
8387 * elf/unload8mod2.c: New file.
8388 * elf/unload8mod3.c: New file.
8389
8390 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8391 it wasn't used.
8392
2c0b250a
DM
83932011-08-23 David S. Miller <davem@davemloft.net>
8394
8395 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8396 subtract stack bias.
8397 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8398 %sp not %fp in calculations.
8399 (_JMPBUF_UNWINDS_ADJ): Likewise.
8400
22044b48
DM
8401 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8402 (aio_suspend): Call it to force an exception region around the
8403 AIO_MISC_WAIT() invocation.
8404
2cae4995
AS
84052011-08-23 Andreas Schwab <schwab@redhat.com>
8406
8407 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8408 backslash.
8409
873a772e
AJ
84102011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8411
8412 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8413 protection macro.
8414 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8415 and <dl-machine.h>.
8416 (Elf64_FuncDesc): Remove.
8417
25ad0df1
DM
84182011-08-22 David S. Miller <davem@davemloft.net>
8419
8420 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8421 sigaltstack check, add missing cfi directives.
8422 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8423 missing cfi directives, and sigaltstack handling.
8424
e888bcbe
AS
84252011-08-16 Andreas Schwab <schwab@redhat.com>
8426
8427 [BZ #11724]
8428 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8429 object is seen twice.
8430 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8431
8432 * elf/Makefile (distribute): Add tst-initorder2.c.
8433 (tests): Add tst-initorder2.
8434 (modules-names): Add tst-initorder2a tst-initorder2b
8435 tst-initorder2c tst-initorder2d. Add rules to build them.
8436 ($(objpfx)tst-initorder2.out): New rule.
8437 * elf/tst-initorder2.c: New file.
8438 * elf/tst-initorder2.exp: New file.
8439
87162f46
AS
84402011-08-22 Andreas Schwab <schwab@redhat.com>
8441
70538b7f
AS
8442 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8443
f55ffe58
AS
8444 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8445 dependencies back to end of function.
8446
87162f46
AS
8447 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8448 $(elfobjdir)/ld.so.
8449
91b392a4
UD
84502011-08-21 Ulrich Drepper <drepper@gmail.com>
8451
8452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8453 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8455 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8456 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8457 of __vdso_gettimeofday.
8458 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8459 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8460 attribute_hidden.
8461 (_libc_vdso_platform_setup): Remove initialization of
8462 __vdso_gettimeofday and __vdso_time.
8463
5c43483f
UD
84642011-08-20 Ulrich Drepper <drepper@gmail.com>
8465
775a77e7
UD
8466 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8467 and fgetc_unlocked.
8468 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8469 getc_unlocked.
89f447ed 8470
49c74ba9
UD
8471 * elf/dl-open.c (add_to_global): Report additions to the global scope
8472 for LD_DEBUG=scopes.
8473 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8474 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8475
5c43483f
UD
8476 [BZ #13114]
8477 * stdio-common/Makefile (tests): Add bug24.
8478 * stdio-common/bug24.c: New file.
8479
a101b025
AJ
84802011-08-19 Andreas Jaeger <aj@suse.de>
8481
8482 [BZ #13114]
8483 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8484 non-existant file when using close-on-exec mode.
8485
c88f1766
UD
84862011-08-20 Ulrich Drepper <drepper@gmail.com>
8487
0276a718
UD
8488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8489 the very first instruction.
8490
c88f1766
UD
8491 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8492 the CFI state in the end.
8493 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8494 inclusion of dl-trampoline.h.
8495 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8496
51ccffa0
AS
84972011-08-19 Andreas Schwab <schwab@redhat.com>
8498
94d7165f
AS
8499 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8500 expectations for long double.
8501
51ccffa0
AS
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8503 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8504
fd708658 85052011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8506
8507 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8508 artificual limit depends upon the system page size.
8509
44f0a71e
UD
85102011-08-17 Ulrich Drepper <drepper@gmail.com>
8511
8512 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8513 * resolv/Makefile: Define CFLAGS-libresolv.
8514
8de79a24
AS
85152011-08-17 Andreas Schwab <schwab@redhat.com>
8516
8517 * nss/makedb.c (compute_tables): Make variables used in nested
8518 function static.
8519
27724598
UD
85202011-08-17 Ulrich Drepper <drepper@gmail.com>
8521
c5305d88
UD
8522 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8523 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8524 if buffer was too small.
8525
27724598
UD
8526 * elf/pldd.c (main): Attach to all threads in the process.
8527 Rewrite /proc handling to use *at functions.
8528
076fe015
UD
85292011-08-16 Ulrich Drepper <drepper@gmail.com>
8530
174baab3
UD
8531 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8532 specifies first scope to show.
8533 (dl_open_worker): Update callers. Move printing scope of new
8534 object to before the relocation.
44f0a71e 8535 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8536 * sysdeps/generic/ldsodefs.h: Update declaration.
8537
076fe015
UD
8538 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8539 string for the scope number.
8540
a60df2c3
UD
85412011-08-14 Ulrich Drepper <drepper@gmail.com>
8542
8543 * nscd/servicescache.c (cache_addserv): Make sure written is always
8544 initialized.
8545
5e4287d1
RM
85462011-08-14 Roland McGrath <roland@hack.frob.com>
8547
85ae0589
RM
8548 * sysdeps/i386/i486/bits/atomic.h
8549 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8550 statement expression, so as to suppress "set but not used" warning.
8551 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8552
69f63097
RM
8553 * string/strncat.c (STRNCAT): Use prototype definition.
8554
675456ef
RM
8555 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8556 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8557 -Iprograms here.
8558 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8559 (localedef-modules): Add localedef.
8560 (locale-modules): Add locale.
8561
5e4287d1
RM
8562 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8563 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8564 to avoid a warning.
8565
9c96ff23
DM
85662011-08-14 David S. Miller <davem@davemloft.net>
8567
8568 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8569 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8570
f9ddf089
UD
85712011-08-13 Ulrich Drepper <drepper@gmail.com>
8572
44f0a71e 8573 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8574 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8575 * elf/rtld.c (dl_main): Set l_name of vDSO.
8576 Call _dl_show_scope when DL_DEBUG_SCOPES.
8577 (process_dl_debug): Recognize scopes flag and also set it for all.
8578 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8579 Declare _dl_show_scope.
8580
1dc27704
UD
8581 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8582 (do_dlopen): Pass caller_dlopen to dl_open.
8583 (__libc_dlopen_mode): Initialize caller_dlopen.
8584
f9ddf089
UD
8585 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8586 of libc. Make tolower call locale-independent. Optimize a bit by
8587 using isdigit instead of isalnum.
8588 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8589
9ac533d3
UD
85902011-08-12 Ulrich Drepper <drepper@gmail.com>
8591
8592 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8593 was a dependency or dynamically loaded.
8594
89edf2e9
UD
85952011-08-11 Ulrich Drepper <drepper@gmail.com>
8596
8e999d29
UD
8597 * intl/l10nflist.c: Allow architecture-specific pop function.
8598 * sysdeps/x86_64/l10nflist.c: New file.
8599
89edf2e9
UD
8600 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8601 classification.
8602
14d96785
AS
86032011-08-10 Andreas Schwab <schwab@redhat.com>
8604
8605 * include/dirent.h: Add libc_hidden_proto for scandirat and
8606 scandirat64. Don't declare __scandirat64.
8607 * dirent/scandirat.c: Add libc_hidden_def.
8608 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8609 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8610
6761ac04
DM
86112011-08-10 David S. Miller <davem@davemloft.net>
8612
8613 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8614 enum.
8615 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8616 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8617 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8618
c55fbd1e
UD
86192011-08-09 Ulrich Drepper <drepper@gmail.com>
8620
8621 * Versions.def [libc]: Add GLIBC_2.15.
8622 * dirent/Makefile (routines): Add scandirat and scandirat64.
8623 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8624 GLIBC_2.15.
8625 * dirent/dirent.h: Declare scandirat and scandirat64.
8626 * dirent/scandirat.c: New file.
8627 * dirent/scandirat64.c: New file.
8628 * sysdeps/wordsize-64/scandirat.c: New file.
8629 * sysdeps/wordsize-64/scandirat64.c: New file.
8630 * dirent/opendir.c: Define opendirat.
8631 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8632 using scandirat.
8633 * dirent/scandir64.c: Adjust for scandir.c change.
8634 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8635 __scandirat64, and __scandir_cancel_handler.
8636 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8637 additional parameter and use openat instead of open (outside of ld.so).
8638 Add new __opendir as wrapper around __opendirat.
8639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8640 here without requiring old scandirat implementation.
8641
879165f2
UD
86422011-08-08 Ulrich Drepper <drepper@gmail.com>
8643
8644 * dirent/scandir.c (cancel_handler): Renamed to
8645 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8646 defined. Adjust users.
8647 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8648 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8649
cb7e923b
UD
86502011-08-04 Ulrich Drepper <drepper@gmail.com>
8651
16292edd
UD
8652 * string/test-string.h (IMPL): Use __STRING to expand name and then
8653 stringify it.
8654
cb7e923b
UD
8655 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8656 of cleanups.
8657
cff82933
LD
86582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8659
8660 * string/Makefile: Update.
8661 (strop-tests): Append strncat.
8662 * string/test-wcscmp.c: New file.
8663 New comprehensive test for wcscmp.
8664 * string/test-strcmp.c: Update.
8665 (WIDE): New define.
8666
9be9bfcc
AS
86672011-07-22 Andreas Schwab <schwab@redhat.com>
8668
8669 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8670 line.
8671
2e96f1c7
AS
86722011-07-26 Andreas Schwab <schwab@redhat.com>
8673
8674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8675 encoding to ACE if AI_IDN.
8676
85188888
JJ
86772011-08-01 Jakub Jelinek <jakub@redhat.com>
8678
8679 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8680 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8681
5fa16e9b
LD
86822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8683
8684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8685 Fix overflow bug in strncat.
8686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8687
8688 * string/test-strncat.c: Update.
8689 Add new tests for checking overflow bugs.
8690
86912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8692
8693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8694 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8695 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8696 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8697 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8698 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8699 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8700 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8701 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8702
8703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8704 (USE_AS_STRCAT): Define.
8705 Add strcat and strncat support.
8706 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8707
8c1a459f
AS
87082011-07-25 Andreas Schwab <schwab@redhat.com>
8709
8710 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8711 __n bigger than INT_MAX+1.
8712 (__strncmp_g): Likewise.
8713
bba33c28
UD
87142011-07-23 Ulrich Drepper <drepper@gmail.com>
8715
798be72d
UD
8716 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8717 * libio/stido.h: Likewise.
8718
8accd4dc
UD
8719 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8720 (AF_NFC): Define.
8721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8722 (AF_NFC): Define.
8723
cbff0d96
UD
8724 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8726 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8727 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8728 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8729
9191c04a
UD
8730 [BZ #13021]
8731 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8732 installed.
8733
bba33c28
UD
8734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8735 typo.
8736 (_dl_x86_64_save_sse): Likewise.
8737
90f139dd
UD
87382011-07-22 Ulrich Drepper <drepper@gmail.com>
8739
1aae088a
UD
8740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8741 OSXSAVE.
8742 (_dl_x86_64_save_sse): Likewise.
8743
8e2045f5
UD
8744 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8745
90f139dd
UD
8746 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8747
1d002f25
AS
87482011-07-21 Andreas Schwab <schwab@redhat.com>
8749
8750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8751 change.
8752 (_dl_x86_64_save_sse): Use correct AVX check.
8753
21137f89
UD
87542011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8755
8756 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8757 bug in strncpy/strncat.
8758 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8759
a65c0b7a
UD
87602011-07-21 Ulrich Drepper <drepper@gmail.com>
8761
8762 * string/tester.c (test_strcat): Add tests for different alignments
8763 of source and destination.
8764 (test_strncat): Likewise.
8765
6986b98a
UD
87662011-07-20 Ulrich Drepper <drepper@gmail.com>
8767
90bb2039
UD
8768 [BZ #12852]
8769 * posix/glob.c (glob): Check passed in values before using them in
8770 expressions to avoid some overflows.
8771 (glob_in_dir): Likewise.
8772
5644ef54
UD
8773 [BZ #13007]
8774 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8775 check for AVX enablement so that we don't crash with old kernels and
8776 new hardware.
8777 * elf/tst-audit4.c: Add same checks here.
8778 * elf/tst-audit6.c: Likewise.
8779
8780 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8781
bfc9dc9b
AS
87822011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8783
8784 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8785
702e64bb
UD
87862011-07-20 Ulrich Drepper <drepper@gmail.com>
8787
8788 * po/cs.po: Update from translation team.
8789 * po/bg.po: Likewise.
8790
295e904f
MP
87912011-07-12 Marek Polacek <mpolacek@redhat.com>
8792
8793 * misc/sys/cdefs.h: Add support for const attribute.
8794 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8795 to gnu_dev_{major,minor,makedev} functions.
8796
3ff94596
MP
87972011-07-20 Marek Polacek <mpolacek@redhat.com>
8798
8799 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8800
28b59fca
AS
88012011-07-20 Andreas Schwab <schwab@redhat.com>
8802
8803 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8804 strlen results.
8805
19df733e
AK
88062011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8807
8808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8809 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8810 register in order to avoid conflicts with the soft frame pointer
8811 being held in r11 when necessary.
8812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8813 (INTERNAL_VSYSCALL_NCS): Likewise.
8814
c8835729
MP
88152011-07-14 Marek Polacek <mpolacek@redhat.com>
8816
8817 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8818 * elf/dl-fini.c (_dl_fini): Adjust caller.
8819 * elf/dl-close.c (_dl_close_worker): Likewise.
8820 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8821
b902330c
MP
88222011-07-15 Marek Polacek <mpolacek@redhat.com>
8823
8991e135
MP
8824 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8825 "aux_cache->nlibs < 0".
8826
b902330c
MP
8827 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8828 in the reload-count case.
8829
99710781
LD
88302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8831
8832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8833 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8834 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8835 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8836 * sysdeps/x86_64/multiarch/strcat.S: New file.
8837 * sysdeps/x86_64/multiarch/strncat.S: New file.
8838 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8839 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8840 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8841 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8842 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8843 (USE_AS_STRCAT): Define.
8844 Add strcat and strncat support.
8845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8846 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8847 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8848 * string/strncat.c: Update.
8849 (USE_AS_STRNCAT): Define.
8850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8851 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8852 and i7.
8853 * sysdeps/x86_64/multiarch/init-arch.h
8854 (bit_Prefer_PMINUB_for_stringop): New.
8855 (index_Prefer_PMINUB_for_stringop): Likewise.
8856 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8857 bit_Prefer_PMINUB_for_stringop.
8858
7dc6bd90
UD
88592011-07-19 Ulrich Drepper <drepper@gmail.com>
8860
8861 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8862 buffer64.
8863 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8864 of casting of buffer.
8865 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8866 buffer32 and buffer64.
8867 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8868 writes instead of casting of buffer.
8869 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8870 buffer32.
8871 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8872 casting of buffer.
8873
e0e72284
AS
88742011-07-19 Andreas Schwab <schwab@redhat.com>
8875
8876 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8877
feb1eb0b
UD
88782011-07-19 Ulrich Drepper <drepper@gmail.com>
8879
8880 * nscd/nscd.c (termination_handler): Don't do anything for a database
8881 if it has not yet been initialized.
8882
298711ff
UD
88832011-07-18 Ulrich Drepper <drepper@gmail.com>
8884
8885 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8886
88872011-07-15 Marek Polacek <mpolacek@redhat.com>
8888
8889 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8890
f9d68389
UD
88912011-07-18 Ulrich Drepper <drepper@gmail.com>
8892
8893 * po/nl.po: Update from translation team.
8894 * po/sv.po: Likewise.
8895
db290cf5
RM
88962011-07-16 Roland McGrath <roland@hack.frob.com>
8897
8898 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8899 now disallowed by GCC.
5c550700 8900
fd5e21c7
RM
8901 * configure.in (use-default-link): Default to yes if a test -shared
8902 link meets our qualifications.
8903 * configure: Regenerated.
8904
5c550700
RM
8905 * config.make.in (output-format): New variable.
8906 * configure.in: Check for ld --print-output-format support.
8907 * configure: Regenerated.
8908 * Makerules ($(common-objpfx)format.lds)
8909 [$(output-format) != unknown]: Just use $(output-format),
8910 instead of the linker-script munging.
8911
9fa2c032
RM
89122011-07-14 Roland McGrath <roland@hack.frob.com>
8913
a6928d51
RM
8914 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8915 of $(common-objpfx)shlib.lds.
8916 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8917
661607b3
RM
8918 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8919 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8920
9fa2c032
RM
8921 * configure.in (-z relro check): Adjust test code to add a large
8922 writable data section after it.
8923 * configure: Regenerated.
8924
defe9061
RM
89252011-07-11 Roland McGrath <roland@hack.frob.com>
8926
8927 * configure.in (-z relro check): Fix test code to make the variable
8928 truly const.
8929 * configure: Regenerated.
8930
319b9ad4
UD
89312011-07-11 Ulrich Drepper <drepper@gmail.com>
8932
8933 * nscd/nscd.h (struct traced_file): Define.
8934 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8935 elements. Add traced_files.
8936 (inotify_fd): Declare.
8937 (register_traced_file): Declare.
8938 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8939 (inotify_fd): Export.
8940 (resolv_conf_descr): Remove.
8941 (nscd_init): Move inotify descriptor creation to main.
8942 Don't register files for notification here.
8943 (register_traced_file): New function.
8944 (invalidate_cache): Don't use reset_res to determine whether to call
8945 res_init, go through the list of registered files.
8946 (main_loop_poll): The inotify descriptors are now stored in the
8947 structures for the traced files.
8948 (main_loop_epoll): Likewise
8949 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8950 to __nss_disable_nscd.
8951 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8952 for a database anymore. Check the records for all the registered
8953 files instead.
8954 * nss/Makefile (libnss_files-routines): Add files-init.
8955 (libnss_db-routines): Add db-init.
8956 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8957 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8958 * nss/nss_db/db-init.c: New file.
8959 * nss/nss_files/files-init.c: New file.
8960 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8961 __nss_lookup_function.
8962 (__nss_lookup_function): Call nss_load_library.
8963 (nss_load_all_libraries): New function.
8964 (__nss_disable_nscd): Take parameter with callback function for files
8965 to register. Set is_nscd. Load all the DSOs for the NSS modules
8966 used for the cached services.
8967 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8968 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8969 options for features to all the files in nscd.
8970
8971 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8972
23bee3e8
RM
89732011-07-10 Roland McGrath <roland@hack.frob.com>
8974
8975 * csu/elf-init.c (__libc_csu_init): Comment typo.
8976
46a5b7f0
UD
89772011-07-09 Ulrich Drepper <drepper@gmail.com>
8978
8979 * po/pl.po: Update from translation team.
8980 * po/ja.po: Likewise.
8981 * po/ru.po: Likewise.
8982 * po/ko.po: Likewise.
8983 * po/fr.po: Likewise.
8984
d30cf5bb
RM
89852011-07-09 Roland McGrath <roland@hack.frob.com>
8986
113ddea4
RM
8987 * configure.in (.ctors/.dtors header and trailer check):
8988 Use an empirical test on a built program.
8989 * configure: Regenerated.
8990
574920b4
RM
8991 * configure.in (-z relro check): Use an empirical test on a built DSO.
8992 Detect, but do not require, on ia64.
8993 * configure: Regenerated.
8994
d30cf5bb
RM
8995 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8996 Update tests that use readelf to use $READELF instead.
8997 * configure: Regenerated.
8998
8538fdb3
UD
89992011-07-08 Ulrich Drepper <drepper@gmail.com>
9000
9001 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9002 if the result is not used.
9003
04d08991
AJ
90042011-07-05 Andreas Jaeger <aj@suse.de>
9005
9006 [BZ#9696]
9007 * stdlib/tst-strtod.c: Add testcase.
9008
de283087
AD
90092011-07-07 Ulrich Drepper <drepper@gmail.com>
9010
4e5f31c8 9011 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9012 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9013 The latter has a higher limit. Take additional parameter to pass to
9014 the new function.
9015 (__pathconf): Pass file to __statfs_link_max.
9016 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9017 __statfs_link_max.
9018 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9019 __statfs_link_max.
9020
de283087
AD
9021 [BZ #12868]
9022 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9023 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9024 Handle Lustre.
9025 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9026 (__statfs_filesize_max): Likewise.
9027 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9028
c75fa153
AJ
90292011-07-05 Andreas Jaeger <aj@suse.de>
9030
9031 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9032
1a544854
UD
90332011-07-06 Marek Polacek <mpolacek@redhat.com>
9034
9035 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9036 `status' variable.
9037 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9038 Likewise.
9039
6f0eec67
UD
90402011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9041
9042 * Makefile (strop-tests): Add strncat.
9043 * string/test-strncat.c: New file.
9044
aae30307
UD
90452011-06-30 Marek Polacek <mpolacek@redhat.com>
9046
9047 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9048
c0cfb5eb
UD
90492011-06-21 Andreas Jaeger <aj@suse.de>
9050
9051 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9052 Copy rule from iconvdata/Makefile.
9053
01636b21
UD
90542011-07-06 Ulrich Drepper <drepper@gmail.com>
9055
9056 [BZ #12922]
9057 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9058 but no long options are defined, just return 'W'.
9059
9895c8bc
UD
90602011-06-22 Marek Polacek <mpolacek@redhat.com>
9061
9062 [BZ #9696]
9063 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9064
5d4cf042
UD
90652011-07-06 Ulrich Drepper <drepper@gmail.com>
9066
9067 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9068 netgroups to read.
960e5535 9069 (innetgr): Likewise.
5d4cf042 9070
751eb97e
RM
90712011-07-05 Roland McGrath <roland@hack.frob.com>
9072
9073 * config.make.in (install_root): Default to $(DESTDIR).
9074
f15f1e45
UD
90752011-07-05 Ulrich Drepper <drepper@gmail.com>
9076
9077 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9078
4e34ac6a
RM
90792011-07-02 Roland McGrath <roland@hack.frob.com>
9080
5e9b6af4
RM
9081 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9082
84f9ea0f
RM
9083 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9084 containing directory rather than embedding absolute directory names.
9085
ea5ee9f7
RM
9086 * scripts/check-local-headers.sh: Rewritten using awk.
9087 Match by word, not by line. Print error messages for matches.
9088 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9089
1b74661a
RM
9090 * Makerules [shlib-lds-flags empty]:
9091 ($(common-objpfx)libc_pic.opts): New target.
9092 ($(common-objpfx)libc_pic.os.clean): New target.
9093 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9094
9095 * config.make.in (OBJCOPY): New variable.
9096 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9097 * configure: Regenerated.
9098
f781ef40
RM
9099 * config.make.in (use-default-link): New variable.
9100 * configure.in (use_default_link): Grok --with-default-link to set it.
9101 * configure: Regenerated.
9102 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9103 (shlib-lds, shlib-lds-flags): Define to empty.
9104
2d4fa81e
RM
9105 * Makerules (shlib-lds): New variable.
9106 (shlib-lds-flags): New variable.
9107 (build-shlib, build-moduile, build-module-asneeded): Use it.
9108 ($(common-objpfx)libc.so): Use $(shlib-lds).
9109 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9110 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9111
31fffa6b
RM
9112 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9113 DT_FLAGS/DT_FLAGS_1 with zero flags.
9114
4e34ac6a
RM
9115 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9116 linker script munging.
9117
fcfc776b
UD
91182011-07-02 Ulrich Drepper <drepper@gmail.com>
9119
9120 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9121 as 128-bit value.
9122 * crypt/sha512.c (sha512_process_block): Perform total addition using
9123 128-bit if possible.
9124 (__sha512_finish_ctx): Likewise.
9125 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9126 as 64-bit value.
9127 * crypt/sha256.c (SWAP64): Define.
9128 (sha256_process_block): Perform total addition using 64-bit if
9129 possible.
9130 (__sha256_finish_ctx): Likewise.
9131
99231d9a
UD
91322011-07-01 Ulrich Drepper <drepper@gmail.com>
9133
9134 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9135 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9136 * nscd/hstcache.c (cache_addhst): Likewise.
9137 * nscd/grpcache.c (cache_addgr): Likewise.
9138 * nscd/aicache.c (addhstaiX): Likewise
9139 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9140
445b4a53
TK
91412011-07-01 Thorsten Kukuk <kukuk@suse.de>
9142
9143 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9144 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9145 * nscd/hstcache.c (cache_addhst): Likewise.
9146 * nscd/grpcache.c (cache_addgr): Likewise.
9147 * nscd/aicache.c (addhstaiX): Likewise
9148
6d4d8e8e
AS
91492011-07-01 Andreas Schwab <schwab@redhat.com>
9150
9151 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9152 domain only when needed.
9153
89f654c5
AS
91542011-06-30 Andreas Schwab <schwab@redhat.com>
9155
9156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9157 is always restored.
9158
cf3b23ff
UD
91592011-06-29 Ulrich Drepper <drepper@gmail.com>
9160
9161 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9162 are re-adding the entry.
9163 * nscd/servicescache.c (cache_addserv): Likewise.
9164
751626f9
AJ
91652011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9166
9167 * sysdeps/generic/dl-irel.h: fix protection against multiple
9168 inclusions.
9169 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9170
9113ea1f
UD
91712011-06-28 Ulrich Drepper <drepper@gmail.com>
9172
5c0b8d90
UD
9173 [BZ #12935]
9174 * malloc/memusage.sh: Fix quoting in message.
9175 * debug/xtrace.sh: Likewise.
9176
9113ea1f
UD
9177 * configure.in: Remove support for --experimental-malloc option, make
9178 it the default.
9179 * config.make.in: Likewise.
9180 * malloc/Makefile: Likewise.
9181
a4172181
AS
91822011-06-27 Andreas Schwab <schwab@redhat.com>
9183
9184 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9185 two-byte characters.
9186
78a7eee7
RM
91872011-06-27 Roland McGrath <roland@hack.frob.com>
9188
62bede13
RM
9189 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9190 AC_CACHE_CHECK invocation.
9191 * configure: Regenerated.
9192
78a7eee7
RM
9193 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9194
5ce33a62
UD
91952011-06-27 Ulrich Drepper <drepper@gmail.com>
9196
034807a9
UD
9197 [BZ #12350]
9198 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9199 bit from old_res_options.
9200
4902da17
UD
9201 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9202
5ce33a62
UD
9203 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9204 value type for setfct.
9205
c2344f56
L
92062011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9209 __gettimeofday instead of gettimeofday.
9210
68468076
UD
92112011-06-26 Ulrich Drepper <drepper@gmail.com>
9212
9213 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9214
acb0d739
L
92152011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9216
9217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9218
9219 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9220 info.
9221
8912479f
L
92222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9223
9224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9225 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9226 strcpy-sse2-unaligned strncpy-sse2-unaligned
9227 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9228 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9229 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9230 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9231 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9234 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9235 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9236 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9237 (STRCPY): Support SSE2 and SSSE3 versions.
9238
d5495a11
UD
92392011-06-24 Ulrich Drepper <drepper@gmail.com>
9240
9241 [BZ #12874]
9242 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9243 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9244 kernels which artificially limit size of requests.
9245
0b1cbaae
L
92462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9247
9248 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9249 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9250 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9251 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9252 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9253 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9254 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9255 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9256 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9258 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9259 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9260 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9261 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9262 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9264 Enable unaligned load optimization for Intel Core i3, i5 and i7
9265 processors.
9266 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9267 Define.
9268 (index_Fast_Unaligned_Load): Define.
9269 (HAS_FAST_UNALIGNED_LOAD): Define.
9270
07f494a0
MP
92712011-06-23 Marek Polacek <mpolacek@redhat.com>
9272
9273 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9274
fa3fc0fe
UD
92752011-06-22 Ulrich Drepper <drepper@gmail.com>
9276
9277 [BZ #12907]
9278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9279 until it is clear that the information is realy needed.
9280 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9281
e12df166
AS
92822011-06-22 Andreas Schwab <schwab@redhat.com>
9283
9284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9285
852eb34d
UD
92862011-06-22 Ulrich Drepper <drepper@gmail.com>
9287
84e2a551
UD
9288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9289 /sys/devices/system/cpu/online if it is usable.
9290
852eb34d
UD
9291 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9292 reading the information from the /proc filesystem to once a second.
9293
6e502e19
UD
92942011-06-21 Andreas Jaeger <aj@suse.de>
9295
9296 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9297 NULL after inclusion of kernel headers.
9298
75d39ff2
UD
92992011-06-21 Ulrich Drepper <drepper@gmail.com>
9300
51f9aa6a
UD
9301 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9302 calls to internal_setent.
9303
c0244a9d
UD
9304 [BZ #12885]
9305 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9306 addresses using gethostbyname4_r ignore IPv4 addresses.
9307
c5e3c2ae
UD
9308 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9309 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9310
75d39ff2
UD
9311 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9312
42675c6f
DM
93132011-06-20 David S. Miller <davem@davemloft.net>
9314
9315 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9316 inclusions.
9317 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9318
9319 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9320 (elf_irel): Use it.
9321 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9322 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9323 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9324 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9325 * sysdeps/x86_64/dl-irel.h: Likewise.
9326
9327 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9328 * elf/dl-sym.c: Likewise.
9329
57912a71
UD
93302011-06-15 Ulrich Drepper <drepper@gmail.com>
9331
9332 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9333 need to dereference resplen2.
9334
ee22793d
AS
93352011-06-14 Andreas Schwab <schwab@redhat.com>
9336
9337 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9338
a9e836b0
UD
93392011-06-15 Ulrich Drepper <drepper@gmail.com>
9340
77fb9117
UD
9341 * Makeconfig: Define vardbdir and inst_vardbdir.
9342 * nss/Makefile: Add rules to install db-Makefile.
9343
40c1b22c
UD
9344 * nss/nss_db/db-XXX.c: Cleanup.
9345
9f2da732
UD
9346 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9347 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9348 GLIBC_PRIVATE.
9349 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9350 * nss/makedb.c: Implement -g option to specify that value strings
9351 are generated and should not be added to table iterated over for
9352 get*ent calls.
9353 * nss/nss_db/db-initgroups.c: New file.
9354
82e9a1f7
UD
9355 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9356 interface.
9357
c41af17e
UD
9358 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9359 (internal_getgrouplist): Adjust to name change.
9360 Update use_initgroups_entry if this is not the first call.
9361 * nss/databases.def: Add initgroups entry.
9362
a9e836b0
UD
9363 * nss/makedb.c (compute_tables): Check result of multiple hash table
9364 sizes to minimize maximum chain length.
9365
2666d441
UD
93662011-06-14 Ulrich Drepper <drepper@gmail.com>
9367
9368 * Versions.def: Add entry for libnss_db.
9369 * shlib-versions: Likewise.
9370 * nss/Makefile: Add rules to build libnss_db.
9371 * nss/Versions: Add libnss_db information. Organize libnss_files
9372 entries better.
9373 * nss/db-Makefile: Add gshadow support. Change rules for the new
9374 makedb progra. Some minor improvements to generate smaller files.
9375 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9376 here from...
9377 * nss/makedb.c: ...here.
9378 Improve database format to be smaller and require less memory at
9379 runtime.
9380 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9381 db anymore.
9382 * nss/nss_db/db-netgrp.c: Likewise.
9383 * nss/nss_db/db-open.c: Likewise.
9384 * nss/nss_files/flies-XXX.x: Adjust comments.
9385 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9386 * nss/nss_files/files-grp.c: Likewise.
9387 * nss/nss_files/files-hosts.c: Likewise.
9388 * nss/nss_files/files-network.c: Likewise.
9389 * nss/nss_files/files-proto.c: Likewise.
9390 * nss/nss_files/files-pwd.c: Likewise.
9391 * nss/nss_files/files-rpc.c: Likewise.
9392 * nss/nss_files/files-service.c: Likewise.
9393 * nss/nss_files/files-sgrp.c: Likewise.
9394 * nss/nss_files/files-spwd.c: Likewise.
9395 * nss/nss_db/db-alias.c: Removed.
9396 * nss/nss_db/dummy-db.h: Removed.
9397
9ee76b5a
UD
93982011-06-02 Ulrich Drepper <drepper@gmail.com>
9399
9400 * nss/makedb.c: Rewritten to not use database library.
9401 * nss/Makefile: Update to build new makedb program.
9402
c71ca1f8
AJ
94032011-06-14 Andreas Jaeger <aj@suse.de>
9404
9405 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9406 memset declaration.
9407
3154bfb8
UD
94082011-06-10 Andreas Schwab <schwab@redhat.com>
9409
9410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9411 tmpbuf.
9412
b350afab
RM
94132011-06-10 Roland McGrath <roland@hack.frob.com>
9414
decd4e50
RM
9415 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9416 * elf/Makefile ($(objpfx)ld.so): Likewise.
9417
5615eaf2
RM
9418 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9419 Don't list ld.so twice in dependencies.
9420
9421 * posix/bug-regex31.c: Include <stdlib.h>.
9422
9423 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9424
9425 * nis/nss_compat/compat-spwd.c
9426 (getspent_next_nss_netgr): Remove unused variable.
9427 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9428
9429 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9430 nonmembers" output to use the right array.
9431
9432 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9433
9434 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9435
9436 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9437 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9438 * catgets/gencat.c (read_input_file): Likewise.
9439 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9440
9441 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9442 variable definition inside #if's controlling its use.
9443
9444 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9445
9446 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9447
9448 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9449
9450 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9451 unreachable code.
9452
9453 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9454
b68e08db
RM
9455 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9456 * configure: Regenerated.
9457
b350afab
RM
9458 * Makerules: Revert last change.
9459 * elf/Makefile: Likewise.
9460
28368601
RM
94612011-06-09 Roland McGrath <roland@hack.frob.com>
9462
9463 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9464 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9465 (reloc-link): Likewise.
9466
11988f8f
UD
94672011-06-09 Ulrich Drepper <drepper@gmail.com>
9468
9469 * elf/Makefile: Add rules to build pldd.
9470 * elf/pldd.c: New file.
9471 * elf/pldd-xx.c: New file.
9472
e80fab37
UD
94732011-06-07 Ulrich Drepper <drepper@gmail.com>
9474
9475 * version.h: Update for 2.15 development version.
9476
9b849836
DM
94772011-06-07 David S. Miller <davem@davemloft.net>
9478
9479 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9480 ifuncs.
9481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9482 elf_machine_lazy_rel): Likewise.
9483 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9485 elf_machine_lazy_rel): Likewise.
9486 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9487 dl_hwcap via passed in argument.
9488 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9489 Likewise.
9490
5a31b283
AK
94912011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9492
9493 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9494
069e52f8
RM
94952011-06-06 Roland McGrath <roland@hack.frob.com>
9496
9497 [BZ #12849]
9498 * manual/fdl-1.1.texi: New file, verbatim from:
9499 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9500 * manual/lgpl-2.1.texi: New file, verbatim from:
9501 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9502 * manual/Makefile (licenses): New variable, list those new file names.
9503 (texis): Use it.
9504 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9505
9506 * manual/fdl.texi: File removed.
9507 * manual/lesser.texi: File removed.
9508 * manual/libc.texinfo (Copying, Documentation License):
9509 Use new @include file names, put @appendix directive before @include.
9510
f16846a5
JJ
95112011-06-04 Jakub Jelinek <jakub@redhat.com>
9512
9513 [BZ #12841]
9514 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9515 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9516 (mq_open): Add __NTH.
9517
3d29045b
L
95182011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9519
9520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9521 Assume Intel Core i3/i5/i7 processor if AVX is available.
9522
8c297311
UD
95232011-05-31 Ulrich Drepper <drepper@gmail.com>
9524
9525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9526 typo.
9527
c8fc0c91
UD
95282011-05-31 Andreas Schwab <schwab@redhat.com>
9529
9530 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9531 memory. Use alloca_account. Fix memory leak when retrying.
9532
5b27a807
UD
95332011-05-31 Ulrich Drepper <drepper@gmail.com>
9534
356f8bc6
UD
9535 * version.h (RELEASE): Bump for 2.14 release.
9536 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9537
5b27a807
UD
9538 * config.make.in (RANLIB): Remove entry.
9539
01f16ab0
UD
95402011-05-30 Ulrich Drepper <drepper@gmail.com>
9541
41fce8bd
UD
9542 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9543 (libc.pot): Work around missing support for .ksh extension in xgettext.
9544
4769ae77
UD
9545 [BZ #12684]
9546 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9547 if both request failed.
9548 (send_dg): In case of server errors clear resplen or *resplen2.
9549
6b1e7d19
UD
9550 [BZ #12454]
9551 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9552 when there are multiple maps.
9553 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9554 (_dl_fini): Remove test here.
9555
01f16ab0
UD
9556 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9557
b1ebd700
UD
95582011-05-29 Ulrich Drepper <drepper@gmail.com>
9559
7ae22829
UD
9560 [BZ #12350]
9561 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9562 bit from old_res_options.
9563 (gaih_inet): Likewise.
9564
553149f6 9565 [BZ #11099]
18a84741 9566 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9567 as signed.
9568
652ffab1
UD
9569 * resolv/res_init.c (res_setoptions): Make the code more compact.
9570
16985fd0
UD
9571 [BZ #11558]
9572 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9573 set RES_USEVC.
9574
0464f746
UD
9575 [BZ #11634]
9576 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9577
7d17596c
UD
9578 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9579
cf6bbbd7
UD
9580 [BZ #11781]
9581 * malloc/malloc.h: Declare malloc hook variables as volatile.
9582
13f1ab36
UD
9583 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9584 in last patch.
9585
b1ebd700
UD
9586 [BZ #11799]
9587 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9588 raise in the comment.
80e2212d
UD
9589 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9591 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9592
ce67228d
UD
95932011-05-28 Ulrich Drepper <drepper@gmail.com>
9594
8887a920
UD
9595 [BZ #12811]
9596 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9597 grow the buffers more if it already has to be sufficient.
9598 (build_wcs_upper_buffer): Likewise.
9599 * posix/regexec.c (check_matching): Likewise.
9600 (clean_state_log_if_needed): Likewise.
9601 (extend_buffers): Don't enlarge buffers beyond size of the input
9602 buffer.
9603 Patches mostly by Emil Wojak <emil@wojak.eu>.
9604 * posix/bug-regex32.c: New file.
9605 * posix/Makefile (tests): Add bug-regex32.
9606
4f031072
UD
9607 * locale/findlocale.c (_nl_find_locale): Return right away if
9608 _nl_explode_name failed.
9609 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9610
d0478f0c
UD
9611 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9612
de81b246
UD
9613 * debug/xtrace.sh: Unify messages.
9614 * malloc/memusage.sh: Likewise.
9615
c738465a
UD
9616 [BZ #12813]
9617 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9618 time symbol from vDSO. Substitute with vsyscall if not available.
9619 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9620 __vdso_time.
9621
f1f929d7
UD
9622 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9623 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9624 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9625 Add sendmmsg and internal_sendmmsg.
9626 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9627 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9628 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9629
ce67228d
UD
9630 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9631 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9632 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9633
e57420c6
UD
96342011-05-27 Ulrich Drepper <drepper@gmail.com>
9635
a8509ca5
UD
9636 [BZ #12813]
9637 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9638 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9639 available.
9640 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9641 __vdso_getcpu.
9642
e57420c6
UD
9643 [BZ #12814]
9644 * iconvdata/Makefile (tests): Add bug-iconv9.
9645 * iconvdata/bug-iconv9.c: New file.
9646
4d07db15
AS
96472011-05-27 Andreas Schwab <schwab@redhat.com>
9648
9649 [BZ #12814]
9650 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9651
ea486f69
JJ
96522011-05-25 Jakub Jelinek <jakub@redhat.com>
9653
9654 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9655 (struct user_regs_struct): Change intcs field back to cs.
9656
6f038433
UD
96572011-05-25 Ulrich Drepper <drepper@gmail.com>
9658
9659 * po/ja.po: Update from translation team.
9660
67f86a25
UD
96612011-05-23 Ulrich Drepper <drepper@gmail.com>
9662
9663 [BZ #12795]
9664 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9665 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9666
def7fbd6
AS
96672011-05-20 Andreas Schwab <schwab@redhat.com>
9668
9669 * stdlib/longlong.h: Update from GCC.
9670
f50ef8f1
AS
96712011-05-23 Andreas Schwab <schwab@redhat.com>
9672
9673 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9674 parameter name.
9675 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9676 Add parameter name.
9677 (__sysconf): Pass it down.
9678
de7ce8f1
UD
96792011-05-22 Ulrich Drepper <drepper@gmail.com>
9680
f2962a71
UD
9681 [BZ #12671]
9682 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9683 some situations.
9684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9685 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9686 add in in __libc_use_alloca calls. Adjust callers.
9687 (glob): Use malloc in some situations.
9688
de7ce8f1
UD
9689 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9690 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9691 pltexit.
9692
aec84f53
UD
96932011-05-21 Ulrich Drepper <drepper@gmail.com>
9694
05bb4a68
UD
9695 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9696 and CLOCK_BOOTTIME_ALARM.
9697
7ea72f99
UD
9698 [BZ #12782]
9699 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9700 is returned.
9701
7e4afad5
UD
9702 * string/_strerror.c (__strerror_r): Print negative errors as signed
9703 numbers.
9704
8e211fec
UD
9705 [BZ #12777]
9706 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9707 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9708 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9709
f7d82dc9
UD
9710 * configure.in: Fix typo in redirection and correct removal of test
9711 files in two cases.
9712
cc9e536d
UD
9713 [BZ #12788]
9714 * locale/setlocale.c (new_composite_name): Fix test to check for
9715 identical name of all categories.
9716
aec84f53
UD
9717 [BZ #12792]
9718 * libio/filedoalloc.c (local_isatty): New function.
9719 (_IO_file_doallocate): Use local_isatty.
9720 * stdio-common/perror.c (perror): In case a new stream is used
9721 forward the stream error.
9722 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9723 error flag.
9724
78e64fdc
RT
97252011-05-20 Ulrich Drepper <drepper@gmail.com>
9726
34a9094f
UD
9727 [BZ #11869]
9728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9729 alloca.
9730 * include/alloca.h (extend_alloca_account): Define.
9731
78e64fdc
RT
9732 [BZ #11857]
9733 * posix/regex.h: Fix comments with documentation of user-accessible
9734 fields after compilation and describe correct free'ing of pattern
9735 after re_compile_pattern.
9736 Patch by Reuben Thomas <rrt@sc3d.org>.
9737
457bddfc
RA
97382011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9739
9740 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9741 and -mno-altivec to prevent the compiler from using Altivec and/or
9742 VSX instructions when the corresponding registers are not available.
9743
a4527b51
AS
97442011-05-19 Andreas Schwab <schwab@redhat.com>
9745
9746 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9747
ed690b2f
UD
97482011-05-19 Ulrich Drepper <drepper@gmail.com>
9749
9750 * libio/freopen.c (freopen): Use __dup2, not dup2.
9751 * libio/freopen64.c (freopen64): Likewise.
9752
8db73634
L
97532011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9754
9755 [BZ #12775]
9756 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9757 * math/Makefile (tests): Add test-powl.
9758 (CFLAGS-test-powl.c): Define.
9759 * math/test-powl.c: New file.
9760
0a197a9d
L
97612011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9762
9763 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9764
ee30c380
UD
97652011-05-17 Ulrich Drepper <drepper@gmail.com>
9766
9767 [BZ #11837]
9768 * iconvdata/gb18030.c: Update to GB18020-2005.
9769
6ce75379
UD
97702011-05-16 Ulrich Drepper <drepper@gmail.com>
9771
a4b89fd8
AR
9772 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9773 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9774 Patch by Aharon Robbins <arnold@skeeve.com>.
9775
ea389b12
UD
9776 [BZ #11892]
9777 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9778 on the stack.
9779
68a3f91f
UD
9780 [BZ #11895]
9781 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9782 through underflows.
9783
15cc7dd1
UD
9784 [BZ #12766]
9785 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9786 point to strings before performing equality test for error_one_per_line
9787 mode.
9788
f3799213
UD
9789 [BZ #11697]
9790 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9791
d79a9c94
UD
9792 [BZ #11820]
9793 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9794 (struct user_fpregs_struct): Avoid __uint*_t types.
9795
56e5eb46
UD
9796 [BZ #6420]
9797 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9798 symbol info. Use it instead of calling _dl_addr locally.
9799 (lock_and_info): New function.
9800 (tr_freehook): Call lock_and_info and pass symbol info as additional
9801 parameter to tr_where.
9802 (tr_mallochook): Likewise.
9803 (tr_reallochook): Likewise.
9804 (tr_memalignhook): Likewise.
9805
6ce75379
UD
9806 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9807 used and couldn't be at all thread-safe.
9808
f8a3b5bf
UD
98092011-05-15 Ulrich Drepper <drepper@gmail.com>
9810
94b7cc37
UD
9811 * libio/freopen.c (freopen): Don't close old file descriptor
9812 before the new one is opened. Instead dup the new file descriptor
9813 to the old one after the new stream is created.
9814 * libio/freopen64.c (freopen64): Likewise.
9815 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9816 * libio/fileops.c (_IO_new_file_close_it): Handle new
9817 _IO_FLAGS2_NOCLOSE flag.
9818 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9819 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9820 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9821 _IO_FLAGS2_NOCLOSE flag.
9822 * include/unistd.h: Add hidden_proto for dup3.
9823 Define __have_dup3.
9824 * io/dup3.c: Define hidden symbol.
9825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9826
bd25564e
UD
9827 [BZ #7101]
9828 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9829 when an incomplete long option is used.
9830 * posix/tst-getopt_long1.c: New file.
9831 * posix/Makefile (tests): Add tst-getopt_long1.
9832
c84cfef4
UD
9833 [BZ #10138]
9834 * scripts/config.guess: Update from autoconf-2.68.
9835 * scripts/config.sub: Likewise.
9836
3b85df27
UD
9837 [BZ #10157]
9838 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9839 tests into ...
9840 (has_cpuclock): ...this. New function.
9841 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9842 macro here based on has_cpuclock code.
9843
15a856b1
UD
9844 [BZ #10149]
9845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9846 First byte (not low byte) is now always NUL.
9847 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9848
05f399e6
UD
9849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9850 Use non-cancelable interfaces.
9851
10a52685 9852 [BZ #9809]
94ecc67d
UD
9853 * locale/iso-639.def: Add entry for Sorani.
9854
f8a3b5bf
UD
9855 [BZ #11901]
9856 * include/stdlib.h: Move include protection to the right place.
9857 Define abort_msg_s. Declare __abort_msg with it.
9858 * stdlib/abort.c (__abort_msg): Adjust type.
9859 * assert/assert.c (__assert_fail_base): New function. Majority
9860 of code from __assert_fail. Allocate memory for __abort_msg with
9861 mmap.
9862 (__assert_fail): Now call __assert_fail_base.
9863 * assert/assert-perr.c: Remove bulk of implementation. Use
9864 __assert_fail_base.
9865 * include/assert.hL Declare __assert_fail_base.
9866 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9867 mmap.
9868 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9869
1af4e298
UD
98702011-05-14 Ulrich Drepper <drepper@gmail.com>
9871
f8a3b5bf 9872 [BZ #11952]
d26dfc60
MG
9873 [BZ #12453]
9874 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9875 until all modules are registered in the DTV.
9876 * elf/Makefile: Add rules to build and run tst-tls19.
9877 * elf/tst-tls19.c: New file.
9878 * elf/tst-tls19mod1.c: New file.
9879 * elf/tst-tls19mod2.c: New file.
9880 * elf/tst-tls19mod3.c: New file.
9881 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9882
2fc54d6f
UD
9883 [BZ #12083]
9884 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9885 correctly.
9886
98d76b46
UD
9887 [BZ #12601]
9888 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9889 two-byte sequence errors.
9890 * iconvdata/Makefile (tests): Add bug-iconv8.
9891 * iconvdata/bug-iconv8.c: New file.
9892
da3c19ef
UD
9893 [BZ #12626]
9894 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9895 buf2 definition.
9896
ca408c15
UD
9897 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9898
d6f67f7d
UD
9899 [BZ #12432]
9900 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9901 (dummy_getcfa): New function.
9902 (init): Get _Unwind_GetCFA address, use dummy if not found.
9903 (backtrace_helper): In recursion check, also check whether CFA changes.
9904 (__backtrace): Completely initialize arg.
9905
1af4e298 9906 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9907 storing incomplete byte sequence in state object. Avoid testing for
9908 guaranteed too small input if we know there is enough data available.
1af4e298 9909
da62f81b
AS
99102011-05-11 Andreas Schwab <schwab@redhat.com>
9911
9912 * Makeconfig (+link-pie): Indent.
9913 * Rules (binaries-pie): Define if $(have-fpie) and
9914 $(build-shared).
9915 (binaries-shared): Also filter out $(binaries-pie).
9916 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9917 * nscd/Makefile (others-pie): Add nscd.
9918 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9919 ($(objpfx)nscd): Remove command override.
9920 * login/Makefile (others-pie): Add pt_chown.
9921 ($(objpfx)pt_chown): Remove command override.
9922 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9923 remove command overrides.
9924
fcabc0f8
UD
99252011-05-13 Ulrich Drepper <drepper@gmail.com>
9926
20030ae6
UD
9927 * libio/tst_putwc.c: Fix error messages.
9928
fcabc0f8
UD
9929 [BZ #12724]
9930 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9931 currently writing and seek to current position when not.
9932 * libio/Makefile (tests): Add bug-fclose1.
9933 * libio/bug-fclose1.c: New file.
9934
320a5dc0
PB
99352011-05-12 Ulrich Drepper <drepper@gmail.com>
9936
9937 [BZ #12511]
9938 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9939 don't set DF_1_NODELETE here.
9940 (do_lookup_x): When entering new entry test for copy relocation
9941 and if necessary set DF_1_NODELETE flag.
9942 * elf/tst-unique4.cc: New file.
9943 * elf/tst-unique4.h: New file.
9944 * elf/tst-unique4lib.cc: New file.
9945 * elf/Makefile: Add rules to build and run tst-unique4.
9946 Patch by Piotr Bury <pbury@goahead.com>.
9947
22836f52
UD
99482011-05-11 Ulrich Drepper <drepper@gmail.com>
9949
f574184a
UD
9950 [BZ #12052]
9951 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9952
e1fb097f
UD
9953 [BZ #12625]
9954 * misc/mntent_r.c (addmntent): Flush the stream after the output
9955
22836f52
UD
9956 [BZ #12393]
9957 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9958 (is_trusted_path_normalize): Skip initial colon. Append slash
9959 to empty buffer. Duplicate is_trusted_path code but allow
9960 constructed patch to be prefix.
9961 (is_dst): Allow $ORIGIN followed by /.
9962 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9963 Correct testing of result of is_trusted_path_normalize
9964 (decompose_rpath): Fix warning.
9965
7b3b0b2a
UD
99662011-05-10 Ulrich Drepper <drepper@gmail.com>
9967
9968 [BZ #11257]
9969 * grp/initgroups.c (internal_getgrouplist): When we found the service
9970 list through the initgroups entry in nsswitch.conf do not always
9971 continue on a successful lookup. Don't always use the
eac80ce2 9972 __nss_group_database value if it is set.
7b3b0b2a
UD
9973 * nss/nsswitch.conf (initgroups): Change action for successful db
9974 lookup to continue for compatibility.
9975
2a81eaa5
UD
99762011-05-09 Ulrich Drepper <drepper@gmail.com>
9977
be97a69e
UD
9978 [BZ #11532]
9979 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9980 and CP774 modules.
9981 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9982 and CP774 modules.
9983 * iconvdata/tst-tables.sh: Likewise.
9984 * iconvdata/cp770.c: New file.
9985 * iconvdata/cp771.c: New file.
9986 * iconvdata/cp772.c: New file.
9987 * iconvdata/cp773.c: New file.
9988 * iconvdata/cp774.c: New file.
9989 * iconvdata/testdata/CP770: New file.
9990 * iconvdata/testdata/CP770..UTF8: New file.
9991 * iconvdata/testdata/CP771: New file.
9992 * iconvdata/testdata/CP771..UTF8: New file.
9993 * iconvdata/testdata/CP772: New file.
9994 * iconvdata/testdata/CP772..UTF8: New file.
9995 * iconvdata/testdata/CP773: New file.
9996 * iconvdata/testdata/CP773..UTF8: New file.
9997 * iconvdata/testdata/CP774: New file.
9998 * iconvdata/testdata/CP774..UTF8: New file.
9999
10000 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10001 END CHARMAP line.
10002 * iconvdata/gen-8bit-gap.sh: Likewise.
10003 * iconvdata/gen-8bit.sh: Likewise.
10004
c1e9e399
UD
10005 * locale/iso-639.def: Add ary entry.
10006
24c55fb3 10007 [BZ #11258]
96b4b1b0
UD
10008 * locale/C-translit.h.in: Add U20A1 transliteration.
10009
bdc2f971
KB
10010 [BZ #12178]
10011 * locale/iso-639.def: Add wae entry.
10012 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10013
2952b117
UD
10014 [BZ #12545]
10015 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10016 for n.
10017
2a81eaa5
UD
10018 [BZ #12711]
10019 * locale/C-translit.h.in: Add entry for U20B9.
10020 Patch by pravin.d.s@gmail.com.
10021
28377d1b
UD
100222011-05-08 Ulrich Drepper <drepper@gmail.com>
10023
7fb90fb8
UD
10024 [BZ #12713]
10025 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10026 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10027 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10028 in rtld. Use *stat64.
7fb90fb8 10029 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10030 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10031 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10032 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10033 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10034 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10035 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10036 __fstatat64 macros.
7fb90fb8
UD
10037 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10038 * dirent/rewinddir.c: Add libc_hidden_def.
10039 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10040 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10041
28377d1b
UD
10042 * include/dirent.h (__alloc_dir): Add flags parameter.
10043 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10044 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10045 __alloc_dir.
10046 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10047 from fdopendir if O_CLOEXEC is already set.
10048
66bdbaa4
AM
100492011-03-15 Alan Modra <amodra@gmail.com>
10050
10051 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10052 l_tls_firstbyte_offset non-zero. Save padding offset in
10053 l_tls_firstbyte_offset for later use.
10054 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10055 freeing static tls block.
10056
95721191
JN
100572011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10058
10059 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10060 where #ifdef was intended. The intent is to prevent ARG_MAX from
10061 being defined by the kernel headers.
10062
f87dfb1f
UD
100632011-05-07 Ulrich Drepper <drepper@gmail.com>
10064
10065 [BZ #12734]
10066 * resolv/resolv.h: Define RES_NOTLDQUERY.
10067 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10068 no-tld-query and set RES_NOTLDQUERY.
10069 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10070 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10071 modern BIND to search name as TLD unless forbidden.
10072
47c3cd7a
UD
100732011-05-07 Petr Baudis <pasky@suse.cz>
10074 Ulrich Drepper <drepper@gmail.com>
10075
10076 [BZ #12393]
10077 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10078 (is_trusted_path): ...to here.
c1e9ea35 10079 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10080 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10081 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10082
8a35c912
PP
100832011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10084
10085 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10086 __BEGIN/__END_DECLS.
10087
acd41f47
UD
100882011-05-06 Ulrich Drepper <drepper@gmail.com>
10089
10090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10091 NSS_STATUS_NOTFOUND if no record was found.
10092
597df647
AS
100932011-05-05 Andreas Schwab <schwab@redhat.com>
10094
10095 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10096 (headers-not-in-tirpc): Remove rpc/netdb.h
10097 * resolv/netdb.h: Revert last change.
10098
b9af1301
PP
100992011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10100
10101 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10102 circular dependency between libgcc.a and libc.a.
10103
4e34d5f5
AS
101042011-05-05 Andreas Schwab <schwab@redhat.com>
10105
10106 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10107 * nis/Makefile: Don't install rpcsvc/*.
10108 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10109 instead of <rpc/types.h>.
10110 (MAXHOSTNAMELEN): Define.
10111
00ee369c
AS
101122011-05-03 Andreas Schwab <schwab@redhat.com>
10113
10114 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10115
0b592a30
MB
101162011-04-28 Maciej Babinski <mbabinski@google.com>
10117
10118 [BZ #12714]
10119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10120 gethostbyname4_r when IPv6 results are possible.
10121
6e04cbbe
UD
101222011-05-02 Ulrich Drepper <drepper@gmail.com>
10123
10124 [BZ #12723]
10125 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10126 _PC_PIPE_BUF handling.
10127
e4ecafe0
BH
101282011-04-30 Bruno Haible <bruno@clisp.org>
10129
10130 [BZ #12717]
10131 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10132 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10133 to 'int'.
10134 * inet/getnameinfo.c (getnameinfo): Likewise.
10135
125ee683
UD
101362011-04-29 Ulrich Drepper <drepper@gmail.com>
10137
10138 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10139 to groups setting in database lookup.
10140 * nss/nsswitch.conf: Add initgroups entry.
10141
b722481a
EB
101422011-04-22 Ulrich Drepper <drepper@gmail.com>
10143
10144 [BZ #12685]
10145 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10146 mode string.
10147 Patch by Eric Blake <eblake@redhat.com>.
10148
4df46dbd
L
101492011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10150
10151 * sunrpc/Makefile (need-export-routines): Add svc_run.
10152 (routines): Remove svc_run.
10153 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10154 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10155 * sunrpc/svc_run.c (svc_run): Likewise.
10156 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10157
e84142d2
UD
101582011-04-21 Ulrich Drepper <drepper@gmail.com>
10159
10160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10161 problem in reallocation in last patch.
10162
877175d8
UD
101632011-04-20 Ulrich Drepper <drepper@gmail.com>
10164
10165 * sunrpc/Makefile: Move inclusion of Rules.
10166
ab8eed78
UD
101672011-04-19 Ulrich Drepper <drepper@gmail.com>
10168
10169 * nss/nss_files/files-initgroups.c: New file.
10170 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10171 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10172 _nss_files_initgroups_dyn.
10173
e3d8f584
RS
101742011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10175
10176 * elf/elf.h (R_ARM_IRELATIVE): Define.
10177
af190f45
UD
101782011-04-19 Ulrich Drepper <drepper@gmail.com>
10179
10180 * po/ru.po: Update from translation team.
10181
53cf59ef
UD
101822011-04-17 Ulrich Drepper <drepper@gmail.com>
10183
10184 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10185 dependencies.
10186
4c559bcd
MF
101872011-02-06 Mike Frysinger <vapier@gentoo.org>
10188
10189 [BZ #12653]
10190 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10191 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10194 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10195
4420675c
AS
101962011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10197
10198 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10199 differing bytes.
10200 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10201 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10202 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10203
75ea32ab
UD
102042011-04-17 Ulrich Drepper <drepper@gmail.com>
10205
10206 [BZ #12420]
10207 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10208 storing it.
10209 * stdlib/bug-getcontext.c: New file.
10210 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10211
27390476
AK
102122011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10213
10214 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10215 instructions into .machine "z9-109".
10216 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10217 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10218
10442705
AK
102192011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10220
10221 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10222 between environment variables and auxiliary vector.
10223
7b57bfe5
UD
102242011-04-16 Ulrich Drepper <drepper@gmail.com>
10225
10226 * Makefile: Add rules to build linkobj/libc.so.
10227 * include/libc-symbols.h: Define libc_hidden_nolink.
10228 * include/rpc/auth.h: Mark functions which are to be hidden.
10229 * include/rpc/auth_des.h: Likewise.
10230 * include/rpc/auth_unix.h: Likewise.
10231 * include/rpc/clnt.h: Likewise.
10232 * include/rpc/des_crypt.h: Likewise.
10233 * include/rpc/key_prot.h: Likewise.
10234 * include/rpc/pmap_clnt.h: Likewise.
10235 * include/rpc/pmap_prot.h: Likewise.
10236 * include/rpc/pmap_rmt.h: Likewise.
10237 * include/rpc/rpc_msg.h: Likewise.
10238 * include/rpc/svc.h: Likewise.
10239 * include/rpc/svc_auth.h: Likewise.
10240 * include/rpc/xdr.h: Likewise.
10241 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10242 * nss/Makefile: Likewise.
10243 * sunrpc/Makefile: Don't install headers. Build library with normal
10244 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10245 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10246 for the compat linking library. Remove use of INTDEF/INTUSE.
10247 * sunrpc/auth_none.c: Likewise.
10248 * sunrpc/auth_unix.c: Likewise.
10249 * sunrpc/authdes_prot.c: Likewise.
10250 * sunrpc/authuxprot.c: Likewise.
10251 * sunrpc/clnt_gen.c: Likewise.
10252 * sunrpc/clnt_perr.c: Likewise.
10253 * sunrpc/clnt_raw.c: Likewise.
10254 * sunrpc/clnt_simp.c: Likewise.
10255 * sunrpc/clnt_tcp.c: Likewise.
10256 * sunrpc/clnt_udp.c: Likewise.
10257 * sunrpc/clnt_unix.c: Likewise.
10258 * sunrpc/des_crypt.c: Likewise.
10259 * sunrpc/des_soft.c: Likewise.
10260 * sunrpc/get_myaddr.c: Likewise.
10261 * sunrpc/key_call.c: Likewise.
10262 * sunrpc/key_prot.c: Likewise.
10263 * sunrpc/netname.c: Likewise.
10264 * sunrpc/pm_getmaps.c: Likewise.
10265 * sunrpc/pm_getport.c: Likewise.
10266 * sunrpc/pmap_clnt.c: Likewise.
10267 * sunrpc/pmap_prot.c: Likewise.
10268 * sunrpc/pmap_prot2.c: Likewise.
10269 * sunrpc/pmap_rmt.c: Likewise.
10270 * sunrpc/publickey.c: Likewise.
10271 * sunrpc/rpc_cmsg.c: Likewise.
10272 * sunrpc/rpc_common.c: Likewise.
10273 * sunrpc/rpc_dtable.c: Likewise.
10274 * sunrpc/rpc_prot.c: Likewise.
10275 * sunrpc/rpc_thread.c: Likewise.
10276 * sunrpc/rtime.c: Likewise.
10277 * sunrpc/svc.c: Likewise.
10278 * sunrpc/svc_auth.c: Likewise.
10279 * sunrpc/svc_authux.c: Likewise.
10280 * sunrpc/svc_raw.c: Likewise.
10281 * sunrpc/svc_run.c: Likewise.
10282 * sunrpc/svc_simple.c: Likewise.
10283 * sunrpc/svc_tcp.c: Likewise.
10284 * sunrpc/svc_udp.c: Likewise.
10285 * sunrpc/svc_unix.c: Likewise.
10286 * sunrpc/svcauth_des.c: Likewise.
10287 * sunrpc/xcrypt.c: Likewise.
10288 * sunrpc/xdr.c: Likewise.
10289 * sunrpc/xdr_array.c: Likewise.
10290 * sunrpc/xdr_float.c: Likewise.
10291 * sunrpc/xdr_intXX_t.c: Likewise.
10292 * sunrpc/xdr_mem.c: Likewise.
10293 * sunrpc/xdr_rec.c: Likewise.
10294 * sunrpc/xdr_ref.c: Likewise.
10295 * sunrpc/xdr_sizeof.c: Likewise.
10296 * sunrpc/xdr_stdio.c: Likewise.
10297
e6c61494
UD
102982011-04-10 Ulrich Drepper <drepper@gmail.com>
10299
10300 [BZ #12650]
10301 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10302 * sysdeps/ia64/dl-tls.h: Likewise.
10303 * sysdeps/powerpc/dl-tls.h: Likewise.
10304 * sysdeps/s390/dl-tls.h: Likewise.
10305 * sysdeps/sh/dl-tls.h: Likewise.
10306 * sysdeps/sparc/dl-tls.h: Likewise.
10307 * sysdeps/x86_64/dl-tls.h: Likewise.
10308 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10309
34fe483e
AS
103102011-03-14 Andreas Schwab <schwab@redhat.com>
10311
10312 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10313 rpath element also skip the following colon.
10314 (expand_dynamic_string_token): Add is_path parameter and pass
10315 down to DL_DST_REQUIRED and _dl_dst_substitute.
10316 (decompose_rpath): Call expand_dynamic_string_token with
10317 non-zero is_path. Ignore empty rpaths.
10318 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10319 with zero is_path.
10320
f12a32e6
AS
103212011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10322
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10324 Make cancelable.
10325
38a7d692
UD
103262011-04-09 Ulrich Drepper <drepper@gmail.com>
10327
10328 [BZ #12655]
10329 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10330 Patch by Filipe David Manana <fdmanana@apache.org>.
10331
e451d22b
AS
103322011-04-07 Andreas Schwab <schwab@redhat.com>
10333
10334 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10335 Maintain aligned stack.
10336 (CHECK_RSP): Remove unused macro.
10337
dedc7c7b
UD
103382011-04-03 Ulrich Drepper <drepper@gmail.com>
10339
10340 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10341 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10342
94521213
UD
103432011-04-02 Ulrich Drepper <drepper@gmail.com>
10344
10345 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10346
8cb700c0 10347 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10348
0354e355
L
103492011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10350
10351 [BZ #12518]
10352 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10353 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10354 * sysdeps/x86_64/memmove.c: New file.
10355 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10356 (memcpy): Renamed to ...
10357 (__new_memcpy): This.
10358 (memcpy): Provide GLIBC_2_14 memcpy.
10359 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10360 (memcpy): Provide GLIBC_2_2_5 memcpy.
10361
8593482f
UD
103622011-04-01 Ulrich Drepper <drepper@gmail.com>
10363
10364 [BZ #12631]
10365 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10366
81a5726b
AS
103672011-03-30 Andreas Schwab <schwab@redhat.com>
10368
10369 * misc/syncfs.c: New file.
10370 * misc/Makefile (routines): Add syncfs.
10371 * posix/unistd.h: Declare syncfs.
10372 * sysdeps/unix/syscalls.list: Add syncfs.
10373
00e5419f
AS
103742011-04-01 Andreas Schwab <schwab@redhat.com>
10375
10376 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10377 open_by_handle_at.
10378 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10379 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10381 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10383 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10384 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10385
748876bf
UD
103862011-04-01 Ulrich Drepper <drepper@gmail.com>
10387
658e451d
UD
10388 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10389 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10390 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10392 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10395
748876bf
UD
10396 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10397 sync_file_range.c with -fexceptions.
10398 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10399 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10400 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10401 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10402 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10403 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10404 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10405 sync_file_range as cancellation point
10406 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10407 now a wrapper around __call_sync_file_range with cancellation handling.
10408 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10409 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10410 function name to __call_sync_file_range.
10411 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10412 Add call_sync_file_range.
748876bf 10413
6e63d5e1
AS
104142011-04-01 Andreas Schwab <schwab@redhat.com>
10415
10416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10417 bits/timex.h.
6e63d5e1 10418
46998f74
UD
104192011-04-01 Ulrich Drepper <drepper@gmail.com>
10420
4c1423ed
UD
10421 * iconv/iconv.h: Fix typo in comment.
10422 * io/fcntl.h: Likewise.
10423 * libio/stdio.h: Likewise.
10424 * posix/spawn.h: Likewise.
10425 * posix/unistd.h: Likewise.
10426 * stdlib/stdlib.h: Likewise.
10427 * time/time.h: Likewise.
10428 * wcsmbs/wchar.h: Likewise.
10429
158648c0
UD
10430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10431 open_by_handle): Add.
10432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10433 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10434 Augment a few comments.
10435 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10439 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10440 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10441 open_by_handle.
10442
46998f74
UD
10443 * io/fcntl.h (AT_EMPTY_PATH): Define.
10444
83fe108b
UD
104452011-03-30 Ulrich Drepper <drepper@gmail.com>
10446
10447 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10448 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10449 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10450 to...
10451 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10452 * Versions.def: Add GLIBC_2.14.
10453 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10454 Export.
83fe108b 10455
bb242059
UD
104562011-03-22 Ulrich Drepper <drepper@gmail.com>
10457
10458 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10459 round counter.
10460 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10461
c97a1282
L
104622011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10463
10464 [BZ #12597]
10465 * string/test-strncmp.c (do_page_test): New function.
10466 (check2): Likewise.
10467 (test_main): Call check2.
10468 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10469
2a115601
UD
104702011-03-20 Ulrich Drepper <drepper@gmail.com>
10471
10472 [BZ #12587]
10473 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10474 Handle cache information in CPU leaf 4.
10475 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10476
8126d904
UD
104772011-03-18 Ulrich Drepper <drepper@gmail.com>
10478
042c49c6 10479 [BZ #12583]
8126d904
UD
10480 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10481 character representation.
10482 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10483
ccfe366e
RA
104842011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10485
10486 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10487 END(__isnan) to END(__isnanf) to match function entry point/label
10488 EALIGN(__isnanf,...).
10489
c6e13027
JJ
104902011-03-10 Jakub Jelinek <jakub@redhat.com>
10491
10492 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10493
33f85a3f
UD
104942011-03-10 Ulrich Drepper <drepper@gmail.com>
10495
028478fa
UD
10496 [BZ #12510]
10497 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10498 copy from the symbol referenced in the relocation to initialize the
10499 used variable.
10500 Patch by Piotr Bury <pbury@goahead.com>.
10501 * elf/Makefile: Add rules to build and tst-unique3.
10502 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10503 * elf/tst-unique3.cc: New file.
10504 * elf/tst-unique3.h: New file.
10505 * elf/tst-unique3lib.cc: New file.
10506 * elf/tst-unique3lib2.cc: New file.
10507
33f85a3f
UD
10508 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10509
03592fc7
MF
105102011-03-10 Mike Frysinger <vapier@gentoo.org>
10511
10512 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10513 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10514 to _start.
03592fc7 10515
6a5ee102
UD
105162011-03-06 Ulrich Drepper <drepper@gmail.com>
10517
10518 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10519 to-be-loaded object along a path to loader is ld.so.
10520
7e4ba49c
HJ
105212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10522 Ulrich Drepper <drepper@gmail.com>
10523
10524 * sysdeps/x86_64/memset.S: After aligning destination, code
10525 branches to different locations depending on the value of
10526 misalignment, when multiarch is enabled. Fix this.
10527
105282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10529
10530 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10531 Set _x86_64_preferred_memory_instruction for AMD processsors.
10532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10533 Set bit_Prefer_SSE_for_memop for AMD processors.
10534
13a804de
UD
105352011-03-04 Ulrich Drepper <drepper@gmail.com>
10536
10537 * libio/fmemopen.c (fmemopen): Optimize a bit.
10538
9d25c392
AS
105392011-03-03 Andreas Schwab <schwab@redhat.com>
10540
10541 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10542
a5543c6a
RM
105432011-03-03 Roland McGrath <roland@redhat.com>
10544
10545 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10546
012d35f7
DM
105472011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10548
7e4ba49c 10549 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10550 __bzero_ultra1 instead of __memset_ultra1.
10551
4bff6e01
AS
105522011-02-23 Andreas Schwab <schwab@redhat.com>
10553 Ulrich Drepper <drepper@gmail.com>
10554
10555 [BZ #12509]
10556 * include/link.h (struct link_map): Add l_orig_initfini.
10557 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10558 returning unsuccessfully.
10559 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10560 close of a file loaded at startup, restore the original l_initfini
10561 list.
10562 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10563 list, store the pointer.
10564 * elf/Makefile ($(objpfx)noload-mem): New rule.
10565 (noload-ENV): Define.
10566 (tests): Add $(objpfx)noload-mem.
10567 * elf/noload.c: Include <memcheck.h>.
10568 (main): Call mtrace. Close all opened handles.
10569
f2092faf
AS
105702011-02-17 Andreas Schwab <schwab@redhat.com>
10571
10572 [BZ #12454]
10573 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10574 dependencies are missing.
10575
6c8a2e88
ST
105762011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10577
f2092faf 10578 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10579 Hurd needs munmap.
10580 * sysdeps/mach/hurd/ifreq.h: New file.
10581
84a42118
PB
105822011-01-27 Petr Baudis <pasky@suse.cz>
10583 Ulrich Drepper <drepper@gmail.com>
10584
071f805e 10585 [BZ 12445]#
84a42118
PB
10586 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10587 to extend_alloca().
10588 * stdio-common/bug23.c: New file.
10589 * stdio-common/Makefile (tests): Add bug23.
10590
e23fe25b
AS
105912010-09-28 Andreas Schwab <schwab@redhat.com>
10592 Ulrich Drepper <drepper@gmail.com>
10593
10594 [BZ #12489]
10595 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10596 before performing relro protection. At old place add assertion
10597 to make sure nothing changed.
10598
d3f02e10
NS
105992011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10600 Glauber de Oliveira Costa <glommer@gmail.com>
10601
10602 * elf/elf.h: Add new ARM TLS relocs.
10603
d55fd7a5
RA
106042011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10605
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10607 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10608 cast from r3.
10609 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10610 'tests' variable.
10611 * sysdeps/wordsize-64/tst-writev.c: New file.
10612
2206397e
RA
106132011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10614
10615 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10616 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10617 insns in _dl_start to prevent a TOC reference before relocs are
10618 resolved.
10619
e9433893
UD
106202011-02-15 Ulrich Drepper <drepper@gmail.com>
10621
10622 [BZ #12469]
10623 * Makeconfig: Remove RANLIB definition.
10624 * Makerules: Don't use RANLIB.
10625 * aclocal.m4: Remove ranlib test.
10626 * configure.in: No need to check for ranlib.
10627 * elf/rtld-Rules: Don't use RANLIB.
10628
f75286c6
ST
106292011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10630
8e31c82d
ST
10631 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10632 protection macro.
10633 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10634 inclusion protection macro.
10635
f75286c6
ST
10636 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10637 SIGRTMIN and SIGRTMAX and print information in that case only when
10638 SIGRTMIN is defined.
10639
c1d0e639
JJ
106402011-02-11 Jakub Jelinek <jakub@redhat.com>
10641
10642 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10643 arginfo fn returning -1.
10644
10645 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10646 and thousands string is zero terminated.
10647
edf9294e
AS
106482011-02-03 Andreas Schwab <schwab@redhat.com>
10649
10650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10651 sysdeps/unix/sysv/linux/bits/socket.h.
10652
2b7e92df
ST
106532011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10654
edf9294e
AS
10655 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10656 (__CPU_COUNT): Remove old macros.
10657 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10658 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10659 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10660 (__sched_cpualloc, __sched_cpufree): Add declarations.
10661
a4c7ea7b
UD
106622011-02-05 Ulrich Drepper <drepper@gmail.com>
10663
10664 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10665 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10666 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10667 (readdhstai): Return value of addhstaiX call.
10668 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10669 (addgrbyX): Return value returned by cache_addgr.
10670 (readdgrbyname): Return value returned by addgrbyX.
10671 (readdgrbygid): Likewise.
10672 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10673 (addpwbyX): Return value returned by cache_addpw.
10674 (readdpwbyname): Return value returned by addhstbyX.
10675 (readdpwbyuid): Likewise.
10676 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10677 (addservbyX): Return value returned by cache_addserv.
10678 (readdservbyname): Return value returned by addservbyX:
10679 (readdservbyport): Likewise.
10680 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10681 (addhstbyX): Return value returned by cache_addhst.
10682 (readdhstbyname): Return value returned by addhstbyX.
10683 (readdhstbyaddr): Likewise.
10684 (readdhstbynamev6): Likewise.
10685 (readdhstbyaddrv6): Likewise.
10686 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10687 (readdinitgroups): Return value returned by addinitgroupsX.
10688 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10689 (prune_cache): Keep track of timeout value of re-added entries.
10690 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10691 * nscd/nscd.h: Adjust prototypes of readd* functions.
10692
a0bf67cc
RM
106932011-02-04 Roland McGrath <roland@redhat.com>
10694
10695 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10696 (nis_stats): Likewise.
10697 * nis/nis_modify.c (nis_modify): Likewise.
10698 * nis/nis_remove.c (nis_remove): Likewise.
10699 * nis/nis_add.c (nis_add): Likewise.
10700
10701 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10702
10703 * posix/fnmatch_loop.c: Add some consts.
10704
10705 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10706
435b95eb
L
107072011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10708
10709 [BZ #12460]
10710 * config.make.in (config-cflags-novzeroupper): Define.
10711 * configure.in: Substitute libc_cv_cc_novzeroupper.
10712 * elf/Makefile (AVX-CFLAGS): Define.
10713 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10714 (CFLAGS-tst-auditmod4a.c): Likewise.
10715 (CFLAGS-tst-auditmod4b.c): Likewise.
10716 (CFLAGS-tst-auditmod6b.c): Likewise.
10717 (CFLAGS-tst-auditmod6c.c): Likewise.
10718 (CFLAGS-tst-auditmod7b.c): Likewise.
10719 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10720
8517b15e
UD
107212011-02-02 Ulrich Drepper <drepper@gmail.com>
10722
10723 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10724 function to the callback.
10725 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10726
10a656fe
AS
107272011-02-02 Andreas Schwab <schwab@redhat.com>
10728
10729 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10730 of errno.
10731
968dad0a
UD
107322011-01-19 Ulrich Drepper <drepper@gmail.com>
10733
9f94d2ea 10734 [BZ #11724]
968dad0a
UD
10735 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10736 of constructors.
10737 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10738 of destructors.
10739 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10740
10741 [BZ #11724]
10742 * elf/Makefile: Add rules to build and run new test.
10743 * elf/tst-initorder.c: New file.
10744 * elf/tst-initorder.exp: New file.
10745 * elf/tst-initordera1.c: New file.
10746 * elf/tst-initordera2.c: New file.
10747 * elf/tst-initordera3.c: New file.
10748 * elf/tst-initordera4.c: New file.
10749 * elf/tst-initorderb1.c: New file.
10750 * elf/tst-initorderb2.c: New file.
10751 * elf/tst-order-a1.c: New file.
10752 * elf/tst-order-a2.c: New file.
10753 * elf/tst-order-a3.c: New file.
10754 * elf/tst-order-a4.c: New file.
10755 * elf/tst-order-b1.c: New file.
10756 * elf/tst-order-b2.c: New file.
10757 * elf/tst-order-main.c: New file.
10758 New test case by George Gensure <werkt0@gmail.com>.
10759
86e92359
UD
107602010-10-01 Andreas Schwab <schwab@redhat.com>
10761
10762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10763 decoding ACE if AI_CANONIDN.
10764
5d5732b0
UD
107652011-01-18 Ulrich Drepper <drepper@gmail.com>
10766
10767 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10768
a77e8cbc
UD
107692011-01-17 Ulrich Drepper <drepper@gmail.com>
10770
6392473f
UD
10771 * version.h (RELEASE): Bump for 2.13 release.
10772 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10773
620a0529
UD
10774 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10775
18ba70a5
UD
10776 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10777 MADV_NOHUGEPAGE.
32465c3e
UD
10778 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10779 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10780 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10781 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10782 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10783 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10784
c0dafcf1
UD
10785 * posix/getconf.c: Update copyright year.
10786 * catgets/gencat.c: Likewise.
10787 * csu/version.c: Likewise.
10788 * debug/catchsegv.sh: Likewise.
10789 * debug/xtrace.sh: Likewise.
10790 * elf/ldconfig.c: Likewise.
10791 * elf/ldd.bash.in: Likewise.
10792 * elf/sprof.c (print_version): Likewise.
10793 * iconv/iconv_prog.c: Likewise.
10794 * iconv/iconvconfig.c: Likewise.
10795 * locale/programs/locale.c: Likewise.
10796 * locale/programs/localedef.c: Likewise.
10797 * malloc/memusage.sh: Likewise.
10798 * malloc/mtrace.pl: Likewise.
10799 * nscd/nscd.c (print_version): Likewise.
10800 * nss/getent.c: Likewise.
10801
a77e8cbc
UD
10802 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10803 PF_CAIF, and PF_ALG.
10804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10805
77e8bddf
AS
108062011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10807
1f20b93a
AS
10808 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10809 (modules-names): Use them.
10810 (ifunc-test-modules, ifunc-pie-tests): Define.
10811 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10812 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10813 (test-extras): Likewise.
10814 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10815 $(compile-command.c).
10816 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10817 (all-built-dso): Define.
10818 (check-textrel.out, check-execstack.out): Depend on it.
10819
77e8bddf
AS
10820 * configure.in: Don't override --enable-multi-arch.
10821
bc425b33
UD
108222011-01-15 Ulrich Drepper <drepper@gmail.com>
10823
10824 [BZ #6812]
10825 * nscd/hstcache.c (tryagain): Define.
10826 (cache_addhst): Return tryagain not notfound for temporary errors.
10827 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10828 failed.
10829
794c3ad3
UD
108302011-01-14 Ulrich Drepper <drepper@gmail.com>
10831
70181fdd
UD
10832 [BZ #10563]
10833 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10834 to make the syscall.
10835 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10836
794c3ad3
UD
10837 [BZ #12378]
10838 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10839 and fall back to matching as normal character if the string ends before
10840 the matching ']' is found. This is what POSIX requires.
10841 * posix/testfnm.c: Adjust test result.
10842 * posix/globtest.sh: Adjust test result. Add new test.
10843 * posix/tst-fnmatch.input: Likewise.
10844 * posix/tst-fnmatch2.c: Add new test.
10845
68dc9497
AS
108462010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10847
10848 * elf/Makefile (check-execstack): Revert last change. Depend on
10849 check-execstack.h.
10850 (check-execstack.h): New target.
10851 (generated): Add check-execstack.h.
10852 * elf/check-execstack.c: Include "check-execstack.h".
10853 (main): Revert last change.
10854 (handle_file): Return zero if GNU_STACK is absent and
10855 DEFAULT_STACK_PERMS doesn't include PF_X.
10856
451f001b
UD
108572011-01-13 Ulrich Drepper <drepper@gmail.com>
10858
cfa28e56
UD
10859 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10860 in child fails because the descriptor is already closed.
8cf8ce17
UD
10861 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10862 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10863 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10864
1086d70d
UD
10865 [BZ #12397]
10866 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10867 syscall.
10868
451f001b
UD
10869 [BZ #10484]
10870 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10871 temporary buffer used to handle multi lookups locally.
a85b5cb4 10872 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10873
08769175
UD
108742011-01-12 Ulrich Drepper <drepper@gmail.com>
10875
10876 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10877 loader is ld.so.
10878
5e49c52e
UD
108792011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10880
10881 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10882 alignment for SSE2.
10883
60522a5f
UD
108842011-01-12 Ulrich Drepper <drepper@gmail.com>
10885
10886 [BZ #12394]
10887 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10888 characters. When rounding increased number of integer digits recompute
10889 number of groups.
10890 * stdio-common/tst-grouping.c: New file.
10891 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10892
f257bbd7
UD
108932011-01-09 Ulrich Drepper <drepper@gmail.com>
10894
10895 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10896 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10897
10898 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10899 void.
10900 * bits/select.h: Likewise.
10901
fa9c15cb
UD
109022011-01-08 Ulrich Drepper <drepper@gmail.com>
10903
10904 * po/ja.po: Update from translation team.
10905
16c2895f
DM
109062011-01-04 David S. Miller <davem@sunset.davemloft.net>
10907
10908 [BZ #11155]
10909 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10910 implementation just like for lxstat, fxstatat, et al.
10911
2543fef2
JM
109122010-12-27 Jim Meyering <meyering@redhat.com>
10913
10914 [BZ #12348]
10915 * posix/regexec.c (build_trtable): Return failure indication upon
10916 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10917
98727dbe
UD
109182010-12-25 Ulrich Drepper <drepper@gmail.com>
10919
5bd6dc5c
UD
10920 [BZ #12201]
10921 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10922 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10923 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10924 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10925
97983464
UD
10926 [BZ #12207]
10927 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10928
98727dbe
UD
10929 [BZ #12204]
10930 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10931 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10932
4a531bb0
L
109332010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10934
10935 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10936 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10937 script has SORT_BY_INIT_PRIORITY.
10938 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10939 NO_CTORS_DTORS_SECTIONS is defined.
10940 * elf/soinit.c: Likewise.
10941 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10942 NO_CTORS_DTORS_SECTIONS is defined.
10943 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10944 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10945 * sysdeps/sh/init-first.c: Likewise.
10946 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10947
07eb4b71
UD
109482010-12-24 Ulrich Drepper <drepper@gmail.com>
10949
10950 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10951 always use the slow path.
10952
30950a5f
RA
109532010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10954
10955 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10956 similar rule which adds the sysdep directories to the header search in
10957 order to pick up the correct platform stackinfo.h.
10958 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10959 perform test if it is, otherwise return successfully without testing.
10960 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10961 DEFAULT_STACK_PERMS define in stackinfo.h.
10962 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10963 defined in stackinfo.h.
10964 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10965 DEFAULT_STACK_PERMS defined in stackinfo.h.
10966 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10967 * sysdeps/ia64/stackinfo.h: Likewise.
10968 * sysdeps/s390/stackinfo.h: Likewise.
10969 * sysdeps/sh/stackinfo.h: Likewise.
10970 * sysdeps/sparc/stackinfo.h: Likewise.
10971 * sysdeps/x86_64/stackinfo.h: Likewise.
10972 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10973 PF_X for powerpc64. Retain PF_X for powerpc32.
10974
db753e2c
UD
109752010-12-19 Ulrich Drepper <drepper@gmail.com>
10976
14b697f7
UD
10977 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10978 accurately.
db753e2c
UD
10979 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10980 GETDENTS_64BIT_ALIGNED.
10981
28300719
UD
109822010-12-14 Ulrich Drepper <dreper@gmail.com>
10983
14b697f7 10984 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10985
4f197237
AS
109862010-12-10 Andreas Schwab <schwab@redhat.com>
10987
dbb0472f
AS
10988 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10989 _GNU_SOURCE.
10990
4f197237
AS
10991 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10992 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10993 Remove __restrict.
10994 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10995 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10996
fb88ac72
UD
109972010-12-09 Ulrich Drepper <drepper@gmail.com>
10998
10999 [BZ #11655]
11000 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11001 are initialized.
11002
42acbb92
JJ
110032010-12-09 Jakub Jelinek <jakub@redhat.com>
11004
11005 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11006
c038d98d
UD
110072010-12-03 Ulrich Drepper <drepper@gmail.com>
11008
11009 * po/it.po: Update from translation team.
11010
3a4a2499
L
110112010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11012
11013 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11014 unused codes.
11015
1e24cf6e
UD
110162010-11-30 Ulrich Drepper <drepper@gmail.com>
11017
11018 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11019
a7690819
AS
110202010-11-24 Andreas Schwab <schwab@redhat.com>
11021
11022 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11023 specially.
11024 (gaih_getanswer_slice): Likewise.
11025
3bf8d1b1
JJ
110262010-10-20 Jakub Jelinek <jakub@redhat.com>
11027
11028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11029
6db52fbb
PB
110302010-05-31 Petr Baudis <pasky@suse.cz>
11031
11032 [BZ #11149]
11033 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11034 silently even in the chroot mode.
11035
eaca7569
UD
110362010-11-22 Ulrich Drepper <drepper@gmail.com>
11037
11038 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11039 last patch a bit. Pretty printing
11040
3056dcdb
UD
110412010-05-31 Petr Baudis <pasky@suse.cz>
11042
11043 [BZ #10085]
11044 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11045 initialization of skip_initgroups_dyn.
11046
cf7c9078
UD
110472010-11-19 Ulrich Drepper <drepper@gmail.com>
11048
11049 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11050 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11051
a1fb5e3e
UD
110522010-11-16 Ulrich Drepper <drepper@gmail.com>
11053
11054 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11055
3540d66b
AS
110562010-11-11 Andreas Schwab <schwab@redhat.com>
11057
11058 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11059 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11060 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11061 ($(objpfx)tst-fnmatch-mem): New rule.
11062 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11063 * posix/tst-fnmatch.c (main): Call mtrace.
11064
13b69574
L
110652010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11066
11067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11068 Support Intel processor model 6 and model 0x2c.
11069
da93d214
LM
110702010-11-10 Luis Machado <luisgpm@br.ibm.com>
11071
11072 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11073 signed comparison.
11074
8ca52c6e
L
110752010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11076
11077 [BZ #12205]
11078 * string/test-strncasecmp.c (check_result): New function.
11079 (do_one_test): Use it.
11080 (check1): New function.
11081 (test_main): Use it.
11082 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11083 Support strcasecmp and strncasecmp.
11084
69da074d
UD
110852010-11-08 Ulrich Drepper <drepper@gmail.com>
11086
11087 [BZ #12194]
11088 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11089 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11090
ff02d528
L
110912010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11092
11093 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11094 IFUNC support.
11095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11096 memset-x86-64.
11097 * sysdeps/x86_64/multiarch/bzero.S: New file.
11098 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11099 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11100 * sysdeps/x86_64/multiarch/memset.S: New file.
11101 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11103 Set bit_Prefer_SSE_for_memop for Intel processors.
11104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11105 Define.
11106 (index_Prefer_SSE_for_memop): Define.
11107 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11108
344d0b54
LM
111092010-11-04 Luis Machado <luisgpm@br.ibm.com>
11110
11111 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11112 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11113
c0dde15b
UD
111142010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11115
11116 [BZ #12191]
11117 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11118 (__x86_64_raw_data_cache_size_half): Likewise.
11119 (__x86_64_raw_shared_cache_size): Likewise.
11120 (__x86_64_raw_shared_cache_size_half): Likewise.
11121
11122 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11123 (__x86_64_raw_data_cache_size_half): Likewise.
11124 (__x86_64_raw_shared_cache_size): Likewise.
11125 (__x86_64_raw_shared_cache_size_half): Likewise.
11126 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11127 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11128 and __x86_64_raw_shared_cache_size_half. Round
11129 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11130 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11131 to multiple of 256 bytes.
11132
0e516e0e
MS
111332010-11-03 Ulrich Drepper <drepper@gmail.com>
11134
11135 [BZ #12167]
11136 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11137 of inacessible symlinks. Verify result of symlink before returning it.
11138 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11139 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11140
0e012e87
ER
111412010-10-28 Erich Ritz <erichritz@gmail.com>
11142
11143 * math/math.h (isinf): Fix typo in comment.
11144
de0ff7bc
UD
111452010-11-01 Ulrich Drepper <drepper@gmail.com>
11146
11147 * po/da.po: Update from translation team.
11148
fa41c84d
UD
111492010-10-26 Ulrich Drepper <drepper@gmail.com>
11150
11151 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11152 is added to the list.
11153
f0967738
AK
111542010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11155 Ulrich Drepper <drepper@gmail.com>
11156
11157 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11158 the global list here. Move code to...
11159 (_dl_add_to_namespace_list): ...here. New function.
11160 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11161 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11162 * elf/dl-load.c (lose): Don't remove the element from the list.
11163 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11164 (_dl_map_object): Likewise.
11165
111662010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11167
11168 [BZ #12159]
11169 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11170 into all bytes of SSE register.
11171 Patch by Richard Li <richardpku@gmail.com>.
11172
f0967738 111732010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11174
11175 [BZ #12140]
11176 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11177 perturbing.
11178
d0b9e94f
MB
111792010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11180
11181 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11182 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11183 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11184 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11186 submachine.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11188
8e9f92e9
AS
111892010-10-22 Andreas Schwab <schwab@redhat.com>
11190
11191 * include/dlfcn.h (__RTLD_SECURE): Define.
11192 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11193 mode & __RTLD_SECURE instead.
11194 (open_path): Rename preloaded parameter to secure.
11195 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11196 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11197 * elf/dl-deps.c (openaux): Likewise.
11198 * elf/rtld.c (struct map_args): Remove is_preloaded.
11199 (map_doit): Don't use it.
11200 (dl_main): Likewise.
11201 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11202 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11203
bc96fbda
AS
112042010-09-09 Andreas Schwab <schwab@redhat.com>
11205
11206 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11207 (sysd-rules-targets): Remove duplicates.
11208 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11209 rtld-%.$o dependency.
11210
22cd1c9b
AS
112112010-10-18 Andreas Schwab <schwab@redhat.com>
11212
11213 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11214 _dl_map_object do it.
11215
18edac48
UD
112162010-10-19 Ulrich Drepper <drepper@gmail.com>
11217
11218 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11219 fast fma builtins, define the macros in the C99 standard.
11220 (FP_FAST_FMAF): Likewise.
11221 (FP_FAST_FMAL): Likewise.
11222 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11223
11224 * bits/mathdef.h: Update copyright year.
11225 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11226
d2050124
MM
112272010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11228
11229 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11230 builtins, define the macros in the C99 standard.
11231 (FP_FAST_FMAF): Likewise.
11232 (FP_FAST_FMAL): Likewise.
11233 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11234 multiply/add.
11235 (FP_FAST_FMAF): Likewise.
11236
475facd1
JJ
112372010-10-15 Jakub Jelinek <jakub@redhat.com>
11238
11239 [BZ #3268]
11240 * math/libm-test.inc (fma_test): Some new testcases.
11241 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11242 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11243 y and infinite z. Do multiplication by C already in long double.
11244 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11246 y and infinite z. Do bitwise or of inexact bit into u.d.
11247 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11248 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11249 * sysdeps/i386/fpu/s_fma.S: Removed.
11250 * sysdeps/i386/fpu/s_fmal.S: Removed.
11251
7c08a05c
JJ
112522010-10-16 Jakub Jelinek <jakub@redhat.com>
11253
11254 [BZ #3268]
11255 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11257 computation is not scheduled after fetestexcept. Fix value
11258 of minimum denormal long double.
11259
f3f7372d
JJ
112602010-10-14 Jakub Jelinek <jakub@redhat.com>
11261
11262 [BZ #3268]
11263 * math/libm-test.inc (fma_test): Add some more tests.
11264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11265 correctly.
11266
14d43591
AS
112672010-10-15 Andreas Schwab <schwab@redhat.com>
11268
11269 * scripts/data/localplt-s390-linux-gnu.data: New file.
11270 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11271
5e908464
JJ
112722010-10-13 Jakub Jelinek <jakub@redhat.com>
11273
11274 [BZ #3268]
11275 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11276 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11277 instead of dbl-64.
11278 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11279 inlines.
11280 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11282 if one of x and y is very large and the other is subnormal.
11283 * sysdeps/s390/fpu/s_fmaf.c: New file.
11284 * sysdeps/s390/fpu/s_fma.c: New file.
11285 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11286 * sysdeps/powerpc/fpu/s_fma.S: New file.
11287 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11288 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11289 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11290
112912010-10-12 Jakub Jelinek <jakub@redhat.com>
11292
11293 [BZ #3268]
11294 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11295 fma tests.
11296 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11297 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11298 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11299 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11300 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11301 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11303
b833d51f
UD
113042010-10-12 Ulrich Drepper <drepper@redhat.com>
11305
11306 [BZ #12078]
11307 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11308 * posix/bug-regex31.input: Add test case.
11309
1751705d
UD
113102010-10-11 Ulrich Drepper <drepper@gmail.com>
11311
e9b9cbf5
UD
11312 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11313 * posix/bug-regex31.input: New file.
11314
11315 [BZ #12078]
11316 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11317 (parse_sub_exp): Fix last change, use postorder.
11318
ef06edbe
UD
11319 * posix/bug-regex31.c: New file.
11320 * posix/Makefile: Add rules to build and run bug-regex31.
11321
a129c80d
UD
11322 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11323
11324 [BZ #12078]
11325 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11326
b76b818e
UD
11327 [BZ #12108]
11328 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11329 to have entries in sys_siglist.
11330
1751705d
UD
11331 [BZ #12093]
11332 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11333 be NULL.
11334
9ff8d36f
JJ
113352010-10-07 Jakub Jelinek <jakub@redhat.com>
11336
11337 [BZ #3268]
11338 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11339 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11340 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11341 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11342 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11343 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11344 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11345 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11346 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11347 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11348 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11349 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11350 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11351 * math/ftestexcept.c (fetestexcept): Likewise.
11352 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11353 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11354 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11355 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11356 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11357 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11358 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11359
af325969
UD
113602010-10-11 Ulrich Drepper <drepper@gmail.com>
11361
c579b202 11362 [BZ #12107]
af325969
UD
11363 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11364 newline.
11365
67a67b95
UD
113662010-10-06 Ulrich Drepper <drepper@gmail.com>
11367
11368 * string/bug-strstr1.c: New file.
11369 * string/Makefile: Add rules to build and run bug-strstr1.
11370
5fb308bc
EB
113712010-10-05 Eric Blake <eblake@redhat.com>
11372
11373 [BZ #12092]
11374 * string/str-two-way.h (two_way_long_needle): Always clear memory
11375 when skipping input due to the shift table.
11376
45db99c7
UD
113772010-10-03 Ulrich Drepper <drepper@gmail.com>
11378
3b111893
UD
11379 [BZ #12005]
11380 * malloc/mcheck.c: Handle large requests.
11381
45db99c7
UD
11382 [BZ #12077]
11383 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11384 for strncmp and strncasecmp.
11385 * string/stratcliff.c: Add tests for strcmp and strncmp.
11386 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11387
cf7a1eb8
NI
113882010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11389
11390 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11391 __set_fpscr.
11392
6484ba5e
AJ
113932010-09-30 Andreas Jaeger <aj@suse.de>
11394
11395 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11396 (CGROUP_SUPER_MAGIC): Define.
11397 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11398 Handle btrfs and cgroup file systems.
11399 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11400 Likewise.
11401
91c42559
LM
114022010-09-27 Luis Machado <luisgpm@br.ibm.com>
11403
11404 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11405 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11406
87a97932
AK
114072010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11408
11409 [BZ #12067]
11410 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11411 trying to locate the ELF header.
11412
c21cc9bc
AS
114132010-09-27 Andreas Schwab <schwab@redhat.com>
11414
11415 [BZ #11611]
11416 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11417 Mask out sign-bit copies when constructing f_fsid.
11418
315970f6
PB
114192010-09-24 Petr Baudis <pasky@suse.cz>
11420
11421 * debug/stack_chk_fail_local.c: Add missing licence exception.
11422 * debug/warning-nop.c: Likewise.
11423
1ac7a2c7
JM
114242010-09-15 Joseph Myers <joseph@codesourcery.com>
11425
11426 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11427 implementing getdents64 using getdents syscall, set d_type if
11428 __ASSUME_GETDENTS32_D_TYPE.
11429
56801c50
AS
114302010-09-16 Andreas Schwab <schwab@redhat.com>
11431
11432 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11433 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11434
dda51327
UD
114352010-09-21 Ulrich Drepper <drepper@redhat.com>
11436
11437 [BZ #12037]
11438 * posix/unistd.h: Undo change of feature selection for ftruncate from
11439 2010-01-11.
11440
8ffcee4a
UD
114412010-09-20 Ulrich Drepper <drepper@redhat.com>
11442
a545ecd9 11443 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11444 detection.
11445
e24f0a8b
AS
114462010-09-20 Andreas Schwab <schwab@redhat.com>
11447
11448 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11449 fanotify_mark.
11450 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11451
7291c56f
AS
114522010-09-14 Andreas Schwab <schwab@redhat.com>
11453
11454 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11455 variables after CHECK_SP call.
11456 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11457
bc5fb037
AS
114582010-09-13 Andreas Schwab <schwab@redhat.com>
11459 Ulrich Drepper <drepper@redhat.com>
11460
11461 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11462 re-relocationg ld.so.
11463 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11464 _dl_init_paths call.
11465 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11466 here anymore.
11467
e66e7419
UD
114682010-09-14 Ulrich Drepper <drepper@redhat.com>
11469
11470 * resolv/res_init.c (__res_vinit): Count the default server we added.
11471
c044aa75
CLT
114722010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11473 Ulrich Drepper <drepper@redhat.com>
11474
11475 [BZ #11968]
11476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11477 (____longjmp_chk): Use %ebx for saving value across system call.
11478 Add unwind info.
11479
32cf4069
AS
114802010-09-06 Andreas Schwab <schwab@redhat.com>
11481
11482 * manual/Makefile: Don't mix pattern rules with normal rules.
11483
817328ee
AS
114842010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11485
11486 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11487 operation.
11488 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11489 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11490 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11491 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11492 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11493 Likewise.
11494
29fddf61
UD
114952010-09-04 Ulrich Drepper <drepper@redhat.com>
11496
11497 [BZ #11979]
11498 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11499 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11500
0959ffc9
UD
115012010-09-02 Ulrich Drepper <drepper@redhat.com>
11502
11503 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11504 * sysdeps/x86_64/addmul_1.S: Likewise.
11505 * sysdeps/x86_64/lshift.S: Likewise.
11506 * sysdeps/x86_64/mul_1.S: Likewise.
11507 * sysdeps/x86_64/rshift.S: Likewise.
11508 * sysdeps/x86_64/sub_n.S: Likewise.
11509 * sysdeps/x86_64/submul_1.S: Likewise.
11510
ece29840
ST
115112010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11512
0959ffc9
UD
11513 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11514 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11515 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11516 * bits/sched.h [__need_schedparam]
ece29840 11517 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11518 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11519 (__defined_schedparam): Define to 1.
ece29840
ST
11520 (__sched_param): New structure, identical to sched_param.
11521 (__need_schedparam): Undefine.
11522
e53a31fe
MF
115232010-08-31 Mike Frysinger <vapier@gentoo.org>
11524
fdc0c10d
MF
11525 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11526 (epoll_create1): Declare.
11527
e53a31fe
MF
11528 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11529
a726d796
AS
115302010-08-31 Andreas Schwab <schwab@redhat.com>
11531
11532 [BZ #7066]
11533 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11534 shifting retval into place.
11535
2f3e3dc7
UD
115362010-09-01 Ulrich Drepper <drepper@redhat.com>
11537
f2933da9
UD
11538 * nis/rpcsvc/nis.h: Update copyright notice.
11539 * nis/rpcsvc/nis.x: Likewise.
11540 * nis/rpcsvc/nis_callback.h: Likewise.
11541 * nis/rpcsvc/nis_callback.x: Likewise.
11542 * nis/rpcsvc/nis_object.x: Likewise.
11543 * nis/rpcsvc/nis_tags.h: Likewise.
11544 * nis/rpcsvc/yp.h: Likewise.
11545 * nis/rpcsvc/yp.x: Likewise.
11546 * nis/rpcsvc/ypupd.h: Likewise.
11547 * nis/yp_xdr.c: Likewise.
11548 * nis/ypupdate_xdr.c: Likewise.
11549
2f3e3dc7
UD
11550 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11551 mainly the body of pmap_getport. Add parameters to specify timeouts.
11552 (pmap_getport): Use __libc_rpc_getport.
11553 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11554 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11555 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11556
f3dcc2f9
AS
115572010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11558
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11560 fanotify_mark.
11561
6d34eb5b
RM
115622010-08-27 Roland McGrath <roland@redhat.com>
11563
11564 * sysdeps/i386/i686/multiarch/Makefile
11565 (CFLAGS-varshift.c): New variable.
11566
9ea3de11
UD
115672010-08-27 Ulrich Drepper <drepper@redhat.com>
11568
c96d23fc
UD
11569 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11570 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11571
9ea3de11
UD
11572 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11573
11574 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11575
623aac7f
L
115762010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11577
11578 * sysdeps/x86_64/strlen.S: Unroll the loop.
11579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11580 strlen-sse2 strlen-sse2-bsf.
11581 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11582 __strlen_no_bsf if bit_Slow_BSF is set.
11583 (__strlen_sse42): Removed.
11584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11585 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11586
8b2b7715
RM
115872010-08-25 Roland McGrath <roland@redhat.com>
11588
11589 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11590 * sysdeps/x86_64/multiarch/varshift.c: New file.
11591 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11592 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11593 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11594 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11595
e73015f2
L
115962010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11597
11598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11599 strlen-sse2 strlen-sse2-bsf.
11600 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11601 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11602 (__strlen_sse2): Removed.
11603 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11604 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11606 bit_Slow_BSF for Atom.
11607 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11608 (index_Slow_BSF): Define.
11609 (HAS_SLOW_BSF): Define.
11610
df24a73e
UD
116112010-08-25 Ulrich Drepper <drepper@redhat.com>
11612
11613 [BZ #10851]
11614 * resolv/res_init.c (__res_vinit): When no server address at all
11615 is given default to loopback.
11616
f2ac4868
RM
116172010-08-24 Roland McGrath <roland@redhat.com>
11618
09055553
RM
11619 * configure.in: Remove config-name.h generation.
11620 * configure: Regenerated.
11621 * config-name.in: File removed.
11622 * scripts/config-uname.sh: New file.
11623 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11624 ($(objdir)config-name.h): New target.
11625
f2ac4868
RM
11626 * sunrpc/rpc_parse.h: Avoid nested comment.
11627
73f27d5e
RH
116282010-08-24 Richard Henderson <rth@redhat.com>
11629 Ulrich Drepper <drepper@redhat.com>
11630 H.J. Lu <hongjiu.lu@intel.com>
11631
11632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11634 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11635 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11636 _mm_alignr_epi8 with _mm_loadu_si128.
11637 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11638 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11639 (__m128i_shift_right): Removed.
11640 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11641 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11642 * sysdeps/x86_64/multiarch/varshift.h: New file.
11643 * sysdeps/x86_64/multiarch/varshift.S: New file.
11644
84b9230c
MF
116452010-08-21 Mike Frysinger <vapier@gentoo.org>
11646
11647 * configure.in: Move assembler checks to before sysdep dir checking.
11648
9bbd0ddc
PB
116492010-08-20 Petr Baudis <pasky@suse.cz>
11650
11651 * LICENSES: Sync the sunrpc license.
11652
9da4bb31
UD
116532010-08-19 Ulrich Drepper <drepper@redhat.com>
11654
a7ab6ec8
UD
11655 * sunrpc/auth_des.c: Update copyright notice once again.
11656 * sunrpc/auth_none.c: Likewise.
11657 * sunrpc/auth_unix.c: Likewise.
11658 * sunrpc/authdes_prot.c: Likewise.
11659 * sunrpc/authuxprot.c: Likewise.
11660 * sunrpc/bindrsvprt.c: Likewise.
11661 * sunrpc/clnt_gen.c: Likewise.
11662 * sunrpc/clnt_perr.c: Likewise.
11663 * sunrpc/clnt_raw.c: Likewise.
11664 * sunrpc/clnt_simp.c: Likewise.
11665 * sunrpc/clnt_tcp.c: Likewise.
11666 * sunrpc/clnt_udp.c: Likewise.
11667 * sunrpc/clnt_unix.c: Likewise.
11668 * sunrpc/des_crypt.c: Likewise.
11669 * sunrpc/des_soft.c: Likewise.
11670 * sunrpc/get_myaddr.c: Likewise.
11671 * sunrpc/getrpcport.c: Likewise.
11672 * sunrpc/key_call.c: Likewise.
11673 * sunrpc/key_prot.c: Likewise.
11674 * sunrpc/openchild.c: Likewise.
11675 * sunrpc/pm_getmaps.c: Likewise.
11676 * sunrpc/pm_getport.c: Likewise.
11677 * sunrpc/pmap_clnt.c: Likewise.
11678 * sunrpc/pmap_prot.c: Likewise.
11679 * sunrpc/pmap_prot2.c: Likewise.
11680 * sunrpc/pmap_rmt.c: Likewise.
11681 * sunrpc/rpc/auth.h: Likewise.
11682 * sunrpc/rpc/auth_unix.h: Likewise.
11683 * sunrpc/rpc/clnt.h: Likewise.
11684 * sunrpc/rpc/des_crypt.h: Likewise.
11685 * sunrpc/rpc/key_prot.h: Likewise.
11686 * sunrpc/rpc/netdb.h: Likewise.
11687 * sunrpc/rpc/pmap_clnt.h: Likewise.
11688 * sunrpc/rpc/pmap_prot.h: Likewise.
11689 * sunrpc/rpc/pmap_rmt.h: Likewise.
11690 * sunrpc/rpc/rpc.h: Likewise.
11691 * sunrpc/rpc/rpc_des.h: Likewise.
11692 * sunrpc/rpc/rpc_msg.h: Likewise.
11693 * sunrpc/rpc/svc.h: Likewise.
11694 * sunrpc/rpc/svc_auth.h: Likewise.
11695 * sunrpc/rpc/types.h: Likewise.
11696 * sunrpc/rpc/xdr.h: Likewise.
11697 * sunrpc/rpc_clntout.c: Likewise.
11698 * sunrpc/rpc_cmsg.c: Likewise.
11699 * sunrpc/rpc_common.c: Likewise.
11700 * sunrpc/rpc_cout.c: Likewise.
11701 * sunrpc/rpc_dtable.c: Likewise.
11702 * sunrpc/rpc_hout.c: Likewise.
11703 * sunrpc/rpc_main.c: Likewise.
11704 * sunrpc/rpc_parse.c: Likewise.
11705 * sunrpc/rpc_parse.h: Likewise.
11706 * sunrpc/rpc_prot.c: Likewise.
11707 * sunrpc/rpc_sample.c: Likewise.
11708 * sunrpc/rpc_scan.c: Likewise.
11709 * sunrpc/rpc_scan.h: Likewise.
11710 * sunrpc/rpc_svcout.c: Likewise.
11711 * sunrpc/rpc_tblout.c: Likewise.
11712 * sunrpc/rpc_util.c: Likewise.
11713 * sunrpc/rpc_util.h: Likewise.
11714 * sunrpc/rpcinfo.c: Likewise.
11715 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11716 * sunrpc/rpcsvc/key_prot.x: Likewise.
11717 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11718 * sunrpc/rpcsvc/mount.x: Likewise.
11719 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11720 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11721 * sunrpc/rpcsvc/rex.x: Likewise.
11722 * sunrpc/rpcsvc/rstat.x: Likewise.
11723 * sunrpc/rpcsvc/rusers.x: Likewise.
11724 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11725 * sunrpc/rpcsvc/spray.x: Likewise.
11726 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11727 * sunrpc/rtime.c: Likewise.
11728 * sunrpc/svc.c: Likewise.
11729 * sunrpc/svc_auth.c: Likewise.
11730 * sunrpc/svc_authux.c: Likewise.
11731 * sunrpc/svc_raw.c: Likewise.
11732 * sunrpc/svc_run.c: Likewise.
11733 * sunrpc/svc_simple.c: Likewise.
11734 * sunrpc/svc_tcp.c: Likewise.
11735 * sunrpc/svc_udp.c: Likewise.
11736 * sunrpc/svc_unix.c: Likewise.
11737 * sunrpc/svcauth_des.c: Likewise.
11738 * sunrpc/xcrypt.c: Likewise.
11739 * sunrpc/xdr.c: Likewise.
11740 * sunrpc/xdr_array.c: Likewise.
11741 * sunrpc/xdr_float.c: Likewise.
11742 * sunrpc/xdr_mem.c: Likewise.
11743 * sunrpc/xdr_rec.c: Likewise.
11744 * sunrpc/xdr_ref.c: Likewise.
11745 * sunrpc/xdr_sizeof.c: Likewise.
11746 * sunrpc/xdr_stdio.c: Likewise.
11747
9da4bb31
UD
11748 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11749 handling.
11750
bdaa77bc
AS
117512010-08-19 Andreas Schwab <schwab@redhat.com>
11752
11753 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11754
fe2f79db
LM
117552010-08-19 Luis Machado <luisgpm@br.ibm.com>
11756
11757 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11758 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11759 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11760 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11761 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11762 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11763 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11764 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11765 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11766 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11767 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11768 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11769 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11770 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11771
b9b42ee0
AB
117722010-07-26 Anton Blanchard <anton@samba.org>
11773
11774 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11775 * malloc/arena.c (heap_trim): Likewise.
11776
1c06ba31
UD
117772010-08-16 Ulrich Drepper <drepper@redhat.com>
11778
11779 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11780 here. Not...
11781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11782 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11783
f8392f40
L
117842010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11785
11786 * sysdeps/i386/elf/Makefile: New file.
11787
3162f12e
AS
117882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11789
11790 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11791 from fanotify_init.
11792 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11794
28c90b2c
UD
117952010-08-15 Ulrich Drepper <drepper@redhat.com>
11796
11797 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11798 of strncasecmp_l.
1feccb6c 11799 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11800
ca6bb004
UD
118012010-08-14 Ulrich Drepper <drepper@redhat.com>
11802
e9f82e0d
UD
11803 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11804 strncase_l-nonascii.
11805 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11806 Add strncase_l-ssse3.
11807 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11808 * sysdeps/x86_64/strcmp.S: Likewise.
11809 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11810 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11811 * sysdeps/x86_64/strncase.S: New file.
11812 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11813 * sysdeps/x86_64/strncase_l.S: New file.
11814 * string/Makefile (strop-tests): Add strncasecmp.
11815 * string/test-strncasecmp.c: New file.
11816
11817 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11818 warning.
11819
ca6bb004
UD
11820 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11821 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11822
052fa7b3
AS
118232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11824
11825 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11826
962dba78
UD
118272010-08-12 Ulrich Drepper <drepper@redhat.com>
11828
11829 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11832
bebff237
AM
118332010-05-01 Alan Modra <amodra@gmail.com>
11834
11835 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11836 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11837 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11838 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11839 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11840 tidying. Don't tail-call __sigjmp_save for static lib.
11841 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11842 save location.
11843 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11844 (CALL_MCOUNT): Add eh info, and nop after bl.
11845 (TAIL_CALL_SYSCALL_ERROR): New macro.
11846 (PSEUDO_RET): Use it.
11847 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11848 Correct save location of integer regs and cr.
11849 (_dl_profile_resolve): Correct cr save location. Delete nops
11850 after bl when SHARED. Reduce cfi size a little by better
11851 placement of cfi directives.
11852 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11853 make a stack frame. Instead use parm save area as a temp.
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11855 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11857 Don't make a stack frame for parent, use parm save area.
11858 Increase child stack frame to 112 bytes. Don't save unused reg,
11859 and adjust reg usage. Set up cfi on error recovery and
11860 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11862 (__makecontext): Add dummy nop after jump to exit.
11863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11864 Use correct parm save area and cr save, reduce stack frame.
11865 Correct cfi for possible PSEUDO_RET frame setup.
11866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11867 Branch to local label emitted by PSEUDO_RET rather than
11868 __syscall_error.
11869
02637374
AS
118702010-08-12 Andreas Schwab <schwab@redhat.com>
11871
11872 [BZ #11904]
11873 * locale/programs/locale.c (print_assignment): New function.
11874 (show_locale_vars): Use it.
11875
c3e2f19b
UD
118762010-08-11 Ulrich Drepper <drepper@redhat.com>
11877
3cdaa6ad
UD
11878 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11879 field.
11880 (struct statfs64): Likewise.
11881 (_STATFS_F_FLAGS): Define.
11882 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11883 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11884 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11885 (ST_VALID): Define locally.
11886 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11887 __statvfs_getflags, use the provided value.
11888 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11889 __ASSUME_STATFS_F_FLAGS.
11890
754f7da3
UD
11891 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11892
10b3bedc
UD
11893 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11894 Add sys/fanotify.h.
11895 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11896 fanotify_mask for GLIBC_2.13.
11897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11898 fanotify_init and fanotify_mark.
11899 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11900 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11901
c08fb0d7
UD
11902 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11903 Add prlimit.
11904 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11905 prlimit64 for GLIBC_2.13.
11906 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11907 prlimit64.
11908 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11909 syscall.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11911 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11912 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11913 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11914 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11915 add prlimit alias.
11916 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11917
15bac72b
UD
11918 [BZ #11903]
11919 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11920 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11921
c3e2f19b
UD
11922 * nss/Makefile: Add rules to build and run tst-nss-test1.
11923 * shlib-versions: Add entry for libnss_test1.
11924 * nss/nss_test1.c: New file.
11925 * nss/tst-nss-test1.c: New file.
11926
11927 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11928 (__nss_configure_lookup): Set appropriate entry in
11929 __nss_configure_lookup to true.
11930 * nss/nsswitch.h: Define enum with indeces of databases in
11931 databases and __nss_database_custom arrays. Declare
11932 __nss_database_custom.
11933 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11934 to avoid using nscd when custom rules are installed.
11935 * nss/getXXbyYY_r.c: Likewise.
11936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11937
11938 * nss/nss_files/files-parse.c: Whitespace fixes.
11939
f15ce4d8
UD
119402010-08-09 Ulrich Drepper <drepper@redhat.com>
11941
11942 [BZ #11883]
11943 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11944 * posix/fnmatch_loop.c: Likewise.
11945
d22e4cc9
AK
119462010-07-17 Andi Kleen <ak@linux.intel.com>
11947
11948 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11949 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11950 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11951 * Versions.def [GLIBC_2.13]: Add.
11952
805bc17d
UD
119532010-08-06 Ulrich Drepper <drepper@redhat.com>
11954
11955 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11956 Also fail if tpwd after pwuid call is NULL.
11957
5a42321d
ST
119582010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11959
11960 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11961 when converting to ms.
11962
fd3ebeda
ST
119632010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11964
11965 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11966 EOPNOTSUPP errors with ENOTTY.
11967 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11968 EOPNOTSUPP errors with ENOTTY.
11969
73507d3a
UD
119702010-07-31 Ulrich Drepper <drepper@redhat.com>
11971
11972 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11973 Add strcasecmp_l-ssse3.
11974 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11975 strcasecmp.
11976 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11977 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11978 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11979
fe36dd02
UD
119802010-07-30 Ulrich Drepper <drepper@redhat.com>
11981
66f6765a
UD
11982 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11983
42e08a54
UD
11984 * string/Makefile (strop-tests): Add strcasecmp.
11985 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11986 strcasecmp_l-nonascii.
11987 (gen-as-const-headers): Add locale-defines.sym.
11988 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11989 * sysdeps/x86_64/strcasecmp.S: New file.
11990 * sysdeps/x86_64/strcasecmp_l.S: New file.
11991 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11992 * sysdeps/x86_64/locale-defines.sym: New file.
11993 * string/test-strcasecmp.c: New file.
11994
fe36dd02
UD
11995 * string/test-strcasestr.c: Test both ends of the range of characters.
11996 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11997
48cbc0d6
RM
119982010-07-29 Roland McGrath <roland@redhat.com>
11999
76e6d6bc 12000 [BZ #11856]
48cbc0d6
RM
12001 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12002
880113d9
UD
120032010-07-27 Ulrich Drepper <drepper@redhat.com>
12004
12005 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12006 for ld.so.
12007
deb9cabb
AS
120082010-07-27 Andreas Schwab <schwab@redhat.com>
12009
12010 * manual/memory.texi (Malloc Tunable Parameters): Document
12011 M_PERTURB.
12012
1c7570ff
RM
120132010-07-26 Roland McGrath <roland@redhat.com>
12014
12015 [BZ #11840]
12016 * configure.in (-fgnu89-inline check): Set and substitute
12017 gnu89_inline, not libc_cv_gnu89_inline.
12018 * configure: Regenerated.
12019 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12020
24fb0f88
UD
120212010-07-26 Ulrich Drepper <drepper@redhat.com>
12022
12023 * string/test-strnlen.c: New file.
12024 * string/Makefile (strop-tests): Add strnlen.
12025 * string/tester.c (test_strnlen): Add a few more test cases.
12026 * string/tst-strlen.c: Better error reporting.
12027
12028 * sysdeps/x86_64/strnlen.S: New file.
12029
8e96b93a
UD
120302010-07-24 Ulrich Drepper <drepper@redhat.com>
12031
12032 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12033 lower-latency instructions.
12034
dbc676d4
UD
120352010-07-23 Ulrich Drepper <drepper@redhat.com>
12036
12037 * string/test-strcasestr.c: New file.
12038 * string/test-strstr.c: New file.
12039 * string/Makefile (strop-tests): Add strstr and strcasestr.
12040 * string/str-two-way.h: Don't undefine MAX.
12041 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12042
f6a31e0e
AS
120432010-07-21 Andreas Schwab <schwab@redhat.com>
12044
12045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12046 strcasestr-nonascii.
12047 (CFLAGS-strcasestr-nonascii.c): Define.
12048 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12049 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12050 Remove unused attribute.
12051
5dbc3b6c
RM
120522010-07-20 Roland McGrath <roland@redhat.com>
12053
12054 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12055 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12056 ld.so.cache was broken. With it, there is no way to disable dsocaps
12057 like LD_HWCAP_MASK can disable hwcaps.
12058
23d101d8
EPM
120592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12060
12061 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12062
cc9f2e47
UD
120632010-07-16 Ulrich Drepper <drepper@redhat.com>
12064
12065 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12066 call in strcasestr.
12067 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12068 __strcasestr_sse42_nonascii.
12069 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12070 strcasestr-nonascii.c.
12071 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12072
77c1b069
LM
120732010-06-15 Luis Machado <luisgpm@br.ibm.com>
12074
12075 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12076 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12077 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12078 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12079
440566c3
UD
120802010-07-09 Ulrich Drepper <drepper@redhat.com>
12081
12082 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12083 fcntl.
12084
5be9d05d
AS
120852010-07-06 Andreas Schwab <schwab@redhat.com>
12086
c30b7ee2 12087 [BZ #11577]
5be9d05d
AS
12088 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12089 dl_signal_cerror.
12090
8a492a67
UD
120912010-07-06 Ulrich Drepper <drepper@redhat.com>
12092
12093 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12094 _PC_PIPE_BUF using F_GETPIPE_SZ.
12095
713df3d5
RM
120962010-07-05 Roland McGrath <roland@redhat.com>
12097
12098 * manual/arith.texi (Rounding Functions): Fix rint description
12099 implicit in round description.
12100
702e8f14
UD
121012010-07-02 Ulrich Drepper <drepper@redhat.com>
12102
12103 * elf/Makefile: Fix linking for a few tests to make recent linker
12104 happy.
12105
52ed8be9
AS
121062010-06-30 Andreas Schwab <schwab@redhat.com>
12107
12108 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12109 $(common-objpfx)libc_nonshared.a.
12110
f47c9a11
LM
121112010-06-21 Luis Machado <luisgpm@br.ibm.com>
12112
12113 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12114 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12115 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12116 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12117 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12118 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12119 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12120 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12135 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12136 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12137 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12138 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12139 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12140 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12141 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12142 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12143 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12144 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12145 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12146 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12161
6fb8cbcb
L
121622010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12163
12164 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12165 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12166 * string/memmove.c (memmove): Renamed to ...
12167 (MEMMOVE): ...this. Default to memmove.
12168 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12169 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12170 (END_CHK): Define.
12171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12172 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12173 mempcpy-ssse3-back memmove-ssse3-back.
12174 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12175 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12177 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12178 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12179 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12180 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12181 * sysdeps/x86_64/multiarch/memmove.c: New file.
12182 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12183 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12184 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12185 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12186 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12187 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12188 Define.
12189 (index_Fast_Copy_Backward): Define.
12190 (HAS_ARCH_FEATURE): Define.
12191 (HAS_FAST_REP_STRING): Define.
12192 (HAS_FAST_COPY_BACKWARD): Define.
12193
4e733bac 121942010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12195
12196 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12197 Restore proper fallback handling.
12198
63c4ed22
UD
121992010-06-19 Ulrich Drepper <drepper@redhat.com>
12200
ac2b484c
UD
12201 [BZ #11701]
12202 * posix/group_member.c (__group_member): Correct checking loop.
12203
63c4ed22
UD
12204 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12205 OOM in getpwuid_r correctly. Return error number when the caller
12206 should return, otherwise -1.
12207 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12208 call returning > 0 value.
12209 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12210
765ade4b
AS
122112010-06-07 Andreas Schwab <schwab@redhat.com>
12212
12213 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12214 libc_nonshared.a from targets in modules-names.
12215
80da2e09
KS
122162010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12217
12218 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12219 requires it.
12220
158db122
LM
122212010-06-10 Luis Machado <luisgpm@br.ibm.com>
12222
12223 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12224 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12226 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12227
caa78cf8
AS
122282010-06-02 Andreas Schwab <schwab@redhat.com>
12229
12230 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12231
b2ef2c01
UD
122322010-06-14 Ulrich Drepper <drepper@redhat.com>
12233
12234 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12235 and F_GETPIPE_SZ.
12236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12240 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12241 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12242
fbd643b6
RM
122432010-06-14 Roland McGrath <roland@redhat.com>
12244
12245 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12246
f32f2869
JJ
122472010-06-07 Jakub Jelinek <jakub@redhat.com>
12248
12249 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12250 __REDIRECT followed by __THROW.
12251 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12252 * posix/getopt.h (getopt): Likewise.
12253
2a50c078
EPM
122542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12255
12256 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12257 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12258 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12259 in AT_FLAGS.
12260 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12261 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12262
eb5ad2eb
LM
122632010-05-28 Luis Machado <luisgpm@br.ibm.com>
12264
12265 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12266
3c88fe1e
L
122672010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12268
12269 [BZ #11640]
12270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12271 Properly check family and model.
12272
d2f73151
TY
122732010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12274
12275 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12276
ebd2e13d
LM
122772010-05-24 Luis Machado <luisgpm@br.ibm.com>
12278
12279 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12280
b32b8b45
UD
122812010-05-21 Ulrich Drepper <drepper@redhat.com>
12282
12283 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12284 symbol reference.
12285
9acbe24d
AS
122862010-05-19 Andreas Schwab <schwab@redhat.com>
12287
12288 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12289 symbol reference.
12290
f0ccf6ea
AS
122912010-05-21 Andreas Schwab <schwab@redhat.com>
12292
3d04ff3a
AS
12293 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12294 and internal_recvmmsg.
12295 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12296 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12297 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12298 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12299
f0ccf6ea
AS
12300 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12301 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12302 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12303
5b08ac57
AS
123042010-05-20 Andreas Schwab <schwab@redhat.com>
12305
12306 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12307
4828935d
LM
123082010-05-17 Luis Machado <luisgpm@br.ibm.com>
12309
12310 POWER7 optimizations.
12311 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12312 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12313
373d545e
UD
123142010-05-19 Ulrich Drepper <drepper@redhat.com>
12315
12316 * version.h: Update for 2.13 development version.
12317
21a2b1ae
AS
123182010-05-12 Andrew Stubbs <ams@codesourcery.com>
12319
12320 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12321 exceptions. Return 0.
12322
3f7dcb2b
RM
123232010-05-07 Roland McGrath <roland@redhat.com>
12324
12325 * elf/ldconfig.c (main): Add a const.
12326
5f24d53a 123272010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12328
a160f8d8
UD
12329 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12330 (args_options): Add no-idn option.
12331 (ahosts_keys_int): Add idn_flags to ai_flags.
12332 (parse_option): Handle 'i' option to clear idn_flags.
12333
5f24d53a
UD
12334 * malloc/malloc.c (_int_free): Possible race in the most recently
12335 added check. Only act on the data if no current modification
12336 happened.
265bb1ce
UD
12337
12338See ChangeLog.17 for earlier changes.