]> sourceware.org Git - glibc.git/blame - ChangeLog
Always run check-abi
[glibc.git] / ChangeLog
CommitLineData
ecf0ebfb
AJ
12012-04-29 Andreas Jaeger <aj@suse.de>
2
3 * Makerules (tests): Remove enable-check-abi protection.
4 (check-abi-warn): Remove.
5 (check-abi-%): Remove check-abi-warn usage.
6
7 * configure.in: Remove check-abi configure option.
8 * configure: Regenerated.
9 * config.make.in (enable-check-abi): Remove.
10
6d5c57fa
AS
112012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12
ded5180a
AS
13 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14 double functions to double *_finite functions.
15
7e0d315d
AS
16 [BZ #13941]
17 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19 LDBL_MIN_EXP.
20 * stdio-common/Makefile (tests): Add tst-sprintf3.
21 * stdio-common/tst-sprintf3.c: New file.
22
6d5c57fa
AS
23 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25
0749ff8b
JM
262012-04-28 Joseph Myers <joseph@codesourcery.com>
27
28 * conform/conformtest.pl: Remove duplicate typed-constant
29 handling.
30
8dbd5d7b
DM
312012-04-28 David S. Miller <davem@davemloft.net>
32
33 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34 (check-abi-%): Remove AWK script prerequisite and explicit
35 abilist directory.
36 (check-abi): Rewrite to just diff the symlist with the abilist.
37 (config-tls, config-abi-config): Delete, no longer used.
38 (update-abi-%): Remove AWK script and explicit abilist directory.
39 (update-abi): Rewrite to simply compare and conditionally copy the
40 symlist and the sysdep abilist file. Remove update-abi-config
41 checks.
42 * abilist/ld.abilist: Remove.
43 * abilist/libBrokenLocale.abilist: Remove.
44 * abilist/libanl.abilist: Remove.
45 * abilist/libcrypt.abilist: Remove.
46 * abilist/libdl.abilist: Remove.
47 * abilist/librt.abilist: Remove.
48 * abilist/libthread_db.abilist: Remove.
49 * abilist/libutil.abilist: Remove.
50 * scripts/extract-abilist.awk: Remove.
51 * scripts/merge-abilist.awk: Remove.
52 * sysdeps/generic/libcidn.abilist: New file.
53 * sysdeps/generic/libnss_compat.abilist: New file.
54 * sysdeps/generic/libnss_db.abilist: New file.
55 * sysdeps/generic/libnss_dns.abilist: New file.
56 * sysdeps/generic/libnss_files.abilist: New file.
57 * sysdeps/generic/libnss_hesiod.abilist: New file.
58 * sysdeps/generic/libnss_nis.abilist: New file.
59 * sysdeps/generic/libnss_nisplus.abilist: New file.
60 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63 file.
64 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
72 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73 file.
74 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
77 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78 file.
79 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
81 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
83 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
85 file.
86 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
87 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
88 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
89 file.
90 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
91 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
92 New file.
93 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
94 New file.
95 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
96 New file.
97 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
98 New file.
99 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
100 New file.
101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
102 New file.
103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
104 New file.
105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
106 New file.
107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
108 New file.
109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
110 New file.
111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
112 New file.
113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
114 New file.
115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
116 New file.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
118 file.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
120 New file.
121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
122 New file.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
124 file.
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
126 New file.
127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
128 New file.
129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
130 file.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
132 New file.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
134 New file.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
136 New file.
137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
138 New file.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
140 New file.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
142 New file.
143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
145 file.
146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
147 New file.
148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
149 file.
150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
151 file.
152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
153 file.
154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
155 file.
156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
157 file.
158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
159 New file.
160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
161 file.
162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
163 file.
164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
165 New file.
166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
167 file.
168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
170 file.
171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
172 New file.
173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
174 file.
175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
176 file.
177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
178 file.
179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
180 file.
181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
182 file.
183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
184 New file.
185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
186 file.
187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
188 file.
189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
190 New file.
191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
192 file.
193 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
194 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
195 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
196 file.
197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
198 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
199 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
200 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
201 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
202 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
203 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
204 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
205 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
206 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
209 file.
210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
211 New file.
212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
213 file.
214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
215 file.
216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
217 file.
218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
219 file.
220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
221 file.
222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
223 New file.
224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
225 New file.
226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
227 file.
228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
229 New file.
230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
231 file.
232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
234 file.
235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
236 New file.
237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
238 file.
239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
240 file.
241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
242 file.
243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
244 file.
245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
246 file.
247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
248 New file.
249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
250 New file.
251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
252 file.
253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
254 New file.
255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
256 file.
257
41d73a1b
JM
2582012-04-28 Joseph Myers <joseph@codesourcery.com>
259
260 * conform/conformtest.pl: Fix typo in handling typed-constant from
261 allow-header.
262
28aeeda4
JM
2632012-04-27 Joseph Myers <joseph@codesourcery.com>
264
adae8f5e
JM
265 * README: Cut down references to pre-2.6 Linux kernels and
266 Linuxthreads. Update lists of configurations in libc and ports
267 and sort alphabetically. Say "or newer" with Linux kernel version
268 requirements.
269
28aeeda4
JM
270 * config.h.in [IS_IN_build]: Allow compiling without optimization.
271
a462cb63
RA
2722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
273
274 [BZ #887]
275 * math/libm-test.inc (logb_test_downward): New test to expose
276 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
277 rounding mode.
278
6ad3493e
JM
2792012-04-27 Joseph Myers <joseph@codesourcery.com>
280
281 [BZ #14027]
282 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
283 to be done.
284 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
285 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
286
2ce4f015
JM
2872012-04-26 Joseph Myers <joseph@codesourcery.com>
288
5aeb141a
JM
289 * sysdeps/unix/i386/brk.S: Remove file.
290 * sysdeps/unix/i386/dl-brk.S: Likewise.
291 * sysdeps/unix/i386/pipe.S: Likewise.
292 * sysdeps/unix/i386/sigreturn.S: Likewise.
293 * sysdeps/unix/i386/syscall.S: Likewise.
294 * sysdeps/unix/i386/vfork.S: Likewise.
295 * sysdeps/unix/i386/wait.S: Likewise.
296
7143acae
JM
297 * sysdeps/unix/common/tcsendbrk.c: Move to ...
298 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
299
2ce4f015
JM
300 * configure.in (arm*-none*): Do not allow without
301 --enable-hacker-mode.
302 (netbsd*): Remove case setting base_os.
303 (386bsd*): Likewise.
304 (freebsd*): Likewise.
305 (bsdi*): Likewise.
306 (osf*): Likewise.
307 (sunos*): Likewise.
308 (ultrix*): Likewise.
309 (newsos*): Likewise.
310 (dynix*): Likewise.
311 (*bsd*): Likewise.
312 (sysv*): Likewise.
313 (isc*): Likewise.
314 (esix*): Likewise.
315 (sco*): Likewise.
316 (minix*): Likewise.
317 (irix4*): Likewise.
318 (irix6*): Likewise.
319 (solaris[2-9]*): Likewise.
320 (none): Likewise.
321 * configure: Regenerated.
322
0ac229c8
AZ
3232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
324
325 [BZ #11521]
326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
327 overflow or cancellation in calculating denominator.
328 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
330 down expression to avoid unexpected rounding in newer GCCs.
331 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
332
33f244f4
DM
3332012-04-26 David S. Miller <davem@davemloft.net>
334
335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
336 long-double compat symbols.
337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
350
cfa1f3e8
DM
3512012-04-25 David S. Miller <davem@davemloft.net>
352
353 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
354 HWCAP_* values only after the memory barriers have been defined.
355 (atomic_full_barrier): Define.
356 (atomic_read_barrier): Define.
357 (atomic_write_barrier): Define.
358
6e236b92
SP
3592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
360
361 * shlib-versions: Add libgcc_s version information.
362 * sysdeps/generic/libgcc_s.h: Remove.
363 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
364 libgcc_s.h.
365 * sysdeps/gnu/unwind-resume.c: Likewise.
366 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
367
aab39a09
DM
3682012-04-25 David S. Miller <davem@davemloft.net>
369
370 * sysdeps/unix/sparc/brk.S: Delete.
371 * sysdeps/unix/sparc/dl-brk.S: Delete.
372 * sysdeps/unix/sparc/pipe.S: Delete.
373 * sysdeps/unix/sparc/sysdep.S: Delete.
374 * sysdeps/unix/sparc/sysdep.h: Delete.
375 * sysdeps/unix/sparc/vfork.S: Delete.
376 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
377 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
379 ret_ERRVAL, r0, r1, MOVE): Define.
380 (JUMPTARGET): Remove.
381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
382 sysdeps/unix/sparc/sysdep.h
383 (ENTRY, END): Remove.
384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
385
a3cc4f48
JM
3862012-04-25 Joseph Myers <joseph@codesourcery.com>
387
2ed8cda2
JM
388 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
389 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
390 -DIS_IN_build.
391
35d76d59
JM
392 * timezone/README: Update upstream location and email address for
393 tzcode and tzdata.
394 * timezone/zdump.c: Update from tzcode 2012b.
395 * timezone/zic.c: Likewise.
396
a3cc4f48
JM
397 * configure.in (libc_cv_as_needed): Remove test.
398 * configure: Regenerated.
399 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
400 conditional definition.
401 [$(have-as-needed) != yes] (no-as-needed): Likewise.
402 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
403 * config.make.in (have-as-needed): Remove variable.
404
ceab42c3
SP
4052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
406 Paul Pluzhnikov <ppluzhnikov@google.com>
407
408 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
409 strings correctly.
410
3ce2865f
CLT
4112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
412
413 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
414 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
415 * sysdeps/sh/strlen.S: Likewise.
416
f37e0d68
JM
4172012-04-24 Joseph Myers <joseph@codesourcery.com>
418
ae186e9a
JM
419 * sysdeps/unix/fork.S: Remove file.
420 * sysdeps/unix/i386/fork.S: Likewise.
421 * sysdeps/unix/sparc/fork.S: Likewise.
422
b96914af
JM
423 * sysdeps/unix/system.c: Remove file.
424 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
425
f37e0d68
JM
426 * sysdeps/unix/getegid.S: Remove file.
427 * sysdeps/unix/geteuid.S: Likewise.
428
87ef29ca
RM
4292012-04-24 Roland McGrath <roland@hack.frob.com>
430
83bcd236
RM
431 * scripts/check-localplt.awk: New file.
432 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
433 of diff.
434 * scripts/data/localplt-generic.data: Add a comment.
435
87ef29ca
RM
436 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
437 NODE when __dir_mkfile failed.
438 * sysdeps/mach/hurd/symlinkat.c: Likewise.
439 Reported by Ludovic Courtès <ludo@gnu.org>.
440
e5a6e567
AJ
4412012-04-24 Andreas Jaeger <aj@suse.de>
442
443 * Makerules (common-clean): Also remove gen-as-const-headers
444 files.
445
c1820385
JM
4462012-04-24 Joseph Myers <joseph@codesourcery.com>
447
448 * Makerules (native-compile): Do not change working directory for
449 build. Use $(OUTPUT_OPTION) in command.
450 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
451
94e02fc4
AZ
4522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
453
454 [BZ #13886]
455 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
456 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
457 * math/libm-test.inc (floor_test): Add more tests.
458 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
459
3a533ca3
JM
4602012-04-24 Joseph Myers <joseph@codesourcery.com>
461
940ab4b3
JM
462 * sysdeps/unix/getdents.c: Remove file.
463 * sysdeps/unix/sysv/getdents.c: Likewise.
464 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
465
90e037bd
JM
466 * sysdeps/unix/syscalls.list (madvise): Add syscall from
467 sysdeps/unix/mman/syscalls.list.
468 (mmap): Likewise.
469 (mprotect): Likewise.
470 (msync): Likewise.
471 (munmap): Likewise.
472 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
473 * sysdeps/unix/mman/syscalls.list: Remove.
474 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
475
3a533ca3
JM
476 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
477 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
478 * configure: Regenerated.
479 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
480 $(libgcc_s_suffix).
481 * config.make.in (libgcc_s_suffix): Remove variable.
482
1ad743de
JM
4832012-04-23 Joseph Myers <joseph@codesourcery.com>
484
4ad451e2
JM
485 * sysdeps/unix/sysv/gethostname.c: Move to ...
486 * sysdeps/posix/gethostname.c: ... here.
487
5e37ce39
JM
488 * sysdeps/unix/execve.S: Remove file.
489
1ad743de
JM
490 * sysdeps/unix/_exit.S: Remove file.
491
4e681b5b
AJ
4922012-04-23 Andreas Jaeger <aj@suse.de>
493
494 [BZ #13739]
495 * manual/Makefile: Remove make dist support, there's no
496 need for a stand-alone documentation tar ball.
497 (TEXI2DVI): Define always, it's not in Makeconfig.
498 (dist): Removed.
499 (tar-it): Removed.
500 (edition): Removed.
501 (glibc-doc-$(edition).tar): Removed
502 (%.Z): Removed.
503 (%.gz): Removed.
504 (%.uu): Removed.
505 (ETAGS): Remove, it's in Makeconfig.
506 (move-if-change): Remove, it's in Makeconfig.
507
c0baea34
PE
5082013-04-23 Paul Eggert <eggert@cs.ucla.edu>
509
510 [BZ #13970]
511 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
512 (strtod, strtof, strtold, strtol, strtoul, strtoq)
513 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
514 (strtod_l, strtof_l, strtold_l): Remove __wur.
515 It is not necessarily an error to ignore strtol's return value.
516 One can reliably look at the stored endptr to decide whether
517 the number had valid syntax.
518
7c0616fa
AJ
5192012-04-21 Andreas Jaeger <aj@suse.de>
520
803cb6b7 521 [BZ #13739]
7c0616fa
AJ
522 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
523
b0fe253f
JM
5242012-04-21 Joseph Myers <joseph@codesourcery.com>
525
526 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
527 * sysdeps/unix/sysv/Versions: Remove file.
528
8280f22d
MT
5292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
530
531 [BZ #13927]
532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
533
75ce411f 5342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
535
536 [BZ #7064]
537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
538 version from __vm86.
539
097d59fa
JM
5402012-04-20 Joseph Myers <joseph@codesourcery.com>
541
a90f3bcb
JM
542 * sysdeps/unix/common/lxstat.c: Remove file.
543 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
544
edc7ea78
JM
545 * sysdeps/unix/sysv/Makefile: Remove file.
546
cb78c221
JM
547 * sysdeps/unix/sysv/direct.h: Remove file.
548
efa6a45f
JM
549 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
550 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
551 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
552 * sysdeps/unix/sysv/bits/signum.h: Likewise.
553 * sysdeps/unix/sysv/bits/stat.h: Likewise.
554 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
555 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
556
9c9f2d0c
JM
557 * sysdeps/unix/sysv/setrlimit.c: Remove file.
558
4541c83b
JM
559 * sysdeps/unix/xmknod.c: Remove file.
560 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
561
f5d153a0
JM
562 * sysdeps/unix/sysv/settimeofday.c: Remove file.
563
aa746595
JM
564 * sysdeps/unix/sysv/i386/time.S: Remove file.
565
cce5905e
JM
566 * sysdeps/unix/fxstat.c: Remove file.
567 * sysdeps/unix/xstat.c: Likewise.
568 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
569
37fa3841
JM
570 * sysdeps/unix/sysv/sigaction.c: Remove file.
571
ff1962a3
JM
572 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
573 (sysdep_headers): Remove variable.
574 [termio.h not in sysdep_headers] (generated): Likewise.
575 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
576 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
577 * sysdeps/unix/sysv/tcdrain.c: Likewise.
578 * sysdeps/unix/sysv/tcflow.c: Likewise.
579 * sysdeps/unix/sysv/tcflush.c: Likewise.
580 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
581 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
582 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
583 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
584 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
585
e7740d31
JM
586 * sysdeps/unix/siglist.c: Remove file.
587
ee06f18b
JM
588 * sysdeps/unix/getppid.S: Remove file.
589
097d59fa
JM
590 * sysdeps/unix/mkdir.c: Remove file.
591 * sysdeps/unix/rmdir.c: Likewise.
592
ff3d51ec
AS
5932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
594
595 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
596 ERR_MAX value.
597 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
598 errlist-compat value.
599
50f81fd7
DM
6002012-04-18 David S. Miller <davem@davemloft.net>
601
602 * sysdeps/generic/memcopy.h (reg_char): Delete.
603 * debug/strcat_chk.c: Use char, not reg_char.
604 * debug/strcpy_chk.c: Likewise.
605 * debug/strncat_chk.c: Likewise.
606 * debug/strncpy_chk.c: Likewise.
607 * string/memchr.c: Likewise.
608 * string/memrchr.c: Likewise.
609 * string/rawmemchr.c: Likewise.
610 * string/strcat.c: Likewise.
611 * string/strchr.c: Likewise.
612 * string/strchrnul.c: Likewise.
613 * string/strcmp.c: Likewise.
614 * string/strcpy.c: Likewise.
615 * string/strncat.c: Likewise.
616 * string/strncmp.c: Likewise.
617 * string/strncpy.c: Likewise.
618
8ff41c46
WS
6192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
620
621 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
622 __builtin_memcopy is called when src and dest ranges are known to not
623 overlap.
624
6b652f46
WS
6252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
626
627 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
628 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
629 fwd_align_merge macro call.
630 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
631 bwd_align_merge macro call.
632 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
633
b282631e
WS
6342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
635
636 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
637 bwd_align_merge macros.
638 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
639 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
640 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
641
95aa737c
DM
6422012-04-18 David S. Miller <davem@davemloft.net>
643
644 * sysdeps/sparc/sparc64/memcopy.h: Delete.
645
7a99a614
AJ
6462012-04-18 Andreas Jaeger <aj@suse.de>
647
648 [BZ# 6794]
649 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
650 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
651 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
652
653 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
654 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
656
657 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
658 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
659 Adjust for changed ldbl-128 files.
660
661 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
662 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
663 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
664
e5270c23
DM
6652012-04-17 David S. Miller <davem@davemloft.net>
666
667 * sysdeps/sparc/sparc32/memcopy.h: Delete.
668
fb5e92c9
AS
6692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
670
671 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
672 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
673 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
674 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
675 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
676 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
677
76da7265
AZ
6782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
679
680 [BZ #6794]
681 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
682 * math/libm-test.inc: Add ilogb errno and exception tests.
683 * math/w_ilogb.c: New file: ilogb wrapper.
684 * math/w_ilogbf.c: New file: ilogbf wrapper.
685 * math/w_ilogbl.c: New file: ilogbl wrapper.
686 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
687 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
688 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
689 exception being thrown with 0.0 as argument.
690 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
691 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
692 exception being thrown with 0.0 as argument.
693 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
694 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
695 exception being thrown with 0.0 as argument.
696 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
697 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
698 exception being thrown with 0.0 as argument.
699 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
700 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 701 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
702 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
703 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
704 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
705 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
706 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
707 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
708
0396e69d
PB
7092012-04-17 Petr Baudis <pasky@ucw.cz>
710
711 * include/sys/uio.h: Change __vector to __iovec to avoid clash
712 with altivec.
713
750b5926
MP
7142012-04-16 Marek Polacek <polacek@redhat.com>
715
716 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
717
751728a1
MP
7182012-04-16 Marek Polacek <polacek@redhat.com>
719
720 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
721 operands of fdivp instruction.
722
34a27407
L
7232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
724
725 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
726 * elf/tst-auditmod3b.c: Likewise.
727 * elf/tst-auditmod4b.c: Likewise.
728 * elf/tst-auditmod5b.c: Likewise.
729 * elf/tst-auditmod6b.c: Likewise.
730 * elf/tst-auditmod6c.c: Likewise.
731 * elf/tst-auditmod7b.c: Likewise.
732 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
733 * sysdeps/x86_64/preconfigure.in: Likewise.
734 * sysdeps/x86_64/preconfigure: Regenerated.
735
7e73e17d
L
7362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
737
738 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
739 __ILP32__.
740
c7a6ab72
AB
7412012-04-13 Antoine Balestrat <merkil33@gmail.com>
742
743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
744 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
745
a9e8e0e0
CL
7462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
747
748 [BZ #13973]
749 * locale/iso-639.def: Fix gl language name. Spotted by
750 Yaron Shahrabani.
751
ec98af7d
RM
7522012-04-12 Roland McGrath <roland@hack.frob.com>
753
754 [BZ #2074]
755 * libio/libio.h (__io_write_fn): Update comment.
756
247c3ede
PB
7572012-04-12 Petr Baudis <pasky@ucw.cz>
758
759 [BZ #2074]
760 * stdio.texi (Hook Functions): The user provided writer function
761 is not allowed to return -1.
762
55939d6d
DM
7632012-04-11 David S. Miller <davem@davemloft.net>
764
765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
766
90020f5a
MF
7672012-04-11 Mike Frysinger <vapier@gentoo.org>
768
769 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
770 Add a leading slash to rtkaio.
771
288f9098
JM
7722012-04-11 Jim Meyering <meyering@redhat.com>
773
90020f5a
MF
774 [BZ #11959]
775 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
776 It is not necessarily an error to ignore fwrite's return
777 value. One can reliably use ferror to test for errors after
778 the fact.
288f9098 779
4be2b570
L
7802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
781
782 * bits/types.h (__snseconds_t): New type.
783 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
784
785 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
787 (__SNSECONDS_T_TYPE): Likewise.
788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
789 (__SNSECONDS_T_TYPE): Likewise.
790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
791 (__SNSECONDS_T_TYPE): Likewise.
792
288f9098 7932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
794
795 [BZ #2636]
796 * manual/time.texi (Processor Time): Return type of times is
797 elapsed real time since an arbitrary point in the past.
798 (CPU Time): Move CLK_TCK from here...
799 (Processor Time): ...to here. Correct description.
800 * manual/conf.texi (Constants for Sysconf): Correct description of
801 _SC_CLK_TCK.
802
d7dd4413
DM
8032012-04-10 David S. Miller <davem@davemloft.net>
804
805 [BZ #13967]
806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
807 where the is a gap between DT_REL(A) and DT_JMPREL.
808
b46068fc
L
8092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
810
811 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
812 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
813 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
814
73d65cc3
SP
8152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
816
817 * elf/dl-support.c (_dl_inhibit_cache): New variable.
818 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
819 (dl_main): Handle --inhibit-cache.
820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
821 _dl_inhibit_cache.
822 * elf/dl-load.c (_dl_map_object): Use it.
823 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
824
bcc8d661
JM
8252012-04-09 Joseph Myers <joseph@codesourcery.com>
826
8f9a2fae
JM
827 [BZ #13872]
828 * sysdeps/i386/fpu/e_powl.S (p78): New object.
829 (__ieee754_powl): Saturate large exponents rather than testing for
830 overflow of y*log2(x).
831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
832 * math/libm-test.inc (pow_test): Do not permit spurious overflow
833 exceptions.
834
bcc8d661
JM
835 [BZ #11521]
836 * math/s_ctan.c: Include <float.h>.
837 (__ctan): Avoid internal overflow or cancellation in calculating
838 denominator.
839 * math/s_ctanf.c: Likewise.
840 * math/s_ctanl.c: Likewise.
841 * math/s_ctanh.c: Likewise.
842 * math/s_ctanhf.c: Likewise.
843 * math/s_ctanhl.c: Likewise.
844 * math/libm-test.inc (ctan_test): Add more tests.
845 (ctanh_test): Likewise.
846 * sysdeps/i386/fpu/libm-test-ulps: Update.
847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
848
823fbbb4
AJ
8492012-04-09 Andreas Jaeger <aj@suse.de>
850
03879793
AJ
851 [BZ #6894]
852 * manual/filesys.texi (Directory Entries): Mention that d_namlen
853 is an optional BSD extension.
854
823fbbb4
AJ
855 [BZ #10254]
856 * manual/stdio.texi (Opening Streams): Document additional fopen
857 parameters.
858
8de131cb
RM
8592012-04-09 Roland McGrath <roland@hack.frob.com>
860
861 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
862 %eax without telling the compiler.
863
c0ed9d7d
CD
8642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
865
866 [BZ # 13963]
867 * manual/install.texi: Use sourceware.org.
868
c483f6b4
JM
8692012-04-09 Joseph Myers <joseph@codesourcery.com>
870
d7dd9453
JM
871 [BZ #13873]
872 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
873 (__ieee754_pow): Generate overflow and underflow using huge*huge
874 and tiny*tiny rather than just returning constant infinity or zero
875 for large exponents.
876 * math/libm-test.inc (pow_test): Require overflow exceptions for
877 applicable cases of large exponents.
878
c483f6b4
JM
879 [BZ #706]
880 * sysdeps/i386/fpu/e_pow.S (p10): New object.
881 (__ieee754_pow): Use iterative multiplication algorithm only for
882 integer exponents with absolute value below 1024. Check for odd
883 integer exponents when using algorithm for real exponents.
884 * math/libm-test.inc (pow_test): Add more tests.
885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
886
d2de7579
JM
8872012-04-08 Joseph Myers <joseph@codesourcery.com>
888
889 [BZ #13705]
890 * math/libm-test.inc (exp_test): Do not allow overflow exception
891 on underflow test.
892
f77f1232
AJ
8932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
894
895 [BZ #13705]
896 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
897 instead of __kernel_standard_f.
898
3884932b
MF
8992012-04-08 Mike Frysinger <vapier@gentoo.org>
900
901 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
902 * sysdeps/x86_64/memset_chk.S: Likewise.
903
54472e9c
AJ
9042012-04-08 Andreas Jaeger <aj@suse.de>
905
6ab0fbfc
AJ
906 [BZ #10153]
907 * manual/startup.texi (Environment Access): Describe return value
908 for putenv and setenv.
909
61efba8c
AJ
910 [BZ #6895]
911 * manual/filesys.texi (Directory Entries): Add description for
912 DT_LNK.
913
95c3f29a
AJ
914 [BZ #6890]
915 * manual/filesys.texi (Directory Entries): Clarify that it's file
916 system not operating system in the description of DT_UNKNOWN.
917
54472e9c
AJ
918 [BZ #6578]
919 * manual/syslog.texi (closelog): Fix reference, it's openlog.
920
624254b1
SC
9212012-04-08 Stephen Compall <s11@member.fsf.org>
922
923 [BZ #6649]
924 * manual/llio.texi (Opening and Closing Files): Add cross
925 reference to explain mode argument.
926
1e4920e0
MF
9272012-04-07 Mike Frysinger <vapier@gentoo.org>
928
929 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
930 * sysdeps/x86_64/memset_chk.S: Likewise.
931
5ed848f3
DM
9322012-04-07 David S. Miller <davem@davemloft.net>
933
934 * elf/elf.h (R_SPARC_WDISP10): Define.
935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
936 R_SPARC_SIZE32.
937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
938 R_SPARC_SIZE64 and R_SPARC_H34.
939
96154cd8
CD
9402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
941
942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
943 conditions and remove no longer applicable assertion.
944
9904dc47
L
9452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
946
947 * bits/byteswap.h: Include <features.h>.
948 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
949 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
950
f8887d0a
L
9512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
952
953 * bits/byteswap.h (__bswap_16): Removed.
954 Include <bits/byteswap-16.h> to get __bswap_16.
955 * sysdeps/i386/bits/byteswap.h: Likewise.
956 * sysdeps/s390/bits/byteswap.h: Likewise.
957 * sysdeps/x86_64/bits/byteswap.h: Likewise.
958 * bits/byteswap-16.h: New file.
959 * sysdeps/i386/bits/byteswap-16.h: Likewise.
960 * sysdeps/s390/bits/byteswap-16.h: Likewise.
961 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
962 * string/Makefile (headers): Add bits/byteswap-16.h.
963
62470f60
PP
9642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
965
966 [BZ #13895]
967 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
968 extra indirection.
969 * nss/Makefile (tests-static, tests): Add tst-nss-static.
970 * nss/tst-nss-static.c: New.
971
4dad7bab
RM
9722012-04-06 Robert Millan <rmh@gnu.org>
973
974 [BZ #6486]
975 * manual/llio.texi (File Position Primitive): lseek
976 refers to WHENCE when it really means OFFSET.
977
e9142a17
AJ
9782012-04-06 Andreas Jaeger <aj@suse.de>
979
2c040eff
AJ
980 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
981 strncmp declarations.
982
e9142a17
AJ
983 * abilist/libc.abilist: Add __poll and __ppoll.
984
ff9f1c5f
DM
9852012-04-05 David S. Miller <davem@davemloft.net>
986
dcd2ae90
DM
987 * scripts/check-local-headers.sh: Accept a host triplet in the
988 path matched by the exclude regexp.
989
993eb054
DM
990 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
991 definition.
992 * sysdeps/powerpc/powerpc32/dl-machine.h
993 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
994 * sysdeps/s390/s390-32/dl-machine.h
995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
996 * sysdeps/sparc/sparc32/dl-machine.h
997 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
998 * sysdeps/sparc/sparc64/dl-machine.h
999 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1000
ff9f1c5f
DM
1001 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1002 lazy binding.
48e2e132 1003 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1004 undefined symbol errors.
1005
48e2e132 1006 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1007 DT_NEEDED entries.
1008
e80d6f94
MM
10092012-04-05 Michael Matz <matz@suse.de>
1010
1011 [BZ #13592]
1012 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1013
349fa79f
AJ
10142012-04-05 Andreas Jaeger <aj@suse.de>
1015
1016 [BZ #13908]
1017 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1018 comment.
1019
f402708f
KK
10202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1021
1022 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1023 which ROUND is no valid rounding mode.
1024
2ecccfc9
KK
10252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1026
1027 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1028 read again.
1029 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1030
8a53f50f
KK
10312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1032
1033 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1034 an exception using FPU order intentionally.
1035
10362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1037
1038 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1039 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1040 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1041 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1042
d653abb7
SJ
10432012-04-05 Simon Josefsson <simon@josefsson.org>
1044
1045 [BZ #12340]
1046 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1047 EINVAL when BUFLEN is too smal.
1048
c3b1bf7d
TS
10492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1050
1051 [BZ #13553]
1052 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1053 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1054
b1aa60f3
AJ
10552012-04-03 Andreas Jaeger <aj@suse.de>
1056
c3b1bf7d 1057 [BZ #13938]
67f60a26
AJ
1058 * manual/setjmp.texi (System V contexts): Fix sentence.
1059
b1aa60f3
AJ
1060 [BZ #13926]
1061 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1062 New macro for this case.
1063 [!__GNUC__] (__bswap_64): New inline function for this case.
1064 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1065 * bits/byteswap.h: Likewise.
1066 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1067 ull, guard with __GLIBC_HAVE_LONG_LONG.
1068
1069 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1070 __GLIBC_HAVE_LONG_LONG.
1071
1072 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1073 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1074
39c59c35
TMQMF
10752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1076
1077 [BZ #13691]
1078 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1079 inptr and inend, rather than using last_ch.
1080
135ffda8
DM
10812012-04-02 David S. Miller <davem@davemloft.net>
1082
1083 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1084 * stdio-common/printf-parse.h (read_int): Change return type to
1085 'int', return -1 on INT_MAX overflow.
1086 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1087 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1088 overflows INT_MAX. Check for overflow of in-format-string precision
1089 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1090 SIZE_MAX not INT_MAX for integer overflow test.
1091 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1092 skip the construct in the format string but do not record anything.
1093 * stdio-common/bug22.c: Adjust to test both width/prevision
1094 INT_MAX overflow as well as total length INT_MAX overflow. Check
1095 explicitly for proper errno values.
1096
228c019e
TS
10972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1098
302cadd3
TS
1099 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1100 CHAR_MAX.
1101 * string/test-strcmp.c [! WIDE]: Likewise.
1102 * time/tst-mktime2.c: Likewise for INT_MAX.
1103 * string/test-string.h: #include <sys/param.h> for MIN.
1104
228c019e
TS
1105 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1106 * sysdeps/i386/init-first.c (init): Likewise.
1107 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1108 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1109 * sysdeps/sh/init-first.c (init): Likewise.
1110
cfa633f5
UD
11112012-04-01 Ulrich Drepper <drepper@gmail.com>
1112
1113 * po/ru.po: Update from translation team.
d1635ef8 1114 * po/vi.po: Likewise.
cfa633f5 1115
6cd0a5ea
SP
11162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1117
1118 * resolv/nss_dns/dns-host.c: Merge copyright years.
1119
4b43400f
LD
11202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1121
1122 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1123 Optimize memcpy with prefetch if
1124 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1125 src, dst pointers have unequal 16 byte alignments.
1126
48c41d04
SP
11272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1128
1129 [BZ #13928]
1130 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1131 from a CNAME entry and return the minimum ttl for the query.
1132 (gaih_getanswer_slice): Likewise.
1133
b8dc394d
JL
11342012-03-30 Jeff Law <law@redhat.com>
1135
1136 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1137 due to long keys.
1138 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1139 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1140
2f5a5ed0
JL
1141 * resolv/nss_dns/dns-host.c: Update copyright year.
1142
1d39e359
UD
11432012-03-30 Ulrich Drepper <drepper@gmail.com>
1144
c030f70c 1145 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1146 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1147
1d39e359
UD
1148 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1149 comments for sendmmsg.
1150
11512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1152
1153 [BZ #13691]
1154 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1155 with only 1 character between 0x0041 and 0x01b0.
1156 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1157 * wcsmbs/tst-mbsnrtowcs.c: New file.
1158
20fde227
DM
11592012-03-29 David S. Miller <davem@davemloft.net>
1160
1161 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1162 small copies by hand.
1163
984a4237
JL
11642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1165
1166 [BZ #13761]
1167 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1168 _nss_compat_initgroups_dyn): Fall back to malloc/free
1169 for large group memberships.
1170
18c9d62b
DM
11712012-03-28 David S. Miller <davem@davemloft.net>
1172
88d85d4f
DM
1173 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1174 that branches into memcpy.
1175 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1177 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1178 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1180 bits.
1181 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1182 implementation too.
1183 * sysdeps/sparc/mempcpy.S: New file.
1184
e5aa83e1
DM
1185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1186 the IFUNC routine in the libc case.
1187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1188
88570753
DM
1189 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1190 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1191 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1192 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1193 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1194 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1195 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1196 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1197
249d7567
DM
1198 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1199 loop to 256 bytes instead of 64 bytes and fix test signedness.
1200
18c9d62b
DM
1201 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1202 * sysdeps/sparc/sparc32/Makefile: rather than here...
1203 * sysdeps/sparc/sparc64/Makefile: and here.
1204
05f3d1f6
UD
12052012-03-28 Ulrich Drepper <drepper@gmail.com>
1206
1207 * malloc/mallocbug.c: Avoid warnings about unused variables.
1208
86ae07a8
JL
12092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1210
1211 [BZ #13760]
1212 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1213 in the right place. Discard and retry query if response is
1214 larger than input buffer size.
1215
41bf21a1
JM
12162012-03-28 Joseph Myers <joseph@codesourcery.com>
1217
d6270972
JM
1218 [BZ #369]
1219 [BZ #2678]
1220 [BZ #3866]
1221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1222 x for large integer exponent.
1223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1224 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1225 sign of result as needed afterwards.
1226 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1228 result for underflowing pow the same as for overflow.
1229 (__kernel_standard_l): Handle powl overflow and underflow here
1230 rather than calling __kernel_standard.
1231 * math/libm-test.inc (pow_test): Add more tests.
1232
414fca03 1233 [BZ #3868]
41bf21a1
JM
1234 [BZ #13879]
1235 [BZ #13910]
1236 [BZ #13911]
1237 [BZ #13912]
1238 [BZ #13913]
1239 [BZ #13915]
1240 [BZ #13916]
1241 [BZ #13917]
1242 [BZ #13918]
1243 [BZ #13919]
1244 [BZ #13920]
1245 [BZ #13921]
1246 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1247 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1248 (__kernel_standard_l): New function.
1249 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1250 __kernel_standard.
1251 * math/w_acosl.c (__acosl): Likewise.
1252 * math/w_asinl.c (__asinl): Likewise.
1253 * math/w_atan2l.c (__atan2l): Likewise.
1254 * math/w_atanhl.c (__atanhl): Likewise.
1255 * math/w_coshl.c (__coshl): Likewise.
1256 * math/w_exp10l.c (__exp10l): Likewise.
1257 * math/w_exp2l.c (__exp2l): Likewise.
1258 * math/w_fmodl.c (__fmodl): Likewise.
1259 * math/w_hypotl.c (__hypotl): Likewise.
1260 * math/w_j0l.c (__j0l, __y0l): Likewise.
1261 * math/w_j1l.c (__j1l, __y1l): Likewise.
1262 * math/w_jnl.c (__jnl, __ynl): Likewise.
1263 * math/w_lgammal.c (__lgammal): Likewise.
1264 * math/w_log10l.c (__log10l): Likewise.
1265 * math/w_log2l.c (__log2l): Likewise.
1266 * math/w_logl.c (__logl): Likewise.
1267 * math/w_powl.c (__powl): Likewise.
1268 * math/w_remainderl.c (__remainderl): Likewise.
1269 * math/w_scalbl.c (sysv_scalbl): Likewise.
1270 * math/w_sinhl.c (__sinhl): Likewise.
1271 * math/w_sqrtl.c (__sqrtl): Likewise.
1272 * math/w_tgammal.c (__tgammal): Likewise.
1273 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1274 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1275 * math/libm-test.inc (acos_test): Add more tests.
1276 (acosh_test): Likewise.
1277 (asin_test): Likewise.
1278 (atanh_test): Likewise.
1279 (exp_test): Likewise.
1280 (exp10_test): Likewise.
1281 (exp2_test): Likewise.
1282 (expm1_test): Likewise.
1283 (lgamma_test): Likewise.
1284 (log_test): Likewise.
1285 (log10_test): Likewise.
1286 (log1p_test): Likewise.
1287 (log2_test): Likewise.
1288 (pow_test): Do not allow some spurious overflow exceptions.
1289 (sqrt_test): Add more tests.
1290 (tgamma_test): Likewise.
1291 (y0_test): Likewise.
1292 (y1_test): Likewise.
1293 (yn_test): Likewise.
1294
dd62fda6
AB
12952012-03-27 Anton Blanchard <anton@samba.org>
1296
1297 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1298 MAP_HUGETLB.
1299 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1301 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1302
1e3cdfda
AJ
13032012-03-27 David S. Miller <davem@davemloft.net>
1304
b855ab85
DM
1305 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1306
1e3cdfda
AJ
1307 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1308 have-as-vis3 check.
1309
13102012-03-27 Andreas Jaeger <aj@suse.de>
1311
1312 * sysdeps/x86_64/elf/configure.in: Moved to ...
1313 * sysdeps/x86_64/configure.in: ... here.
1314 * sysdeps/x86_64/elf/start.S: Moved to ...
1315 * sysdeps/x86_64/start.S: ... here.
1316 * sysdeps/x86_64/elf/configure: Delete.
1317
1318 * sysdeps/x86_64/configure.in: Merge contents from
1319 sysdeps/i386/configure.in (without i686 check).
1320
1321 * sysdeps/i386/elf/Versions: Merge into ...
1322 * sysdeps/i386/Versions: ... this.
1323 * sysdeps/i386/elf/Versions: Delete file.
1324 * sysdeps/i386/elf/start.S: Moved to ...
1325 * sysdeps/i386/start.S: ...here.
1326 * sysdeps/i386/elf/configure.in: Merge into...
1327 * sysdeps/i386/configure.in: ...here.
1328 * sysdeps/i386/elf/configure.in: Delete file.
1329 * sysdeps/i386/elf/configure: Delete file.
1330
1331 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1332 * debug/backtracesyms.c: ... here.
1333 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1334 * debug/backtracesymsfd.c: ... here.
1335 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1336 * sysdeps/generic/ifunc-sel.h: ... here.
1337
1338 * sysdeps/unix/i386/start.c: Delete file.
1339 * sysdeps/unix/sparc/start.c: Delete file.
1340 * sysdeps/unix/start.c: Delete file.
1341
1342 * sysdeps/sh/elf/configure.in: Moved to ...
1343 * sysdeps/sh/configure.in: ... here.
1344 * sysdeps/sh/elf/start.S: Moved to ...
1345 * sysdeps/sh/start.S: ... here.
1346 * sysdeps/sh/elf/configure: Delete file.
1347
1348 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1349 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1350 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1351 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1352 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1353 * sysdeps/powerpc/powerpc64/start.S: here.
1354 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1355 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1356 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1357 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1358 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1359
1360 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1361 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1362 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1363 * sysdeps/powerpc/powerpc32/start.S: ... here.
1364 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1365 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1366 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1367
1368 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1369 * sysdeps/powerpc/ifunc-sel.h: ... here.
1370 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1371 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1372
1373 * sysdeps/sparc/elf/configure.in: Moved to ...
1374 * sysdeps/sparc/configure.in: ... here.
1375 * sysdeps/sparc/elf/configure: Delete file.
1376 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1377 * sysdeps/sparc/sparc32/start.S: ... here.
1378 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1379 * sysdeps/sparc/sparc64/start.S: ... here.
1380 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1381 * sysdeps/sparc/sparc32/Makefile: ... this.
1382 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1383 * sysdeps/sparc/sparc64/Makefile: ... this.
1384
1385 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1386 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1387 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1388 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1389 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1390 * sysdeps/s390/s390-32/setjmp.S: ... here.
1391 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1392 * sysdeps/s390/s390-32/configure.in: ... here.
1393 * sysdeps/s390/s390-32/elf/configure: Delete file.
1394 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1395 * sysdeps/s390/s390-32/start.S: ... here.
1396
1397 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1398 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1399 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1400 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1401 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1402 * sysdeps/s390/s390-64/setjmp.S: ... here.
1403 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1404 * sysdeps/s390/s390-64/configure.in: ... here
1405 * sysdeps/s390/s390-64/elf/configure: Delete file.
1406 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1407 * sysdeps/s390/s390-64/start.S: ... here.
1408 * sysdeps/s390/s390-64/elf/configure: Delete.
1409
1410 * configure.in: Remove support for elf directories in sysdeps.
1411
1412 * configure: Regenerated.
1413 * sysdeps/i386/configure: Regenerated.
1414 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1415 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1416 * sysdeps/s390/s390-32/configure: Regenerated.
1417 * sysdeps/s390/s390-64/configure: Regenerated.
1418 * sysdeps/sh/configure: Regenerated.
1419 * sysdeps/sparc/configure: Regenerated.
1420 * sysdeps/x86_64/configure: Regenerated.
1421
a3f61311
AS
14222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1423
c876e002
AS
1424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1425
a3f61311
AS
1426 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1427 denormal result into account.
1428
ac4c54f0
RM
14292012-03-25 Roland McGrath <roland@hack.frob.com>
1430
1431 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1432 Reported by Allan McRae <allan@archlinux.org>.
1433
6a9b9c02
JL
14342012-03-23 Jeff Law <law@redhat.com>
1435
1436 * nss/getnssent.c (__nss_getent): Fix typo.
1437
4c42a0c1
DM
14382012-03-23 David S. Miller <davem@davemloft.net>
1439
1440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1441
1532c7ac
L
14422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1443
1444 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1445 to pad to uint64_t for each field.
1446 (dl_tls_index): Replace unsigned long with uint64_t.
1447
3ff42526
PP
14482012-03-23 Daniel Jacobowitz <dmj@google.com>
1449 Paul Pluzhnikov <ppluzhnikov@google.com>
1450
1451 [BZ #6528]
1452 * grp/Makefile (otherlibs): Don't set it.
1453 * inet/Makefile (otherlibs): Likewise.
1454 * login/Makefile (otherlibs): Likewise.
1455 * nscd/Makefile (otherlibs): Likewise.
1456 * posix/Makefile (otherlibs): Likewise.
1457 * pwd/Makefile (otherlibs): Likewise.
1458 * rt/Makefile (otherlibs): Likewise.
1459 * sunrpc/Makefile (otherlibs): Likewise.
1460 * nss/Makefile (otherlibs): Likewise.
1461 Add libnss_files to routines and static-only-routines.
1462 ($(objpfx)getent): Remove rule.
1463 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1464 static-only-routines.
1465
7c69cd14
JM
14662012-03-22 Joseph Myers <joseph@codesourcery.com>
1467
1468 [BZ #13892]
1469 * math/s_cexp.c: Include <float.h>.
1470 (__cexp): Handle exp result overflowing not necessarily
1471 overflowing both real and imaginary parts of result.
1472 * math/s_cexpf.c: Likewise.
1473 * math/s_cexpl.c: Likewise.
1474 * math/libm-test.inc (cexp_test): Add more tests.
1475 * sysdeps/i386/fpu/libm-test-ulps: Update.
1476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1477
81b035fe
L
14782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1479
1480 * include/link.h (ELFW): New macro.
1481 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1482 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1483
1da7940c
L
14842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1487 with uint64_t.
1488
b749dbb9
L
14892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1492 declaration.
1493 (struct La_x32_retval): Likewise.
1494
2ff87f3f
L
14952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1496
1497 * sysdeps/x86_64/preconfigure.in: New file.
1498 * sysdeps/x86_64/preconfigure: New generated file.
1499
c0df8e69
JM
15002012-03-22 Joseph Myers <joseph@codesourcery.com>
1501
48e44791
JM
1502 [BZ #13824]
1503 * math/e_exp2l.c: Include <float.h>.
1504 (__ieee754_exp2l): Handle overflow and underflow cases
1505 separately. Only pass fractional part of argument to
1506 __ieee754_expl.
1507 * math/libm-test.inc (exp2_test): Add more tests.
1508
c0df8e69
JM
1509 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1510 negating x to take absolute value.
1511 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1512 Likewise.
1513 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1514 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1515 Likewise.
1516 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1517 computing low part if x was negated.
1518 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1519
c8e43ba7
L
15202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1521
1522 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1523 la_x32_gnu_pltexit.
1524 (pltexit): Cast int_retval to ptrdiff_t.
1525 * elf/tst-auditmod3b.c: Likewise.
1526 * elf/tst-auditmod4b.c: Likewise.
1527 * elf/tst-auditmod5b.c: Likewise.
1528 * elf/tst-auditmod6b.c: Likewise.
1529 * elf/tst-auditmod6c.c: Likewise.
1530 * elf/tst-auditmod7b.c: Likewise.
1531
1532 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1533 and x32_gnu_pltexit.
1534
1535 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1536 __ELF_NATIVE_CLASS.
1537 (La_x32_regs): New macro.
1538 (La_x32_retval): Likewise.
1539 (la_x32_gnu_pltenter): New function prototype.
1540 (la_x32_gnu_pltexit): Likewise.
1541
7998fa78
AS
15422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1543
dcb33988
AS
1544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1545 exponent.
1546
233fc563
AS
1547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1548
7998fa78
AS
1549 * configure.in (libc_cv_cc_nofma): Check for option to disable
1550 generation of FMA instructions.
1551 * configure: Regenerate.
1552 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1553 * sysdeps/ieee754/dbl-64/Makefile: New file.
1554 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1555 Remove brandred-fma4.
1556 (CFLAGS-brandred-fma4.c): Remove.
1557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1559 define.
1560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1561 define.
1562
8e95c99a
L
15632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1564
1565 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1566 LLONG_MAX != LONG_MAX.
1567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1568 (_fitoa_word): Likewise.
1569 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1570 LLONG_MAX != LONG_MAX.
1571 * stdio-common/_itowa.h: Include <_itoa.h>.
1572 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1573 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1574 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1575 only if not defined.
1576 (_ITOA_WORD_TYPE): Likewise.
1577 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1578 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1579
6f4db457
DM
15802012-03-21 David S. Miller <davem@davemloft.net>
1581
1582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1583
7785fe5a
L
15842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1585
1586 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1587 of x86_64 when setting libc_cv_slibdir, libdir and
1588 libc_cv_localedir.
1589 * sysdeps/unix/sysv/linux/configure: Regenerated.
1590
4535cd55
JM
15912012-03-21 Joseph Myers <joseph@codesourcery.com>
1592
1593 * manual/lang.texi (Old Varargs): Remove section.
1594 (How Variadic): Update menu.
1595 (va_start): Do not mention varargs.h.
1596
17228132
TS
15972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1598 Joseph Myers <joseph@codesourcery.com>
1599
1600 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1601 link test.
1602 * configure: Regenerated.
1603
8149f976
TS
16042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1605
05f3d1f6
UD
1606 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1607 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1608 conformtest.pl
8149f976 1609
1a4ac776
JM
16102012-03-21 Joseph Myers <joseph@codesourcery.com>
1611
be22ce65
JM
1612 * NOTES: Remove.
1613 * Makefile (files-for-dist): Remove NOTES.
1614 (NOTES): Remove rule.
1615 * README: Don't refer to NOTES.
1616 * manual/creature.texi: Don't include macros.texi.
1617 * manual/intro.texi (creature.texi): Remove comment referring to
1618 NOTES.
1619
40b601fb
JM
1620 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1621 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1622 * configure: Regenerated.
1623 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1624 LIBC_TRY_CC_OPTION.
1625 (libc_cv_as_i686): Likewise.
1626 (libc_cv_cc_avx): Likewise.
1627 (libc_cv_cc_sse2avx): Likewise.
1628 (libc_cv_cc_fma4): Likewise.
1629 (libc_cv_cc_novzeroupper): Likewise.
1630 * sysdeps/i386/configure: Regenerated.
1631
1a4ac776
JM
1632 [BZ #13883]
1633 * sysdeps/i386/fpu/s_cexp.S: Remove.
1634 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1635 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1636 * math/libm-test.inc (cexp_test): Add more tests.
1637 * sysdeps/i386/fpu/libm-test-ulps: Update.
1638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1639
a458e7fe
AM
16402012-03-21 Allan McRae <allan@archlinux.org>
1641
1642 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1643
0cb7efc5
JM
16442012-03-21 Joseph Myers <joseph@codesourcery.com>
1645
1646 [BZ #13871]
1647 * math/w_exp2.c: Do not include <float.h>.
1648 (o_threshold, u_threshold): Remove.
1649 (__exp2): Calculate result before checking finiteness and calling
1650 __kernel_standard.
1651 * math/w_exp2f.c: Likewise.
1652 * math/w_exp2l.c: Likewise.
1653 * math/libm-test.inc (exp2_test): Require overflow exception for
1654 1e6 input.
2460d3aa
JM
1655
1656 [BZ #3866]
1657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1658 range of signed 64-bit integers before using fistpll. Remove
1659 checks for whether integers fit in mantissa bits.
1660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1661 the range of signed 32-bit integers before using fistpl. Remove
1662 checks for whether integers fit in mantissa bits.
1663 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1664 (__ieee754_powl): Test for y outside the range of signed 64-bit
1665 integers before using fistpll. Reduce 64-bit values to 63-bit
1666 ones as needed.
1667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1668 divide-by-zero is raised for zero to large negative powers.
1669 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1670 (__ieee754_powl): Test for y outside the range of signed 64-bit
1671 integers before using fistpll. Reduce 64-bit values to 63-bit
1672 ones as needed.
1673 * math/libm-test.inc (pow_test): Add more tests.
1674
eb96ffb0
L
16752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1678 <stdio-common/_itoa.h>.
1679 * debug/segfault.c: Likewise.
1680 * elf/dl-cache.c: Likewise.
1681 * elf/dl-minimal.c: Likewise.
1682 * elf/dl-misc.c: Likewise.
1683 * elf/dl-sysdep.c: Likewise.
1684 * elf/dl-version.c: Likewise.
1685 * elf/rtld.c: Likewise.
1686 * hurd/hurdsock.c: Likewise.
1687 * hurd/lookup-retry.c: Likewise.
1688 * malloc/malloc.c: Likewise.
1689 * malloc/mtrace.c: Likewise.
1690 * nscd/nscd_getgr_r.c: Likewise.
1691 * nscd/nscd_getpw_r.c: Likewise.
1692 * nscd/nscd_getserv_r.c: Likewise.
1693 * posix/getopt_init.c: Likewise.
1694 * posix/wordexp.c: Likewise.
1695 * stdio-common/_itoa.c: Likewise.
1696 * stdio-common/printf_fphex.c: Likewise.
1697 * stdio-common/vfprintf.c: Likewise.
1698 * string/_strerror.c: Likewise.
1699 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1700 * sysdeps/i386/i686/hp-timing.h: Likewise.
1701 * sysdeps/mach/_strerror.c: Likewise.
1702 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1703 * sysdeps/mach/hurd/sethostid.c: Likewise.
1704 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1705 * sysdeps/mach/xpg-strerror.c: Likewise.
1706 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1707 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1708 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1709 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1710 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1711 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1712 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1713 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1714 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1715 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1716 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1717 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1718 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1719 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1720 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1721 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1722 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1723 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1724 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1725 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1726 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1727
1728 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1729
1730 * stdio-common/_itoa.h: Moved to ...
1731 * sysdeps/generic/_itoa.h: Here.
1732
1733 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1734
1735 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1736 instead of "_itoa.h" and "_itowa.h".
1737 * stdio-common/vfprintf.: Likewise.
1738
d1af992d
L
17392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1740
1741 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1742 <bits/wordsize.h>.
1743 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1744 (__signbit): Likwise.
1745 (llrintf): Likwise.
1746 (llrint): Likwise.
1747
114883e0
L
17482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1749
1750 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1751 __WORDSIZE != 64.
1752
c135cc1b
JM
17532012-03-20 Joseph Myers <joseph@codesourcery.com>
1754
1755 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1756 OVERFLOW_EXCEPTION_OK.
1757 * math/libm-test.inc ("Philosophy"): Update comment about
1758 exception testing.
1759 (OVERFLOW_EXCEPTION): Define.
1760 (OVERFLOW_EXCEPTION_OK): Likewise.
1761 (INVALID_EXCEPTION_OK): Renumber.
1762 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1763 (IGNORE_ZERO_INF_SIGN): Likewise.
1764 (test_exceptions): Handle FE_OVERFLOW.
1765 (exp10_test): Expect overflow exceptions.
1766 (exp2_test): Likewise.
1767 (expm1_test): Likewise.
1768 (nextafter_test): Likewise.
1769 (pow_test): Likewise.
1770 (scalbn_test): Likewise.
1771 (scalbln_test): Likewise.
1772
95443d88
L
17732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1774
1775 * sysdeps/x86_64/bits/atomic.h
1776 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1777 64bit integer.
1778 (atomic_exchange_acq): Likewise.
1779 (__arch_exchange_and_add_body): Likewise.
1780 (__arch_add_body): Likewise.
1781 (atomic_add_negative): Likewise.
1782 (atomic_add_zero): Likewise.
1783
490df6c4
L
17842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1785
c2722551 1786 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1787 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1788
5e52b189
L
17892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1790
1791 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1792 Check __x86_64__ instead of __WORDSIZE.
1793
a9879d4c
L
17942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1797
5df98260
DM
17982012-03-19 David S. Miller <davem@davemloft.net>
1799
e1497744
DM
1800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1801
5df98260
DM
1802 * sysdeps/sparc/fpu/fenv_private.h: New file.
1803 * sysdeps/sparc/fpu/math_private.h: Use it.
1804 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1805 Remove.
1806 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1807 (libc_feholdexcept_setroundl): Remove.
1808 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1809 Remove.
1810 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1811 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1812
b4c35121
L
18132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1814
1815 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1816 int64_t instead of long int.
1817 (INSERT_WORDS64): Likwise.
1818
56965fd7
L
18192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1820
1821 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1822 _Unwind_GetCFA return to _Unwind_Ptr first.
1823
83d1aec8
JM
18242012-03-19 Joseph Myers <joseph@codesourcery.com>
1825
1897ad44
JM
1826 [BZ #13629]
1827 * math/s_clog.c: Include <float.h>.
1828 (__clog): Scale large or subnormal inputs.
1829 * math/s_clogf.c: Likewise.
1830 * math/s_clogl.c: Likewise.
1831 * math/s_clog10.c: Include <float.h>.
1832 (M_LOG10_2): Define.
1833 (__clog10): Scale large or subnormal inputs.
1834 * math/s_clog10f.c: Likewise.
1835 * math/s_clog10l.c: Likewise.
1836 * math/libm-test.inc (clog_test): Add more tests.
1837 (clog10_test): Likewise.
1838 * sysdeps/i386/fpu/libm-test-ulps: Update.
1839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1840
7726d6a9
JM
1841 [BZ #11451]
1842 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1843 x and y.
1844 * math/libm-test.inc (atan2_test): Add another test.
1845
83d1aec8
JM
1846 * Makerules (common-objdir-compile): Remove.
1847 * sysdeps/unix/Makefile (config-generated): Do not add
1848 $(unix-generated) to variable.
1849 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1850 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1851 Remove rule.
1852 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1853 Likewise.
1854 [generic bits/local_lim.h] (before-compile): Do not append to
1855 variable.
1856 [generic bits/local_lim.h] (common-generated): Likewise.
1857 [generic sys/param.h] (before-compile): Do not append to variable.
1858 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1859 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1860 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1861 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1862 include.
1863 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1864 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1865 [generic sys/param.h] ($(addprefix
1866 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1867 [generic sys/param.h] (common-generated): Do not append to
1868 variable.
1869 [generic sys/param.h] (sysdep_headers): Likewise.
1870 [generic bits/errno.h] (before-compile): Do not append to
1871 variable.
1872 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1873 rule.
1874 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1875 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1876 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1877 [generic bits/errno.h] (common-generated): Do not append to
1878 variable.
1879 [generic bits/ioctls.h] (before-compile): Do not append to
1880 variable.
1881 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1882 rule.
1883 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1884 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1885 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1886 rule.
1887 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1888 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1889 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1890 [generic bits/ioctls.h] (common-generated): Do not append to
1891 variable.
1892 [generic sys/syscall.h] (syscall.h): Remove variable.
1893 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1894 rule.
1895 [generic sys/syscall.h] (before-compile): Do not append to
1896 variable.
1897 [generic sys/syscall.h] (common-generated): Likewise.
1898 * sysdeps/unix/errnos-tmpl.c: Remove file.
1899 * sysdeps/unix/errnos.awk: Likewise.
1900 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1901 * sysdeps/unix/ioctls.awk: Likewise.
1902 * sysdeps/unix/mk-local_lim.c: Likewise.
1903 * sysdeps/unix/snarf-ioctls: Likewise.
1904
4851a949
RH
19052012-03-19 Richard Henderson <rth@twiddle.net>
1906
bd37f2ee
RH
1907 * sysdeps/i386/fpu/fenv_private.h: New file.
1908 * sysdeps/i386/fpu/math_private.h: Use it.
1909 (math_opt_barrier, math_force_eval): Remove.
1910 (libc_feholdexcept_setround_53bit): Remove.
1911 (libc_feupdateenv_53bit): Remove.
1912 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1913 (math_opt_barrier, math_force_eval): Remove.
1914 (libc_feholdexcept): Remove.
1915 (libc_feholdexcept_setround): Remove.
1916 (libc_fetestexcept, libc_fesetenv): Remove.
1917 (libc_feupdateenv_test): Remove.
1918 (libc_feupdateenv, libc_feholdsetround): Remove.
1919 (libc_feresetround): Remove.
1920
d0adc922
RH
1921 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1922 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1923
0fe0f1f8
RH
1924 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1925 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1926 (libc_feupdateenv_testl): New.
1927 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1928 (libc_feupdateenv_testf): New.
1929 (libc_feupdateenv): Use libc_feupdateenv_test.
1930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1931 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1932
eb92c487
RH
1933 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1934 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1935 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1936 (libc_feresetround_noex): New.
1937 (libc_feresetround_noexf): New.
1938 (libc_feresetround_noexl): New.
1939 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1940 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1941 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1942 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1943 SET_RESTORE_ROUND.
1944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1946 (__cos): Likewise.
1947 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1948 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1949 SET_RESTORE_ROUND_NOEX.
1950 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1951 SET_RESTORE_ROUND_NOEXF.
1952 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1953 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1954 (libc_feholdsetroundf): New.
1955 (libc_feresetround, libc_feresetroundf): New.
1956
7d2e8012
RH
1957 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1958 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1959 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1960
b4dabbb4
RH
1961 * sysdeps/generic/math_private.h: Include <fenv.h>.
1962 (default_libc_feholdexcept): New.
1963 (default_libc_feholdexcept_setround): New.
1964 (default_libc_fesetenv, default_libc_feupdateenv): New.
1965 (libc_feholdexcept): Only define if undefined.
1966 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1967 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1968 (libc_feholdexcept_setroundl): Likewise.
1969 (libc_feholdexcept_setround_53bit): Likewise.
1970 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1971 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1972 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1973 (libc_feupdateenv_53bit): Likewise.
1974 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1975 (libc_feholdexcept): Convert from macro to inline function.
1976 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1977 (libc_fesetenv, libc_feupdateenv): Likewise.
1978
4851a949
RH
1979 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1980 not previously defined.
1981 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1982 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1983 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1984 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1985 * sysdeps/ieee754/flt-32/math_private.h: New file.
1986 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1987 math_private.h below SET_FLOAT_WORD.
1988 (__isnan, __isinf_ns, __finite): Remove.
1989 (__isnanf, __isinf_nsf, __finitef): Remove.
1990
e79d442e
AS
19912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1992
1993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1994
90b80344
DM
19952012-03-17 David S. Miller <davem@davemloft.net>
1996
1997 [BZ #6471]
1998 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1999 for 2.16.
2000
edc21804
DM
20012012-03-16 David S. Miller <davem@davemloft.net>
2002
77e927af
DM
2003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2004 warnings.
2005
374976dd
DM
2006 [BZ #6471]
2007 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2008 properly.
2009 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2010 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2011 sysdep_routines when subdir is sysvipc.
2012 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2013 __getshmlba helper.
2014
edc21804
DM
2015 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2016
473c3ef3
L
20172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2018
2019 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2020 [__LP64__].
2021
eb0f39b6
L
20222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2023
2024 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2025 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2026 (__lround): Renamed to ...
2027 (__llround): This. Replace long int with long long int.
2028 Define lround functions as aliases of llround functions.
2029 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2030
6b6cd74b
L
20312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2032
2033 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2034 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2035 adresses to uintptr_t. Replace "long int" and "unsigned long
2036 int" with "greg_t" on va_arg.
2037
f1a77b01
L
20382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2039
2040 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2041 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2042
2043 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2044 Move e_machine check before EI_CLASS check. Handle x32
2045 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2046 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2047 SKIP_EM_IA_64 and include
2048 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2049
2050 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2051 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2052 (add_system_dir): New macro.
2053
2054 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2055 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2056
11b90b9f
JM
20572012-03-16 Joseph Myers <joseph@codesourcery.com>
2058
c36e1d23
JM
2059 [BZ #2551]
2060 [BZ #2552]
2061 [BZ #2553]
2062 [BZ #2554]
2063 [BZ #2562]
2064 [BZ #2563]
2065 [BZ #2565]
2066 [BZ #2566]
2067 [BZ #2576]
2068 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2069 (y0): Likewise.
2070 * math/w_j0f.c (j0f): Likewise.
2071 (y0f): Likewise.
2072 * math/w_j0l.c (__j0l): Likewise.
2073 (__y0l): Likewise.
2074 * math/w_j1.c (j1): Likewise.
2075 (y1): Likewise.
2076 * math/w_j1f.c (j1f): Likewise.
2077 (y1f): Likewise.
2078 * math/w_j1l.c (__j1l): Likewise.
2079 (__y1l): Likewise.
2080 * math/w_jn.c (jn): Likewise.
2081 (yn): Likewise.
2082 * math/w_jnf.c (jnf): Likewise.
2083 (ynf): Likewise.
2084 * math/w_jnl.c (__jnl): Likewise.
2085 (__ynl): Likewise.
2086 * math/libm-test.inc (j0_test): Add more tests.
2087 (j1_test): Likewise.
2088 (jn_test): Likewise. Add trailing semicolon to existing test.
2089 (y0_test): Likewise.
2090 (y1_test): Likewise.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2093
11b90b9f
JM
2094 [BZ #13851]
2095 [BZ #13854]
2096 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2097 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2098 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2099 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2100 (__tanl): Set errno for infinite argument.
2101 * sysdeps/i386/fpu/mptan.c: Remove.
2102 * sysdeps/i386/fpu/s_tan.S: Likewise.
2103 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2104 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2105 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2106 * math/libm-test.inc (tan_test): Add more tests and enable more
2107 tests for double and long double.
2108 * sysdeps/i386/fpu/libm-test-ulps: Update.
2109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2110
6a1bd2a1
JK
21112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2112
2113 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2114 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2115
10a803e0
RM
21162012-03-16 Roland McGrath <roland@hack.frob.com>
2117
2118 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2119 * configure.in: Use it for both main tree and add-ons.
2120 * configure: Regenerated.
2121
f196c7f7
L
21222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2125
8848d99d
JM
21262012-03-16 Joseph Myers <joseph@codesourcery.com>
2127
96cbe7f4
JM
2128 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2129 in comment.
2130
8848d99d
JM
2131 [BZ #13851]
2132 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2133 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2137 infinite argument.
2138 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2140 != 0 for prec == 2.
2141 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2142 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2143 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2144 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2145 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2146 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2147 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2148 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2149 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2150 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2151 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2152 * math/libm-test.inc (cos_test): Add more tests and enable more
2153 tests for long double.
2154 (sin_test): Likewise.
2155 (sincos_test): Likewise.
2156 * sysdeps/i386/fpu/libm-test-ulps: Update.
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2158
dd7f4703
DM
21592012-03-16 David S. Miller <davem@davemloft.net>
2160
2161 * sysdeps/sparc/fpu/math_private.h: New file.
2162
006f1daa
DM
21632012-03-15 David S. Miller <davem@davemloft.net>
2164
c0c83bc8
DM
2165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2166 file.
e6a62e18 2167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2169 file.
e6a62e18
DM
2170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2176 sysdep routines.
2177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2178
88cb87d9
DM
2179 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2180 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2181
006f1daa 2182 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2184 sparc-ifunc.h
006f1daa 2185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2187 Likewise.
2188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2189 Likewise.
006f1daa
DM
2190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2194 Likewise.
006f1daa
DM
2195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2200 Likewise.
2201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2202 Likewise.
006f1daa
DM
2203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2224 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2225 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2227
11e0098e
AS
22282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2229
2230 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2231 scaling.
2232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2233
e85b09d0
AJ
22342012-03-15 Andreas Jaeger <aj@suse.de>
2235
2236 [BZ #13852]
2237 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2238 ieee754/flt-32 implementation for sin, cos and sincos.
2239 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2240 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2241 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2242 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2243 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2244 ieee754/flt-32 implementation for tan.
2245
2246 * math/libm-test.inc (cos_test): Enable some large input tests for
2247 float as well
2248 (sin_test): Likewise.
2249 (sincos_test): Likewise.
2250 (tan_test): Add tests for large input.
2251
2252 * sysdeps/i386/fpu/libm-test-ulps: Update.
2253
81c64153
AJ
22542012-03-15 Andreas Jaeger <aj@suse.de>
2255
2256 [BZ #13658]
2257 * math/libm-test.inc (cos_test): Add more test cases.
2258 (sin_test): Likewise.
2259 (sincos_test): Likewise.
2260
7bbfa5c6
AJ
22612012-03-15 Andreas Jaeger <aj@suse.de>
2262
2263 [BZ #13837]
2264 * math/libm-test.inc (cos_test): Add a test case for large input
2265 value.
2266 (sin_test): Likewise.
2267 (sincos_test): Likewise.
2268
22692012-03-15 Andreas Jaeger <aj@suse.de>,
2270 Joseph Myers <joseph@codesourcery.com>
2271
2272 [BZ #13658]
0671f479 2273 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2274 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2275 * sysdeps/i386/fpu/branred.c: Likewise.
2276 * sysdeps/i386/fpu/dosincos.c: Likewise.
2277 * sysdeps/i386/fpu/mpa.c: Likewise.
2278 * sysdeps/i386/fpu/s_cos.S: Likewise.
2279 * sysdeps/i386/fpu/s_sin.S: Likewise.
2280 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2281 * sysdeps/i386/fpu/sincos32.c: Likewise.
2282
2283 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2284 Define.
2285 (libc_feupdateenv_53bit): Define.
2286 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2287 Define.
2288 (libc_feupdateenv_53bit): Define.
2289
2290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2291 53 bit (without extend i386 double precision).
2292
2293 * math/libm-test.inc (sincos_test): Add tests for large input.
2294 (sin): Likewise.
2295 (cos): Likewise.
2296
2297 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2298
9cad04ea
AS
22992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2300
2301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2302
f7062b9a
DM
23032012-03-15 David S. Miller <davem@davemloft.net>
2304
2305 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2306 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2307 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2308 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2321 file.
f7062b9a 2322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2324 file.
f7062b9a 2325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2327 file.
f7062b9a 2328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2330 file.
f7062b9a
DM
2331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2333 fmin/fmax sysdep routines.
2334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2335
7bd951ff
DM
23362012-03-14 David S. Miller <davem@davemloft.net>
2337
559398ab
DM
2338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2360 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2361 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2364 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2367 routines.
2368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2369 file.
559398ab 2370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2372 file.
559398ab 2373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2375 file.
559398ab 2376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2378 file.
559398ab 2379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2381 file.
559398ab 2382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2384 file.
2385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2386 file.
2387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2388 file.
2389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2390 file.
2391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2392 New file.
2393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2394 file.
2395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2396 file.
559398ab 2397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2399 file.
559398ab 2400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2402 file.
559398ab 2403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2405 file.
559398ab 2406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2408 VIS3 routines.
559398ab
DM
2409
2410 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2411 New file.
2412
5a1c1e32
DM
2413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2414
eae47a36
DM
2415 * sysdeps/sparc/configure.in: New file.
2416 * sysdeps/sparc/configure: Generate.
2417 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2418 * configure: Regenerate.
2419 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2420 * config.make.in (have-as-vis3): New.
2421 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2422 available use -Av9d instead of -Av9a.
2423 * sysdeps/sparc/sparc64/Makefile: Likewise.
2424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
2425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2426 New file.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2428 file.
2429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2430 New file.
2431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2432 file.
eae47a36
DM
2433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2434 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2437 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2438
c0c83bc8
DM
2439 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2440 fzeros/fnegs to load 0x80000000 into a float register instead of
2441 using the stack.
7bd951ff
DM
2442 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2443
bd951ccb
JM
24442012-03-14 Joseph Myers <joseph@codesourcery.com>
2445
2446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2447 bits/syscall.h.
2448 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2449 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2450 ($(inst_includedir)/bits/syscall.h): Remove rule.
2451 ($(objpfx)bits/syscall.d): Include instead of
2452 $(objpfx)syscall-list.d.
2453 (generated): Change syscall-list.h and syscall-list.d to
2454 bits/syscall.h and bits/syscall.d.
2455
bb4e6db2
RM
24562012-03-14 Roland McGrath <roland@hack.frob.com>
2457
2458 [BZ #13846]
2459 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2460
aa4a2ae1
JM
24612012-03-14 Joseph Myers <joseph@codesourcery.com>
2462
e456826d
JM
2463 [BZ #13841]
2464 * math/s_csqrt.c: Include <float.h>.
2465 (__csqrt): Scale large or subnormal inputs.
2466 * math/s_csqrtf.c: Likewise.
2467 * math/s_csqrtl.c: Likewise.
2468 * math/libm-test.inc (csqrt_test): Add more tests.
2469 * sysdeps/i386/fpu/libm-test-ulps: Update.
2470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2471
aa4a2ae1
JM
2472 [BZ #13840]
2473 * math/libm-test.inc (hypot_test): Add more tests.
2474
7c10fd35
DM
24752012-03-13 David S. Miller <davem@davemloft.net>
2476
2477 [BZ #13840]
2478 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2479 double-precision for the calculation instead of scaling.
2480
f453b98b
JM
24812012-03-13 Joseph Myers <joseph@codesourcery.com>
2482
2483 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2484 manipulate bits before adding and subtracting TWO52[sx].
2485 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2486 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2487 Likewise.
2488 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2489
09a3453f
DM
24902012-03-13 David S. Miller <davem@davemloft.net>
2491
8e59da90
DM
2492 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2493 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2495 rtld-global-offsets.h
2496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2497
2a8ab7f2
DM
2498 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2499 large parameters.
2500
10f62770
DM
2501 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2502
5f0bdb18
DM
2503 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2504 'err' in the ifdef scope in which it is actually used.
2505
09a3453f
DM
2506 * nss/nss_db/db-init.c: Include string.h
2507
b4b2eb5e
DM
25082012-03-12 David S. Miller <davem@davemloft.net>
2509
98bb2f1c
DM
2510 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2511 masking out of the most significant byte of random value used.
2512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2513 Fix coding style in previous change.
2514
b4b2eb5e
DM
2515 * sysdeps/unix/sysv/linux/kernel-features.h
2516 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2517 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2518 expression.
2519 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2520 later.
2521
6e226b09
DM
25222012-03-11 David S. Miller <davem@davemloft.net>
2523
a1bcbd40
DM
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2525 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2526 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2527 for 'resultvar' otherwise things get truncated on 64-bit.
2528
cb9d6174
DM
2529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2530 Fix masking out of the most significant byte of random value used.
2531
6e226b09
DM
2532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2533
058c132d
AS
25342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2535
2536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2537
2d2cd515
DM
25382012-03-09 David S. Miller <davem@davemloft.net>
2539
2540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2541 variables with appropriate CPP guards.
2542 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2543 frame pointer, not the stack pointer. Correct layout comments. Fix test
2544 on resulting framesize and the management of the outregs buffer for pltexit.
2545 Preserve floating point return values across _dl_call_pltexit call.
2546 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2547 framesize and the management of the outregs buffer for pltexit.
2548 Preserve floating point return values across _dl_call_pltexit
2549 call.
2550 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2551 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2552 (print_exit): Fix format string for return register value.
2553
9a07f9d0
JM
25542012-03-10 Joseph Myers <joseph@codesourcery.com>
2555
2556 * sunrpc/Makefile (others): Add rpcgen.
2557 ($(objpfx)rpcgen): Remove special build rule and dependency on
2558 libc.
2559 * sunrpc/rpcgen.c: New file.
2560
547b5e30
PE
25612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2562
c524201a
PE
2563 [BZ #13673]
2564 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2565 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2566 * sysdeps/i386/crti.S: Likewise.
2567 * sysdeps/i386/crtn.S: Likewise.
2568 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2569 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2570 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2571 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2572 * sysdeps/sh/crti.S: Likewise.
2573 * sysdeps/sh/crtn.S: Likewise.
2574 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2575
7b6235f2
PE
2576 [BZ #13673]
2577 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2578 with URL.
2579 * locale/programs/locfile-kw.gperf: Likewise.
2580 * locale/programs/charmap-kw.h: Regenerated.
2581 * locale/programs/locfile-kw.h: Likewise.
2582
547b5e30
PE
2583 [BZ #13673]
2584 * intl/plural.y: Replace FSF snail mail address with URL.
2585 * intl/plural.c: Regenerated.
2586
5f0a5dae
RH
25872012-03-09 Richard Henderson <rth@twiddle.net>
2588
2589 * include/math_private.h: Remove file.
2590 * math/math_private.h: Move file ...
2591 * sysdeps/generic/math_private.h: ... here.
2592
b8c03620
RH
2593 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2594 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2595 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2596
4e234f5d 2597 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2598 and <math_private.h>.
2599 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2600 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2601 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2602 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2603 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2604 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2605 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2611 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2613 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2623 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2625 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2629 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2631 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2632 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2633 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2636 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2637 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2638 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2639 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2642 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2643 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2644 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2645 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2646 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2647 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2648 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2649 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2650 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2651 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2653 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2654 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2656 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2657 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2658 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2659 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2660 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2662 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2663 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2664 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2665 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2666 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2667 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2668 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2669 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2670 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2673 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2674 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2675 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2678 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2679 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2680 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2681 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2682 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2683 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2684 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2686 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2687 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2688 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2690 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2691 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2692 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2693 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2694 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2695 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2696 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2698 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2699 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2700 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2701 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2702 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2703 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2704 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2705 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2706 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2707 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2708 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2709 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2710 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2711 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2712 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2713 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2714 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2716 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2718 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2719 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2720 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2721 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2722 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2723 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2724 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2725 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2726 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2727 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2728 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2729 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2730 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2731 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2732 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2733 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2734 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2735 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2736 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2737 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2738 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2741 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2742 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2743 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2747 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2748 * sysdeps/ieee754/k_standard.c: Likewise.
2749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2756 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2757 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2758 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2759 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2761 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2762 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2763 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2764 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2768 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2769 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2770 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2771 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2772 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2773 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2774 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2779 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2780 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2781 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2782 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2783 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2784 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2785 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2786 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2787 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2788 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2789 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2790 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2791 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2792 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2793 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2794 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2795 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2796 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2797 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2798 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2799 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2800 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2801 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2802 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2805 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2806 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2807 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2808 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2809 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2810 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2811 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2812 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2814 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2823 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2831 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2833 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2834 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2840 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2841 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2842 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2844 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2845 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2846 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2848 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2851 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2852 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2862 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2863 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2864 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2865 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2868 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2870 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2871 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2874 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2875 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2876 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2879 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2881 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2884 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2888 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2891 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2893 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2894 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2896 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2897 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2898 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2900 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2901 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2902 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2903 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2904 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2905 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2906 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2908 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2909 * sysdeps/ieee754/s_lib_version.c: Likewise.
2910 * sysdeps/ieee754/s_matherr.c: Likewise.
2911 * sysdeps/ieee754/s_signgam.c: Likewise.
2912 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2913 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2914 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2915 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2916 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2917 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2918 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2919 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2920 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2921 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2922 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2923 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2924 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2925 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2926 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2927 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2928 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2929 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2930 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2933
1991fa03
JM
29342012-03-09 Joseph Myers <joseph@codesourcery.com>
2935
2936 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2937 * sunrpc/rpc_main.c: Likewise.
2938 * sunrpc/rpc_svcout.c: Likewise.
2939
60d6f5a6
DM
29402012-03-09 David S. Miller <davem@davemloft.net>
2941
2942 * include/math_private.h: New file.
2943
4962050e
JM
29442012-03-09 Joseph Myers <joseph@codesourcery.com>
2945
02a6f887
JM
2946 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2947 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2948 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2949 from <bits/socket_type.h>.
2950 (enum __socket_type): Don't define here.
2951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2953 bits/socket_type.h.
2954
c6e013c1
JM
2955 [BZ #13566]
2956 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2957 checking __USE_GNU.
2958
4962050e
JM
2959 * Makerules ($(inst_includedir)/%.h): New rule.
2960 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2961 (install-others): Remove variable setting.
2962 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2963
38842f45
RH
29642012-03-08 Richard Henderson <rth@twiddle.net>
2965
67bb6da6
RH
2966 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2967 from macro to inline function; merge with the
2968 !__LIBC_INTERNAL_MATH_INLINES version.
2969 (__ieee754_sqrtf): Likewise.
2970
15194b4b
RH
2971 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2972 to inline function.
2973 (__rintf, __floor, __floorf): Likewise.
2974
64e21ede
RH
2975 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2976 macro to inline function.
2977 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2978
38842f45
RH
2979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2980 not <math/math_private.h>.
2981
c64bf5fe
DM
29822012-03-08 David S. Miller <davem@davemloft.net>
2983
2984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2985 copyright year.
2986 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2987
82d86f28
TS
29882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2989
2990 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2991 normalization.
2992 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2993 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2994
aea5d727
UD
29952012-03-08 Ulrich Drepper <drepper@gmail.com>
2996
2997 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2998 be defined individually, they must be defined as a block. Define
2999 S for printing a string instead of hidint the different by using a
3000 macro for adding the 'l'.
3001 * stdio-common/tst-fphex-wide.c: Adjust.
3002
70bca0a3
MP
30032012-03-07 Marek Polacek <polacek@redhat.com>
3004
3005 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3006
65b81130
MP
30072012-03-08 Marek Polacek <polacek@redhat.com>
3008
3009 [BZ #13806]
3010 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3011 * stdio-common/tst-fphex.c: Define a few macros to make the
3012 test reusable. Use them.
3013 * stdio-common/tst-fphex-wide.c: New file.
3014
07037eeb
JM
30152012-03-08 Joseph Myers <joseph@codesourcery.com>
3016
a7a93d50
JM
3017 [BZ #6911]
3018 * manual/macros.texi (gnusystems): New macro.
3019 (nongnusystems): Likewise.
3020 (gnulinuxhurdsystems): Likewise.
3021 (gnuhurdsystems): Likewise..
3022 (gnulinuxsystems): Likewise.
3023 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3024 variants of the GNU system, not "GNU system".
3025 * manual/conf.texi: Likewise.
3026 * manual/errno.texi: Likewise. Update example of errno macro
3027 expansion.
3028 * manual/filesys.texi: Likewise.
3029 (getumask): Document as specific to GNU/Hurd.
3030 * manual/install.texi: Likewise. Reword some references to
3031 GNU/Linux.
3032 * manual/intro.texi: Likewise.
3033 * manual/io.texi: Likewise.
3034 (File Name Portability): Detail which constraints are inapplicable
3035 to all GNU systems and which are only inapplicable to GNU/Hurd.
3036 * manual/job.texi: Likewise.
3037 * manual/llio.texi: Likewise.
3038 (O_NOCTTY): Document as present on GNU/Linux.
3039 * manual/maint.texi: Likewise.
3040 * manual/memory.texi: Likewise.
3041 * manual/pattern.texi: Likewise.
3042 * manual/pipe.texi: Likewise.
3043 * manual/process.texi: Likewise.
3044 * manual/resource.texi: Likewise.
3045 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3046 child on GNU/Hurd.
3047 * manual/setjmp.texi: Likewise.
3048 * manual/signal.texi: Likewise.
3049 * manual/startup.texi: Likewise.
3050 * manual/stdio.texi: Likewise.
3051 * manual/terminal.texi: Likewise.
3052 (ONLCR): Document as POSIX.
3053 (OXTABS): Document availability on GNU/Linux as XTABS.
3054 (ONOEOT): Document availability separately from other bits.
3055 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3056 * manual/time.texi: Likewise.
3057 * manual/users.texi: Likewise.
3058 * INSTALL: Regenerated.
3059 * sysdeps/gnu/errlist.c: Regenerated.
3060
07037eeb
JM
3061 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3062 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3063 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3064 puts.
3065 * configure: Regenerated.
3066
d1d3431a
JM
30672012-03-07 Joseph Myers <joseph@codesourcery.com>
3068
af6a1e37
JM
3069 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3070 default includes instead of AC_HEADER_CHECK.
3071 * sysdeps/i386/configure: Regenerated.
3072
d1d3431a
JM
3073 [BZ #10716]
3074 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3075 * math/s_cacoshf.c (__cacoshf): Likewise.
3076 * math/s_cacoshl.c (__cacoshl): Likewise.
3077 * math/s_casinh.c (__casinh): Set signs of result from argument.
3078 * math/s_casinhf.c (__casinhf): Likewise.
3079 * math/s_casinhl.c (__casinhl): Likewise.
3080 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3081 (casinh_test): Add more tests.
3082 * sysdeps/i386/fpu/libm-test-ulps: Update.
3083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3084
482ff4da
UD
30852012-03-07 Ulrich Drepper <drepper@gmail.com>
3086
872fda05
UD
3087 * po/zh_TW.po: Update from translation team.
3088
a4300c7a
UD
3089 * login/Makefile (distribute): Remove variable.
3090 * catgets/Makefile: Likewise.
3091 * mach/Makefile: Likewise.
3092 * malloc/Makefile: Likewise.
3093 * misc/Makefile: Likewise.
3094 * iconv/Makefile: Likewise.
3095 * nscd/Makefile: Likewise.
3096 * hurd/Makefile: Likewise.
3097 * manual/Makefile: Likewise.
3098 * locale/Makefile: Likewise.
3099 * intl/Makefile: Likewise.
3100 * conform/Makefile: Likewise.
3101 * nss/Makefile: Likewise.
3102 * time/Makefile: Likewise.
3103 * soft-fp/Makefile: Likewise.
3104 * dirent/Makefile: Likewise.
3105 * gmon/Makefile: Likewise.
3106 * po/Makefile: Likewise.
3107 * rt/Makefile: Likewise.
3108 * socket/Makefile: Likewise.
3109 * math/Makefile: Likewise.
3110 * signal/Makefile: Likewise.
3111 * debug/Makefile: Likewise.
3112 * elf/Makefile: Likewise.
3113 * timezone/Makefile: Likewise.
3114 * stdlib/Makefile: Likewise.
3115 * iconvdata/Makefile: Likewise.
3116 * sunrpc/Makefile: Likewise.
3117 * io/Makefile: Likewise.
3118 * argp/Makefile: Likewise.
3119 * inet/Makefile: Likewise.
3120 * hesiod/Makefile: Likewise.
3121 * grp/Makefile: Likewise.
3122 * csu/Makefile: Likewise.
3123 * wctype/Makefile: Likewise.
3124 * crypt/Makefile: Likewise.
3125 * libio/Makefile: Likewise.
3126 * string/Makefile: Likewise.
3127 * nis/Makefile: Likewise.
3128 * resolv/Makefile: Likewise.
3129 * stdio-common/Makefile: Likewise.
3130 * wcsmbs/Makefile: Likewise.
3131 * dlfcn/Makefile: Likewise.
3132 * posix/Makefile: Likewise.
3133
482ff4da
UD
3134 * timezone/Makefile: Don't install timezone files, just the programs
3135 and scripts.
3136
f72ed77d
UD
31372012-03-06 Ulrich Drepper <drepper@gmail.com>
3138
a000466f
UD
3139 * nss/databases.def: Add missing gshadow entry.
3140
f72ed77d
UD
3141 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3142
a53b7a4e
MP
31432012-03-06 Marek Polacek <polacek@redhat.com>
3144
3145 [BZ #13726]
3146 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3147 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3148 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3149 * stdio-common/tst-long-dbl-fphex.c: New file.
3150
e9258400
DM
31512012-03-06 David S. Miller <davem@davemloft.net>
3152
3153 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3154 (set_obp_int): New function.
3155 (get_obp_int): New function.
3156 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3157 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3158 Avoid unused variable warnings on 'val' and use builtin_expect.
3159 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3160 __builtin_expect.
e9258400
DM
3161 (INLINE_CLONE_SYSCALL): Likewise.
3162
3bd2c723
DM
31632012-03-05 David S. Miller <davem@davemloft.net>
3164
3165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3166
bbb78d03
AS
31672012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3168
884c5db4
AS
3169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3170
bbb78d03
AS
3171 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3172 only for |x| >= 40.
3173 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3174
1c9f702a 31752012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3176
3177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3178 Replace gettimeofday with __vdso_gettimeofday.
3179
7be16f82
RM
3180 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3181 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3182 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3183
3184 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3185 time with __vdso_time.
3186
ed58a00f
JM
31872012-03-05 Joseph Myers <joseph@codesourcery.com>
3188
3189 * manual/lang.texi (size_t): Note types to which size_t may be
3190 equivalent with the GNU C Library, but do not describe when
3191 differences between them are significant.
3192
30ee4ced
AJ
31932012-03-05 Andreas Jaeger <aj@suse.de>
3194
3195 * sysdeps/i386/fpu/libm-test-ulps: Update.
3196
b7cd39e8
JM
31972012-03-05 Joseph Myers <joseph@codesourcery.com>
3198
3199 [BZ #3976]
3200 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3201 (__ieee754_pow): Save and restore rounding mode and use
3202 round-to-nearest for main computations.
3203 * math/libm-test.inc (pow_test_tonearest): New function.
3204 (pow_test_towardzero): Likewise.
3205 (pow_test_downward): Likewise.
3206 (pow_test_upward): Likewise.
3207 (main): Call the new functions.
3208 * sysdeps/i386/fpu/libm-test-ulps: Update.
3209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3210
3211 [BZ #3976]
3212 * math/libm-test.inc (cosh_test_tonearest): New function.
3213 (cosh_test_towardzero): Likewise.
3214 (cosh_test_downward): Likewise.
3215 (cosh_test_upward): Likewise.
3216 (sinh_test_tonearest): Likewise.
3217 (sinh_test_towardzero): Likewise.
3218 (sinh_test_downward): Likewise.
3219 (sinh_test_upward): Likewise.
3220 (main): Call the new functions.
3221 * sysdeps/i386/fpu/libm-test-ulps: Update.
3222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3223
6c6a98c9
TV
32242012-03-05 Tom de Vries <tom@codesourcery.com>
3225
3226 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3227 default stack guard is set in last bytes.
3228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3229
21bb2d2e 32302012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3231
21bb2d2e 3232 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3233
21bb2d2e
AJ
3234 [BZ #13656]
3235 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3236 possibly allocate from heap instead of stack.
3237 * stdio-common/bug-vfprintf-nargs.c: New file.
3238 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3239
c6922934
AS
32402012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3241
3242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3243
bc957d53
MP
32442012-03-03 Marek Polacek <polacek@redhat.com>
3245
3246 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3247 * math/math_private.h: Likewise.
3248 * stdlib/tst-strtod.c: Likewise.
3249 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3250 * sysdeps/x86_64/bits/atomic.h: Likewise.
3251
6358490d
DM
32522012-03-02 David S. Miller <davem@davemloft.net>
3253
3254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3258 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3259 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3260 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3261 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3262
01ae168d
RM
32632012-03-02 Roland McGrath <roland@hack.frob.com>
3264
d9a17c07
RM
3265 [BZ #13792]
3266 * manual/examples/README: New file, says the example source files
3267 can be used under GPL>=2.
3268 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3269 line containing just "*/".
3270 * manual/examples/add.c: Add copyright header (GPL>=2).
3271 * manual/examples/argp-ex1.c: Likewise.
3272 * manual/examples/argp-ex2.c: Likewise.
3273 * manual/examples/argp-ex3.c: Likewise.
3274 * manual/examples/argp-ex4.c: Likewise.
3275 * manual/examples/atexit.c: Likewise.
3276 * manual/examples/db.c: Likewise.
3277 * manual/examples/dir.c: Likewise.
3278 * manual/examples/dir2.c: Likewise.
3279 * manual/examples/execinfo.c: Likewise.
3280 * manual/examples/filecli.c: Likewise.
3281 * manual/examples/filesrv.c: Likewise.
3282 * manual/examples/fmtmsgexpl.c: Likewise.
3283 * manual/examples/genpass.c: Likewise.
3284 * manual/examples/inetcli.c: Likewise.
3285 * manual/examples/inetsrv.c: Likewise.
3286 * manual/examples/isockad.c: Likewise.
3287 * manual/examples/longopt.c: Likewise.
3288 * manual/examples/memopen.c: Likewise.
3289 * manual/examples/memstrm.c: Likewise.
3290 * manual/examples/mkfsock.c: Likewise.
3291 * manual/examples/mkisock.c: Likewise.
3292 * manual/examples/mygetpass.c: Likewise.
3293 * manual/examples/pipe.c: Likewise.
3294 * manual/examples/popen.c: Likewise.
3295 * manual/examples/rprintf.c: Likewise.
3296 * manual/examples/search.c: Likewise.
3297 * manual/examples/select.c: Likewise.
3298 * manual/examples/setjmp.c: Likewise.
3299 * manual/examples/sigh1.c: Likewise.
3300 * manual/examples/sigusr.c: Likewise.
3301 * manual/examples/stpcpy.c: Likewise.
3302 * manual/examples/strdupa.c: Likewise.
3303 * manual/examples/strftim.c: Likewise.
3304 * manual/examples/strncat.c: Likewise.
3305 * manual/examples/subopt.c: Likewise.
3306 * manual/examples/swapcontext.c: Likewise.
3307 * manual/examples/termios.c: Likewise.
3308 * manual/examples/testopt.c: Likewise.
3309 * manual/examples/testpass.c: Likewise.
3310 * manual/examples/timeval_subtract.c: Likewise.
3311
01ae168d
RM
3312 [BZ #13792]
3313 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3314 function to ...
3315 * manual/timeval_subtract.c.texi: ... here, new file.
3316
49efa33d
DM
33172012-03-02 David S. Miller <davem@davemloft.net>
3318
3319 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3320
28afd92d
JM
33212012-03-02 Joseph Myers <joseph@codesourcery.com>
3322
804360ed
JM
3323 [BZ #3976]
3324 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3325 (__sin): Save and restore rounding mode and use round-to-nearest
3326 for all computations.
3327 (__cos): Save and restore rounding mode and use round-to-nearest
3328 for all computations.
3329 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3330 <fenv.h>.
3331 (tan): Save and restore rounding mode and use round-to-nearest for
3332 all computations.
3333 * math/libm-test.inc (cos_test_tonearest): New function.
3334 (cos_test_towardzero): Likewise.
3335 (cos_test_downward): Likewise.
3336 (cos_test_upward): Likewise.
3337 (sin_test_tonearest): Likewise.
3338 (sin_test_towardzero): Likewise.
3339 (sin_test_downward): Likewise.
3340 (sin_test_upward): Likewise.
3341 (tan_test_tonearest): Likewise.
3342 (tan_test_towardzero): Likewise.
3343 (tan_test_downward): Likewise.
3344 (tan_test_upward): Likewise.
3345 (main): Call the new functions.
3346 * sysdeps/i386/fpu/libm-test-ulps: Update.
3347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3348
a6d06d7b
JM
3349 [BZ #10135]
3350 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3351 small n, then large n, before computing and testing k+n.
3352 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3353 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3354 Likewise.
3355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3356 Likewise.
3357 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3358 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3359 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3360 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3363 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3364 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3365 * math/libm-test.inc (scalbn_test): Add more tests.
3366 (scalbln_test): Likewise.
3367
07e12bb3
JM
3368 * manual/filesys.texi (mode_t): Describe constraints on size and
3369 signedness, not exact equivalence to a particular type.
3370 (ino_t): Likewise.
3371 (ino64_t): Likewise.
3372 (dev_t): Likewise.
3373 (nlink_t): Likewise.
3374 (blkcnt_t): Likewise.
3375 (blkcnt64_t): Likewise.
3376 * manual/llio.texi (off_t): Likewise.
3377
28afd92d
JM
3378 [BZ #3976]
3379 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3380 (__ieee754_exp): Save and restore rounding mode and use
3381 round-to-nearest for all computations.
3382 * math/libm-test.inc (exp_test_tonearest): New function.
3383 (exp_test_towardzero): Likewise.
3384 (exp_test_downward): Likewise.
3385 (exp_test_upward): Likewise.
3386 (main): Call the new functions.
3387 * sysdeps/i386/fpu/libm-test-ulps: Update.
3388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3389
b1eeb65d
CD
33902012-03-01 Chris Demetriou <cgd@google.com>
3391
3392 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3393 have predictable order.
3394
53362a4b
DM
33952012-03-01 David S. Miller <davem@davemloft.net>
3396
3c969083
DM
3397 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3398
759707de
DM
3399 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3400 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3401 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3402 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3403
dfdb8ff2
DM
3404 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3405 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3406 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3408 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3409 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3410 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3411 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3412 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3413
ead89f96
DM
3414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3415
7f66bd07
DM
3416 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3417 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3419
53362a4b
DM
3420 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3421 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3422 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3423 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3424 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3425 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3427 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3428 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3429 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3430 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3431 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3433 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3434 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3435 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3436 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3437 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3438 * sysdeps/sparc/elf/configure: Regenerated.
3439
7b1902cb
JM
34402012-03-01 Joseph Myers <joseph@codesourcery.com>
3441
bec039bc
JM
3442 * configure.in (AS, LD): Require binutils 2.20 or later.
3443 * configure: Regenerated.
3444 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3445 as required minimum version.
3446 * INSTALL: Regenerated.
3447
7b1902cb
JM
3448 [BZ #2541]
3449 [BZ #4108]
3450 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3451 before squaring exponent.
3452 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3453 bottom long double and 27 bits of top long double before squaring
3454 exponent.
3455 * math/libm-test.inc (erfc_test): Add more tests.
3456 * sysdeps/i386/fpu/libm-test-ulps: Update.
3457 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3459
f775c276
KT
34602012-03-01 Kai Tietz <ktietz@redhat.com>
3461
3462 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3463 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3464 containing bit-fields.
3465 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3466 * soft-fp/single.h (_FP_UNION_S): Likewise.
3467 * soft-fp/double.h (_FP_UNION_D): Likewise.
3468
5b8a4d4a
JM
34692012-02-29 Joseph Myers <joseph@codesourcery.com>
3470
0bab47b6
JM
3471 [BZ #13786]
3472 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3473 not include ../strcmp.S.
3474 [USE_AS_STRNCASECMP_L]: Likewise.
3475 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3476 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3477 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3478 (__strncasecmp_l_ia32): Define as alias to
3479 __strncasecmp_l_nonascii.
3480
0fcad3e2
JM
3481 [BZ #5794]
3482 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3483 * sysdeps/i386/fpu/libm-test-ulps: Update.
3484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3485
5b8a4d4a
JM
3486 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3488
8fdceb2e
JL
34892012-02-29 Jeff Law <law@redhat.com>
3490
3491 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3492 out of bounds read.
3493
1f393a11
MP
34942012-02-29 Marek Polacek <polacek@redhat.com>
3495
3496 [BZ #13706]
3497 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3498 * elf/Makefile: Add rules to run tst-unused-dep.out.
3499
8847f037
DM
35002012-02-28 David S. Miller <davem@davemloft.net>
3501
3502 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3503 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3506 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3507 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3508
169d7f11
JM
35092012-02-29 Joseph Myers <joseph@codesourcery.com>
3510
3511 * math/libm-test.inc (llround_test): Move one test from
3512 lround_test. Use TEST_f_L in moved test.
3513 (lround_test): Move misplaced test to llround_test. Add testcase
3514 from bug 2561.
3515
39adf059
UD
35162012-02-28 Ulrich Drepper <drepper@gmail.com>
3517
3518 * sysdeps/x86_64/fpu/e_expf.S: New file.
3519 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3520
71b5d1c5
SB
35212012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3522
3523 [BZ #13637]
3524 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3525 of remain_len that may cause incomplete multi-byte character and
3526 false match.
3527 * posix/bug-regex33.c: New file.
3528 * posix/Makefile (tests): Add bug-regex33.
3529
1f77f049
JM
35302012-02-28 Joseph Myers <joseph@codesourcery.com>
3531
3532 * manual/macros.texi: New file.
3533 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3534 * manual/libc.texinfo: Include macros.texi.
3535 * manual/creatute.texi: Likewise.
3536 * manual/install.texi: Likewise.
3537 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3538 @glibcadj{} in references to the GNU C Library.
3539 * manual/charset.texi: Likewise.
3540 * manual/conf.texi: Likewise.
3541 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3542 when not using those macros.
3543 * manual/creature.texi: Likewise.
3544 * manual/crypt.texi: Likewise.
3545 * manual/errno.texi: Likewise.
3546 * manual/filesys.texi: Likewise.
3547 * manual/header.texi: Likewise.
3548 * manual/install.texi: Likewise.
3549 * manual/intro.texi: Likewise.
3550 * manual/io.texi: Likewise.
3551 * manual/job.texi: Likewise.
3552 * manual/lang.texi: Likewise.
3553 * manual/libc.texiinfo: Likewise.
3554 * manual/llio.texi: Likewise.
3555 * manual/locale.texi: Likewise.
3556 * manual/maint.texi: Likewise.
3557 * manual/math.texi: Likewise.
3558 * manual/memory.texi: Likewise.
3559 * manual/message.texi: Likewise.
3560 * manual/nss.texi: Likewise.
3561 * manual/pattern.texi: Likewise.
3562 * manual/process.texi: Likewise.
3563 * manual/resource.texi: Likewise.
3564 * manual/search.texi: Likewise.
3565 * manual/setjmp.texi: Likewise.
3566 * manual/signal.texi: Likewise.
3567 * manual/socket.texi: Likewise.
3568 * manual/startup.texi: Likewise.
3569 * manual/stdio.texi: Likewise.
3570 * manual/string.texi: Likewise.
3571 * manual/sysinfo.texi: Likewise.
3572 * manual/syslog.texi: Likewise.
3573 * manual/terminal.texi: Likewise.
3574 * manual/time.texi: Likewise.
3575 * manual/users.texi: Likewise.
3576 * INSTALL: Regenerated.
3577 * NOTES: Regenerated.
d40c5d54 3578 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3579
450bf206
AS
35802012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3581
3582 * include/dirent.h: Include <dirstream.h> before
3583 <dirent/dirent.h>.
3584
741a235b
DM
35852012-02-28 David S. Miller <davem@davemloft.net>
3586
3587 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3588 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3589 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3590 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3591
d6b5aa58
DM
35922012-02-27 David S. Miller <davem@davemloft.net>
3593
1aff59a3
DM
3594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3596 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3597 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3598
d6b5aa58
DM
3599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3600 frame pointer instead of stack pointer relative arg slot.
3601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3602 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3603 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3604
433f48bf
CD
36052012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3606
3607 [BZ #3992]
3608 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3609
d674b76d
DM
36102012-02-27 David S. Miller <davem@davemloft.net>
3611
3612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3616 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3617 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3618 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3619 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3620
0e7727f7
JM
36212012-02-27 Joseph Myers <joseph@codesourcery.com>
3622
3623 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3624 later. Allow versions 5-9.
43be4ca2 3625 * configure: Regenerated.
0e7727f7
JM
3626 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3627 required minimum version and 4.6 as recommended version. Do not
3628 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3629 * INSTALL: Regenerated.
0e7727f7 3630
a78bc654
DM
36312012-02-27 David S. Miller <davem@davemloft.net>
3632
428d5830
DM
3633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3637 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3638 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3639 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3640 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3641
a78bc654
DM
3642 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3643 manipulate bits before adding and subtracting TWO112[sx].
3644 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3645
4579f81c
RM
36462012-02-27 Roland McGrath <roland@hack.frob.com>
3647
36c8acb4
RM
3648 [BZ #13775]
3649 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3650 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3651 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3652 being in POSIX, because they are in 1003.1-2008.
3653
84ad622b
RM
3654 * rt/tst-aio.c: Include <fcntl.h>.
3655 * rt/tst-aio7.c: Likewise.
3656 * rt/tst-aio64.c: Likewise.
3657
4579f81c
RM
3658 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3659
abd923db
JM
36602012-02-27 Joseph Myers <joseph@codesourcery.com>
3661
3662 * manual/install.texi (--with-headers): Describe headers as
3663 interface headers, not private headers.
3664 (Specific advice for GNU/Linux systems): Describe use of headers
3665 from "make headers_install", not private headers from older
3666 kernels.
43be4ca2 3667 * INSTALL: Regenerated.
abd923db
JM
3668 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3669 Change to 2.6.19.
3670 * sysdeps/unix/sysv/linux/configure: Regenerated.
3671
6664049b
JM
3672 * manual/llio.texi (fclean): Remove documentation.
3673
bb8b6697
JM
3674 * manual/Makefile (libc-texi-generated): New variable. Include
3675 version.texi.
3676 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3677 $(libc-texi-generated), not duplicated list of files.
3678 (version.texi, stamp-version): New rules.
3679 (realclean): Remove $(libc-texi-generated), not individual files
3680 from that list. Do not remove dir-add.texinfo.
3681 * manual/libc.texinfo: Comment out uses of edition numbers and
3682 references to printed manual. Remove last-updated dates.
3683 (EDITION): Comment out.
3684 (ISBN): Likewise.
3685 (VERSION, UPDATED): Remove.
3686 (version.texi): Include.
3687
12e5c3b9
AS
36882012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3689
3690 * sysdeps/posix/spawni.c: Include <signal.h>.
3691 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3692 * sysdeps/pthread/aio_fsync.c: Likewise.
3693
4efeffc1 36942012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3695
ba63ba08
UD
3696 * conform/Makefile (tests): Run only when not cross-compiling and
3697 when fast-check is not defined.
3698
d94a4670
UD
3699 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3700 * conform/data/limits.h-data: Fixes for POSIX2008.
3701 * conform/run-conformtest.sh: Run all tests.
3702 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3703 headers.
3704 * include/bits/dlfcn.h: Likewise.
3705 * include/langinfo.h: Likewise.
3706 * include/monetary.h: Likewise.
3707 * include/sys/poll.h: Likewise.
3708
3709 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3710 for __USE_GNU.
3711 * posix/spawn.h: Define __need_sigset_t.
3712 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3713 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3714 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3715 to get sigevent_t only.
3716 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3717 only for __USE_GNU.
3718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3719 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3720 process_vm_writev only for __USE_GNU.
3721 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3722
3723 * conform/Makefile: For now ignore errors from run-conformtest.
3724 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3725 POSIX to avoid namespace pollution. Don't prepend headers.
3726 * conform/data/aio.h-data: Fixes for POSIX testing.
3727 * conform/data/fcntl.h-data: Likewise.
3728 * conform/data/glob.h-data: Likewise.
3729 * conform/data/grp.h-data: Likewise.
3730 * conform/data/pthread.h-data: Likewise.
3731 * conform/data/pwd.h-data: Likewise.
3732 * conform/data/signal.h-data: Likewise.
3733 * conform/data/spawn.h-data: Likewise.
3734 * conform/data/stdio.h-data: Likewise.
3735 * conform/data/stdlib.h-data: Likewise.
3736 * conform/data/stropts.h-data: Likewise.
3737 * conform/data/sys/mman.h-data: Likewise.
3738 * conform/data/sys/stat.h-data: Likewise.
3739 * conform/data/sys/types.h-data: Likewise.
3740 * conform/data/sys/wait.h-data: Likewise.
3741 * conform/data/time.h-data: Likewise.
3742 * conform/data/unistd.h-data: Likewise.
3743 * conform/data/utime.h-data: Likewise.
3744
3745 * io/sys/stat.h: fchmod was always in POSIX.
3746 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3747 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3748 * rt/aio.h: Define __need_timespec before including <time.h>.
3749 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3750 struct. Add forward declaration of pthread_attr_t and use it in
3751 sigevent.
3752 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3754 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3755 always remove CLK_TCK definition.
3756
c20105c3
AS
37572012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3758
3759 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3760
7a270350
UD
37612012-02-25 Ulrich Drepper <drepper@gmail.com>
3762
31341567
UD
3763 * conform/run-conformtest.sh: New file.
3764 * conform/Makefile: Run run-conformtest for tests.
3765 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3766 support.
3767
3768 * conform/data/uchar.h-data: New file.
3769 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3770 * conform/data/arpa/inet.h-data: Likewise.
3771 * conform/data/assert.h-data: Likewise.
3772 * conform/data/complex.h-data: Likewise.
3773 * conform/data/cpio.h-data: Likewise.
3774 * conform/data/ctype.h-data: Likewise.
3775 * conform/data/dirent.h-data: Likewise.
3776 * conform/data/dlfcn.h-data: Likewise.
3777 * conform/data/errno.h-data: Likewise.
3778 * conform/data/fcntl.h-data: Likewise.
3779 * conform/data/float.h-data: Likewise.
3780 * conform/data/fmtmsg.h-data: Likewise.
3781 * conform/data/fnmatch.h-data: Likewise.
3782 * conform/data/ftw.h-data: Likewise.
3783 * conform/data/glob.h-data: Likewise.
3784 * conform/data/grp.h-data: Likewise.
3785 * conform/data/iconv.h-data: Likewise.
3786 * conform/data/inttypes.h-data: Likewise.
3787 * conform/data/langinfo.h-data: Likewise.
3788 * conform/data/libgen.h-data: Likewise.
3789 * conform/data/limits.h-data: Likewise.
3790 * conform/data/locale.h-data: Likewise.
3791 * conform/data/math.h-data: Likewise.
3792 * conform/data/monetary.h-data: Likewise.
3793 * conform/data/mqueue.h-data: Likewise.
3794 * conform/data/ndbm.h-data: Likewise.
3795 * conform/data/net/if.h-data: Likewise.
3796 * conform/data/netdb.h-data: Likewise.
3797 * conform/data/netinet/in.h-data: Likewise.
3798 * conform/data/nl_types.h-data: Likewise.
3799 * conform/data/poll.h-data: Likewise.
3800 * conform/data/pthread.h-data: Likewise.
3801 * conform/data/pwd.h-data: Likewise.
3802 * conform/data/regex.h-data: Likewise.
3803 * conform/data/sched.h-data: Likewise.
3804 * conform/data/search.h-data: Likewise.
3805 * conform/data/semaphore.h-data: Likewise.
3806 * conform/data/setjmp.h-data: Likewise.
3807 * conform/data/signal.h-data: Likewise.
3808 * conform/data/spawn.h-data: Likewise.
3809 * conform/data/stdarg.h-data: Likewise.
3810 * conform/data/stdio.h-data: Likewise.
3811 * conform/data/stdlib.h-data: Likewise.
3812 * conform/data/string.h-data: Likewise.
3813 * conform/data/strings.h-data: Likewise.
3814 * conform/data/stropts.h-data: Likewise.
3815 * conform/data/sys/ipc.h-data: Likewise.
3816 * conform/data/sys/mman.h-data: Likewise.
3817 * conform/data/sys/msg.h-data: Likewise.
3818 * conform/data/sys/resource.h-data: Likewise.
3819 * conform/data/sys/select.h-data: Likewise.
3820 * conform/data/sys/sem.h-data: Likewise.
3821 * conform/data/sys/shm.h-data: Likewise.
3822 * conform/data/sys/socket.h-data: Likewise.
3823 * conform/data/sys/stat.h-data: Likewise.
3824 * conform/data/sys/statvfs.h-data: Likewise.
3825 * conform/data/sys/time.h-data: Likewise.
3826 * conform/data/sys/timeb.h-data: Likewise.
3827 * conform/data/sys/times.h-data: Likewise.
3828 * conform/data/sys/types.h-data: Likewise.
3829 * conform/data/sys/uio.h-data: Likewise.
3830 * conform/data/sys/un.h-data: Likewise.
3831 * conform/data/sys/utsname.h-data: Likewise.
3832 * conform/data/sys/wait.h-data: Likewise.
3833 * conform/data/syslog.h-data: Likewise.
3834 * conform/data/tar.h-data: Likewise.
3835 * conform/data/termios.h-data: Likewise.
3836 * conform/data/utime.h-data: Likewise.
3837 * conform/data/utmpx.h-data: Likewise.
3838 * conform/data/varargs.h-data: Likewise.
3839 * conform/data/wchar.h-data: Likewise.
3840 * conform/data/wctype.h-data: Likewise.
3841 * conform/data/wordexp.h-data: Likewise.
3842
3843 * include/stropts.h: New file.
3844 * include/uchar.h: New file.
3845 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3846 * include/assert.h: Likewise.
3847 * include/ctype.h: Likewise.
3848 * include/dirent.h: Likewise.
3849 * include/dlfcn.h: Likewise.
3850 * include/fcntl.h: Likewise.
3851 * include/fnmatch.h: Likewise.
3852 * include/glob.h: Likewise.
3853 * include/grp.h: Likewise.
3854 * include/libio.h: Likewise.
3855 * include/locale.h: Likewise.
3856 * include/math.h: Likewise.
3857 * include/net/if.h: Likewise.
3858 * include/netdb.h: Likewise.
3859 * include/netinet/in.h: Likewise.
3860 * include/pthread.h: Likewise.
3861 * include/pwd.h: Likewise.
3862 * include/regex.h: Likewise.
3863 * include/sched.h: Likewise.
3864 * include/search.h: Likewise.
3865 * include/setjmp.h: Likewise.
3866 * include/signal.h: Likewise.
3867 * include/stdio.h: Likewise.
3868 * include/stdlib.h: Likewise.
3869 * include/string.h: Likewise.
3870 * include/sys/cdefs.h: Likewise.
3871 * include/sys/mman.h: Likewise.
3872 * include/sys/msg.h: Likewise.
3873 * include/sys/resource.h: Likewise.
3874 * include/sys/select.h: Likewise.
3875 * include/sys/socket.h: Likewise.
3876 * include/sys/stat.h: Likewise.
3877 * include/sys/statvfs.h: Likewise.
3878 * include/sys/time.h: Likewise.
3879 * include/sys/times.h: Likewise.
3880 * include/sys/uio.h: Likewise.
3881 * include/sys/utsname.h: Likewise.
3882 * include/sys/wait.h: Likewise.
3883 * include/termios.h: Likewise.
3884 * include/time.h: Likewise.
3885 * include/ulimit.h: Likewise.
3886 * include/unistd.h: Likewise.
3887 * include/utime.h: Likewise.
3888 * include/wchar.h: Likewise.
3889 * include/wctype.h: Likewise.
3890 * include/wordexp.h: Likewise.
3891
3892 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3893
7a270350
UD
3894 * time/time.h: TIME_UTC must be a macro.
3895 Make timespec_get available for ISO C11 only as well.
3896
7724defc
UD
38972012-02-24 Ulrich Drepper <drepper@gmail.com>
3898
3899 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3900 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3901
6b1d1d46
JM
39022012-02-24 Joseph Myers <joseph@codesourcery.com>
3903
3904 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3905
0f8bbd69
JM
39062012-02-24 Joseph Myers <joseph@codesourcery.com>
3907
3908 * manual/texinfo.tex: Update to version 2012-01-19.16.
3909
66ab80bc
JM
39102012-02-24 Joseph Myers <joseph@codesourcery.com>
3911
3912 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3913
74981cc5
RM
39142012-02-24 Roland McGrath <roland@hack.frob.com>
3915
ee968201
RM
3916 [BZ #13738]
3917 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3918 * manual/fdl-1.3.texi: New file.
3919 * manual/fdl-1.1.texi: File removed.
3920
74981cc5
RM
3921 [BZ #13738]
3922 * manual/libc.texinfo (FDL_VERSION): New @set.
3923 Use it for mention of FDL in cover text.
3924 (Documentation License): Use it in @include file name.
3925
7bb764bc
JM
39262012-02-22 Joseph Myers <joseph@codesourcery.com>
3927 Roland McGrath <roland@hack.frob.com>
3928
3929 [BZ #5461]
3930 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3931 not LONG_LONG_MAX and LONG_LONG_MIN.
3932 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3933 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3934 name.
3935 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3936
6cbeae47
JM
39372012-02-22 Joseph Myers <joseph@codesourcery.com>
3938
3939 [BZ #2547]
3940 [BZ #11365]
3941 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3942 manipulate bits before adding and subtracting TWO23[sx].
3943 * math/libm-test.inc (nearbyint_test): Add more tests.
3944
fe45ce09
JM
39452012-02-22 Joseph Myers <joseph@codesourcery.com>
3946
3947 [BZ #2548]
3948 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3949 bits before adding and subtracting TWO23[sx].
3950 * math/libm-test.inc (rint_test): Add more tests.
3951 (rint_test_tonearest): Likewise.
3952 (rint_test_towardzero): Likewise.
3953 (rint_test_downward): Likewise.
3954 (rint_test_upward: Likewise.
3955
ff3b3d82
JM
39562012-02-22 Joseph Myers <joseph@codesourcery.com>
3957
3958 [BZ #10110]
3959 * include/stdc-predef.h: New file. Extracted from features.h.
3960 * include/features.h: Include stdc-predef.h.
3961 * Makefile (headers): Add stdc-predef.h.
3962 * CONFORMANCE (Compiler limitations): Update.
3963
ef0aab35
JM
39642012-02-22 Joseph Myers <joseph@codesourcery.com>
3965
3966 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3967
58639409
DM
39682012-02-21 David S. Miller <davem@davemloft.net>
3969
3970 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3972
c0e70b25
DM
39732012-02-20 David S. Miller <davem@davemloft.net>
3974
3975 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3976 using a normal save/restore sequence, rather than allocating a
3977 dummy stack frame just to store a frame pointer and restore.
3978 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3979
fb06851d
JM
39802012-02-21 Joseph Myers <joseph@codesourcery.com>
3981
3982 * manual/install.texi: Fix stray word in line-wrapped comment.
3983
7a8b71c3
DM
39842012-02-20 David S. Miller <davem@davemloft.net>
3985
d510c123
DM
3986 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3987 both binutils and gcc support GOTDATA.
3988
0722d7c2
DM
3989 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3990 "rd %pc" in the PIC register setup sequences.
3991
3d2b3019
DM
3992 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3993 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3994 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3995 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3996 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3998 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3999 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4000 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4001 (SYSCALL_ERROR_HANDLER): Likewise.
4002 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4003 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4004 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4005 (SYSCALL_ERROR_HANDLER): Likewise.
4006
c80098a9
DM
4007 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4008 (HAVE_GCC_GOTDATA): New.
4009 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4010 relocation support in both binutils and gcc.
4011 * sysdeps/sparc/elf/configure: Regenerate.
4012
3a2545a0
DM
4013 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4014 * sysdeps/sparc/sparc32/elf/configure: Delete.
4015 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4016 * sysdeps/sparc/sparc64/elf/configure: Delete.
4017 * sysdeps/sparc/elf/configure.in: New file.
4018 * sysdeps/sparc/elf/configure: Generate.
4019
7a8b71c3
DM
4020 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4021 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4022 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4023 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4024 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4025
f1e86fca
JM
40262012-02-21 Joseph Myers <joseph@codesourcery.com>
4027
4028 * manual/install.texi: Do not mention specific glibc version
4029 numbers.
4030 * manual/libc.texinfo (VERSION, UPDATED): Update.
4031 (@copying): Use @copyright{} and range of years.
4032
0e7dfaef
JM
40332012-02-21 Joseph Myers <joseph@codesourcery.com>
4034
4035 [BZ #13695]
4036 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4037 [crti.S not in sysdirs] (generated): Do not append.
4038 [crti.S not in sysdirs] (omit-deps): Likewise.
4039 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4040 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4041 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4042 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4043 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4044 Likewise.
4045 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4046 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4047 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4048 * csu/defs.awk: Remove file.
4049 * sysdeps/generic/initfini.c: Likewise.
4050 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4051 variable.
4052 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4053 Likewise.
4054
599af3ca
JM
40552012-02-20 Joseph Myers <joseph@codesourcery.com>
4056
4057 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4058 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4059 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4060 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4061 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4062 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4063 <bits/epoll.h>.
4064 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4065 (__EPOLL_PACKED): Define to empty if not defined by
4066 <bits/epoll.h>.
4067 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4069 bits/epoll.h.
4070
0e499750
JM
40712012-02-20 Joseph Myers <joseph@codesourcery.com>
4072
4073 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4074 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4075 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4076 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4077 <bits/timerfd.h>.
4078 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4080 bits/timerfd.h.
4081
5ad91f6e
JM
40822012-02-20 Joseph Myers <joseph@codesourcery.com>
4083
4084 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4085 in C locale.
4086 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4087 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4088 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4090
06b99b02
AJ
40912012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4092
4093 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4094 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4095
7638c0fd
AS
40962012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4097
4098 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4099 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4100 defined.
4101 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4102 Likewise.
4103 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4104 entry for 2.16.
4105
92221550
AJ
41062012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4107
4108 * math/w_acos.c: Use non-signaling floating-point comparisons.
4109 * math/w_acosf.c: Likewise.
4110 * math/w_acosh.c: Likewise.
4111 * math/w_acoshf.c: Likewise.
4112 * math/w_acoshl.c: Likewise.
4113 * math/w_acosl.c: Likewise.
4114 * math/w_asin.c: Likewise.
4115 * math/w_asinf.c: Likewise.
4116 * math/w_asinl.c: Likewise.
4117 * math/w_atanh.c: Likewise.
4118 * math/w_atanhf.c: Likewise.
4119 * math/w_atanhl.c: Likewise.
4120 * math/w_exp2.c: Likewise.
4121 * math/w_exp2f.c: Likewise.
4122 * math/w_exp2l.c: Likewise.
4123 * math/w_j0.c: Likewise.
4124 * math/w_j0f.c: Likewise.
4125 * math/w_j0l.c: Likewise.
4126 * math/w_j1.c: Likewise.
4127 * math/w_j1f.c: Likewise.
4128 * math/w_j1l.c: Likewise.
4129 * math/w_jn.c: Likewise.
4130 * math/w_jnf.c: Likewise.
4131 * math/w_log.c: Likewise.
4132 * math/w_log10.c: Likewise.
4133 * math/w_log10f.c: Likewise.
4134 * math/w_log10l.c: Likewise.
4135 * math/w_log2.c: Likewise.
4136 * math/w_log2f.c: Likewise.
4137 * math/w_log2l.c: Likewise.
4138 * math/w_logf.c: Likewise.
4139 * math/w_logl.c: Likewise.
4140 * math/w_sqrt.c: Likewise.
4141 * math/w_sqrtf.c: Likewise.
4142 * math/w_sqrtl.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4145 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4146 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4147 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4148
ebaf36eb
JM
41492012-02-19 Joseph Myers <joseph@codesourcery.com>
4150
4151 [BZ #9739]
4152 * manual/string.texi (strnlen): Use correct parameter name in
4153 equivalent expression.
4154
71c254a6
JM
41552012-02-19 Joseph Myers <joseph@codesourcery.com>
4156
4157 [BZ #11174]
4158 * manual/users.texi (seteuid): Consistently use neweuid for
4159 argument name.
4160
16d2c631
JM
41612012-02-19 Joseph Myers <joseph@codesourcery.com>
4162
4163 [BZ #13704]
4164 * manual/nss.texi (Services in the NSS configuration): Correct
4165 list of services in example configuration file.
4166
cd837b09
NB
41672012-02-19 Nick Bowler <nbowler@draconx.ca>
4168
4169 [BZ #11322]
4170 * manual/arith.texi: Remove statements about negative zero
4171 behaving identically to zero.
4172
02c4bbad
JM
41732012-02-18 Joseph Myers <joseph@codesourcery.com>
4174
4175 [BZ #5993]
4176 * manual/install.texi: Do not document upgrading from libc5.
4177
366842e7
JM
41782012-02-18 Joseph Myers <joseph@codesourcery.com>
4179
4180 [BZ #4596]
4181 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4182
dd54084d
DM
41832012-02-18 David S. Miller <davem@davemloft.net>
4184
4185 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4186 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4187 %o7 across the call.
4188 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4189 instead.
4190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4191 SETUP_PIC_REG_LEAF.
4192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4193 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4194 * sysdeps/sparc/crtn.S: Likewise.
4195
2bcc53a3
UD
41962012-02-17 Ulrich Drepper <drepper@gmail.com>
4197
4198 * aout/Makefile: Remove.
4199
09c093b5
RK
42002012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4201
4202 [BZ #13058]
4203 * manual/examples/argp-ex1.c (main): Format definition in GNU
4204 style.
4205 * manual/examples/argp-ex2.c (main): Likewise.
4206 * manual/examples/argp-ex3.c (main): Likewise.
4207 * manual/examples/argp-ex4.c (main): Likewise.
4208 * manual/examples/longopt.c (main): Use new-style prototype
4209 definition.
4210 * manual/examples/strncat.c (main): Specify return type and use
4211 (void) for arguments.
4212 * manual/examples/subopt.c (main): Use char **argv argument.
4213
2ee633a2
JM
42142012-02-17 Joseph Myers <joseph@codesourcery.com>
4215
4216 [BZ #5077]
4217 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4218 rounding modes.
4219
0520adde
FB
42202012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4221
4222 [BZ #6907]
4223 * manual/string.texi (strchr): Change when strchrnul is
4224 recommended.
4225
3f4081cd
DGM
42262012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4227
4228 [BZ #174]
4229 * manual/locale.texi (setlocale): Document LOCPATH.
4230
d1b10e78
JM
42312012-02-17 Joseph Myers <joseph@codesourcery.com>
4232
4233 [BZ #10210]
4234 * manual/process.texi (execle): Move @dots{} before last argument.
4235
79c6869c
PB
42362012-02-17 Paul Bolle <pebolle@tiscali.nl>
4237
4238 [BZ #12047]
4239 * manual/charset.texi (Generic Charset Conversion): Fix typo
4240 (LC_TYPE -> LC_CTYPE).
4241
cc6e48bc
NB
42422012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4243
4244 [BZ #5805]
4245 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4246 (scalbnf): Likewise.
4247 (scalbnl): Likewise.
4248 (scalbln): Likewise.
4249 (scalblnf): Likewise.
4250 (scalblnl): Likewise.
4251 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4252 (vwarnx): Likewise.
4253 (verr): Likewise.
4254 (verrx): Likewise.
4255 * manual/filesys.texi (telldir): Use braces around return type.
4256 * manual/llio.texi (mmap): Add space after comma.
4257 (mmap64): Likewise.
4258 * manual/math.texi (jn): Use @var{} on parameter names.
4259 (jnf): Likewise.
4260 (jnl): Likewise.
4261 (yn): Likewise.
4262 (ynf): Likewise.
4263 (ynl): Likewise.
4264 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4265 line.
4266 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4267 "...".
4268 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4269 (sched_get_priority_max): Likewise.
4270 * manual/signal.texi (sigvec): Add space after comma.
4271 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4272 names.
4273 (if_indextoname): Likewise.
4274 (if_freenameindex): Likewise.
4275 (sendto): Use ',' instead of '.' in prototype.
4276 * manual/startup.texi (syscall): Use @dots{} instead of literal
4277 "...".
4278 * manual/stdio.texi (__fpending): Separate initial words of
4279 paragraph from @deftypefun line.
4280 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4281 "...".
4282 (vsyslog): Use @var{} on parameter names.
4283 * manual/terminal.texi (stty): Use @var{} on parameter names.
4284 * manual/users.texi (getutmp): Use @var{} on parameter names.
4285 (getutmpx): Likewise.
4286
5b23062f
JM
42872012-02-17 Joseph Myers <joseph@codesourcery.com>
4288
4289 [BZ #6884]
4290 * manual/stdio.texi (fopen): Fix typos in description of
4291 ",ccs=STRING".
4292
8dee4833
AJ
42932012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4294
4295 [BZ #4026]
4296 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4297 get clock_id definition.
4298
9078ce93
TS
42992012-02-17 Thomas Schwinge <thomas@schwinge.name>
4300
4301 [BZ #4822]
4302 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4303 (madvise): Cast every argument to void on its own.
4304
3835c55f
JM
43052012-02-17 Joseph Myers <joseph@codesourcery.com>
4306
4307 [BZ #9902]
4308 * manual/startup.texi (Exit Status): Fix typo.
4309
35c47e37
JM
43102012-02-17 Joseph Myers <joseph@codesourcery.com>
4311
4312 [BZ #10140]
4313 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4314 * manual/examples/argp-ex2.c: Likewise.
4315 * manual/examples/argp-ex3.c: Likewise.
4316
e3b69ca7
RH
43172012-02-16 Richard Henderson <rth@redhat.com>
4318
4319 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4320 * sysdeps/s390/s390-32/initfini.c: Remove.
4321 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4322 * sysdeps/s390/s390-64/initfini.c: Remove.
4323
df83af67
KK
43242012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4325
4326 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4327 compiler output for sysdeps/generic/initfini.c.
4328 * sysdeps/sh/elf/initfini.c: Remove file.
4329
f63f3380
DM
43302012-02-16 David S. Miller <davem@davemloft.net>
4331
fb59b3a4
DM
4332 [BZ #11494]
4333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4334
f63f3380
DM
4335 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4336 * sysdeps/sparc/crti.S: New file.
4337 * sysdeps/sparc/crtn.S: New file.
4338 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4339 * sysdeps/sparc/sparc64/Makefile: Likewise.
4340
df6a4a4a
MF
43412012-02-15 Mike Frysinger <vapier@gentoo.org>
4342
6dd8f3dc 4343 [BZ #3335]
df6a4a4a
MF
4344 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4345
1cac7236
RM
43462012-02-15 Roland McGrath <roland@hack.frob.com>
4347
d2c736f8
RM
4348 [BZ #4822]
4349 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4350
1cac7236
RM
4351 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4352 (write, read, close): Likewise.
4353 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4354
8e475601
JM
43552012-02-15 Joseph Myers <joseph@codesourcery.com>
4356
4357 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4358 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4360 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4361 <bits/signalfd.h>.
4362 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4364 bits/signalfd.h.
4365
ed656b40
MP
43662012-02-14 Marek Polacek <polacek@redhat.com>
4367
4368 * sysdeps/x86_64/crti.S: New file.
4369 * sysdeps/x86_64/crtn.S: New file.
4370 * sysdeps/x86_64/elf/initfini.c: Remove file.
4371
2a979d3a
JM
43722012-02-13 Joseph Myers <joseph@codesourcery.com>
4373
4374 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4375 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4376 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4377 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4378 <bits/inotify.h>.
4379 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4381 bits/inotify.h.
4382
2a418ac3
JM
43832012-02-13 Joseph Myers <joseph@codesourcery.com>
4384
4385 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4386 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4387 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4388 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4389 <bits/eventfd.h>.
4390 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4392 bits/eventfd.h.
4393
fb779be7
TS
43942012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4395
e19e83c5
RM
4396 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4397 __feraiseexcept instead of feraiseexcept.
7c35ffed 4398
fb779be7
TS
4399 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4400 nanosleep invocations.
4401 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4402 strings, and add error checking for a nanosleep invocations.
4403
59ba27a6
PE
44042012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4405
4406 Replace FSF snail mail address with URLs, as per GNU coding standards.
4407 Most of the snail mail addresses were wrong anyway, and omitting
4408 them makes the source code easier to maintain. Almost all of the
4409 changes are to license notices and to locale LC_IDENTIFICATION
4410 addresses, except for this one:
4411 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4412 not its snail mail address.
4413
57b957eb
RH
44142012-02-09 Richard Henderson <rth@twiddle.net>
4415
af850b1c
RH
4416 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4417 of kernel-features.h.
4418
57b957eb
RH
4419 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4420
6b73181a
MP
44212012-02-08 Marek Polacek <polacek@redhat.com>
4422
4423 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4424 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4425 * sysdeps/gnu/_G_config.h: Likewise.
4426 * sysdeps/generic/_G_config.h: Likewise.
4427
26ecc33a
AS
44282012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4429
6c6dbc63
AS
4430 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4431 tests.
4432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4433
e216c012
AS
4434 * sysdeps/powerpc/powerpc32/crti.S: New file.
4435 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4436 * sysdeps/powerpc/powerpc64/crti.S: New file.
4437 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4438
26ecc33a
AS
4439 * Makeconfig (have-initfini): Don't set.
4440 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4441 * configure.in (nopic_initfini): Don't substitute.
4442 * config.h.in (HAVE_INITFINI): Don't #undef.
4443 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4444 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4445
3add8e13
JM
44462012-02-08 Joseph Myers <joseph@codesourcery.com>
4447
4448 Support crti.S and crtn.S provided directly by architectures.
4449 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4450 [crti.S in sysdirs] (omit-deps): Likewise.
4451 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4452 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4453 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4454 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4455 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4456 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4457 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4458 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4459 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4460 compiler output for sysdeps/generic/initfini.c.
4461 * sysdeps/i386/elf/Makefile: Remove file.
4462 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4463
a22f12b4
MP
44642012-02-07 Marek Polacek <polacek@redhat.com>
4465
4466 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4467 * sysdeps/gnu/_G_config.h: Likewise.
4468 * sysdeps/mach/hurd/_G_config.h: Likewise.
4469
148cf100
MP
44702012-02-07 Marek Polacek <polacek@redhat.com>
4471
4472 * math/Makefile (tests): Add tst-CMPLX2.
4473 * math/tst-CMPLX2.c: New file.
4474
cfdc0dd7
AS
44752012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4476
84ba42c4
AS
4477 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4478
cfdc0dd7
AS
4479 * math/libm-test.inc (jn_test): Add missing L suffix.
4480
622c86f4
MP
44812012-02-06 Marek Polacek <polacek@redhat.com>
4482
4483 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4484 * sysdeps/i386/fpu/e_powf.S: Likewise.
4485 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4486 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4487 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4488 * sysdeps/i386/fpu/e_pow.S: Likewise.
4489 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4490 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4491 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4492 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4493 * sysdeps/i386/fpu/e_log2.S: Likewise.
4494 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4495 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4496 * sysdeps/i386/fpu/e_powl.S: Likewise.
4497 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4498 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4499 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4500 * sysdeps/i386/fpu/e_logl.S: Likewise.
4501 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4502 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4503 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4504 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4505 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4506 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4507 * sysdeps/i386/fpu/e_log.S: Likewise.
4508 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4509 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4510 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4511 * sysdeps/i386/fpu/e_logf.S: Likewise.
4512 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4513 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4514 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4515 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4516 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4517 * sysdeps/i386/fpu/e_log10.S: Likewise.
4518 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4519 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4520 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4521 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4522 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4523 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4524 * sysdeps/i386/asm-syntax.h: Likewise.
4525 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4527 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4528 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4529 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4530 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4531 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4532 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4533 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4534 * sysdeps/powerpc/sysdep.h: Likewise.
4535 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4536 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4537
d4a54ac6
JM
45382012-02-06 Joseph Myers <joseph@codesourcery.com>
4539
4540 [BZ #411]
4541 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4542
314054ea
JM
45432012-02-06 Joseph Myers <joseph@codesourcery.com>
4544
4545 * sysdeps/i386/sysdep.h: Include <features.h>.
4546 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4547 version.
4548
d8e0ca50
JM
45492012-02-05 Joseph Myers <joseph@codesourcery.com>
4550
4551 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4552 Define.
4553 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4554 LOAD_PIC_REG_STR.
4555
b1da7dd9
JM
45562012-02-03 Joseph Myers <joseph@codesourcery.com>
4557
4558 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4559 (SETUP_PIC_REG): Use GET_PC_THUNK.
4560 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4561 macro.
4562
9a1d9254
JM
45632012-02-03 Joseph Myers <joseph@codesourcery.com>
4564
4565 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4566 for non-PIC compilation.
4567 (SETUP_PIC_REG): Add .p2align directive.
4568 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4569 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4570 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4571 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4572 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4573 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4574 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4575 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4576 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4577 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4578 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4579 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4580 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4581 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4582 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4583 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4584 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4585 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4586 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4587 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4588 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4589 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4590 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4591 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4592 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4594 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4595 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4596 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4597 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4598 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4599 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4600 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4601 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4602 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4603 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4604 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4605 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4606 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4607 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4608 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4609
65dc3b75
JM
46102012-02-03 Joseph Myers <joseph@codesourcery.com>
4611
4612 * math/tst-CMPLX.c: Include <stdio.h>.
4613
d55bf177
JM
46142012-01-31 Joseph Myers <joseph@codesourcery.com>
4615
4616 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4617 float.
4618 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4619 * sysdeps/sparc/bits/mathdef.h: Likewise.
4620
69db4f8f
MP
46212012-01-31 Marek Polacek <polacek@redhat.com>
4622
4623 * libio/libio.h: Don't define _PARAMS.
4624 * locale/programs/config.h: Don't define PARAMS.
4625 * stdlib/strtol_l.c: Likewise.
4626 (__strtol_l): Remove PARAMS from the prototype.
4627
41b81892
UD
46282012-01-31 Ulrich Drepper <drepper@gmail.com>
4629
3b49edc0
UD
4630 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4631 names. Just use the correct names. Remove unnecessary wrapper
4632 functions.
4633 * malloc/arena.c: Likewise.
4634 * malloc/hooks.c: Likewise.
4635
41b81892
UD
4636 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4637 ARENA_TEST says not to. Simplify test for creation of a new arena.
4638 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4639
27a25b6e
UD
46402012-01-30 Ulrich Drepper <drepper@gmail.com>
4641
4642 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4643 into tail calls.
4644 (update_get_addr): New function.
4645 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4646 GET_ADDR_MODULE parameter.
4647
c8a89e7d
JM
46482012-01-30 Joseph Myers <joseph@codesourcery.com>
4649
4650 * crypt/cert.c: Remove __STDC__ conditionals.
4651 * crypt/crypt-entry.c: Likewise.
4652 * crypt/crypt_util.c: Likewise.
4653 * libio/filedoalloc.c: Likewise.
4654 * libio/fileops.c: Likewise.
4655 * libio/genops.c: Likewise.
4656 * libio/iofclose.c: Likewise.
4657 * libio/iofdopen.c: Likewise.
4658 * libio/iofopen.c: Likewise.
4659 * libio/iofopen64.c: Likewise.
4660 * libio/iogetdelim.c: Likewise.
4661 * libio/iopopen.c: Likewise.
4662 * libio/obprintf.c: Likewise.
4663 * libio/oldfileops.c: Likewise.
4664 * libio/oldiofclose.c: Likewise.
4665 * libio/oldiofdopen.c: Likewise.
4666 * libio/oldiofopen.c: Likewise.
4667 * libio/oldiopopen.c: Likewise.
4668 * libio/wfiledoalloc.c: Likewise.
4669 * libio/wgenops.c: Likewise.
4670 * locale/programs/xmalloc.c: Likewise.
4671 * misc/syslog.c: Likewise.
4672 * stdio-common/xbug.c: Likewise.
4673 * string/memchr.c: Likewise.
4674 * string/memcmp.c: Likewise.
4675 * string/memrchr.c: Likewise.
4676 * string/rawmemchr.c: Likewise.
4677 * sysdeps/posix/getcwd.c: Likewise.
4678 * time/strftime_l.c: Likewise.
4679
3b100462
JM
46802012-01-30 Joseph Myers <joseph@codesourcery.com>
4681
4682 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4683 * config.make.in (config-cflags-sse2avx): Define.
4684 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4685 Fix typo.
4686
607998af
CM
46872012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4688
4689 * scripts/config.guess: Update from upstream config git repository.
4690 * scripts/config.sub: Likewise.
4691
3601428f
CM
46922012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4693
3ac8b282
CM
4694 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4695 (EM_NUM): Update.
4696 (R_TILEPRO_*, R_TILEGX_*): New macros.
4697
e034841e
CM
4698 * scripts/firstversions.awk: Fix bug in version range handling.
4699
540d7568
CM
4700 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4701
3601428f
CM
4702 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4703
463de862
CM
4704 * include/sys/epoll.h: New file.
4705 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4706 libc_hidden_def.
4707
73139a76
UD
47082012-01-28 Ulrich Drepper <drepper@gmail.com>
4709
96bc5b45
UD
4710 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4711 Avoid unnecessary __WORDSIZE == 64 test.
4712 (fmaxf): Use VEX format if possible.
4713 (fmax): Likewise.
4714 (fminf): Likewise.
4715 (fmin): Likewise.
4716
56f6f6a2
UD
4717 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4718 * math/math_private.h: Remove libc_fegetround* and
4719 libc_fesetround*.
4720 * sysdeps/i386/configure.in: Check for -msse2avx.
4721 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4722 also if SSE2AVX is defined.
4723 Remove libc_fegetround* and libc_fesetround*.
4724 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4725 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4726 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4727 of HAS_YMM_USABLE.
4728 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4729 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4730 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4733
73139a76
UD
4734 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4735
d73f93a4
AZ
47362012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4737
4738 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4739 size is not set.
4740 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4741
6ee65ed6
UD
47422012-01-27 Ulrich Drepper <drepper@gmail.com>
4743
4744 [BZ #13618]
4745 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4746 relocation.
4747 * Makeconfig (libm): Define.
4748 * elf/Makefile: Add rules to build and run tst-relsort1.
4749 * elf/tst-relsort1.c: New file.
4750 * elf/tst-relsort1mod1.c: New file.
4751 * elf/tst-relsort1mod2.c: New file.
4752
8db21882
JM
47532012-01-27 Joseph Myers <joseph@codesourcery.com>
4754
4755 * math/s_ldexp.c: Remove __STDC__ conditionals.
4756 * math/s_ldexpf.c: Likewise.
4757 * math/s_ldexpl.c: Likewise.
4758 * math/s_nextafter.c: Likewise.
4759 * math/s_nexttowardf.c: Likewise.
4760 * math/s_significand.c: Likewise.
4761 * math/s_significandf.c: Likewise.
4762 * math/s_significandl.c: Likewise.
4763 * math/w_jnl.c: Likewise.
4764 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4765 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4766 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4767 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4768 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4769 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4770 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4771 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4772 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4773 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4774 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4776 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4777 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4778 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4779 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4780 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4781 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4783 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4784 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4785 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4786 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4787 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4788 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4789 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4790 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4791 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4792 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4793 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4794 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4795 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4796 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4797 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4798 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4799 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4800 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4801 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4802 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4803 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4804 * sysdeps/ieee754/k_standard.c: Likewise.
4805 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4808 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4809 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4866 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4871 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4879 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4880 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4884 * sysdeps/ieee754/s_matherr.c: Likewise.
4885 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4886 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4887 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4889
965a54a4
JM
48902012-01-26 Joseph Myers <joseph@codesourcery.com>
4891
4892 * crypt/md5.h: Remove __STDC__ conditionals.
4893 * libio/libioP.h: Likewise.
4894 * locale/programs/config.h: Likewise.
4895 * sysdeps/generic/sysdep.h: Likewise.
4896 * sysdeps/i386/asm-syntax.h: Likewise.
4897 * sysdeps/s390/asm-syntax.h: Likewise.
4898 * sysdeps/unix/sysdep.h: Likewise.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4901
7071ad79
JM
49022012-01-26 Joseph Myers <joseph@codesourcery.com>
4903
4904 * libio/libio.h: Remove __STDC__ conditionals.
4905 * malloc/obstack.h: Likewise.
4906 * math/complex.h: Likewise.
4907 * math/math.h: Likewise.
4908 * sysdeps/generic/_G_config.h: Likewise.
4909 * sysdeps/gnu/_G_config.h: Likewise.
4910 * sysdeps/mach/hurd/_G_config.h: Likewise.
4911 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4912 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4913 * sysdeps/sparc/bits/mathdef.h: Likewise.
4914
afc5ed09
UD
49152012-01-26 Ulrich Drepper <drepper@gmail.com>
4916
4917 [BZ #13583]
4918 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4919 Clean up HAS_* macros.
afc5ed09 4920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4921 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4922 possible.
4923 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4924 HAS_AVX.
4925 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4926 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4927 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4928 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4929 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4930
bdb6de1d
JM
49312012-01-25 Joseph Myers <joseph@codesourcery.com>
4932
4933 * elf/tst-unique3.cc (gets): Remove declaration.
4934 * elf/tst-unique3lib.cc (gets): Likewise.
4935 * elf/tst-unique3lib2.cc (gets): Likewise.
4936 * elf/tst-unique4.cc (gets): Likewise.
4937
b15549e6
UD
49382012-01-24 Ulrich Drepper <drepper@gmail.com>
4939
4940 * include/stdio.h: Add C++ protection. Add gets declarations and
4941 definitions.
4942 * debug/tst-chk1.c: Don't declare gets here.
4943 * stdio-common/tst-gets.c: Likewise.
4944
a037381f
JM
49452012-01-24 Joseph Myers <joseph@codesourcery.com>
4946
4947 * posix/glob: Remove directory.
4948
f1d4aa75
JM
49492012-01-24 Joseph Myers <joseph@codesourcery.com>
4950
4951 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4952
81c0c964
PT
49532012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4954
4955 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4956 of the non-standard EPFNOSUPPORT.
4957
0ea698ae
ST
49582011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4959
4960 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4961 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4962 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4963
d220b117
UD
49642012-01-21 Ulrich Drepper <drepper@gmail.com>
4965
4966 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4967
3e1aa84e
UD
49682012-01-20 Ulrich Drepper <drepper@gmail.com>
4969
4970 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4971 transient errors.
4972 * nscd/grpcache.c (cache_addgr): Likewise.
4973 * nscd/hstcache.c (cache_addhst): Likewise.
4974 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4975 * nscd/pwdcache.c (cache_addpw): Likewise.
4976 * nscd/servicescache.c (cache_addserv): Likewise.
4977
400aa020
UD
49782012-01-16 Ulrich Drepper <drepper@gmail.com>
4979
d77e7869
UD
4980 * malloc/malloc.c: Various cleanups.
4981 * malloc/hooks.c: Likewise.
4982
400aa020
UD
4983 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4984 * stdlib/bug-fmtmsg1.c: New file.
4985
4986 * stdlib/fmtmsg.c (init): Add missing unlock.
4987 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4988
e0a309cf
MP
49892012-01-12 Marek Polacek <polacek@redhat.com>
4990
4991 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4992 and _GNU_SOURCE.
4993
929d11c7
WS
49942012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4995
4996 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4997 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4998 macro to ensure uniqueness of label name.
4999 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5000 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5001
41d0e869
UD
50022012-01-11 Ulrich Drepper <drepper@gmail.com>
5003
0cc5ed3b
UD
5004 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5005
41d0e869
UD
5006 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5007 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5010
a47a831a
UD
50112012-01-10 Ulrich Drepper <drepper@gmail.com>
5012
daa891c0
UD
5013 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5014
5015 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5016 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5017 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5018
e58ef0f2
UD
5019 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5020
a47a831a 5021 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5022 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5023 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5024 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5025
5026 * math/bits/math-finite.h: Add ldexp support.
5027
a0bfc9c7
MP
50282012-01-10 Marek Polacek <polacek@redhat.com>
5029
5030 * locale/programs/localedef.h (show_archive_content): Add noreturn
5031 attribute.
5032
d6e97a1d
UD
50332012-01-09 Ulrich Drepper <drepper@gmail.com>
5034
5035 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5036
d5835c26
UD
50372012-01-08 Ulrich Drepper <drepper@gmail.com>
5038
e5f484c6
UD
5039 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5040
d5835c26
UD
5041 * io/Makefile (headers): Add bits/poll2.h.
5042
d1f741e9
WS
50432011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5044
5045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5046 typo #include statement.
5047
ec09c1c4
UD
50482012-01-08 Ulrich Drepper <drepper@gmail.com>
5049
5050 * include/sys/cdefs.h: Define __attribute_alloc_size.
5051 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5052 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5053 * elf/pldd.c: Likewise.
5054 * iconv/iconv_charmap.c: Likewise.
5055 * iconv/iconvconfig.c: Likewise.
5056 * iconv/strtab.c: Likewise.
5057 * locale/programs/locale.c: Likewise.
5058 * locale/programs/localedef.h: Likewise.
5059 * locale/programs/simple-hash.c: Likewise.
5060 * nscd/nscd.h: Likewise.
5061 * nss/makedb.c: Likewise.
5062 * sysdeps/generic/ldconfig.h: Likewise.
5063 * locale/programs/localedef.c: Remove xmalloc prototype.
5064 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5065
20b38e03
PP
50662012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5067
5068 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5069 appropriate.
5070
a0da5fe1
UD
50712012-01-08 Ulrich Drepper <drepper@gmail.com>
5072
1d5a644a 5073 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5074 * math/tst-CMPLX.c: New file.
1d5a644a 5075
8784a6db
UD
5076 * math/complex.h (CMPLXL): Fix typo.
5077
d9a216c0
UD
5078 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5079 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5080 GLIBC_2.16.
5081 * debug/tst-chk1.c: Add poll and ppoll tests.
5082 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5083 * include/sys/poll.h: Add hidden proto for ppoll.
5084 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5085 * sysdeps/mach/hurd/ppoll.c: Likewise.
5086 * io/ppoll.c: Likewise.
5087 * debug/poll_chk.c: New file.
5088 * debug/ppoll_chk.c: New file.
5089 * include/bits/poll2.h: New file.
5090 * io/bits/poll2.h: New file.
5091
ac097f5c
UD
5092 [BZ #1350]
5093 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5094
2119dcfa
UD
5095 * configure.in: static is always set to yes. Remove.
5096 * config.make.in: Don't set build-static.
5097 * Makeconfig: Remove use of build-static.
5098 * dlfcn/Makefile: Likewise.
5099 * elf/Makefile: Likewise.
5100 * math/Makefile: Likewise.
5101 * misc/Makefile: Likewise.
5102 * nptl/Makefile: Likewise.
5103 * sysdeps/mach/hurd/Makefile: Likewise.
5104
121766a9
UD
5105 * configure.in: PWD_P is not used anymore.
5106 * config.make.in: Remove PWD_P entry.
5107
51a1d39c 5108 * configure.in: Remove last remnants of RANLIB.
8720d066 5109 No need to check for signed size_t anymore.
215f4bdc
UD
5110 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5111 and IA-64.
3857022a 5112 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5113 * aclocal.m4: Likewise.
5114
d3ed7225
UD
5115 * wcsmbs/mbrtoc16.c: Implement using towc function.
5116 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5117 * wcsmbs/wcsmbsload.c: Likewise.
5118 * iconv/gconv_simple.c: Likewise.
5119 * iconv/gconv_int.h: Likewise.
5120 * iconv/gconv_builtin.h: Likewise.
5121 * iconv/iconv_prog.c: Remove CHAR16 handling.
5122
5123 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5124
5125 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5126
a0da5fe1
UD
5127 * configure.in: Remove --with-elf and --enable-bounded options.
5128 Dont set base_machine for ia64. More non-ELF conditions removed.
5129 Remove testing and setting of leading underscore information.
5130 * config.make.in (build-bounded): Set to no.
5131 * config.h.in: Remove NO_UNDERSCORES entry.
5132 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5133 them.
5134 * csu/start.c: Remove !NO_UNDERSCORE code.
5135 * locale/localeinfo.h: Likewise.
5136 * sysdeps/generic/machine-gmon.h: Likewise.
5137 * sysdeps/generic/sysdep.h: Likewise.
5138 * sysdeps/i386/sysdep.h: Likewise.
5139 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5140 * sysdeps/mach/sysdep.h: Likewise.
5141 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5142 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5143 * sysdeps/sh/sysdep.h: Likewise.
5144 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5145 * sysdeps/unix/i386/sysdep.S: Likewise.
5146 * sysdeps/unix/sparc/start.c: Likewise.
5147 * sysdeps/unix/sparc/sysdep.S: Likewise.
5148 * sysdeps/unix/sparc/sysdep.h: Likewise.
5149 * sysdeps/unix/start.c: Likewise.
5150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5151 * sysdeps/x86_64/sysdep.h: Likewise.
5152
df78418a
UD
51532012-01-07 Ulrich Drepper <drepper@gmail.com>
5154
a784e502
UD
5155 [BZ #13553]
5156 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5157 for non-gcc.
5158 * argp/argp-fmtstream.h: Use const instead __const.
5159 * argp/argp.h: Likewise.
5160 * assert/assert.h: Likewise.
5161 * bits/fenv.h: Likewise.
5162 * bits/sched.h: Likewise.
5163 * bits/sigset.h: Likewise.
5164 * bits/sigthread.h: Likewise.
5165 * catgets/nl_types.h: Likewise.
5166 * conform/data/pthread.h-data: Likewise.
5167 * crypt/crypt-private.h: Likewise.
5168 * crypt/crypt.h: Likewise.
5169 * crypt/crypt_util.c: Likewise.
5170 * ctype/ctype.h: Likewise.
5171 * debug/execinfo.h: Likewise.
5172 * debug/mbsnrtowcs_chk.c: Likewise.
5173 * debug/mbsrtowcs_chk.c: Likewise.
5174 * debug/wcsnrtombs_chk.c: Likewise.
5175 * debug/wcsrtombs_chk.c: Likewise.
5176 * debug/wcstombs_chk.c: Likewise.
5177 * dirent/dirent.h: Likewise.
5178 * dlfcn/dlfcn.h: Likewise.
5179 * elf/neededtest4.c: Likewise.
5180 * grp/grp.h: Likewise.
5181 * gshadow/gshadow.h: Likewise.
5182 * iconv/gconv.h: Likewise.
5183 * iconv/gconv_int.h: Likewise.
5184 * iconv/gconv_simple.c: Likewise.
5185 * iconv/iconv.h: Likewise.
5186 * iconv/loop.c: Likewise.
5187 * iconv/skeleton.c: Likewise.
5188 * include/aio.h: Likewise.
5189 * include/aliases.h: Likewise.
5190 * include/argz.h: Likewise.
5191 * include/arpa/inet.h: Likewise.
5192 * include/assert.h: Likewise.
5193 * include/dirent.h: Likewise.
5194 * include/dlfcn.h: Likewise.
5195 * include/execinfo.h: Likewise.
5196 * include/fcntl.h: Likewise.
5197 * include/fenv.h: Likewise.
5198 * include/glob.h: Likewise.
5199 * include/grp.h: Likewise.
5200 * include/libintl.h: Likewise.
5201 * include/mntent.h: Likewise.
5202 * include/netdb.h: Likewise.
5203 * include/pwd.h: Likewise.
5204 * include/rpc/netdb.h: Likewise.
5205 * include/sched.h: Likewise.
5206 * include/search.h: Likewise.
5207 * include/shadow.h: Likewise.
5208 * include/signal.h: Likewise.
5209 * include/stdio.h: Likewise.
5210 * include/stdlib.h: Likewise.
5211 * include/string.h: Likewise.
5212 * include/sys/socket.h: Likewise.
5213 * include/sys/stat.h: Likewise.
5214 * include/sys/statfs.h: Likewise.
5215 * include/sys/statvfs.h: Likewise.
5216 * include/sys/syslog.h: Likewise.
5217 * include/sys/time.h: Likewise.
5218 * include/sys/uio.h: Likewise.
5219 * include/time.h: Likewise.
5220 * include/unistd.h: Likewise.
5221 * include/utmp.h: Likewise.
5222 * include/wchar.h: Likewise.
5223 * include/wctype.h: Likewise.
5224 * inet/aliases.h: Likewise.
5225 * inet/arpa/inet.h: Likewise.
5226 * inet/netinet/ether.h: Likewise.
5227 * inet/netinet/in.h: Likewise.
5228 * intl/libintl.h: Likewise.
5229 * io/bits/fcntl2.h: Likewise.
5230 * io/fcntl.h: Likewise.
5231 * io/ftw.h: Likewise.
5232 * io/sys/poll.h: Likewise.
5233 * io/sys/stat.h: Likewise.
5234 * io/sys/statfs.h: Likewise.
5235 * io/sys/statvfs.h: Likewise.
5236 * io/utime.h: Likewise.
5237 * libio/bits/stdio.h: Likewise.
5238 * libio/bits/stdio2.h: Likewise.
5239 * libio/libio.h: Likewise.
5240 * libio/libioP.h: Likewise.
5241 * libio/stdio.h: Likewise.
5242 * locale/lc-ctype.c: Likewise.
5243 * locale/locale.h: Likewise.
5244 * login/utmp.h: Likewise.
5245 * malloc/arena.c: Likewise.
5246 * malloc/malloc.c: Likewise.
5247 * malloc/malloc.h: Likewise.
5248 * malloc/mcheck.c: Likewise.
5249 * malloc/mtrace.c: Likewise.
5250 * math/bits/mathcalls.h: Likewise.
5251 * math/fenv.h: Likewise.
5252 * math/math_private.h: Likewise.
5253 * misc/bits/error.h: Likewise.
5254 * misc/bits/syslog.h: Likewise.
5255 * misc/err.h: Likewise.
5256 * misc/error.h: Likewise.
5257 * misc/fstab.h: Likewise.
5258 * misc/mntent.h: Likewise.
5259 * misc/regexp.h: Likewise.
5260 * misc/search.h: Likewise.
5261 * misc/sgtty.h: Likewise.
5262 * misc/sys/mman.h: Likewise.
5263 * misc/sys/syslog.h: Likewise.
5264 * misc/sys/uio.h: Likewise.
5265 * misc/sys/xattr.h: Likewise.
5266 * misc/ttyent.h: Likewise.
5267 * nis/rpcsvc/ypclnt.h: Likewise.
5268 * nss/nss.h: Likewise.
5269 * posix/bits/unistd.h: Likewise.
5270 * posix/fnmatch.h: Likewise.
5271 * posix/glob.h: Likewise.
5272 * posix/sched.h: Likewise.
5273 * posix/spawn.h: Likewise.
5274 * posix/sys/wait.h: Likewise.
5275 * posix/unistd.h: Likewise.
5276 * posix/wordexp.h: Likewise.
5277 * pwd/pwd.h: Likewise.
5278 * resolv/netdb.h: Likewise.
5279 * resource/sys/resource.h: Likewise.
5280 * rt/aio.h: Likewise.
5281 * rt/bits/mqueue2.h: Likewise.
5282 * rt/mqueue.h: Likewise.
5283 * shadow/shadow.h: Likewise.
5284 * signal/signal.h: Likewise.
5285 * socket/send.c: Likewise.
5286 * socket/sendto.c: Likewise.
5287 * socket/sys/socket.h: Likewise.
5288 * stdio-common/printf.h: Likewise.
5289 * stdlib/bits/stdlib.h: Likewise.
5290 * stdlib/fmtmsg.h: Likewise.
5291 * stdlib/monetary.h: Likewise.
5292 * stdlib/stdlib.h: Likewise.
5293 * stdlib/ucontext.h: Likewise.
5294 * streams/stropts.h: Likewise.
5295 * string/argz.h: Likewise.
5296 * string/bits/string2.h: Likewise.
5297 * string/string.h: Likewise.
5298 * string/strings.h: Likewise.
5299 * sunrpc/rpc/auth.h: Likewise.
5300 * sunrpc/rpc/auth_des.h: Likewise.
5301 * sunrpc/rpc/clnt.h: Likewise.
5302 * sunrpc/rpc/netdb.h: Likewise.
5303 * sunrpc/rpc/pmap_clnt.h: Likewise.
5304 * sunrpc/rpc/xdr.h: Likewise.
5305 * sysdeps/generic/inttypes.h: Likewise.
5306 * sysdeps/generic/net/if.h: Likewise.
5307 * sysdeps/generic/sys/swap.h: Likewise.
5308 * sysdeps/gnu/net/if.h: Likewise.
5309 * sysdeps/gnu/utmpx.h: Likewise.
5310 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5311 * sysdeps/i386/i486/bits/string.h: Likewise.
5312 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5313 * sysdeps/s390/bits/string.h: Likewise.
5314 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5315 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5316 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5317 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5318 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5319 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5320 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5321 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5322 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5323 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5324 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5325 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5326 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5327 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5328 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5329 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5330 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5331 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5334 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5335 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5336 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5337 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5338 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5339 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5340 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5341 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5342 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5343 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5344 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5345 * sysvipc/sys/ipc.h: Likewise.
5346 * sysvipc/sys/msg.h: Likewise.
5347 * sysvipc/sys/sem.h: Likewise.
5348 * sysvipc/sys/shm.h: Likewise.
5349 * termios/termios.h: Likewise.
5350 * time/sys/time.h: Likewise.
5351 * time/time.h: Likewise.
5352 * wcsmbs/bits/wchar2.h: Likewise.
5353 * wcsmbs/uchar.h: Likewise.
5354 * wcsmbs/wchar.h: Likewise.
5355 * wctype/wctype.h: Likewise.
5356
0269750c
UD
5357 [BZ #13551]
5358 * Makeconfig: Remove all but ELF support including AIX support.
5359 * Makerules: Likewise.
5360 * config.h.in: Likewise.
5361 * config.make.in: Likewise.
5362 * configure: Likewise.
5363 * configure.in: Likewise.
5364 * csu/Makefile: Likewise.
5365 * csu/version.c: Likewise.
5366 * debug/Makefile: Likewise.
5367 * dlfcn/Makefile: Likewise.
5368 * elf/Makefile: Likewise.
5369 * extra-lib.mk: Likewise.
5370 * iconv/Makefile: Likewise.
5371 * include/libc-symbols.h: Likewise.
5372 * include/shlib-compat.h: Likewise.
5373 * resolv/Makefile: Likewise.
5374 * resolv/res_libc.c: Likewise.
5375 * rt/Makefile: Likewise.
5376 * sysdeps/i386/asm-syntax.h: Likewise.
5377 * sysdeps/i386/sysdep.h: Likewise.
5378 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5379 * sysdeps/mach/sysdep.h: Likewise.
5380 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5381 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5382 * sysdeps/s390/asm-syntax.h: Likewise.
5383 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5384 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5385 * sysdeps/sh/sysdep.h: Likewise.
5386 * sysdeps/unix/sparc/sysdep.h: Likewise.
5387 * sysdeps/wordsize-32/divdi3.c: Likewise.
5388 * sysdeps/x86_64/sysdep.h: Likewise.
5389
00bbd29b
UD
5390 * argp/Versions: Remove _argp_unlock_xxx.
5391
5392 [BZ #13559]
5393 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5394 * abilist/libBrokenLocale.abilist: Likewise.
5395 * abilist/libanl.abilist: Likewise.
5396 * abilist/libc.abilist: Likewise.
5397 * abilist/libcrypt.abilist: Likewise.
5398 * abilist/libdl.abilist: Likewise.
5399 * abilist/libm.abilist: Likewise.
5400 * abilist/libnsl.abilist: Likewise.
5401 * abilist/libpthread.abilist: Likewise.
5402 * abilist/libresolv.abilist: Likewise.
5403 * abilist/librt.abilist: Likewise.
5404 * abilist/libthread_db.abilist: Likewise.
5405 * abilist/libutil.abilist: Likewise.
5406 * abilist/libnss_db.abilist: New file.
5407
5408 * scripts/abilist.awk: Add support for indirect functions.
5409
a2693a0e
UD
5410 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5411
3f05895f
UD
5412 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5413
ecb6fb48
UD
5414 * shlib-versions: Remove entries for ports architectures.
5415
664f8cb9
UD
5416 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5417 files in ports.
5418 * elf/stackguard-macros.h: Remove support for IA-64.
5419 * elf/tst-auditmod1.c: Likewise.
5420 * sysdeps/generic/ldsodefs.h: Likewise.
5421
7ae81d88
UD
5422 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5423 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5424 configure files.
5425
bdeba135
UD
5426 [BZ #13552]
5427 * configure.in: Remove --enable-omitfp support.
5428 * FAQ.in: Adjust.
5429 * config.make.in: Likewise.
5430 * Makeconfig: Likewise.
5431 * manual/install.texi: Likewise.
5432
d75a0a62
UD
5433 In case anyone cares, the IA-64 architecture could move to ports.
5434 * sysdeps/ia64/*: Removed.
5435 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5436 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5437
dcc9756b
UD
5438 [BZ #13555]
5439 * configure.in: Remove entries for unsupported architectures.
5440
d3761ebc 5441 [BZ #13533]
9954432e
UD
5442 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5443 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5444 routines.
5445 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5446 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5447 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5448 fall back to using wcrtomb.
5449 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5450 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5451 renaming.
5452 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5453 * wcsmbs/tst-c16c32-1.c: New file.
5454
5455 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5456 local variable.
5457
c3a87236
UD
5458 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5459
28926a1b
UD
5460 * elf/tst-unique3.cc: Add explicit declaration of gets.
5461 * elf/tst-unique3lib.cc: Likewise.
5462 * elf/tst-unique3lib2.cc: Likewise.
5463 * elf/tst-unique4.cc: Likewise.
5464
df78418a
UD
5465 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5466
8ecd6b2a
JM
54672012-01-06 Joseph Myers <joseph@codesourcery.com>
5468
5469 [BZ #13566]
5470 * assert/assert.h (static_assert): Don't define for C++.
5471 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5472 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5473
9f115170
UD
54742012-01-03 Ulrich Drepper <drepper@gmail.com>
5475
5e0d0300
UD
5476 * iconv/loop.c (single loop): Fix assertion in storing of
5477 remaining bytes.
5478
9f115170
UD
5479 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5480
81fb02b0
UD
54812012-01-01 Ulrich Drepper <drepper@gmail.com>
5482
5483 * posix/getconf.c: Update copyright year.
5484 * nss/getent.c: Likewise.
a316c1f6 5485 * nss/makedb.c: Likewise.
81fb02b0
UD
5486 * iconv/iconvconfig.c: Likewise.
5487 * iconv/iconv_prog.c: Likewise.
5488 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5489 * elf/pldd.c: Likewise.
5490 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5491 * catgets/gencat.c: Likewise.
5492 * csu/version.c: Likewise.
5493 * elf/ldd.bash.in: Likewise.
5494 * elf/sprof.c (print_version): Likewise.
5495 * locale/programs/locale.c: Likewise.
5496 * locale/programs/localedef.c: Likewise.
a316c1f6 5497 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5498 * nscd/nscd.c (print_version): Likewise.
5499 * debug/xtrace.sh: Likewise.
5500 * malloc/memusage.sh: Likewise.
5501 * malloc/mtrace.pl: Likewise.
5502 * debug/catchsegv.sh: Likewise.
5503
2ba92745
JJ
55042011-12-30 Jakub Jelinek <jakub@redhat.com>
5505
5506 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5507 pure attribute.
5508
dadebdae
UD
55092011-12-24 Ulrich Drepper <drepper@gmail.com>
5510
d3761ebc 5511 [BZ #13533]
db6af3eb
UD
5512 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5513 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5514 transformations.
5515 * iconv/gconv_int.h: Likewise.
5516 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5517 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5518 from libc for GLIBC_2.16.
5519 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5520 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5521 * wcsmbs/uchar.h: Really define mbstate_t.
5522 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5523 * wcsmbs/c16rtomb.c: New file.
5524 * wcsmbs/mbrtoc16.c: New file.
5525 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5526 for C/POSIX locale.
5527 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5528 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5529
dadebdae
UD
5530 * wcsmbs/wchar.h: Add missing __restrict.
5531
67371b56
UD
55322011-12-23 Ulrich Drepper <drepper@gmail.com>
5533
74033a25
UD
5534 [BZ #13532]
5535 * time/Makefile (routines): Add timespec_get.
5536 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5537 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5538 timespec for ISO C11.
5539 * time/timespec_get.c: New file.
5540 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5541 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5542
380d7e87
UD
5543 [BZ #13531]
5544 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5545 * stdlib/stdlib.h: Declare aligned_alloc.
5546 * Versions.def: Add GLIBC_2.16 for libc.
5547 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5548
4e9e7a35
UD
5549 [BZ 13527]
5550 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5551 ISO C11.
5552
380d7e87 5553 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5554 code.
5555
03a71829
UD
5556 [BZ #13528]
5557 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5558
839e283e
UD
5559 [BZ #13529]
5560 * assert/assert.h (static_assert): Define.
5561
ce5294e2 5562 * version.h: Update for 2.16 development version.
90fa7312 5563
8d44e150 5564 [BZ #13526]
d7809905
UD
5565 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5566 _ISOC11_SOURCE.
5567
c0da14cd
UD
5568 * version.h (RELEASE): Bump for 2.15 release.
5569 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5570
530a3249
MP
5571 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5572 Patch by Marek Polacek <mpolacek@redhat.com>.
5573
67371b56
UD
5574 * bits/byteswap.h: Protect long long constants with __extension__.
5575 * sysdeps/i386/bits/byteswap.h: Likewise.
5576 * sysdeps/ia64/bits/byteswap.h: Likewise.
5577 * sysdeps/s390/bits/byteswap.h: Likewise.
5578 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5579
15db4de1
LD
55802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5581
5582 [BZ #13540]
bbe315ea
LD
5583 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5584 destination buffer.
15db4de1
LD
5585 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5586
2b2596b1
MP
55872011-12-23 Marek Polacek <polacek@redhat.com>
5588
5589 * elf/dl-addr.c (determine_info): Add inline keyword.
5590 * elf/tst-auditmod4b.c (check_avx): Likewise.
5591 * elf/tst-auditmod6b.c (check_avx): Likewise.
5592 * elf/tst-auditmod6c.c (check_avx): Likewise.
5593 * elf/tst-auditmod7b.c (check_avx): Likewise.
5594
70c6c246
UD
55952011-12-23 Ulrich Drepper <drepper@gmail.com>
5596
5597 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5598 !__SSE_MATH__.
5599
c044cf14
LD
56002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5601
15db4de1 5602 [BZ #13540]
c044cf14
LD
5603 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5604 processing for last bytes.
5605
6b13d9d9
BH
56062011-08-06 Bruno Haible <bruno@clisp.org>
5607
d455f537
BH
5608 [BZ #13061]
5609 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5610 U+0385, not to U+1FEE.
5611
6b13d9d9
BH
5612 [BZ #13062]
5613 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5614 entry for U+00A5 U+0301.
5615
db910efd
UD
56162011-12-22 Ulrich Drepper <drepper@gmail.com>
5617
27deeafc
UD
5618 [BZ #13166]
5619 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5620 buffer for the output is too small.
5621
aed9d171
UD
5622 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5623 optimization.
5624
db910efd
UD
5625 [BZ #13185]
5626 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5627 SSE flags if possible.
5628
2bd779ae
LD
56292011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5630
e7f9dac3 5631 [BZ #13540]
2bd779ae
LD
5632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5633 processing for last bytes.
5634
154bfc16
JM
56352011-12-22 Joseph Myers <joseph@codesourcery.com>
5636
5637 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5638 (syscall-list-default-options, syscall-list-default-condition)
5639 (syscall-list-includes): Define.
5640 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5641 list of ABIs and options and #if conditions for each ABI. Do not
5642 handle common syscalls between ABIs specially.
5643 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5644 Remove.
5645 (syscall-list-variants, syscall-list-32bit-options)
5646 (syscall-list-32bit-condition, syscall-list-64bit-options)
5647 (syscall-list-64bit-condition): Define.
5648 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5649 (syscall-list-variants, syscall-list-32bit-options)
5650 (syscall-list-32bit-condition, syscall-list-64bit-options)
5651 (syscall-list-64bit-condition): Define.
5652 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5653 Remove.
5654 (syscall-list-variants, syscall-list-32bit-options)
5655 (syscall-list-32bit-condition, syscall-list-64bit-options)
5656 (syscall-list-64bit-condition): Define.
5657 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5658 Remove.
5659 (syscall-list-variants, syscall-list-32bit-options)
5660 (syscall-list-32bit-condition, syscall-list-64bit-options)
5661 (syscall-list-64bit-condition): Define.
5662
21eaf3a5
UD
56632011-12-22 Ulrich Drepper <drepper@gmail.com>
5664
16c6f992
UD
5665 * locale/iso-639.def: Add brx entry.
5666
41043168
UD
5667 [BZ #13328]
5668 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5669 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5670
21eaf3a5
UD
5671 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5672 __feraiseexcept_renamed.
5673
e3a851a2
UD
56742011-12-21 Ulrich Drepper <drepper@gmail.com>
5675
4920765e
UD
5676 [BZ #13538]
5677 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5678 EPOLLET with unsigned values.
5679 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5680 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5681
e3a851a2
UD
5682 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5683 to large cancellation.
5684 * math/s_cacoshf.c: Likewise.
5685 * math/s_cacoshl.c: Likewise.
5686
b27e24b8
RK
56872011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5688
5689 [BZ #13305]
aebefeee 5690 [BZ #12786]
b27e24b8
RK
5691 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5692 * math/s_cacoshf.c: Likewise.
5693 * math/s_cacoshl.c: Likewise.
5694
ee190f67
UD
56952011-12-21 Ulrich Drepper <drepper@gmail.com>
5696
5697 [BZ #13439]
5698 * iconv/gconv.h: Define __GCONV_SWAP.
5699 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5700 * iconvdata/utf-16.c: Likewise.
5701 * iconvdata/utf-32.c: Likewise.
5702
707f25df
AS
57032011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5704
5705 [BZ #13524]
5706 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5707 numerator after shifting it by one limb.
5708
d2daaa1e
RÁE
57092011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5710
5711 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5712 under [__USE_EXTERN_INLINES].
5713
a4647e72
UD
57142011-12-17 Ulrich Drepper <drepper@gmail.com>
5715
5716 [BZ #13446]
5717 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5718
f0b264f1
AZ
57192011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5720
5721 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5722 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5723 optimized code.
5724 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5725 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5726 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5727 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5728 for strncasecmp/strncasecmp_l compilation.
5729 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5730 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5731
8ef4f244
MP
57322011-12-08 Marek Polacek <mpolacek@redhat.com>
5733
5734 [BZ #13484]
5735 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5736 of __asm__.
5737
97ac2654
UD
57382011-12-17 Ulrich Drepper <drepper@gmail.com>
5739
5740 [BZ #13506]
5741 * time/tzfile.c (__tzfile_read): Check values from file header.
5742
91d2a845
WS
57432011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5744
5745 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5746 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5747 * powerpc/powerpc32/dl-start.S: Likewise.
5748 * powerpc/powerpc32/elf/start.S: Likewise.
5749 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5750 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5751 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5752 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5753 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5754 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5755 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5756 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5757 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5758 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5759 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5760 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5761 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5762 * powerpc/powerpc32/memset.S: Likewise.
5763 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5764 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5765 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5766 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5767 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5768 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5769 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5770 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5771 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5772 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5773 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5774 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5775 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5776
a1267ba1
AZ
57772011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5778
5779 * math/libm-test.inc: Added more nearbyint tests.
5780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5781 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5782 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5784
ad8ac1bd
RL
57852011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5786
5787 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5788 FD_CLOEXEC.
5789
1d3e4b61
UD
57902011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5791
5792 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5793 Add wcscpy-ssse3 wcscpy-c.
5794 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5795 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5796 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5797 * sysdeps/x86_64/wcschr.S: New file.
5798 * sysdeps/x86_64/wcsrchr.S: New file.
5799 * string/test-strcmp.c: Remove checking of wcscmp function for
5800 wrong alignments.
5801 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5802 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5803 wcsrchr-sse2 wcsrchr-c.
5804 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5805 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5806 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5807 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5808 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5809 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5810 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5811 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5812 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5813 * wcsmbc/wcschr.c (WCSCHR): New macro.
5814
5b330a2d
UD
58152011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5816
5817 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5818 * wcsmbs/test-wcsrchr.c: New file.
5819 * string/test-strrchr.c: Add wcsrchr support.
5820 (WIDE): New macro.
5821 * wcsmbs/test-wcscpy.c: New file.
5822 * string/test-strcpy.c: Add wcscpy support.
5823 (WIDE): New macro.
26428b7c 5824
f039c043
UD
58252011-12-10 Ulrich Drepper <drepper@gmail.com>
5826
5827 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5828 the inner loop.
5829
850fb039
AS
58302011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5831
5832 [BZ #13472]
5833 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5834
4efbd5cb
UD
58352011-12-04 Ulrich Drepper <drepper@gmail.com>
5836
52ff5dd0 5837 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5838 Minor optimizations.
52ff5dd0 5839
4efbd5cb
UD
5840 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5841 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5842 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5843
8a426e12
UD
58442011-12-03 Ulrich Drepper <drepper@gmail.com>
5845
aff2453d
UD
5846 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5847 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5848 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5849 for gcc to avoid warnings.
5850 * inet/Makefile (tests): Add tst-checks.
5851 * inet/tst-checks.c: New file.
5852
5853 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5854 warning.
5855
5856 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5857 __wmemcmp_sse2.
5858
5859 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5860 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5861
8a426e12
UD
5862 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5863
9bea3473
UD
58642011-12-02 Ulrich Drepper <drepper@gmail.com>
5865
3a965496
UD
5866 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5867 problem.
5868
9bea3473
UD
5869 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5870
f101631b
UD
58712011-11-29 Joseph Myers <joseph@codesourcery.com>
5872
5873 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5874 conditional on GCC version.
5875 (__arch_compare_and_exchange_val_8_acq)
5876 (__arch_compare_and_exchange_val_16_acq)
5877 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5878 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5879 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5880
a98275aa
UD
58812011-12-02 Joseph Myers <joseph@codesourcery.com>
5882
5883 * sysdeps/sh/backtrace.c: New file.
5884
d4cc29a2
AS
58852011-12-02 Andreas Schwab <schwab@redhat.com>
5886
5887 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5888 parenthesis.
5889
6257af2d
AS
58902011-12-01 Andreas Schwab <schwab@redhat.com>
5891
5892 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5893 falling back to utime.
5894
b5f44c1a
AS
58952011-11-30 Andreas Schwab <schwab@redhat.com>
5896
5897 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5898 expectations for float.
5899
f3a6cc0a
AS
59002011-11-29 Andreas Schwab <schwab@redhat.com>
5901
5902 * locale/weight.h (findidx): Add parameter len.
5903 * locale/weightwc.h (findidx): Likewise.
5904 * posix/fnmatch_loop.c (FCT): Adjust caller.
5905 * posix/regcomp.c (build_equiv_class): Likewise.
5906 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5907 * posix/regexec.c (check_node_accept_bytes): Likewise.
5908 * string/strcoll_l.c (STRCOLL): Likewise.
5909 * string/strxfrm_l.c (STRXFRM): Likewise.
5910
9d65ea3a
UD
59112011-11-17 Ulrich Drepper <drepper@gmail.com>
5912
5913 * Makefile.in: Remove CVSOPT handling.
5914 * configure.in: Remove use of AC_REVISION.
5915 * iconvdata/Makefile (distribute): No need to filter out CVS.
5916 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5917 handling.
5918
5583a086
AS
59192011-11-16 Andreas Schwab <schwab@redhat.com>
5920
5921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5922 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5923 [USE_AS_STRNCASECMP_L]: Likewise.
5924 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5925 NO_TLS_DIRECT_SEG_REFS.
5926 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5927 Fix argument offsets for non-PIC.
5928 [USE_AS_STRNCASECMP_L]: Likewise.
5929 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5930 NO_TLS_DIRECT_SEG_REFS.
5931
d62a8200
UD
59322011-11-15 Ulrich Drepper <drepper@gmail.com>
5933
9d65ea3a 5934 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5935 O_CLOEXEC.
5936 * locale/loadlocale.c (_nl_load_locale): Likewise.
5937
09f93bd3
AS
59382011-11-15 Andreas Schwab <schwab@redhat.com>
5939
446514f9
AS
5940 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5941 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5942 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5943 (SYSCALL_GETTIME): Set errno on error.
5944
09f93bd3
AS
5945 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5946 count references to noai6ai_cached.
5947
312be3f9
UD
59482011-11-15 Ulrich Drepper <drepper@gmail.com>
5949
5950 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5951
5952 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5953 FD_CLOEXEC for /proc/self/maps.
5954
5955 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5956 FD_CLOEXEC for /proc/meminfo.
5957
5958 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5959 gai.conf.
5960
5961 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5962 FD_CLOEXEC for given file.
5963
5964 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5965
5966 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5967 FD_CLOEXEC for /etc/hosts.
5968 (_gethtent): Likewise.
5969
5970 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5971
5972 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5973 cancellation and set FD_CLOEXEC for /etc/netgroup.
5974
5975 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5976 reading /etc/publickey.
5977
5978 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5979 allow cancellation when reading /etc/group.
5980
5981 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5982 cancellation.
5983 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5984
5985 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5986 when using data file.
5987
5988 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5989
5990 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5991 (write_nis_obj): Use "c" and "e" in fopen.
5992
5993 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5994
5995 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5996
5997 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5998
5999 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6000
6001 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6002 locale.alias.
6003
6004 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6005
6006 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6007
6008 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6009
6010 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6011 file parsing and set FD_CLOEXEC.
6012
82af0fa8
UD
60132011-11-14 Ulrich Drepper <drepper@gmail.com>
6014
6015 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6016
a5fb313c
AS
60172011-11-14 Andreas Schwab <schwab@redhat.com>
6018
6019 * malloc/arena.c (arena_get2): Don't call reused_arena when
6020 _int_new_arena failed.
6021
6abf3465
UD
60222011-11-14 Ulrich Drepper <drepper@gmail.com>
6023
6024 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6025 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6026 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6027 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6028 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6029 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6030 to compile strcasecmp and strncasecmp.
6031 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6032 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6033
6034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6035
76e3966e
UD
60362011-11-13 Ulrich Drepper <drepper@gmail.com>
6037
6038 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6039 locale-defines.sym to gen-as-const-headers.
6040 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6041 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6043 to compile strcasecmp and strncasecmp.
6044 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6045 strcasecmp_l and strncasecmp_l.
6046 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6047 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6048 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6049 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6050 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6051 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6052 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6053 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6054 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6055 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6056 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6057
ab26144e
UD
60582011-11-12 Ulrich Drepper <drepper@gmail.com>
6059
7edb22ef
UD
6060 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6061 result of SYSDEP_GETTIME_CPU to retval.
6062 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6063 parameter list to macro. Remove trailing semicolon. Adjust users.
6064
9694fc44
UD
6065 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6066 variable.
6067
8ad89ef8
UD
6068 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6069 mantissa words.
6070 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6071
0c822ef9
UD
6072 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6073 from unused variable.
6074
874e0564
UD
6075 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6076 DWARF definitions.
6077 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6078 for assembling.
6079
3a2edc79
UD
6080 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6081 over namespaces.
6082
f3c2577f
UD
6083 * sunrpc/rpc_prot.c (rejected): Fix case value.
6084
294ce126
UD
6085 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6086 unsigned long long int to avoid warnings in shift.
6087
5e2b63c6
UD
6088 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6089 of use of trans.
6090 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6091 variable tmp.
6092
e7f4b08e
UD
6093 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6094 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6095 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6096
ab26144e
UD
6097 * nis/nis_table.c (nis_list): Use variable of correct type for
6098 result of __follow_path call.
6099
8a6d5255
AZ
61002011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101
6102 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6103 of math functions ceil, trunc, floor, round, and sqrt, when
6104 avaliable on the platform.
6105 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6106 name clash.
6107 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6108 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6109 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6110
aaddc98c
MP
61112011-10-30 Marek Polacek <mpolacek@redhat.com>
6112
6113 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6114 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6115
95b7042b
RM
61162011-11-11 Roland McGrath <roland@hack.frob.com>
6117
6118 * include/unistd.h: Fix __readlink return type.
6119 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6120
57769839
UD
61212011-11-11 Ulrich Drepper <drepper@gmail.com>
6122
6123 * stdlib/ucontext.h: Undo last change for makecontext.
6124
edc5984d
AS
61252011-11-11 Andreas Schwab <schwab@redhat.com>
6126
98591e58
AS
6127 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6128
edc5984d
AS
6129 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6130 * setjmp/setjmp.h: Mark functions as non-leaf.
6131 * setjmp/bits/setjmp2.h: Likewise.
6132 * stdlib/ucontext.h: Likewise.
6133
77cdc054
AS
61342011-11-10 Andreas Schwab <schwab@redhat.com>
6135
6136 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6137 (reused_arena): Don't check arena limit.
6138 (arena_get2): Atomically check arena limit.
6139
fe72eebd
UD
61402011-11-08 Ulrich Drepper <drepper@gmail.com>
6141
5f078c32
UD
6142 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6143 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6144
fe72eebd
UD
6145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6146 instructions.
6147
ae1bc2fa
AS
61482011-11-07 Andreas Schwab <schwab@redhat.com>
6149
7583a88d
AS
6150 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6151 handler when locking.
6152
ae1bc2fa
AS
6153 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6154 Fix size of allocated buffer.
6155
10fb0bfa
AS
61562011-11-04 Andreas Schwab <schwab@redhat.com>
6157
998832a4
AS
6158 [BZ #10103]
6159 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6160 declarations for long double functions.
6161 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6162
10fb0bfa
AS
6163 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6164
3d7ba52b
AS
61652011-11-03 Andreas Schwab <schwab@redhat.com>
6166
a9ae54a1
AS
6167 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6168 installed.
6169
3d7ba52b
AS
6170 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6171 is disabled.
6172
bc8db248
ST
61732011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6174
6175 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6176
45b96dd6
AS
61772011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6178
647776f6
AS
6179 * include/alloca.h (stackinfo_alloca_round): Define.
6180 (extend_alloca): Use it.
6181 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6182 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6183 here.
6184
d91a8b93
AS
6185 * scripts/check-local-headers.sh: Ignore libaudit.h.
6186
45b96dd6
AS
6187 * nscd/Makefile (extra-objs): Make recursively expanded.
6188
432d41ce
UD
61892011-11-01 Ulrich Drepper <drepper@gmail.com>
6190
34372fc6
UD
6191 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6192 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6193
fadb59f8
UD
6194 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6195 * posix/tst-rfc3484-2.c: Likewise.
6196 * posix/tst-rfc3484-3.c: Likewise.
6197
78239589
UD
6198 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6199 process_vm_writev.
6200 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6201 process_vm_writev.
6202 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6203 process_vm_writev from libc using GLIBC_2.15 version.
6204
432d41ce
UD
6205 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6206
02f9c6cf
PP
62072011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6208
6209 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6210 stack usage.
6211
3a2c0242
UD
62122011-10-31 Ulrich Drepper <drepper@gmail.com>
6213
f4ec4833
UD
6214 [BZ #13367]
6215 * nss/getent.c (initgroups_keys): Show error message in case no group
6216 names are given.
6217
3a2c0242
UD
6218 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6219 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6220 __bump_nl_timestamp.
6221 * nscd/connections (nscd_init): When host database is served open
6222 netlink socket and request notification about configuration changes.
6223 (main_loop_poll): Track netlink file descriptor and bump timestamp
6224 in case data becomes available.
6225 (main_loop_epoll): Likewise.
6226 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6227 (database_pers_head): Add extra_data fileds.
6228 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6229 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6230 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6231 Adjust caller.
6232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6233 in6ai data, call __free_in6ai.
6234 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6235 Add -DHAVE_NETLINK.
6236 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6237 interface information. Reuse previous data if netlink timestamp
6238 is not changed.
6239 (__bump_nl_timestamp): New function.
6240 (__free_in6ai): New function.
6241
636064eb
UD
62422011-10-30 Ulrich Drepper <drepper@gmail.com>
6243
6244 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6245 close_not_cancel_no_status here.
6246 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6247
9beb2334
UD
62482011-10-29 Ulrich Drepper <drepper@gmail.com>
6249
6ef76f3b
UD
6250 [BZ #13276]
6251 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6252 return value.
6253
0ffc4f3e 6254 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6255 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6256 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6257
cb95113e
UD
62582011-07-03 Andreas Jaeger <aj@suse.de>
6259
6260 [BZ #10709]
6261 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6262 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6263 * math/libm-test.inc (sin_test): Add test case.
6264
a1b560ff
UD
62652011-10-29 Ulrich Drepper <drepper@gmail.com>
6266
c9aaface
UD
6267 [BZ #13337]
6268 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6269 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6270
d272e7f1
UD
6271 * elf/chroot_canon.c (chroot_canon): Cleanups.
6272
1bc33071
UD
6273 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6274
1760874d
TJ
6275 [BZ #13335]
6276 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6277 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6278
51d91b18
UD
6279 * string/test-strchr.c: Make usable for strchrnul testing.
6280 * string/test-strchrnul.c: New file.
6281 * string/Makefile (strop-tests): Add strchrnul.
6282
a1b560ff 6283 * po/it.po: Update from translation team.
b611fb81 6284 * po/es.po: Likewise.
a1b560ff 6285
a5b81e1f
UD
62862011-10-28 Ulrich Drepper <drepper@gmail.com>
6287
fd52bc6d
UD
6288 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6289 the three constants needed as parameters. Drop the others.
6290 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6291 __m128i_strloadu_tolower.
52e4b9eb
UD
6292 Create and initialize variable zero and use it in all the places
6293 where _mm_setzero_si128 was used.
fd52bc6d 6294
a5b81e1f
UD
6295 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6296 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6297 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6298 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6299 anymore.
6300 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6301 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6302 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6303 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6304 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6305 __mpranred, __mptan.
6306 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6307 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6308 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6309 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6310 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6311 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6312 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6313 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6314 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6315
b4343346
AS
63162011-10-28 Andreas Schwab <schwab@redhat.com>
6317
0c92d8a8
AS
6318 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6319 redefine if SHARED.
6320 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6321
b4343346
AS
6322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6323 wide char related routines to wcsmbs subdir.
6324
3871f58f
AS
63252011-10-27 Andreas Schwab <schwab@redhat.com>
6326
6327 [BZ #13344]
6328 * misc/sys/cdefs.h (__THROWNL): Define.
6329 * posix/unistd.h: Use __THREADNL instead of __THREAD
6330 for memory synchronization functions.
6331
94d44d9f
RM
63322011-10-26 Roland McGrath <roland@hack.frob.com>
6333
21b64b15 6334 [BZ #13349]
94d44d9f
RM
6335 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6336 doesn't exist.
6337 * manual/stdio.texi (Obstack Streams): Node removed.
6338
f6ce9294
AS
63392011-10-26 Andreas Schwab <schwab@redhat.com>
6340
80479147
AS
6341 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6342 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6343 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6344
f6ce9294
AS
6345 * math/math_private.h (math_force_eval): Allow non-addressable
6346 arguments.
6347 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6348
618280a1
UD
63492011-10-25 Ulrich Drepper <drepper@gmail.com>
6350
e0016b11
UD
6351 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6352 file is not needed.
6353
6354 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6355 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6356 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6357 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6358 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6359 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6360 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6361 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6362 Add AVX variants.
6363 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6364 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6365 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6366 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6367 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6368 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6369 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6370 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6371 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6372 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6373 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6374 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6375 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6376 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6377 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6378 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6379 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6380 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6381 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6382
6383 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6384 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6385
618280a1
UD
6386 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6387 place. Use VEX encoding when compiling for AVX.
6388
37822576
AS
63892011-10-25 Andreas Schwab <schwab@redhat.com>
6390
1f1e1947
AS
6391 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6392 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6393
37822576
AS
6394 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6395
31ea014d
UD
63962011-10-25 Ulrich Drepper <drepper@gmail.com>
6397
d7826aa1 6398 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6399 useless if() expression.
d7826aa1
UD
6400 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6401 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6402 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6407 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6408 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6409 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6410 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6411 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6412 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6413 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6414 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6415 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6416 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6418 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6419
31ea014d
UD
6420 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6421
16437fec
AS
64222011-10-25 Andreas Schwab <schwab@redhat.com>
6423
6424 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6425 condition.
6426 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6427
31d3cc00
UD
64282011-10-25 Ulrich Drepper <drepper@gmail.com>
6429
6430 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6431 .text section. Avoid duplicate constants.
6432 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6442 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6444 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6445 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6447 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6448 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6449 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6450 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6451 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6452 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6455 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6456 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6457 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6458 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6459 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6460 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6461 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6462 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6463 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6464 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6465 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6466 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6467 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6468 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6470 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6471 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6472 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6474 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6475 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6476 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6477
58985aa9
UD
64782011-10-24 Ulrich Drepper <drepper@gmail.com>
6479
202c9deb
UD
6480 * sysdeps/x86_64/dla.h: Move to ...
6481 * sysdeps/x86_64/fpu/dla.h: ...here.
6482 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6483 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6484
af968f62
UD
6485 * config.make.in: Add have-mfma4 entry.
6486 * configure.in: Substitute libc_cv_cc_fma4.
6487 * math/Makefile (dbl-only-routines): Add sincostab.
6488 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6489 Use __sincostab not sincos.
6490 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6491 name is a macro.
6492 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6496 using __copysign.
6497 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6498 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6499 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6500 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6501 and __inv.
6502 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6503 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6504 __copysign.
6505 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6506 define aliases when function name is a macro.
6507 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6508 sysdeps/ieee754/dbl-64/sincos.tbl.
6509 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6510 fma4-enabled routines.
6511 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6512 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6513 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6514 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6515 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6516 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6517 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6518 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6519 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6520 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6521 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6522 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6523 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6524 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6525 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6526 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6527 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6528 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6529 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6530 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6531 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6532 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6533 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6534 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6535 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6536 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6537 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6538 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6539 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6540 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6541
58985aa9
UD
6542 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6543 rename.
6544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6552
a201fbcf
AS
65532011-10-24 Andreas Schwab <schwab@redhat.com>
6554
6555 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6556
fc2ee42a
LD
65572011-10-23 Ulrich Drepper <drepper@gmail.com>
6558
bb3129bd
UD
6559 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6560
0275fff8
UD
6561 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6562 prediction.
6563 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6564
2fa2ae85
UD
6565 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6566 Remove unused variable magic_bits.
6567 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6568
fc2ee42a
LD
6569 * string/strnlen.c: Define and use STRNLEN macro.
6570 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6571 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6572 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6573 * wcsmbs/wcslen.c: Define and use WCSLEN.
6574 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6575 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6576 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6577 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6578 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6579 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6580 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6581
ce7dd29f
LD
65822011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6583
6584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6585 strnlen-sse2-no-bsf.
6586 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6587 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6588 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6589 Add strnlen support.
6590 (USE_AS_STRNLEN): New macro.
6591 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6592 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6593 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6594 * sysdeps/x86_64/wcslen.S: New file.
6595
979c70a3
MZ
65962011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6597
6598 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6599 XMM-moves are used for copying on small sizes.
6600
2d09f82f
LD
66012011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6602
6603 * wcsmbs/Makefile (strop-tests): Add wcschr.
6604 * wcsmbs/test-wcschr.c: New file.
6605 * string/test-strchr.c: Update.
6606 Add wcschr support.
6607 (WIDE): New macro.
6608
619fccca
LD
66092011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6610
2d09f82f 6611 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6612 * wcsmbs/test-wcslen.c: New file.
6613 * string/test-strlen.c: Update.
6614 Add wcslen support.
6615 (WIDE): New macro.
6616
09f699ea
UD
66172011-10-23 Ulrich Drepper <drepper@gmail.com>
6618
6619 * po/it.po: Update from translation team.
6620
95584d3b
LD
66212011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6622
6623 * sysdeps/x86_64/wcscmp.S: Update.
6624 Fix wrong comparison semantics.
6625 wcscmp shall use signed comparison not unsigned.
6626 Don't use substraction to avoid overflow bug.
6627 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6628 * wcsmbc/wcscmp.c: Likewise.
6629 * string/test-strcmp.c: Likewise.
6630 Add new tests to check cases with negative values.
6631
c8b3296b
UD
66322011-10-23 Ulrich Drepper <drepper@gmail.com>
6633
6634 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6635 * sysdeps/x86_64/dla.h: ...here. New file.
6636 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6637 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6645
246ad57a
AS
66462011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6647
6648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6649 __ynl_finite aliases.
6650
a1a87169
UD
66512011-10-22 Ulrich Drepper <drepper@gmail.com>
6652
0d355eb7
UD
6653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6654
a1a87169
UD
6655 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6656 define DLA_FMA.
6657 [DLA_FMA] (EMULV): Use DLA_FMA.
6658 [DLA_FMA] (MUL12): Use EMULV.
6659 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6660 that are not needed.
6661 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6668
ee2aafe0
AS
66692011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6670
6671 * math/s_nan.c: Undef __nan.
6672 * math/s_nanf.c: Undef __nanf.
6673 * math/s_nanl.c: Undef __nanl.
6674 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6675 "math_private.h".
6676
bc62c2fb
UD
66772011-10-22 Ulrich Drepper <drepper@gmail.com>
6678
77425c63
UD
6679 * math/s_catan.c: Add branch predictions.
6680 * math/s_catanf.c: Likewise.
6681 * math/s_catanh.c: Likewise.
6682 * math/s_catanhf.c: Likewise.
6683 * math/s_catanhl.c: Likewise.
6684 * math/s_catanl.c: Likewise.
6685 * math/s_cexp.c: Likewise.
6686 * math/s_cexpf.c: Likewise.
6687 * math/s_cexpl.c: Likewise.
6688 * math/s_clog.c: Likewise.
6689 * math/s_clog10.c: Likewise.
6690 * math/s_clog10f.c: Likewise.
6691 * math/s_clog10l.c: Likewise.
6692 * math/s_clogf.c: Likewise.
6693 * math/s_clogl.c: Likewise.
6694 * math/s_csqrt.c: Likewise.
6695 * math/s_csqrtf.c: Likewise.
6696 * math/s_csqrtl.c: Likewise.
6697 * math/s_ctanf.c: Likewise.
6698 * math/s_ctanh.c: Likewise.
6699 * math/s_ctanhf.c: Likewise.
6700 * math/s_ctanhl.c: Likewise.
6701 * math/s_ctanl.c: Likewise.
6702
bc62c2fb
UD
6703 * math/math_private.h: Define __nan, __nanf, __nanl.
6704 * math/s_cacosh.c: Include <math_private.h>.
6705 * math/s_cacoshl.c: Likewise.
6706 * math/s_casinh.c: Likewise.
6707 * math/s_casinhf.c: Likewise.
6708 * math/s_casinhl.c: Likewise.
6709 * math/s_ccos.c: Rely entire on ccosh.
6710 * math/s_ccosf.c: Rely entire on ccoshf.
6711 * math/s_ccosl.c: Rely entirely on ccoshl.
6712 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6713 Remove tests for FE_INVALID.
6714 * math/s_ccoshf.c: Likewise.
6715 * math/s_ccoshl.c: Likewise.
6716 * math/s_csin.c: Likewise.
6717 * math/s_csinf.c: Likewise.
6718 * math/s_csinh.c Likewise.
6719 * math/s_csinhf.c: Likewise.
6720 * math/s_csinhl.c: Likewise.
6721 * math/s_csinl.c: Likewise.
6722 * math/s_ctan.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6724 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6725 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6726
8ec250a4
UD
67272011-10-21 Ulrich Drepper <drepper@gmail.com>
6728
c196fed8
UD
6729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6730 compilation problems.
6731
8ec250a4
UD
6732 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6733 __builtin_expect.
6734
8d4f46c6
UD
67352011-10-20 Ulrich Drepper <drepper@gmail.com>
6736
ed72b654
UD
6737 * sysdeps/i386/configure.in: Test for -mfma4 option.
6738 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6739 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6740 COMMON_CPUID_INDEX_80000001.
6741 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6742 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6743 use it if FMA3 is not supported.
6744 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6745
8d4f46c6
UD
6746 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6747 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6748
d45c60c2
AS
67492011-10-20 Andreas Schwab <schwab@redhat.com>
6750
6751 [BZ #12892]
6752 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6753 it would create a cycle with a link time dependency.
6754
d9a4d2ab
UD
67552011-10-19 Ulrich Drepper <drepper@gmail.com>
6756
855d1560
UD
6757 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6758 instruction.
6759 * string/Makefile (strop-tests): Add rawmemchr.
6760 * string/test-rawmemchr.c: New file.
6761
d9a4d2ab
UD
6762 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6764 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6765 when compiling str{,n}casecmp and when AVX is available. Hook up
6766 new optimized code in initializers.
6767
8f3b1ffe
AS
67682011-10-19 Andreas Schwab <schwab@redhat.com>
6769
6770 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6771 __feraiseexcept instead of feraiseexcept.
6772
d38f1dba
UD
67732011-10-18 Ulrich Drepper <drepper@gmail.com>
6774
d9a8d0ab
UD
6775 * math/math_private.h: Define defaults for libc_fetestexcept and
6776 libc_feupdateenv.
6777 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6778 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6779 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6780 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6781 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6782 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6783 libc_fetestexcept and libc_feupdateenv.
6784
4855e3dd
UD
6785 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6786 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6787 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6788 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6789 libc_feholdexcept_setround.
6790
581d30e3
UD
6791 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6792 Add s_nearbyint-c and s_nearbyintf-c.
6793 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6794 nearbyintf inlines.
6795 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6796 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6797 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6799
d38f1dba
UD
6800 * math/math_private.h: Define defaults for libc_fegetround,
6801 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6802 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6803 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6804 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6805 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6806 standard functions.
6807 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6808 Remove comments and hacks for old compiler versions.
6809 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6810 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6811 libc_feholdexceptl.
6812
caa6c9d8
AS
68132011-10-18 Andreas Schwab <schwab@redhat.com>
6814
6815 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6816 (__feraiseexcept_renamed): Add __NTH.
6817 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6818 namespace violations.
6819
97c066e6
UD
68202011-10-17 Ulrich Drepper <drepper@gmail.com>
6821
99ce7b04
UD
6822 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6823
1004d182
UD
6824 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6825
228a984d
UD
6826 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6827 recently added interfaces.
6828 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6829
c8553a6a
UD
6830 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6831 about macro parameter expansion.
6832
ed22dcf6
UD
6833 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6834 __NO_MATH_INLINES is defined. Cleanups.
6835
6836 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6837 and __floorf is target has SSE4.1.
6838 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6839 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6840 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6841 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6842
b171c137
UD
6843 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6844 name.
6845 (floorf): Likewise.
6846
97c066e6
UD
6847 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6848
629f62ef
AS
68492011-10-17 Andreas Schwab <schwab@redhat.com>
6850
49a43d80
AS
6851 * misc/sys/cdefs.h: Fix last change.
6852
629f62ef
AS
6853 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6854 database lookup.
6855
e453f6cd
UD
68562011-10-16 Ulrich Drepper <drepper@gmail.com>
6857
aa78043a
UD
6858 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6859
ad0f5cad
UD
6860 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6862 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6863 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6864 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6865 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6866 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6867 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6868 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6869 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6870 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6871 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6872 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6873 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6874 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6875 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6876 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6877 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6878 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6879 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6880 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6881 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6882
6883 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6884 ceil, ceilf, floor, floorf.
6885
6886 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6887 Perform IRELATIVE relocations last.
6888
e453f6cd
UD
6889 * elf/do-rel.h: Add another parameter nrelative, replacing the
6890 local variable with the same name. Change name of the function
6891 to end in Rel or Rela (uppercase).
6892 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6893 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6894 elf_dynamic_do_##reloc function.
6895
fd5bdc09
UD
68962011-10-15 Ulrich Drepper <drepper@gmail.com>
6897
79b195b5
UD
6898 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6899 is sufficient, at least on modern CPUs.
6900
d4a28569
UD
6901 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6902
b61099b5
UD
6903 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6904 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6905
bcf01e6d
UD
6906 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6907 __expl_finite.
6908 * math/bits/math-finite.h: Add entries for exp.
6909 * math/e_expl.c: Add __*_finite alias.
6910 * sysdeps/i386/fpu/e_exp.S: Likewise.
6911 * sysdeps/i386/fpu/e_expf.S: Likewise.
6912 * sysdeps/i386/fpu/e_expl.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6914 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6917 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6918 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6919 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6920
ba1a0d59
UD
6921 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6922 is sufficient, at least on modern CPUs.
6923
fd5bdc09
UD
6924 * ctype/ctype-info.c (__ctype_init): Define.
6925 * include/ctype.h (__ctype_init): Declare.
6926 (__ctype_b_loc): The variable is always initialized.
6927 (__ctype_toupper_loc): Likewise.
6928 (__ctype_tolower_loc): Likewise.
6929 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6930 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6931
7872cfb0
AS
69322011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6933
b468825a
AS
6934 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6935
7872cfb0
AS
6936 * configure.in: Also look in $cxxmachine/include for C++ system
6937 headers.
6938
be13f7bf
LD
69392011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6940
6941 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6942 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6943 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6944 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6945 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6946 (USE_AS_WMEMCMP): New macro.
6947 Fixing indents.
6948 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6949 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6950 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6951 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6953 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6954 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6955 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6956 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6957 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6958 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6959 (USE_AS_WMEMCMP): New macro.
6960 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6961 * sysdeps/string/test-memcmp.c: Update.
6962 Fix simple_wmemcmp.
6963 Add new tests.
6964 * wcsmbs/wmemcmp.c: Update.
6965 (WMEMCMP): New macro.
6966 Fix overflow bug.
6967
556a2007
AJ
69682011-10-12 Andreas Jaeger <aj@suse.de>
6969
6970 [BZ #13268]
6971 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6972
538faaa7
UD
69732011-10-15 Ulrich Drepper <drepper@gmail.com>
6974
ab6737ff
UD
6975 * libio/iofwide.c (do_length): Avoid warning.
6976
538faaa7
UD
6977 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6978
396a21b1
UD
69792011-10-14 Ulrich Drepper <drepper@gmail.com>
6980
cdf2901f
UD
6981 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6982
38ad40ce
UD
6983 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6984 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6985 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6986 * sysdeps/i386/i686/fpu/e_log.S: New file.
6987 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6988 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6989
396a21b1
UD
6990 * ctype/ctype.h: Add support for inlined isXXX functions when
6991 compiling C++ code.
6992
6b1f68c9
AS
69932011-10-14 Andreas Schwab <schwab@redhat.com>
6994
349290c0
AS
6995 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6996
6b1f68c9
AS
6997 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6998
f2282d42
RM
69992011-10-13 Roland McGrath <roland@hack.frob.com>
7000
7001 [BZ #13291]
7002 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7003
5298ffa8
AS
70042011-10-13 Andreas Schwab <schwab@redhat.com>
7005
714fad23
AS
7006 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7007 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7008 feraiseexcept.
7009
81dcc7fb
AS
7010 * sysdeps/x86_64/memrchr.S: Check for zero size.
7011
5298ffa8
AS
7012 * string/stratcliff.c: Add memrchr tests.
7013
951fbcec
LD
70142011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7015
7016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7017 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7018 rawmemchr-sse2 rawmemchr-sse2-bsf.
7019 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7020 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7021 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7022 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7023 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7024 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7025 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7026 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7027 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7028 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7029 * string/memrchr.c (MEMRCHR): New macro.
7030
0ac5ae23
UD
70312011-10-12 Ulrich Drepper <drepper@gmail.com>
7032
7033 Add integration with gcc's -ffinite-math-only and optimize wrapper
7034 functions in libm.
7035 * Versions.def: Define GLIBC_2.15 version for libm.
7036 * math/Makefile (headers): Add bits/math-finite.h.
7037 * math/bits/math-finite.h: New file.
7038 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7039 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7040 * math/e_acoshl.c: Add __*_finite alias.
7041 * math/e_acosl.c: Likewise.
7042 * math/e_asinl.c: Likewise.
7043 * math/e_atan2l.c: Likewise.
7044 * math/e_atanhl.c: Likewise.
7045 * math/e_coshl.c: Likewise.
7046 * math/e_exp10.c: Likewise.
7047 * math/e_exp10f.c: Likewise.
7048 * math/e_exp10l.c: Likewise.
7049 * math/e_exp2l.c: Likewise.
7050 * math/e_fmodl.c: Likewise.
7051 * math/e_gammal_r.c: Likewise.
7052 * math/e_hypotl.c: Likewise.
7053 * math/e_j0l.c: Likewise.
7054 * math/e_j1l.c: Likewise.
7055 * math/e_jnl.c: Likewise.
7056 * math/e_lgammal_r.c: Likewise.
7057 * math/e_log10l.c: Likewise.
7058 * math/e_log2l.c: Likewise.
7059 * math/e_logl.c: Likewise.
7060 * math/e_powl.c: Likewise.
7061 * math/e_sinhl.c: Likewise.
7062 * math/e_sqrtl.c: Likewise.
7063 * math/e_scalb.c: Completely rewritten and optimized.
7064 * math/e_scalbf.c: Likewise.
7065 * math/e_scalbl.c: Likewise.
7066 * math/w_acos.c: Likewise.
7067 * math/w_acosf.c: Likewise.
7068 * math/w_acosl.c: Likewise.
7069 * math/w_acosh.c: Likewise.
7070 * math/w_acoshf.c: Likewise.
7071 * math/w_acoshl.c: Likewise.
7072 * math/w_asin.c: Likewise.
7073 * math/w_asinf.c: Likewise.
7074 * math/w_asinl.c: Likewise.
7075 * math/w_atan2.c: Likewise.
7076 * math/w_atan2f.c: Likewise.
7077 * math/w_atan2l.c: Likewise.
7078 * math/w_atanh.c: Likewise.
7079 * math/w_atanhf.c: Likewise.
7080 * math/w_atanhl.c: Likewise.
7081 * math/w_exp10.c: Likewise.
7082 * math/w_exp10f.c: Likewise.
7083 * math/w_exp10l.c: Likewise.
7084 * math/w_fmod.c: Likewise.
7085 * math/w_fmodf.c: Likewise.
7086 * math/w_fmodl.c: Likewise.
7087 * math/w_j0.c: Likewise.
7088 * math/w_j0f.c: Likewise.
7089 * math/w_j0l.c: Likewise.
7090 * math/w_j1.c: Likewise.
7091 * math/w_j1f.c: Likewise.
7092 * math/w_j1l.c: Likewise.
7093 * math/w_jn.c: Likewise.
7094 * math/w_jnf.c: Likewise.
7095 * math/w_log.c: Likewise.
7096 * math/w_logf.c: Likewise.
7097 * math/w_logl.c: Likewise.
7098 * math/w_log10.c: Likewise.
7099 * math/w_log10f.c: Likewise.
7100 * math/w_log10l.c: Likewise.
7101 * math/w_log2.c: Likewise.
7102 * math/w_log2f.c: Likewise.
7103 * math/w_log2l.c: Likewise.
7104 * math/w_pow.c: Likewise.
7105 * math/w_powf.c: Likewise.
7106 * math/w_powl.c: Likewise.
7107 * math/w_remainder.c: Likewise.
7108 * math/w_remainderf.c: Likewise.
7109 * math/w_remainderl.c: Likewise.
7110 * math/w_scalb.c: Likewise.
7111 * math/w_scalbf.c: Likewise.
7112 * math/w_scalbl.c: Likewise.
7113 * math/w_sqrt.c: Likewise.
7114 * math/w_sqrtf.c: Likewise.
7115 * math/w_sqrtl.c: Likewise.
7116 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7117 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7118 used.
7119 * math/math_private.h: Declare __kernel_standard_f.
7120 * math/w_cosh.c: Remove cruft and optimize a bit.
7121 * math/w_coshf.c: Likewise.
7122 * math/w_coshl.c: Likewise.
7123 * math/w_exp2.c: Likewise.
7124 * math/w_exp2f.c: Likewise.
7125 * math/w_exp2l.c: Likewise.
7126 * math/w_hypot.c: Likewise.
7127 * math/w_hypotf.c: Likewise.
7128 * math/w_hypotl.c: Likewise.
7129 * math/w_lgamma.c: Likewise.
7130 * math/w_lgamma_r.c: Likewise.
7131 * math/w_lgammaf.c: Likewise.
7132 * math/w_lgammaf_r.c: Likewise.
7133 * math/w_lgammal.c: Likewise.
7134 * math/w_lgammal_r.c: Likewise.
7135 * math/w_sinh.c: Likewise.
7136 * math/w_sinhf.c: Likewise.
7137 * math/w_sinhl.c: Likewise.
7138 * math/w_tgamma.c: Likewise.
7139 * math/w_tgammaf.c: Likewise.
7140 * math/w_tgammal.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7143 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7144 Minor optimizations. Pretty printing. Remove cruft.
7145 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7146 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7147 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7148 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7149 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7150 * sysdeps/i386/fpu/e_asin.S: Likewise.
7151 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7152 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7153 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7154 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7155 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7156 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7157 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7158 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7159 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7160 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7161 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7162 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7163 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7164 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7165 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7166 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7167 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7168 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7169 * sysdeps/i386/fpu/e_log.S: Likewise.
7170 * sysdeps/i386/fpu/e_log10.S: Likewise.
7171 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7172 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7173 * sysdeps/i386/fpu/e_log2.S: Likewise.
7174 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7175 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7176 * sysdeps/i386/fpu/e_logf.S: Likewise.
7177 * sysdeps/i386/fpu/e_logl.S: Likewise.
7178 * sysdeps/i386/fpu/e_pow.S: Likewise.
7179 * sysdeps/i386/fpu/e_powf.S: Likewise.
7180 * sysdeps/i386/fpu/e_powl.S: Likewise.
7181 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7182 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7183 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7184 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7185 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7186 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7187 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7188 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7189 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7190 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7191 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7193 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7194 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7195 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7196 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7197 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7198 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7199 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7200 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7201 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7202 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7203 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7204 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7206 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7207 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7210 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7211 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7212 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7213 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7214 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7215 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7216 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7217 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7218 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7219 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7220 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7221 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7222 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7223 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7224 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7225 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7226 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7227 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7228 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7229 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7230 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7231 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7244 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7270 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7273 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7275 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7276 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7278 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7281 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7282 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7283 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7284 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7285 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7286 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7287 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7288 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7289 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7290 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7291 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7292 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7293 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7294 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7295 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7296 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7297 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7298 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7299 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7300 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7301 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7302 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7303 (__isnanf): Likewise.
7304 (__isinf_ns): Likewise.
7305 (__isinf_nsf): Likewise.
7306 (__finite): Likewise.
7307 (__finitef): Likewise.
7308 (__ieee754_sqrt): Define as macro.
7309 (__ieee754_sqrtf): Define as macro.
7310 (__ieee754_sqrtl): Define as macro.
7311 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7312 inlined copy.
7313 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7314 __FINITE_MATH_ONLY__ consistent.
7315 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7316
12cc2fcd
AS
73172011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7318
a843a204
AS
7319 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7320 of rawmemchr.
7321
12cc2fcd
AS
7322 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7323
c853acd5
UD
73242011-10-09 Ulrich Drepper <drepper@gmail.com>
7325
7326 * po/ja.po: Update from translation team.
7327
c658d255
RM
73282011-10-08 Roland McGrath <roland@hack.frob.com>
7329
110946e4
RM
7330 * locale/programs/locarchive.c (prepare_address_space): New function.
7331 (create_archive, enlarge_archive, open_archive): Use it.
7332
50604220
RM
7333 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7334 inside [SHARED], where it is used.
7335
c658d255
RM
7336 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7337
7338 * nss/getent.c (netgroup_keys): Remove unused variable.
7339 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7340
6a621eb7
UD
73412011-10-08 Ulrich Drepper <drepper@gmail.com>
7342
7edb55ce
UD
7343 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7344 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7346 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7347 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7348 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7349 * math/Makefile (libm-calls): Add s_isinf_ns.
7350 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7351 * math/multc3.c: Likewise.
7352 * math/s_casin.c: Likewise.
7353 * math/s_casinf.c: Likewise.
7354 * math/s_casinl.c: Likewise.
7355 * math/s_ccos.c: Likewise.
7356 * math/s_ccosf.c: Likewise.
7357 * math/s_ccosl.c: Likewise.
7358 * math/s_ctan.c: Likewise.
7359 * math/s_ctanf.c: Likewise.
7360 * math/s_ctanh.c: Likewise.
7361 * math/s_ctanhf.c: Likewise.
7362 * math/s_ctanhl.c: Likewise.
7363 * math/s_ctanl.c: Likewise.
7364 * math/w_fmod.c: Likewise.
7365 * math/w_fmodf.c: Likewise.
7366 * math/w_fmodl.c: Likewise.
7367 * math/w_remainder.c: Likewise.
7368 * math/w_remainderf.c: Likewise.
7369 * math/w_remainderl.c: Likewise.
7370 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7371 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7372 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7374 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7375 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7376 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7377 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7378
187da0ae
UD
7379 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7380 of the number.
7381 * stdio-common/printf_fphex.c: Likewise.
7382 * stdio-common/printf_size.c: Likewise.
7383
9277c064
UD
7384 * math/e_exp10.c: Include math_private.h using <...> not "...".
7385 * math/e_exp10f.c: Likewise.
7386 * math/e_exp10l.c: Likewise.
7387 * math/e_exp2l.c: Likewise.
7388 * math/e_j0l.c: Likewise.
7389 * math/e_j1l.c: Likewise.
7390 * math/e_jnl.c: Likewise.
7391 * math/e_lgammal_r.c: Likewise.
7392 * math/e_rem_pio2l.c: Likewise.
7393 * math/e_scalb.c: Likewise.
7394 * math/e_scalbf.c: Likewise.
7395 * math/e_scalbl.c: Likewise.
7396 * math/k_cosl.c: Likewise.
7397 * math/k_sinl.c: Likewise.
7398 * math/k_tanl.c: Likewise.
7399 * math/s_cacoshf.c: Likewise.
7400 * math/s_catan.c: Likewise.
7401 * math/s_catanf.c: Likewise.
7402 * math/s_catanh.c: Likewise.
7403 * math/s_catanhf.c: Likewise.
7404 * math/s_catanhl.c: Likewise.
7405 * math/s_catanl.c: Likewise.
7406 * math/s_ccosh.c: Likewise.
7407 * math/s_ccoshf.c: Likewise.
7408 * math/s_ccoshl.c: Likewise.
7409 * math/s_cexp.c: Likewise.
7410 * math/s_cexpf.c: Likewise.
7411 * math/s_cexpl.c: Likewise.
7412 * math/s_clog.c: Likewise.
7413 * math/s_clog10.c: Likewise.
7414 * math/s_clog10f.c: Likewise.
7415 * math/s_clog10l.c: Likewise.
7416 * math/s_clogf.c: Likewise.
7417 * math/s_clogl.c: Likewise.
7418 * math/s_csin.c: Likewise.
7419 * math/s_csinf.c: Likewise.
7420 * math/s_csinh.c: Likewise.
7421 * math/s_csinhf.c: Likewise.
7422 * math/s_csinhl.c: Likewise.
7423 * math/s_csinl.c: Likewise.
7424 * math/s_csqrt.c: Likewise.
7425 * math/s_csqrtf.c: Likewise.
7426 * math/s_csqrtl.c: Likewise.
7427 * math/s_ctan.c: Likewise.
7428 * math/s_ctanf.c: Likewise.
7429 * math/s_ctanh.c: Likewise.
7430 * math/s_ctanhf.c: Likewise.
7431 * math/s_ctanhl.c: Likewise.
7432 * math/s_ctanl.c: Likewise.
7433 * math/s_ldexp.c: Likewise.
7434 * math/s_ldexpf.c: Likewise.
7435 * math/s_ldexpl.c: Likewise.
7436 * math/s_significand.c: Likewise.
7437 * math/s_significandf.c: Likewise.
7438 * math/s_significandl.c: Likewise.
7439 * math/w_acos.c: Likewise.
7440 * math/w_acosf.c: Likewise.
7441 * math/w_acosh.c: Likewise.
7442 * math/w_acoshf.c: Likewise.
7443 * math/w_acoshl.c: Likewise.
7444 * math/w_acosl.c: Likewise.
7445 * math/w_asin.c: Likewise.
7446 * math/w_asinf.c: Likewise.
7447 * math/w_asinl.c: Likewise.
7448 * math/w_atan2.c: Likewise.
7449 * math/w_atan2f.c: Likewise.
7450 * math/w_atan2l.c: Likewise.
7451 * math/w_atanh.c: Likewise.
7452 * math/w_atanhf.c: Likewise.
7453 * math/w_atanhl.c: Likewise.
7454 * math/w_cosh.c: Likewise.
7455 * math/w_coshf.c: Likewise.
7456 * math/w_coshl.c: Likewise.
7457 * math/w_dremf.c: Likewise.
7458 * math/w_exp10.c: Likewise.
7459 * math/w_exp10f.c: Likewise.
7460 * math/w_exp10l.c: Likewise.
7461 * math/w_exp2.c: Likewise.
7462 * math/w_exp2f.c: Likewise.
7463 * math/w_fmod.c: Likewise.
7464 * math/w_fmodf.c: Likewise.
7465 * math/w_fmodl.c: Likewise.
7466 * math/w_hypot.c: Likewise.
7467 * math/w_hypotf.c: Likewise.
7468 * math/w_hypotl.c: Likewise.
7469 * math/w_j0.c: Likewise.
7470 * math/w_j0f.c: Likewise.
7471 * math/w_j0l.c: Likewise.
7472 * math/w_j1.c: Likewise.
7473 * math/w_j1f.c: Likewise.
7474 * math/w_j1l.c: Likewise.
7475 * math/w_jn.c: Likewise.
7476 * math/w_jnf.c: Likewise.
7477 * math/w_jnl.c: Likewise.
7478 * math/w_lgamma.c: Likewise.
7479 * math/w_lgamma_r.c: Likewise.
7480 * math/w_lgammaf.c: Likewise.
7481 * math/w_lgammaf_r.c: Likewise.
7482 * math/w_lgammal.c: Likewise.
7483 * math/w_lgammal_r.c: Likewise.
7484 * math/w_log.c: Likewise.
7485 * math/w_log10.c: Likewise.
7486 * math/w_log10f.c: Likewise.
7487 * math/w_log10l.c: Likewise.
7488 * math/w_log2.c: Likewise.
7489 * math/w_log2f.c: Likewise.
7490 * math/w_log2l.c: Likewise.
7491 * math/w_logf.c: Likewise.
7492 * math/w_logl.c: Likewise.
7493 * math/w_pow.c: Likewise.
7494 * math/w_powf.c: Likewise.
7495 * math/w_powl.c: Likewise.
7496 * math/w_remainder.c: Likewise.
7497 * math/w_remainderf.c: Likewise.
7498 * math/w_remainderl.c: Likewise.
7499 * math/w_scalb.c: Likewise.
7500 * math/w_scalbf.c: Likewise.
7501 * math/w_scalbl.c: Likewise.
7502 * math/w_sinh.c: Likewise.
7503 * math/w_sinhf.c: Likewise.
7504 * math/w_sinhl.c: Likewise.
7505 * math/w_sqrt.c: Likewise.
7506 * math/w_sqrtf.c: Likewise.
7507 * math/w_sqrtl.c: Likewise.
7508 * math/w_tgamma.c: Likewise.
7509 * math/w_tgammaf.c: Likewise.
7510 * math/w_tgammal.c: Likewise.
7511
6a621eb7
UD
7512 * po/ja.po: Update from translation team.
7513
bf582445
AJ
75142011-09-29 Andreas Jaeger <aj@suse.de>
7515
f9efbf3a
AJ
7516 [BZ #13179]
7517 * sunrpc/netname.c (netname2host): Fix logic.
7518
bf582445
AJ
7519 [BZ #6779]
7520 [BZ #6783]
7521 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7522 correctly.
7523 * math/w_remainder.c (__remainder): Likewise.
7524 * math/w_remainderf.c (__remainderf): Likewise.
7525 * math/libm-test.inc (remainder_test): Add test cases.
7526
48693bea
AK
75272011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7528
7529 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7530 sdiv_qrnnd.
7531
42622229
LD
75322011-10-07 Ulrich Drepper <drepper@gmail.com>
7533
7534 * string/test-memcmp.c: Avoid unncessary #defines.
7535 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7536
093ecf92
LD
75372011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7538
7539 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7540 Use new sse2 version for core i3 - i7 as it's faster
7541 than sse42 version.
7542 (bit_Prefer_PMINUB_for_stringop): New.
7543 * sysdeps/x86_64/rawmemchr.S: Update.
7544 Replace with faster SSE2 version.
7545 * sysdeps/x86_64/memrchr.S: New file.
7546 * sysdeps/x86_64/memchr.S: Update.
7547 Replace with faster SSE2 version.
7548
fde56e5c
MP
75492011-09-12 Marek Polacek <mpolacek@redhat.com>
7550
7551 * elf/dl-load.c (lose): Add cast to avoid warning.
7552
21fd49a9
UD
75532011-10-07 Ulrich Drepper <drepper@gmail.com>
7554
5a06e643
UD
7555 * po/ca.po: Update from translation team.
7556
684ae515
UD
7557 * inet/getnetgrent_r.c: Hook up nscd.
7558 * nscd/Makefile (routines): Add nscd_netgroup.
7559 (nscd-modules): Add netgroupcache.
7560 (CFLAGS-netgroupcache.c): Define.
7561 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7562 (cache_search): Add const to second parameter.
7563 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7564 INNETGR.
7565 (dbs): Add netgrdb entry.
7566 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7567 (verify_persistent_db): Handle netgrdb.
7568 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7569 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7570 GETFDNETGR.
7571 (netgroup_response_header): Define.
7572 (innetgroup_response_header): Define.
7573 (datahead): Add netgroup_response_header and innetgroup_response_header
7574 elements.
7575 * nscd/nscd.conf: Add entries for netgroup cache.
7576 * nscd/nscd.h (dbtype): Add netgrdb.
7577 (_PATH_NSCD_NETGROUP_DB): Define.
7578 (netgroup_iov_disabled): Declare.
7579 (xmalloc, xcalloc, xrealloc): Move declarations here.
7580 (cache_search): Adjust prototype.
7581 Add netgroup-related prototypes.
7582 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7583 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7584 (__nscd_innetgr): Declare.
7585 * nscd/selinux.c (perms): Use access_vector_t as element type and
7586 add netgroup-related initializers.
7587 * nscd/netgroupcache.c: New file.
7588 * nscd/nscd_netgroup.c: New file.
7589 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7590 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7591 For four parameters use innetgr.
7592 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7593 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7594 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7595 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7596
21fd49a9
UD
7597 * nscd/connections.c (register_traced_file): Don't register file
7598 for disabled databases.
7599
054c0457
UD
76002011-10-06 Ulrich Drepper <drepper@gmail.com>
7601
32b63198
UD
7602 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7603
054c0457
UD
7604 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7605 from tree and freeing node.
7606
64031225
JO
76072011-09-25 Jiri Olsa <jolsa@redhat.com>
7608
7609 * nss/nsswitch.c (__nss_database_lookup): Handle
7610 nss_parse_service_list out of memory case.
7611
0490345c
JO
76122011-09-15 Jiri Olsa <jolsa@redhat.com>
7613
7614 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7615 out of memory case.
7616
3a62d00d
AS
76172011-10-04 Andreas Schwab <schwab@redhat.com>
7618
7619 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7620 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7621 pass it down.
7622 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7623 elf_machine_rela, elf_machine_lazy_rel.
7624 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7625 (ELF_DYNAMIC_DO_REL): Likewise.
7626 (ELF_DYNAMIC_DO_RELA): Likewise.
7627 (ELF_DYNAMIC_RELOCATE): Likewise.
7628 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7629 to ELF_DYNAMIC_DO_REL.
7630 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7631 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7632 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7633 elf_machine_rela.
7634 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7635 skip_ifunc, don't call ifunc function if non-zero.
7636 (elf_machine_rela): Likewise.
7637 (elf_machine_lazy_rel): Likewise.
7638 (elf_machine_lazy_rela): Likewise.
7639 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7640 (elf_machine_lazy_rel): Likewise.
7641 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7642 Likewise.
7643 (elf_machine_lazy_rel): Likewise.
7644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7645 Likewise.
7646 (elf_machine_lazy_rel): Likewise.
7647 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7648 (elf_machine_lazy_rel): Likewise.
7649 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7650 (elf_machine_lazy_rel): Likewise.
7651 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7652 (elf_machine_lazy_rel): Likewise.
7653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7654 (elf_machine_lazy_rel): Likewise.
7655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7656 (elf_machine_lazy_rel): Likewise.
7657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7658 (elf_machine_lazy_rel): Likewise.
7659
68577918
UD
76602011-09-28 Ulrich Drepper <drepper@gmail.com>
7661
7662 * nss/nss_files/files-init.c (_nss_files_init): Use static
7663 initialization for all the *_traced_file variables.
7664
68822d74
AS
76652011-09-28 Andreas Schwab <schwab@redhat.com>
7666
7667 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7668
2056100b
RM
76692011-09-27 Roland McGrath <roland@hack.frob.com>
7670
7671 [BZ #13226]
7672 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7673
32c76b63
AS
76742011-09-27 Andreas Schwab <schwab@redhat.com>
7675
7676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7677 Reread the line before reparsing it.
7678
bf972c9d
AS
76792011-09-26 Andreas Schwab <schwab@redhat.com>
7680
7681 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7682
e057a1b5
JM
76832011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7684 Maxim Kuvyrkov <maxim@codesourcery.com>
7685 Joseph Myers <joseph@codesourcery.com>
7686
7687 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7688 if needed for __stack_chk_guard.
7689
bc7e1c36
RM
76902011-09-19 Roland McGrath <roland@hack.frob.com>
7691
ecb1482f
RM
7692 * sysdeps/posix/spawni.c (script_execute): Always define it.
7693 It will be optimized away if unused.
7694 (maybe_script_execute): New function.
7695 (__spawni): Call it.
7696
bc7e1c36
RM
7697 * Makerules: Don't include tls.make.
7698 (config-tls): Always set to thread.
7699 * tls.make.c: File removed.
7700
1c3b002b
MF
77012011-09-19 Mike Frysinger <vapier@gentoo.org>
7702
7703 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7704 * config.make.in (CPPFLAGS-config): New substituted variable.
7705
2840865d
UD
77062011-09-15 Ulrich Drepper <drepper@gmail.com>
7707
88738eb6
UD
7708 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7709
cbf645a6 7710 [BZ #13192]
2840865d
UD
7711 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7712 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7713
b402e91a
RM
77142011-09-15 Roland McGrath <roland@hack.frob.com>
7715
7716 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7717 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7718 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7719 (CALL_FAIL): Likewise.
7720 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7721 (CALL_FAIL): Macro removed.
7722 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7723
4c1a1f71
UD
77242011-09-15 Ulrich Drepper <drepper@gmail.com>
7725
7726 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7727 for __FINITE_MATH_ONLY__ == 1.
7728
edc121be
AS
77292011-09-15 Andreas Schwab <schwab@redhat.com>
7730
7731 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7732 __ieee754_sqrt instead of sqrt.
7733 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7734 __ieee754_sqrtf instead of sqrtf.
7735 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7736 __floorf instead of floorf.
7737 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7738 __floorf, __truncf instead of floorf, truncf.
7739
cd205654
UD
77402011-09-14 Ulrich Drepper <drepper@gmail.com>
7741
ee4d0315
UD
7742 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7743
cd205654
UD
7744 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7745 __extern_always_inline.
7746 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7747 32-bit.
7748
48b67d71
AS
77492011-09-14 Andreas Schwab <schwab@redhat.com>
7750
7751 * elf/rtld.c (dl_main): Also relocate in dependency order when
7752 doing symbol dependency testing.
7753
1ae12c75
AS
77542011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7755
7756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7757 Always define `refsym'.
7758
995a80df
AS
77592011-09-13 Andreas Schwab <schwab@redhat.com>
7760
e529793b
AS
7761 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7762 (__FD_ELT): Renamed from __FDELT.
7763 * misc/bits/select2.h (__FD_ELT): Likewise.
7764 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7765 __FD_MASK instead of __FDELT, __FDMASK.
7766 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7767 Likewise.
7768 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7769 Likewise.
7770
52d4fef8
AS
7771 * elf/Makefile (gen-ldd): Fix pattern.
7772
995a80df
AS
7773 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7774 (init_tls): Likewise.
7775
8682f8b0
UD
77762011-09-12 Ulrich Drepper <drepper@gmail.com>
7777
7778 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7779
de82006d
AS
77802011-09-12 Andreas Schwab <schwab@redhat.com>
7781
a7c8e6a1
AS
7782 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7783 `struct cmsghdr *' instead of `void *'.
7784 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7785 Likewise.
7786
0f31fe77
AS
77872011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7788
7789 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7790 if non-absolute.
7791 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7792 ldd_rewrite_script.
0f31fe77 7793
32b4c839
UD
77942011-09-11 Ulrich Drepper <drepper@gmail.com>
7795
83cd1420
UD
7796 * configure.in: Remove --with-tls option.
7797 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7798 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7799 out in case it is missing.
7800 * sysdeps/ia64/elf/configure.in: Likewise.
7801 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7802 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7803 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7804 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7805 * sysdeps/sh/elf/configure.in: Likewise.
7806 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7807 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7808 * sysdeps/x86_64/elf/configure.in: Likewise.
7809 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7810 * sysdeps/mach/hurd/tls.h: Likewise.
7811
633f745d
UD
7812 [BZ #13067]
7813 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7814
f318beb8
UD
7815 [BZ #13090]
7816 * configure.in: Fix use of AC_INIT.
7817
32b4c839
UD
7818 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7819
3ce1f295
UD
78202011-09-10 Ulrich Drepper <drepper@gmail.com>
7821
bb016596
UD
7822 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7823 __set_errno.
8e58439c
UD
7824 * malloc/hooks.c: Likewise.
7825
aebae053 7826 [BZ #11929]
02d46fc4
UD
7827 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7828 variables statically.
7829 (narenas): Initialize.
7830 (list_lock): Initialize.
bb016596
UD
7831 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7832 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7833 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7834 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7835 Add initializers to main_arena and mp_.
7836 (malloc_state): Remove pagesize member. Change all users to use
7837 GLRO(dl_pagesize).
7838
7839 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7840 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7841 is always initialized.
7842
22a89187
UD
7843 * malloc/malloc.c: Removed unused configurations and dead code.
7844 * malloc/arena.c: Likewise.
7845 * malloc/hooks.c: Likewise.
02d46fc4 7846 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7847
d063d164
UD
7848 * include/tls.h: Removed. USE___THREAD must always be defined.
7849 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7850 * elf/dl-libc.c: Likewise.
7851 * elf/dl-tsd.c: Likewise.
7852 * include/errno.h: Likewise.
7853 * include/netdb.h: Likewise.
7854 * include/resolv.h: Likewise.
7855 * inet/herrno-loc.c: Likewise.
7856 * inet/herrno.c: Likewise.
7857 * malloc/arena.c: Likewise.
7858 * malloc/hooks.c: Likewise.
7859 * malloc/malloc.c: Likewise.
7860 * resolv/res-state.c: Likewise.
7861 * resolv/res_libc.c: Likewise.
7862 * sysdeps/i386/dl-machine.h: Likewise.
7863 * sysdeps/ia64/dl-machine.h: Likewise.
7864 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7865 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7866 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7867 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7868 * sysdeps/sh/dl-machine.h: Likewise.
7869 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7870 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7871 * sysdeps/unix/i386/sysdep.S: Likewise.
7872 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7873 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7874 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7876 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7877 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7878 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7880 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7882 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7883 * sysdeps/x86_64/dl-machine.h: Likewise.
7884 * tls.make.c: Likewise.
7885
3ce1f295
UD
7886 * configure.in: Remove --with-__thread option. Make tests for
7887 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7888 tls_model attribute fail if no support is available. Remove
7889 USE_IN_LIBIO.
7890 * Makeconfig: Adjust for dropped configure option. All features are
7891 now mandatory.
7892 * Makerules: Likewise.
7893 * Versions.def: Likewise.
7894 * argp/argp-fmtstream.c: Likewise.
7895 * argp/argp-fmtstream.h: Likewise.
7896 * argp/argp-help.c: Likewise.
7897 * assert/assert.c: Likewise.
7898 * config.h.in: Likewise.
7899 * config.make.in: Likewise.
7900 * configure: Likewise.
7901 * configure.in: Likewise.
7902 * csu/Versions: Likewise.
7903 * csu/init.c: Likewise.
7904 * elf/tst-audit2.c: Likewise.
7905 * elf/tst-tls10.c: Likewise.
7906 * elf/tst-tls10.h: Likewise.
7907 * elf/tst-tls11.c: Likewise.
7908 * elf/tst-tls12.c: Likewise.
7909 * elf/tst-tls14.c: Likewise.
7910 * elf/tst-tlsmod11.c: Likewise.
7911 * elf/tst-tlsmod12.c: Likewise.
7912 * elf/tst-tlsmod13.c: Likewise.
7913 * elf/tst-tlsmod13a.c: Likewise.
7914 * elf/tst-tlsmod14a.c: Likewise.
7915 * elf/tst-tlsmod15b.c: Likewise.
7916 * elf/tst-tlsmod16a.c: Likewise.
7917 * elf/tst-tlsmod16b.c: Likewise.
7918 * elf/tst-tlsmod7.c: Likewise.
7919 * elf/tst-tlsmod8.c: Likewise.
7920 * elf/tst-tlsmod9.c: Likewise.
7921 * gmon/gmon.c: Likewise.
7922 * grp/fgetgrent_r.c: Likewise.
7923 * grp/putgrent.c: Likewise.
7924 * hurd/fopenport.c: Likewise.
7925 * include/libc-symbols.h: Likewise.
7926 * include/tls.h: Likewise.
7927 * intl/gettextP.h: Likewise.
7928 * intl/loadinfo.h: Likewise.
7929 * locale/global-locale.c: Likewise.
7930 * locale/localeinfo.h: Likewise.
7931 * mach/devstream.c: Likewise.
7932 * malloc/arena.c: Likewise.
7933 * malloc/set-freeres.c: Likewise.
7934 * misc/err.c: Likewise.
7935 * misc/getttyent.c: Likewise.
7936 * misc/mntent_r.c: Likewise.
7937 * posix/getopt.c: Likewise.
7938 * posix/wordexp.c: Likewise.
7939 * pwd/fgetpwent_r.c: Likewise.
7940 * resolv/Versions: Likewise.
7941 * resolv/res_hconf.c: Likewise.
7942 * shadow/fgetspent_r.c: Likewise.
7943 * shadow/putspent.c: Likewise.
7944 * stdio-common/printf_fphex.c: Likewise.
7945 * stdio-common/tmpfile.c: Likewise.
7946 * stdlib/abort.c: Likewise.
7947 * stdlib/fmtmsg.c: Likewise.
7948 * sunrpc/auth_unix.c: Likewise.
7949 * sunrpc/clnt_perr.c: Likewise.
7950 * sunrpc/clnt_tcp.c: Likewise.
7951 * sunrpc/clnt_udp.c: Likewise.
7952 * sunrpc/clnt_unix.c: Likewise.
7953 * sunrpc/openchild.c: Likewise.
7954 * sunrpc/svc_simple.c: Likewise.
7955 * sunrpc/svc_tcp.c: Likewise.
7956 * sunrpc/svc_udp.c: Likewise.
7957 * sunrpc/svc_unix.c: Likewise.
7958 * sunrpc/xdr.c: Likewise.
7959 * sunrpc/xdr_array.c: Likewise.
7960 * sunrpc/xdr_rec.c: Likewise.
7961 * sunrpc/xdr_ref.c: Likewise.
7962 * sunrpc/xdr_stdio.c: Likewise.
7963
1248c1c4
PB
79642011-09-09 Ulrich Drepper <drepper@gmail.com>
7965
7966 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7967
79682011-07-03 Andreas Jaeger <aj@suse.de>
7969
7970 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7971 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7972 regenerate with gen-libm-tests.pl.
7973
79742010-05-12 Petr Baudis <pasky@suse.cz>
7975
7976 [BZ #11589]
7977 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7978 around j0() zero points by switching to j1().
7979 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7980 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7981 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7982 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7983
f22e1074
UD
79842011-09-09 Ulrich Drepper <drepper@gmail.com>
7985
f19009c1
UD
7986 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7987 instead of 0.
7988 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7989 instead of 0. .
7990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7991 Patch in part by Pavel Roskin <proski@gnu.org>.
7992
3f8cc204
UD
7993 [BZ #13138]
7994 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7995 realloc.
7996 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7997 Free memory block if necessary.
7998
f22e1074
UD
7999 [BZ #12847]
8000 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8001 be NULL. Don't lock in this case.
8002
0a2349f9
RM
80032011-09-09 Roland McGrath <roland@hack.frob.com>
8004
8005 * elf/elf.h (ELFOSABI_GNU): New macro.
8006 (ELFOSABI_LINUX): Define to that.
8007
f3cdd467
DZ
80082011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8009
8010 * string/strncat.c (strncat): Undef the symbol in case it has been
8011 defined in bits/string.h.
8012
74718d13
UD
80132011-09-09 Ulrich Drepper <drepper@gmail.com>
8014
633e9e0f
UD
8015 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8016
0a2349f9 8017 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8018 link map.
8019
f9924780
AJ
80202011-08-17 Andreas Jaeger <aj@suse.de>
8021
8022 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8023
7f5517aa
PP
80242011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8025 Ian Lance Taylor <iant@google.com>
8026
8027 * math/libm-test.inc (lround_test): New testcase.
8028 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8029
762011fe
UD
80302011-09-08 Ulrich Drepper <drepper@gmail.com>
8031
92963737
UD
8032 * Makefile: Remove support for automatic cvs check-ins.
8033 * Makerules: Likewise.
8034 * config.make.in: Likewise.
8035 * configure.in: Likewise.
8036 * intl/Makefile: Likewise.
8037 * locale/Makefile: Likewise.
8038 * po/Makefile: Likewise.
8039 * posix/Makefile: Likewise.
8040 * sysdeps/gnu/Makefile: Likewise.
8041 * sysdeps/mach/hurd/Makefile: Likewise.
8042 * sysdeps/sparc/sparc32/Makefile: Likewise.
8043
b0727fd8
JS
8044 [BZ #13118]
8045 * posix/Makefile (bug-regex32-ENV): Define.
8046 Patch by John Stanley <jpsinthemix@verizon.net>.
8047
a0f33f99
UD
8048 * misc/Makefile (headers): Add bits/select2.h.
8049 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8050 * misc/bits/select2.h: New file.
8051 * include/bits/select2.h: New file.
8052 * debug/Makefile (routines): Add fdelt_chk.
8053 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8054 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8055 FD_ISSET.
8056 * debug/fdelt_chk.c: New file.
8057
762011fe
UD
8058 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8059 * wcsmbs/test-wmemcmp.c: Likewise.
8060 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8061 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8062
80632011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8064
8065 * string/Makefile (strop-tests): Add memcmp.
8066 * string/test-wmemcmp.c: New file.
8067 * string/test-memcmp.c: Add wmemcmp support.
8068
7f513ec8
RM
80692011-09-08 Roland McGrath <roland@hack.frob.com>
8070
0442afb4
RM
8071 [BZ #13153]
8072 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8073 2011-07-19 change.
8074
7f513ec8
RM
8075 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8076 garbage value in a __mach_port_mod_refs call in the cases of the
8077 task-self and thread-self ports.
8078
a12b2239
ST
80792011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8080
8081 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8082
610f9ab4
AS
80832011-09-08 Andreas Schwab <schwab@redhat.com>
8084
7f513ec8 8085 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8086
48882a1a
LD
80872011-09-07 Ulrich Drepper <drepper@gmail.com>
8088
b49865be
UD
8089 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8090
fdc86bc9
UD
8091 * elf/dl-libc.c (dlerror_run): Pass back error code from
8092 dl_catch_error.
8093
c966526a
UD
8094 [BZ #13123]
8095 * elf/dl-load.c (lose): Free l_origin if it is valid.
8096
48882a1a
LD
8097 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8098 names.
8099 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8100 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8101 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8102 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8103 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8104 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8105
77a2a8b4
AZ
81062011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8107
8108 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8109 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8110 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8111 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8112 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8113 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8114 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8115 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8116 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8117 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8118
24f579d8
AM
81192011-08-15 Alan Modra <amodra@gmail.com>
8120
8121 [BZ #13092]
8122 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8123 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8124 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8125 ppc_mcount to static-only-routines.
8126 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8127 __mcount_internal.
8128 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8129 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8130
3d4837df
UD
81312011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8132
8133 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8134 for finite and infinity parameters.
8135
22700377
WS
81362011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8137
8138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8139 and add nop instructions for throughput optimization.
8140 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8141
5025581e
WS
81422011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8143
8144 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8145 aligned copy for power7 with vector-scalar instructions.
8146 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8147
08a300c9
L
81482011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8149
8150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8151 AVX check.
8152
59178ef9
AS
81532011-09-07 Andreas Schwab <schwab@redhat.com>
8154
8155 [BZ #13144]
8156 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8157 last change.
8158
e38ba7ab
UD
81592011-09-07 Ulrich Drepper <drepper@gmail.com>
8160
8161 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8162 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8163 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8164 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8165 clock_gettime.
8166
d53a73ac
UD
81672011-09-06 Ulrich Drepper <drepper@gmail.com>
8168
fc8bffcc
UD
8169 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8170 Forgot to demangle the pointer.
8171
ceaa0c5d
UD
8172 * sysdeps/i386/sysdep.h: Define atom_text_section.
8173 * sysdeps/x86_64/sysdep.h: Likewise.
8174 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8175 section with atom_text_section.
8176 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8177 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8178 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8179 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8180 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8181
a77d3c17
UD
8182 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8183 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8184 already be defined. Change to take two parameters and don't assign
8185 result to variable. Adjust all users.
8186 Define INTERNAL_GETTIME if not already defined.
8187 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8188 call.
8189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8190 HAVE_CLOCK_GETTIME_VSYSCALL.
8191 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8192
d53a73ac
UD
8193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8194 gettimeofday vsyscall, just use time.
8195
a8f84144
AS
81962011-09-06 Andreas Schwab <schwab@redhat.com>
8197
8198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8199 <errno.h>.
8200
ef606249
UD
82012011-09-06 Ulrich Drepper <drepper@gmail.com>
8202
8203 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8204 syscall on x86-64.
8205 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8206 syscall.
8207 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8208 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8209 syscall if possible.
8210
6585cb60
UD
82112011-09-05 Ulrich Drepper <drepper@gmail.com>
8212
8213 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8214 e_ident. Don't pass to find_mapsXX.
8215 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8216
a5f524e4
LD
82172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8218
8219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8220 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8221 * sysdeps/x86_64/multiarch/strchr.S: Update.
8222 Check bit_slow_BSF bit.
8223 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8224 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8225 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8226
554881ef
UD
82272011-09-05 Ulrich Drepper <drepper@gmail.com>
8228
d96de963
UD
8229 [BZ #13134]
8230 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8231 before glibc 2.15.
8232 (tryshell): Define.
8233 (__spawni): Change last parameter to be flag. Test
8234 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8235 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8236 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8237 * posix/spawni.c: Likewise.
8238 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8239 * posix/spawnp.c: Likewise. Change normal version to use
8240 SPAWN_XFLAGS_USE_PATH.
8241 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8242 SPAWN_XFLAGS_TRY_SHELL.
8243
d48e5868
UD
8244 [BZ #13150]
8245 * posix/glob.h: Remove gcc 1.x support.
8246
554881ef
UD
8247 [BZ #13068]
8248 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8249
693fb948
LD
82502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8251
8252 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8253 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8254 strrchr-sse2-bsf
8255 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8256 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8257 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8258 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8259 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8260 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8261
1b48c537
UD
82622011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8263
49d42c37
UD
8264 * sysdeps/x86_64/wcscmp.S: New file.
8265
1b48c537
UD
8266 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8267 wcscmp-c wcscmp-sse2
8268 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8269 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8270 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8271 * wcsmbs/wcscmp.c: Allow renaming.
8272
15c95c5d
DM
82732011-09-05 David S. Miller <davem@davemloft.net>
8274
8275 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8276 stack slot, rather than the struct return pointer slot.
8277 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8278 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8281
2f0ad8f3
UD
82822011-09-05 Ulrich Drepper <drepper@gmail.com>
8283
d88ae418
UD
8284 * po/ja.po: Update from translation team.
8285
2f0ad8f3
UD
8286 [BZ #13144]
8287 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8288 kernel in 64-bit binaries.
8289
5f4318d1
DM
82902011-09-01 David S. Miller <davem@davemloft.net>
8291
8292 * elf/elf.h (HWCAP_SPARC_*): Move to..
8293 * sysdeps/sparc/sysdep.h: this new file and add new values.
8294 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8295 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8296 _DL_HWCAP_COUNT to 24.
8297 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8298 entries.
8299 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8300 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8301 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8303 instead of magic constants.
8304 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8305
3ba57516
DM
83062011-08-31 David S. Miller <davem@davemloft.net>
8307
8308 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8310 Reimplement to do errno handling inline.
8311 (SYSCALL_ERROR_HANDLER): New macro.
8312 (__SYSCALL_STRING): Do not do errno handling in asm.
8313 (__CLONE_SYSCALL_STRING): Delete.
8314 (__INTERNAL_SYSCALL_STRING): Delete.
8315 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8316 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8317 (PSEUDO): Reimplement to do errno handling inline.
8318 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8319 (SYSCALL_ERROR_HANDLER): New macro.
8320 (__SYSCALL_STRING): Do not do errno handling in asm.
8321 (__CLONE_SYSCALL_STRING): Delete.
8322 (__INTERNAL_SYSCALL_STRING): Delete.
8323 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8324 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8325 i386.
8326 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8327 (inline_syscall*): Add 'err' argument.
8328 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8329 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8330 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8331 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8332
8333 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8334 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8335
2bc17433
AS
83362011-08-30 Andreas Schwab <schwab@redhat.com>
8337
8338 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8339
fbeb5f4d
JO
83402011-08-29 Jiri Olsa <jolsa@redhat.com>
8341
8342 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8343 directive.
8344
ad69cc26
DM
83452011-08-24 David S. Miller <davem@davemloft.net>
8346
8347 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8348
39dd69df
AS
83492011-08-24 Andreas Schwab <schwab@redhat.com>
8350
8351 * elf/Makefile: Add rules to build and run unload8 test.
8352 * elf/unload8.c: New file.
8353 * elf/unload8mod1.c: New file.
8354 * elf/unload8mod1x.c: New file.
8355 * elf/unload8mod2.c: New file.
8356 * elf/unload8mod3.c: New file.
8357
8358 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8359 it wasn't used.
8360
2c0b250a
DM
83612011-08-23 David S. Miller <davem@davemloft.net>
8362
8363 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8364 subtract stack bias.
8365 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8366 %sp not %fp in calculations.
8367 (_JMPBUF_UNWINDS_ADJ): Likewise.
8368
22044b48
DM
8369 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8370 (aio_suspend): Call it to force an exception region around the
8371 AIO_MISC_WAIT() invocation.
8372
2cae4995
AS
83732011-08-23 Andreas Schwab <schwab@redhat.com>
8374
8375 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8376 backslash.
8377
873a772e
AJ
83782011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8379
8380 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8381 protection macro.
8382 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8383 and <dl-machine.h>.
8384 (Elf64_FuncDesc): Remove.
8385
25ad0df1
DM
83862011-08-22 David S. Miller <davem@davemloft.net>
8387
8388 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8389 sigaltstack check, add missing cfi directives.
8390 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8391 missing cfi directives, and sigaltstack handling.
8392
e888bcbe
AS
83932011-08-16 Andreas Schwab <schwab@redhat.com>
8394
8395 [BZ #11724]
8396 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8397 object is seen twice.
8398 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8399
8400 * elf/Makefile (distribute): Add tst-initorder2.c.
8401 (tests): Add tst-initorder2.
8402 (modules-names): Add tst-initorder2a tst-initorder2b
8403 tst-initorder2c tst-initorder2d. Add rules to build them.
8404 ($(objpfx)tst-initorder2.out): New rule.
8405 * elf/tst-initorder2.c: New file.
8406 * elf/tst-initorder2.exp: New file.
8407
87162f46
AS
84082011-08-22 Andreas Schwab <schwab@redhat.com>
8409
70538b7f
AS
8410 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8411
f55ffe58
AS
8412 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8413 dependencies back to end of function.
8414
87162f46
AS
8415 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8416 $(elfobjdir)/ld.so.
8417
91b392a4
UD
84182011-08-21 Ulrich Drepper <drepper@gmail.com>
8419
8420 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8421 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8423 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8424 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8425 of __vdso_gettimeofday.
8426 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8427 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8428 attribute_hidden.
8429 (_libc_vdso_platform_setup): Remove initialization of
8430 __vdso_gettimeofday and __vdso_time.
8431
5c43483f
UD
84322011-08-20 Ulrich Drepper <drepper@gmail.com>
8433
775a77e7
UD
8434 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8435 and fgetc_unlocked.
8436 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8437 getc_unlocked.
89f447ed 8438
49c74ba9
UD
8439 * elf/dl-open.c (add_to_global): Report additions to the global scope
8440 for LD_DEBUG=scopes.
8441 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8442 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8443
5c43483f
UD
8444 [BZ #13114]
8445 * stdio-common/Makefile (tests): Add bug24.
8446 * stdio-common/bug24.c: New file.
8447
a101b025
AJ
84482011-08-19 Andreas Jaeger <aj@suse.de>
8449
8450 [BZ #13114]
8451 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8452 non-existant file when using close-on-exec mode.
8453
c88f1766
UD
84542011-08-20 Ulrich Drepper <drepper@gmail.com>
8455
0276a718
UD
8456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8457 the very first instruction.
8458
c88f1766
UD
8459 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8460 the CFI state in the end.
8461 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8462 inclusion of dl-trampoline.h.
8463 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8464
51ccffa0
AS
84652011-08-19 Andreas Schwab <schwab@redhat.com>
8466
94d7165f
AS
8467 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8468 expectations for long double.
8469
51ccffa0
AS
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8471 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8472
fd708658 84732011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8474
8475 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8476 artificual limit depends upon the system page size.
8477
44f0a71e
UD
84782011-08-17 Ulrich Drepper <drepper@gmail.com>
8479
8480 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8481 * resolv/Makefile: Define CFLAGS-libresolv.
8482
8de79a24
AS
84832011-08-17 Andreas Schwab <schwab@redhat.com>
8484
8485 * nss/makedb.c (compute_tables): Make variables used in nested
8486 function static.
8487
27724598
UD
84882011-08-17 Ulrich Drepper <drepper@gmail.com>
8489
c5305d88
UD
8490 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8491 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8492 if buffer was too small.
8493
27724598
UD
8494 * elf/pldd.c (main): Attach to all threads in the process.
8495 Rewrite /proc handling to use *at functions.
8496
076fe015
UD
84972011-08-16 Ulrich Drepper <drepper@gmail.com>
8498
174baab3
UD
8499 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8500 specifies first scope to show.
8501 (dl_open_worker): Update callers. Move printing scope of new
8502 object to before the relocation.
44f0a71e 8503 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8504 * sysdeps/generic/ldsodefs.h: Update declaration.
8505
076fe015
UD
8506 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8507 string for the scope number.
8508
a60df2c3
UD
85092011-08-14 Ulrich Drepper <drepper@gmail.com>
8510
8511 * nscd/servicescache.c (cache_addserv): Make sure written is always
8512 initialized.
8513
5e4287d1
RM
85142011-08-14 Roland McGrath <roland@hack.frob.com>
8515
85ae0589
RM
8516 * sysdeps/i386/i486/bits/atomic.h
8517 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8518 statement expression, so as to suppress "set but not used" warning.
8519 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8520
69f63097
RM
8521 * string/strncat.c (STRNCAT): Use prototype definition.
8522
675456ef
RM
8523 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8524 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8525 -Iprograms here.
8526 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8527 (localedef-modules): Add localedef.
8528 (locale-modules): Add locale.
8529
5e4287d1
RM
8530 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8531 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8532 to avoid a warning.
8533
9c96ff23
DM
85342011-08-14 David S. Miller <davem@davemloft.net>
8535
8536 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8537 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8538
f9ddf089
UD
85392011-08-13 Ulrich Drepper <drepper@gmail.com>
8540
44f0a71e 8541 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8542 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8543 * elf/rtld.c (dl_main): Set l_name of vDSO.
8544 Call _dl_show_scope when DL_DEBUG_SCOPES.
8545 (process_dl_debug): Recognize scopes flag and also set it for all.
8546 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8547 Declare _dl_show_scope.
8548
1dc27704
UD
8549 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8550 (do_dlopen): Pass caller_dlopen to dl_open.
8551 (__libc_dlopen_mode): Initialize caller_dlopen.
8552
f9ddf089
UD
8553 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8554 of libc. Make tolower call locale-independent. Optimize a bit by
8555 using isdigit instead of isalnum.
8556 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8557
9ac533d3
UD
85582011-08-12 Ulrich Drepper <drepper@gmail.com>
8559
8560 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8561 was a dependency or dynamically loaded.
8562
89edf2e9
UD
85632011-08-11 Ulrich Drepper <drepper@gmail.com>
8564
8e999d29
UD
8565 * intl/l10nflist.c: Allow architecture-specific pop function.
8566 * sysdeps/x86_64/l10nflist.c: New file.
8567
89edf2e9
UD
8568 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8569 classification.
8570
14d96785
AS
85712011-08-10 Andreas Schwab <schwab@redhat.com>
8572
8573 * include/dirent.h: Add libc_hidden_proto for scandirat and
8574 scandirat64. Don't declare __scandirat64.
8575 * dirent/scandirat.c: Add libc_hidden_def.
8576 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8577 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8578
6761ac04
DM
85792011-08-10 David S. Miller <davem@davemloft.net>
8580
8581 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8582 enum.
8583 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8586
c55fbd1e
UD
85872011-08-09 Ulrich Drepper <drepper@gmail.com>
8588
8589 * Versions.def [libc]: Add GLIBC_2.15.
8590 * dirent/Makefile (routines): Add scandirat and scandirat64.
8591 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8592 GLIBC_2.15.
8593 * dirent/dirent.h: Declare scandirat and scandirat64.
8594 * dirent/scandirat.c: New file.
8595 * dirent/scandirat64.c: New file.
8596 * sysdeps/wordsize-64/scandirat.c: New file.
8597 * sysdeps/wordsize-64/scandirat64.c: New file.
8598 * dirent/opendir.c: Define opendirat.
8599 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8600 using scandirat.
8601 * dirent/scandir64.c: Adjust for scandir.c change.
8602 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8603 __scandirat64, and __scandir_cancel_handler.
8604 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8605 additional parameter and use openat instead of open (outside of ld.so).
8606 Add new __opendir as wrapper around __opendirat.
8607 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8608 here without requiring old scandirat implementation.
8609
879165f2
UD
86102011-08-08 Ulrich Drepper <drepper@gmail.com>
8611
8612 * dirent/scandir.c (cancel_handler): Renamed to
8613 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8614 defined. Adjust users.
8615 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8616 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8617
cb7e923b
UD
86182011-08-04 Ulrich Drepper <drepper@gmail.com>
8619
16292edd
UD
8620 * string/test-string.h (IMPL): Use __STRING to expand name and then
8621 stringify it.
8622
cb7e923b
UD
8623 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8624 of cleanups.
8625
cff82933
LD
86262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8627
8628 * string/Makefile: Update.
8629 (strop-tests): Append strncat.
8630 * string/test-wcscmp.c: New file.
8631 New comprehensive test for wcscmp.
8632 * string/test-strcmp.c: Update.
8633 (WIDE): New define.
8634
9be9bfcc
AS
86352011-07-22 Andreas Schwab <schwab@redhat.com>
8636
8637 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8638 line.
8639
2e96f1c7
AS
86402011-07-26 Andreas Schwab <schwab@redhat.com>
8641
8642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8643 encoding to ACE if AI_IDN.
8644
85188888
JJ
86452011-08-01 Jakub Jelinek <jakub@redhat.com>
8646
8647 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8648 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8649
5fa16e9b
LD
86502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8651
8652 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8653 Fix overflow bug in strncat.
8654 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8655
8656 * string/test-strncat.c: Update.
8657 Add new tests for checking overflow bugs.
8658
86592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8660
8661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8662 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8663 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8664 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8665 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8666 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8667 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8668 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8669 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8670
8671 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8672 (USE_AS_STRCAT): Define.
8673 Add strcat and strncat support.
8674 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8675
8c1a459f
AS
86762011-07-25 Andreas Schwab <schwab@redhat.com>
8677
8678 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8679 __n bigger than INT_MAX+1.
8680 (__strncmp_g): Likewise.
8681
bba33c28
UD
86822011-07-23 Ulrich Drepper <drepper@gmail.com>
8683
798be72d
UD
8684 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8685 * libio/stido.h: Likewise.
8686
8accd4dc
UD
8687 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8688 (AF_NFC): Define.
8689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8690 (AF_NFC): Define.
8691
cbff0d96
UD
8692 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8693 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8694 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8695 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8696 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8697
9191c04a
UD
8698 [BZ #13021]
8699 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8700 installed.
8701
bba33c28
UD
8702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8703 typo.
8704 (_dl_x86_64_save_sse): Likewise.
8705
90f139dd
UD
87062011-07-22 Ulrich Drepper <drepper@gmail.com>
8707
1aae088a
UD
8708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8709 OSXSAVE.
8710 (_dl_x86_64_save_sse): Likewise.
8711
8e2045f5
UD
8712 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8713
90f139dd
UD
8714 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8715
1d002f25
AS
87162011-07-21 Andreas Schwab <schwab@redhat.com>
8717
8718 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8719 change.
8720 (_dl_x86_64_save_sse): Use correct AVX check.
8721
21137f89
UD
87222011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8723
8724 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8725 bug in strncpy/strncat.
8726 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8727
a65c0b7a
UD
87282011-07-21 Ulrich Drepper <drepper@gmail.com>
8729
8730 * string/tester.c (test_strcat): Add tests for different alignments
8731 of source and destination.
8732 (test_strncat): Likewise.
8733
6986b98a
UD
87342011-07-20 Ulrich Drepper <drepper@gmail.com>
8735
90bb2039
UD
8736 [BZ #12852]
8737 * posix/glob.c (glob): Check passed in values before using them in
8738 expressions to avoid some overflows.
8739 (glob_in_dir): Likewise.
8740
5644ef54
UD
8741 [BZ #13007]
8742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8743 check for AVX enablement so that we don't crash with old kernels and
8744 new hardware.
8745 * elf/tst-audit4.c: Add same checks here.
8746 * elf/tst-audit6.c: Likewise.
8747
8748 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8749
bfc9dc9b
AS
87502011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8751
8752 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8753
702e64bb
UD
87542011-07-20 Ulrich Drepper <drepper@gmail.com>
8755
8756 * po/cs.po: Update from translation team.
8757 * po/bg.po: Likewise.
8758
295e904f
MP
87592011-07-12 Marek Polacek <mpolacek@redhat.com>
8760
8761 * misc/sys/cdefs.h: Add support for const attribute.
8762 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8763 to gnu_dev_{major,minor,makedev} functions.
8764
3ff94596
MP
87652011-07-20 Marek Polacek <mpolacek@redhat.com>
8766
8767 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8768
28b59fca
AS
87692011-07-20 Andreas Schwab <schwab@redhat.com>
8770
8771 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8772 strlen results.
8773
19df733e
AK
87742011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8775
8776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8777 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8778 register in order to avoid conflicts with the soft frame pointer
8779 being held in r11 when necessary.
8780 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8781 (INTERNAL_VSYSCALL_NCS): Likewise.
8782
c8835729
MP
87832011-07-14 Marek Polacek <mpolacek@redhat.com>
8784
8785 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8786 * elf/dl-fini.c (_dl_fini): Adjust caller.
8787 * elf/dl-close.c (_dl_close_worker): Likewise.
8788 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8789
b902330c
MP
87902011-07-15 Marek Polacek <mpolacek@redhat.com>
8791
8991e135
MP
8792 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8793 "aux_cache->nlibs < 0".
8794
b902330c
MP
8795 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8796 in the reload-count case.
8797
99710781
LD
87982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8799
8800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8801 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8802 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8803 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8804 * sysdeps/x86_64/multiarch/strcat.S: New file.
8805 * sysdeps/x86_64/multiarch/strncat.S: New file.
8806 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8807 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8808 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8809 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8810 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8811 (USE_AS_STRCAT): Define.
8812 Add strcat and strncat support.
8813 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8814 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8815 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8816 * string/strncat.c: Update.
8817 (USE_AS_STRNCAT): Define.
8818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8819 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8820 and i7.
8821 * sysdeps/x86_64/multiarch/init-arch.h
8822 (bit_Prefer_PMINUB_for_stringop): New.
8823 (index_Prefer_PMINUB_for_stringop): Likewise.
8824 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8825 bit_Prefer_PMINUB_for_stringop.
8826
7dc6bd90
UD
88272011-07-19 Ulrich Drepper <drepper@gmail.com>
8828
8829 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8830 buffer64.
8831 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8832 of casting of buffer.
8833 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8834 buffer32 and buffer64.
8835 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8836 writes instead of casting of buffer.
8837 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8838 buffer32.
8839 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8840 casting of buffer.
8841
e0e72284
AS
88422011-07-19 Andreas Schwab <schwab@redhat.com>
8843
8844 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8845
feb1eb0b
UD
88462011-07-19 Ulrich Drepper <drepper@gmail.com>
8847
8848 * nscd/nscd.c (termination_handler): Don't do anything for a database
8849 if it has not yet been initialized.
8850
298711ff
UD
88512011-07-18 Ulrich Drepper <drepper@gmail.com>
8852
8853 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8854
88552011-07-15 Marek Polacek <mpolacek@redhat.com>
8856
8857 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8858
f9d68389
UD
88592011-07-18 Ulrich Drepper <drepper@gmail.com>
8860
8861 * po/nl.po: Update from translation team.
8862 * po/sv.po: Likewise.
8863
db290cf5
RM
88642011-07-16 Roland McGrath <roland@hack.frob.com>
8865
8866 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8867 now disallowed by GCC.
5c550700 8868
fd5e21c7
RM
8869 * configure.in (use-default-link): Default to yes if a test -shared
8870 link meets our qualifications.
8871 * configure: Regenerated.
8872
5c550700
RM
8873 * config.make.in (output-format): New variable.
8874 * configure.in: Check for ld --print-output-format support.
8875 * configure: Regenerated.
8876 * Makerules ($(common-objpfx)format.lds)
8877 [$(output-format) != unknown]: Just use $(output-format),
8878 instead of the linker-script munging.
8879
9fa2c032
RM
88802011-07-14 Roland McGrath <roland@hack.frob.com>
8881
a6928d51
RM
8882 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8883 of $(common-objpfx)shlib.lds.
8884 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8885
661607b3
RM
8886 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8887 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8888
9fa2c032
RM
8889 * configure.in (-z relro check): Adjust test code to add a large
8890 writable data section after it.
8891 * configure: Regenerated.
8892
defe9061
RM
88932011-07-11 Roland McGrath <roland@hack.frob.com>
8894
8895 * configure.in (-z relro check): Fix test code to make the variable
8896 truly const.
8897 * configure: Regenerated.
8898
319b9ad4
UD
88992011-07-11 Ulrich Drepper <drepper@gmail.com>
8900
8901 * nscd/nscd.h (struct traced_file): Define.
8902 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8903 elements. Add traced_files.
8904 (inotify_fd): Declare.
8905 (register_traced_file): Declare.
8906 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8907 (inotify_fd): Export.
8908 (resolv_conf_descr): Remove.
8909 (nscd_init): Move inotify descriptor creation to main.
8910 Don't register files for notification here.
8911 (register_traced_file): New function.
8912 (invalidate_cache): Don't use reset_res to determine whether to call
8913 res_init, go through the list of registered files.
8914 (main_loop_poll): The inotify descriptors are now stored in the
8915 structures for the traced files.
8916 (main_loop_epoll): Likewise
8917 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8918 to __nss_disable_nscd.
8919 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8920 for a database anymore. Check the records for all the registered
8921 files instead.
8922 * nss/Makefile (libnss_files-routines): Add files-init.
8923 (libnss_db-routines): Add db-init.
8924 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8925 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8926 * nss/nss_db/db-init.c: New file.
8927 * nss/nss_files/files-init.c: New file.
8928 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8929 __nss_lookup_function.
8930 (__nss_lookup_function): Call nss_load_library.
8931 (nss_load_all_libraries): New function.
8932 (__nss_disable_nscd): Take parameter with callback function for files
8933 to register. Set is_nscd. Load all the DSOs for the NSS modules
8934 used for the cached services.
8935 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8936 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8937 options for features to all the files in nscd.
8938
8939 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8940
23bee3e8
RM
89412011-07-10 Roland McGrath <roland@hack.frob.com>
8942
8943 * csu/elf-init.c (__libc_csu_init): Comment typo.
8944
46a5b7f0
UD
89452011-07-09 Ulrich Drepper <drepper@gmail.com>
8946
8947 * po/pl.po: Update from translation team.
8948 * po/ja.po: Likewise.
8949 * po/ru.po: Likewise.
8950 * po/ko.po: Likewise.
8951 * po/fr.po: Likewise.
8952
d30cf5bb
RM
89532011-07-09 Roland McGrath <roland@hack.frob.com>
8954
113ddea4
RM
8955 * configure.in (.ctors/.dtors header and trailer check):
8956 Use an empirical test on a built program.
8957 * configure: Regenerated.
8958
574920b4
RM
8959 * configure.in (-z relro check): Use an empirical test on a built DSO.
8960 Detect, but do not require, on ia64.
8961 * configure: Regenerated.
8962
d30cf5bb
RM
8963 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8964 Update tests that use readelf to use $READELF instead.
8965 * configure: Regenerated.
8966
8538fdb3
UD
89672011-07-08 Ulrich Drepper <drepper@gmail.com>
8968
8969 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8970 if the result is not used.
8971
04d08991
AJ
89722011-07-05 Andreas Jaeger <aj@suse.de>
8973
8974 [BZ#9696]
8975 * stdlib/tst-strtod.c: Add testcase.
8976
de283087
AD
89772011-07-07 Ulrich Drepper <drepper@gmail.com>
8978
4e5f31c8 8979 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8980 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8981 The latter has a higher limit. Take additional parameter to pass to
8982 the new function.
8983 (__pathconf): Pass file to __statfs_link_max.
8984 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8985 __statfs_link_max.
8986 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8987 __statfs_link_max.
8988
de283087
AD
8989 [BZ #12868]
8990 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8991 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8992 Handle Lustre.
8993 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8994 (__statfs_filesize_max): Likewise.
8995 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8996
c75fa153
AJ
89972011-07-05 Andreas Jaeger <aj@suse.de>
8998
8999 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9000
1a544854
UD
90012011-07-06 Marek Polacek <mpolacek@redhat.com>
9002
9003 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9004 `status' variable.
9005 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9006 Likewise.
9007
6f0eec67
UD
90082011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * Makefile (strop-tests): Add strncat.
9011 * string/test-strncat.c: New file.
9012
aae30307
UD
90132011-06-30 Marek Polacek <mpolacek@redhat.com>
9014
9015 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9016
c0cfb5eb
UD
90172011-06-21 Andreas Jaeger <aj@suse.de>
9018
9019 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9020 Copy rule from iconvdata/Makefile.
9021
01636b21
UD
90222011-07-06 Ulrich Drepper <drepper@gmail.com>
9023
9024 [BZ #12922]
9025 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9026 but no long options are defined, just return 'W'.
9027
9895c8bc
UD
90282011-06-22 Marek Polacek <mpolacek@redhat.com>
9029
9030 [BZ #9696]
9031 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9032
5d4cf042
UD
90332011-07-06 Ulrich Drepper <drepper@gmail.com>
9034
9035 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9036 netgroups to read.
960e5535 9037 (innetgr): Likewise.
5d4cf042 9038
751eb97e
RM
90392011-07-05 Roland McGrath <roland@hack.frob.com>
9040
9041 * config.make.in (install_root): Default to $(DESTDIR).
9042
f15f1e45
UD
90432011-07-05 Ulrich Drepper <drepper@gmail.com>
9044
9045 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9046
4e34ac6a
RM
90472011-07-02 Roland McGrath <roland@hack.frob.com>
9048
5e9b6af4
RM
9049 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9050
84f9ea0f
RM
9051 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9052 containing directory rather than embedding absolute directory names.
9053
ea5ee9f7
RM
9054 * scripts/check-local-headers.sh: Rewritten using awk.
9055 Match by word, not by line. Print error messages for matches.
9056 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9057
1b74661a
RM
9058 * Makerules [shlib-lds-flags empty]:
9059 ($(common-objpfx)libc_pic.opts): New target.
9060 ($(common-objpfx)libc_pic.os.clean): New target.
9061 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9062
9063 * config.make.in (OBJCOPY): New variable.
9064 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9065 * configure: Regenerated.
9066
f781ef40
RM
9067 * config.make.in (use-default-link): New variable.
9068 * configure.in (use_default_link): Grok --with-default-link to set it.
9069 * configure: Regenerated.
9070 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9071 (shlib-lds, shlib-lds-flags): Define to empty.
9072
2d4fa81e
RM
9073 * Makerules (shlib-lds): New variable.
9074 (shlib-lds-flags): New variable.
9075 (build-shlib, build-moduile, build-module-asneeded): Use it.
9076 ($(common-objpfx)libc.so): Use $(shlib-lds).
9077 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9078 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9079
31fffa6b
RM
9080 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9081 DT_FLAGS/DT_FLAGS_1 with zero flags.
9082
4e34ac6a
RM
9083 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9084 linker script munging.
9085
fcfc776b
UD
90862011-07-02 Ulrich Drepper <drepper@gmail.com>
9087
9088 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9089 as 128-bit value.
9090 * crypt/sha512.c (sha512_process_block): Perform total addition using
9091 128-bit if possible.
9092 (__sha512_finish_ctx): Likewise.
9093 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9094 as 64-bit value.
9095 * crypt/sha256.c (SWAP64): Define.
9096 (sha256_process_block): Perform total addition using 64-bit if
9097 possible.
9098 (__sha256_finish_ctx): Likewise.
9099
99231d9a
UD
91002011-07-01 Ulrich Drepper <drepper@gmail.com>
9101
9102 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9103 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9104 * nscd/hstcache.c (cache_addhst): Likewise.
9105 * nscd/grpcache.c (cache_addgr): Likewise.
9106 * nscd/aicache.c (addhstaiX): Likewise
9107 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9108
445b4a53
TK
91092011-07-01 Thorsten Kukuk <kukuk@suse.de>
9110
9111 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9113 * nscd/hstcache.c (cache_addhst): Likewise.
9114 * nscd/grpcache.c (cache_addgr): Likewise.
9115 * nscd/aicache.c (addhstaiX): Likewise
9116
6d4d8e8e
AS
91172011-07-01 Andreas Schwab <schwab@redhat.com>
9118
9119 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9120 domain only when needed.
9121
89f654c5
AS
91222011-06-30 Andreas Schwab <schwab@redhat.com>
9123
9124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9125 is always restored.
9126
cf3b23ff
UD
91272011-06-29 Ulrich Drepper <drepper@gmail.com>
9128
9129 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9130 are re-adding the entry.
9131 * nscd/servicescache.c (cache_addserv): Likewise.
9132
751626f9
AJ
91332011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9134
9135 * sysdeps/generic/dl-irel.h: fix protection against multiple
9136 inclusions.
9137 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9138
9113ea1f
UD
91392011-06-28 Ulrich Drepper <drepper@gmail.com>
9140
5c0b8d90
UD
9141 [BZ #12935]
9142 * malloc/memusage.sh: Fix quoting in message.
9143 * debug/xtrace.sh: Likewise.
9144
9113ea1f
UD
9145 * configure.in: Remove support for --experimental-malloc option, make
9146 it the default.
9147 * config.make.in: Likewise.
9148 * malloc/Makefile: Likewise.
9149
a4172181
AS
91502011-06-27 Andreas Schwab <schwab@redhat.com>
9151
9152 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9153 two-byte characters.
9154
78a7eee7
RM
91552011-06-27 Roland McGrath <roland@hack.frob.com>
9156
62bede13
RM
9157 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9158 AC_CACHE_CHECK invocation.
9159 * configure: Regenerated.
9160
78a7eee7
RM
9161 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9162
5ce33a62
UD
91632011-06-27 Ulrich Drepper <drepper@gmail.com>
9164
034807a9
UD
9165 [BZ #12350]
9166 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9167 bit from old_res_options.
9168
4902da17
UD
9169 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9170
5ce33a62
UD
9171 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9172 value type for setfct.
9173
c2344f56
L
91742011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9175
9176 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9177 __gettimeofday instead of gettimeofday.
9178
68468076
UD
91792011-06-26 Ulrich Drepper <drepper@gmail.com>
9180
9181 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9182
acb0d739
L
91832011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9184
9185 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9186
9187 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9188 info.
9189
8912479f
L
91902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9191
9192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9193 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9194 strcpy-sse2-unaligned strncpy-sse2-unaligned
9195 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9196 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9197 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9198 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9199 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9200 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9201 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9202 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9203 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9204 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9205 (STRCPY): Support SSE2 and SSSE3 versions.
9206
d5495a11
UD
92072011-06-24 Ulrich Drepper <drepper@gmail.com>
9208
9209 [BZ #12874]
9210 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9211 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9212 kernels which artificially limit size of requests.
9213
0b1cbaae
L
92142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9215
9216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9217 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9218 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9219 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9220 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9221 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9222 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9223 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9224 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9225 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9226 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9227 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9228 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9229 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9230 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9232 Enable unaligned load optimization for Intel Core i3, i5 and i7
9233 processors.
9234 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9235 Define.
9236 (index_Fast_Unaligned_Load): Define.
9237 (HAS_FAST_UNALIGNED_LOAD): Define.
9238
07f494a0
MP
92392011-06-23 Marek Polacek <mpolacek@redhat.com>
9240
9241 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9242
fa3fc0fe
UD
92432011-06-22 Ulrich Drepper <drepper@gmail.com>
9244
9245 [BZ #12907]
9246 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9247 until it is clear that the information is realy needed.
9248 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9249
e12df166
AS
92502011-06-22 Andreas Schwab <schwab@redhat.com>
9251
9252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9253
852eb34d
UD
92542011-06-22 Ulrich Drepper <drepper@gmail.com>
9255
84e2a551
UD
9256 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9257 /sys/devices/system/cpu/online if it is usable.
9258
852eb34d
UD
9259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9260 reading the information from the /proc filesystem to once a second.
9261
6e502e19
UD
92622011-06-21 Andreas Jaeger <aj@suse.de>
9263
9264 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9265 NULL after inclusion of kernel headers.
9266
75d39ff2
UD
92672011-06-21 Ulrich Drepper <drepper@gmail.com>
9268
51f9aa6a
UD
9269 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9270 calls to internal_setent.
9271
c0244a9d
UD
9272 [BZ #12885]
9273 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9274 addresses using gethostbyname4_r ignore IPv4 addresses.
9275
c5e3c2ae
UD
9276 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9277 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9278
75d39ff2
UD
9279 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9280
42675c6f
DM
92812011-06-20 David S. Miller <davem@davemloft.net>
9282
9283 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9284 inclusions.
9285 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9286
9287 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9288 (elf_irel): Use it.
9289 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9290 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9291 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9292 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9293 * sysdeps/x86_64/dl-irel.h: Likewise.
9294
9295 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9296 * elf/dl-sym.c: Likewise.
9297
57912a71
UD
92982011-06-15 Ulrich Drepper <drepper@gmail.com>
9299
9300 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9301 need to dereference resplen2.
9302
ee22793d
AS
93032011-06-14 Andreas Schwab <schwab@redhat.com>
9304
9305 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9306
a9e836b0
UD
93072011-06-15 Ulrich Drepper <drepper@gmail.com>
9308
77fb9117
UD
9309 * Makeconfig: Define vardbdir and inst_vardbdir.
9310 * nss/Makefile: Add rules to install db-Makefile.
9311
40c1b22c
UD
9312 * nss/nss_db/db-XXX.c: Cleanup.
9313
9f2da732
UD
9314 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9315 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9316 GLIBC_PRIVATE.
9317 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9318 * nss/makedb.c: Implement -g option to specify that value strings
9319 are generated and should not be added to table iterated over for
9320 get*ent calls.
9321 * nss/nss_db/db-initgroups.c: New file.
9322
82e9a1f7
UD
9323 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9324 interface.
9325
c41af17e
UD
9326 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9327 (internal_getgrouplist): Adjust to name change.
9328 Update use_initgroups_entry if this is not the first call.
9329 * nss/databases.def: Add initgroups entry.
9330
a9e836b0
UD
9331 * nss/makedb.c (compute_tables): Check result of multiple hash table
9332 sizes to minimize maximum chain length.
9333
2666d441
UD
93342011-06-14 Ulrich Drepper <drepper@gmail.com>
9335
9336 * Versions.def: Add entry for libnss_db.
9337 * shlib-versions: Likewise.
9338 * nss/Makefile: Add rules to build libnss_db.
9339 * nss/Versions: Add libnss_db information. Organize libnss_files
9340 entries better.
9341 * nss/db-Makefile: Add gshadow support. Change rules for the new
9342 makedb progra. Some minor improvements to generate smaller files.
9343 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9344 here from...
9345 * nss/makedb.c: ...here.
9346 Improve database format to be smaller and require less memory at
9347 runtime.
9348 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9349 db anymore.
9350 * nss/nss_db/db-netgrp.c: Likewise.
9351 * nss/nss_db/db-open.c: Likewise.
9352 * nss/nss_files/flies-XXX.x: Adjust comments.
9353 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9354 * nss/nss_files/files-grp.c: Likewise.
9355 * nss/nss_files/files-hosts.c: Likewise.
9356 * nss/nss_files/files-network.c: Likewise.
9357 * nss/nss_files/files-proto.c: Likewise.
9358 * nss/nss_files/files-pwd.c: Likewise.
9359 * nss/nss_files/files-rpc.c: Likewise.
9360 * nss/nss_files/files-service.c: Likewise.
9361 * nss/nss_files/files-sgrp.c: Likewise.
9362 * nss/nss_files/files-spwd.c: Likewise.
9363 * nss/nss_db/db-alias.c: Removed.
9364 * nss/nss_db/dummy-db.h: Removed.
9365
9ee76b5a
UD
93662011-06-02 Ulrich Drepper <drepper@gmail.com>
9367
9368 * nss/makedb.c: Rewritten to not use database library.
9369 * nss/Makefile: Update to build new makedb program.
9370
c71ca1f8
AJ
93712011-06-14 Andreas Jaeger <aj@suse.de>
9372
9373 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9374 memset declaration.
9375
3154bfb8
UD
93762011-06-10 Andreas Schwab <schwab@redhat.com>
9377
9378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9379 tmpbuf.
9380
b350afab
RM
93812011-06-10 Roland McGrath <roland@hack.frob.com>
9382
decd4e50
RM
9383 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9384 * elf/Makefile ($(objpfx)ld.so): Likewise.
9385
5615eaf2
RM
9386 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9387 Don't list ld.so twice in dependencies.
9388
9389 * posix/bug-regex31.c: Include <stdlib.h>.
9390
9391 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9392
9393 * nis/nss_compat/compat-spwd.c
9394 (getspent_next_nss_netgr): Remove unused variable.
9395 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9396
9397 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9398 nonmembers" output to use the right array.
9399
9400 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9401
9402 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9403
9404 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9405 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9406 * catgets/gencat.c (read_input_file): Likewise.
9407 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9408
9409 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9410 variable definition inside #if's controlling its use.
9411
9412 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9413
9414 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9415
9416 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9417
9418 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9419 unreachable code.
9420
9421 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9422
b68e08db
RM
9423 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9424 * configure: Regenerated.
9425
b350afab
RM
9426 * Makerules: Revert last change.
9427 * elf/Makefile: Likewise.
9428
28368601
RM
94292011-06-09 Roland McGrath <roland@hack.frob.com>
9430
9431 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9432 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9433 (reloc-link): Likewise.
9434
11988f8f
UD
94352011-06-09 Ulrich Drepper <drepper@gmail.com>
9436
9437 * elf/Makefile: Add rules to build pldd.
9438 * elf/pldd.c: New file.
9439 * elf/pldd-xx.c: New file.
9440
e80fab37
UD
94412011-06-07 Ulrich Drepper <drepper@gmail.com>
9442
9443 * version.h: Update for 2.15 development version.
9444
9b849836
DM
94452011-06-07 David S. Miller <davem@davemloft.net>
9446
9447 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9448 ifuncs.
9449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9450 elf_machine_lazy_rel): Likewise.
9451 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9453 elf_machine_lazy_rel): Likewise.
9454 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9455 dl_hwcap via passed in argument.
9456 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9457 Likewise.
9458
5a31b283
AK
94592011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9460
9461 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9462
069e52f8
RM
94632011-06-06 Roland McGrath <roland@hack.frob.com>
9464
9465 [BZ #12849]
9466 * manual/fdl-1.1.texi: New file, verbatim from:
9467 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9468 * manual/lgpl-2.1.texi: New file, verbatim from:
9469 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9470 * manual/Makefile (licenses): New variable, list those new file names.
9471 (texis): Use it.
9472 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9473
9474 * manual/fdl.texi: File removed.
9475 * manual/lesser.texi: File removed.
9476 * manual/libc.texinfo (Copying, Documentation License):
9477 Use new @include file names, put @appendix directive before @include.
9478
f16846a5
JJ
94792011-06-04 Jakub Jelinek <jakub@redhat.com>
9480
9481 [BZ #12841]
9482 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9483 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9484 (mq_open): Add __NTH.
9485
3d29045b
L
94862011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9487
9488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9489 Assume Intel Core i3/i5/i7 processor if AVX is available.
9490
8c297311
UD
94912011-05-31 Ulrich Drepper <drepper@gmail.com>
9492
9493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9494 typo.
9495
c8fc0c91
UD
94962011-05-31 Andreas Schwab <schwab@redhat.com>
9497
9498 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9499 memory. Use alloca_account. Fix memory leak when retrying.
9500
5b27a807
UD
95012011-05-31 Ulrich Drepper <drepper@gmail.com>
9502
356f8bc6
UD
9503 * version.h (RELEASE): Bump for 2.14 release.
9504 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9505
5b27a807
UD
9506 * config.make.in (RANLIB): Remove entry.
9507
01f16ab0
UD
95082011-05-30 Ulrich Drepper <drepper@gmail.com>
9509
41fce8bd
UD
9510 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9511 (libc.pot): Work around missing support for .ksh extension in xgettext.
9512
4769ae77
UD
9513 [BZ #12684]
9514 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9515 if both request failed.
9516 (send_dg): In case of server errors clear resplen or *resplen2.
9517
6b1e7d19
UD
9518 [BZ #12454]
9519 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9520 when there are multiple maps.
9521 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9522 (_dl_fini): Remove test here.
9523
01f16ab0
UD
9524 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9525
b1ebd700
UD
95262011-05-29 Ulrich Drepper <drepper@gmail.com>
9527
7ae22829
UD
9528 [BZ #12350]
9529 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9530 bit from old_res_options.
9531 (gaih_inet): Likewise.
9532
553149f6 9533 [BZ #11099]
18a84741 9534 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9535 as signed.
9536
652ffab1
UD
9537 * resolv/res_init.c (res_setoptions): Make the code more compact.
9538
16985fd0
UD
9539 [BZ #11558]
9540 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9541 set RES_USEVC.
9542
0464f746
UD
9543 [BZ #11634]
9544 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9545
7d17596c
UD
9546 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9547
cf6bbbd7
UD
9548 [BZ #11781]
9549 * malloc/malloc.h: Declare malloc hook variables as volatile.
9550
13f1ab36
UD
9551 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9552 in last patch.
9553
b1ebd700
UD
9554 [BZ #11799]
9555 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9556 raise in the comment.
80e2212d
UD
9557 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9558 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9559 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9560
ce67228d
UD
95612011-05-28 Ulrich Drepper <drepper@gmail.com>
9562
8887a920
UD
9563 [BZ #12811]
9564 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9565 grow the buffers more if it already has to be sufficient.
9566 (build_wcs_upper_buffer): Likewise.
9567 * posix/regexec.c (check_matching): Likewise.
9568 (clean_state_log_if_needed): Likewise.
9569 (extend_buffers): Don't enlarge buffers beyond size of the input
9570 buffer.
9571 Patches mostly by Emil Wojak <emil@wojak.eu>.
9572 * posix/bug-regex32.c: New file.
9573 * posix/Makefile (tests): Add bug-regex32.
9574
4f031072
UD
9575 * locale/findlocale.c (_nl_find_locale): Return right away if
9576 _nl_explode_name failed.
9577 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9578
d0478f0c
UD
9579 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9580
de81b246
UD
9581 * debug/xtrace.sh: Unify messages.
9582 * malloc/memusage.sh: Likewise.
9583
c738465a
UD
9584 [BZ #12813]
9585 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9586 time symbol from vDSO. Substitute with vsyscall if not available.
9587 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9588 __vdso_time.
9589
f1f929d7
UD
9590 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9591 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9592 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9593 Add sendmmsg and internal_sendmmsg.
9594 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9595 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9596 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9597
ce67228d
UD
9598 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9599 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9600 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9601
e57420c6
UD
96022011-05-27 Ulrich Drepper <drepper@gmail.com>
9603
a8509ca5
UD
9604 [BZ #12813]
9605 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9606 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9607 available.
9608 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9609 __vdso_getcpu.
9610
e57420c6
UD
9611 [BZ #12814]
9612 * iconvdata/Makefile (tests): Add bug-iconv9.
9613 * iconvdata/bug-iconv9.c: New file.
9614
4d07db15
AS
96152011-05-27 Andreas Schwab <schwab@redhat.com>
9616
9617 [BZ #12814]
9618 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9619
ea486f69
JJ
96202011-05-25 Jakub Jelinek <jakub@redhat.com>
9621
9622 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9623 (struct user_regs_struct): Change intcs field back to cs.
9624
6f038433
UD
96252011-05-25 Ulrich Drepper <drepper@gmail.com>
9626
9627 * po/ja.po: Update from translation team.
9628
67f86a25
UD
96292011-05-23 Ulrich Drepper <drepper@gmail.com>
9630
9631 [BZ #12795]
9632 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9633 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9634
def7fbd6
AS
96352011-05-20 Andreas Schwab <schwab@redhat.com>
9636
9637 * stdlib/longlong.h: Update from GCC.
9638
f50ef8f1
AS
96392011-05-23 Andreas Schwab <schwab@redhat.com>
9640
9641 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9642 parameter name.
9643 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9644 Add parameter name.
9645 (__sysconf): Pass it down.
9646
de7ce8f1
UD
96472011-05-22 Ulrich Drepper <drepper@gmail.com>
9648
f2962a71
UD
9649 [BZ #12671]
9650 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9651 some situations.
9652 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9653 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9654 add in in __libc_use_alloca calls. Adjust callers.
9655 (glob): Use malloc in some situations.
9656
de7ce8f1
UD
9657 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9658 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9659 pltexit.
9660
aec84f53
UD
96612011-05-21 Ulrich Drepper <drepper@gmail.com>
9662
05bb4a68
UD
9663 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9664 and CLOCK_BOOTTIME_ALARM.
9665
7ea72f99
UD
9666 [BZ #12782]
9667 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9668 is returned.
9669
7e4afad5
UD
9670 * string/_strerror.c (__strerror_r): Print negative errors as signed
9671 numbers.
9672
8e211fec
UD
9673 [BZ #12777]
9674 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9675 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9676 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9677
f7d82dc9
UD
9678 * configure.in: Fix typo in redirection and correct removal of test
9679 files in two cases.
9680
cc9e536d
UD
9681 [BZ #12788]
9682 * locale/setlocale.c (new_composite_name): Fix test to check for
9683 identical name of all categories.
9684
aec84f53
UD
9685 [BZ #12792]
9686 * libio/filedoalloc.c (local_isatty): New function.
9687 (_IO_file_doallocate): Use local_isatty.
9688 * stdio-common/perror.c (perror): In case a new stream is used
9689 forward the stream error.
9690 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9691 error flag.
9692
78e64fdc
RT
96932011-05-20 Ulrich Drepper <drepper@gmail.com>
9694
34a9094f
UD
9695 [BZ #11869]
9696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9697 alloca.
9698 * include/alloca.h (extend_alloca_account): Define.
9699
78e64fdc
RT
9700 [BZ #11857]
9701 * posix/regex.h: Fix comments with documentation of user-accessible
9702 fields after compilation and describe correct free'ing of pattern
9703 after re_compile_pattern.
9704 Patch by Reuben Thomas <rrt@sc3d.org>.
9705
457bddfc
RA
97062011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9707
9708 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9709 and -mno-altivec to prevent the compiler from using Altivec and/or
9710 VSX instructions when the corresponding registers are not available.
9711
a4527b51
AS
97122011-05-19 Andreas Schwab <schwab@redhat.com>
9713
9714 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9715
ed690b2f
UD
97162011-05-19 Ulrich Drepper <drepper@gmail.com>
9717
9718 * libio/freopen.c (freopen): Use __dup2, not dup2.
9719 * libio/freopen64.c (freopen64): Likewise.
9720
8db73634
L
97212011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 [BZ #12775]
9724 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9725 * math/Makefile (tests): Add test-powl.
9726 (CFLAGS-test-powl.c): Define.
9727 * math/test-powl.c: New file.
9728
0a197a9d
L
97292011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9730
9731 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9732
ee30c380
UD
97332011-05-17 Ulrich Drepper <drepper@gmail.com>
9734
9735 [BZ #11837]
9736 * iconvdata/gb18030.c: Update to GB18020-2005.
9737
6ce75379
UD
97382011-05-16 Ulrich Drepper <drepper@gmail.com>
9739
a4b89fd8
AR
9740 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9741 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9742 Patch by Aharon Robbins <arnold@skeeve.com>.
9743
ea389b12
UD
9744 [BZ #11892]
9745 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9746 on the stack.
9747
68a3f91f
UD
9748 [BZ #11895]
9749 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9750 through underflows.
9751
15cc7dd1
UD
9752 [BZ #12766]
9753 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9754 point to strings before performing equality test for error_one_per_line
9755 mode.
9756
f3799213
UD
9757 [BZ #11697]
9758 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9759
d79a9c94
UD
9760 [BZ #11820]
9761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9762 (struct user_fpregs_struct): Avoid __uint*_t types.
9763
56e5eb46
UD
9764 [BZ #6420]
9765 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9766 symbol info. Use it instead of calling _dl_addr locally.
9767 (lock_and_info): New function.
9768 (tr_freehook): Call lock_and_info and pass symbol info as additional
9769 parameter to tr_where.
9770 (tr_mallochook): Likewise.
9771 (tr_reallochook): Likewise.
9772 (tr_memalignhook): Likewise.
9773
6ce75379
UD
9774 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9775 used and couldn't be at all thread-safe.
9776
f8a3b5bf
UD
97772011-05-15 Ulrich Drepper <drepper@gmail.com>
9778
94b7cc37
UD
9779 * libio/freopen.c (freopen): Don't close old file descriptor
9780 before the new one is opened. Instead dup the new file descriptor
9781 to the old one after the new stream is created.
9782 * libio/freopen64.c (freopen64): Likewise.
9783 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9784 * libio/fileops.c (_IO_new_file_close_it): Handle new
9785 _IO_FLAGS2_NOCLOSE flag.
9786 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9787 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9788 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9789 _IO_FLAGS2_NOCLOSE flag.
9790 * include/unistd.h: Add hidden_proto for dup3.
9791 Define __have_dup3.
9792 * io/dup3.c: Define hidden symbol.
9793 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9794
bd25564e
UD
9795 [BZ #7101]
9796 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9797 when an incomplete long option is used.
9798 * posix/tst-getopt_long1.c: New file.
9799 * posix/Makefile (tests): Add tst-getopt_long1.
9800
c84cfef4
UD
9801 [BZ #10138]
9802 * scripts/config.guess: Update from autoconf-2.68.
9803 * scripts/config.sub: Likewise.
9804
3b85df27
UD
9805 [BZ #10157]
9806 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9807 tests into ...
9808 (has_cpuclock): ...this. New function.
9809 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9810 macro here based on has_cpuclock code.
9811
15a856b1
UD
9812 [BZ #10149]
9813 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9814 First byte (not low byte) is now always NUL.
9815 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9816
05f399e6
UD
9817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9818 Use non-cancelable interfaces.
9819
10a52685 9820 [BZ #9809]
94ecc67d
UD
9821 * locale/iso-639.def: Add entry for Sorani.
9822
f8a3b5bf
UD
9823 [BZ #11901]
9824 * include/stdlib.h: Move include protection to the right place.
9825 Define abort_msg_s. Declare __abort_msg with it.
9826 * stdlib/abort.c (__abort_msg): Adjust type.
9827 * assert/assert.c (__assert_fail_base): New function. Majority
9828 of code from __assert_fail. Allocate memory for __abort_msg with
9829 mmap.
9830 (__assert_fail): Now call __assert_fail_base.
9831 * assert/assert-perr.c: Remove bulk of implementation. Use
9832 __assert_fail_base.
9833 * include/assert.hL Declare __assert_fail_base.
9834 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9835 mmap.
9836 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9837
1af4e298
UD
98382011-05-14 Ulrich Drepper <drepper@gmail.com>
9839
f8a3b5bf 9840 [BZ #11952]
d26dfc60
MG
9841 [BZ #12453]
9842 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9843 until all modules are registered in the DTV.
9844 * elf/Makefile: Add rules to build and run tst-tls19.
9845 * elf/tst-tls19.c: New file.
9846 * elf/tst-tls19mod1.c: New file.
9847 * elf/tst-tls19mod2.c: New file.
9848 * elf/tst-tls19mod3.c: New file.
9849 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9850
2fc54d6f
UD
9851 [BZ #12083]
9852 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9853 correctly.
9854
98d76b46
UD
9855 [BZ #12601]
9856 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9857 two-byte sequence errors.
9858 * iconvdata/Makefile (tests): Add bug-iconv8.
9859 * iconvdata/bug-iconv8.c: New file.
9860
da3c19ef
UD
9861 [BZ #12626]
9862 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9863 buf2 definition.
9864
ca408c15
UD
9865 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9866
d6f67f7d
UD
9867 [BZ #12432]
9868 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9869 (dummy_getcfa): New function.
9870 (init): Get _Unwind_GetCFA address, use dummy if not found.
9871 (backtrace_helper): In recursion check, also check whether CFA changes.
9872 (__backtrace): Completely initialize arg.
9873
1af4e298 9874 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9875 storing incomplete byte sequence in state object. Avoid testing for
9876 guaranteed too small input if we know there is enough data available.
1af4e298 9877
da62f81b
AS
98782011-05-11 Andreas Schwab <schwab@redhat.com>
9879
9880 * Makeconfig (+link-pie): Indent.
9881 * Rules (binaries-pie): Define if $(have-fpie) and
9882 $(build-shared).
9883 (binaries-shared): Also filter out $(binaries-pie).
9884 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9885 * nscd/Makefile (others-pie): Add nscd.
9886 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9887 ($(objpfx)nscd): Remove command override.
9888 * login/Makefile (others-pie): Add pt_chown.
9889 ($(objpfx)pt_chown): Remove command override.
9890 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9891 remove command overrides.
9892
fcabc0f8
UD
98932011-05-13 Ulrich Drepper <drepper@gmail.com>
9894
20030ae6
UD
9895 * libio/tst_putwc.c: Fix error messages.
9896
fcabc0f8
UD
9897 [BZ #12724]
9898 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9899 currently writing and seek to current position when not.
9900 * libio/Makefile (tests): Add bug-fclose1.
9901 * libio/bug-fclose1.c: New file.
9902
320a5dc0
PB
99032011-05-12 Ulrich Drepper <drepper@gmail.com>
9904
9905 [BZ #12511]
9906 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9907 don't set DF_1_NODELETE here.
9908 (do_lookup_x): When entering new entry test for copy relocation
9909 and if necessary set DF_1_NODELETE flag.
9910 * elf/tst-unique4.cc: New file.
9911 * elf/tst-unique4.h: New file.
9912 * elf/tst-unique4lib.cc: New file.
9913 * elf/Makefile: Add rules to build and run tst-unique4.
9914 Patch by Piotr Bury <pbury@goahead.com>.
9915
22836f52
UD
99162011-05-11 Ulrich Drepper <drepper@gmail.com>
9917
f574184a
UD
9918 [BZ #12052]
9919 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9920
e1fb097f
UD
9921 [BZ #12625]
9922 * misc/mntent_r.c (addmntent): Flush the stream after the output
9923
22836f52
UD
9924 [BZ #12393]
9925 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9926 (is_trusted_path_normalize): Skip initial colon. Append slash
9927 to empty buffer. Duplicate is_trusted_path code but allow
9928 constructed patch to be prefix.
9929 (is_dst): Allow $ORIGIN followed by /.
9930 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9931 Correct testing of result of is_trusted_path_normalize
9932 (decompose_rpath): Fix warning.
9933
7b3b0b2a
UD
99342011-05-10 Ulrich Drepper <drepper@gmail.com>
9935
9936 [BZ #11257]
9937 * grp/initgroups.c (internal_getgrouplist): When we found the service
9938 list through the initgroups entry in nsswitch.conf do not always
9939 continue on a successful lookup. Don't always use the
eac80ce2 9940 __nss_group_database value if it is set.
7b3b0b2a
UD
9941 * nss/nsswitch.conf (initgroups): Change action for successful db
9942 lookup to continue for compatibility.
9943
2a81eaa5
UD
99442011-05-09 Ulrich Drepper <drepper@gmail.com>
9945
be97a69e
UD
9946 [BZ #11532]
9947 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9948 and CP774 modules.
9949 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9950 and CP774 modules.
9951 * iconvdata/tst-tables.sh: Likewise.
9952 * iconvdata/cp770.c: New file.
9953 * iconvdata/cp771.c: New file.
9954 * iconvdata/cp772.c: New file.
9955 * iconvdata/cp773.c: New file.
9956 * iconvdata/cp774.c: New file.
9957 * iconvdata/testdata/CP770: New file.
9958 * iconvdata/testdata/CP770..UTF8: New file.
9959 * iconvdata/testdata/CP771: New file.
9960 * iconvdata/testdata/CP771..UTF8: New file.
9961 * iconvdata/testdata/CP772: New file.
9962 * iconvdata/testdata/CP772..UTF8: New file.
9963 * iconvdata/testdata/CP773: New file.
9964 * iconvdata/testdata/CP773..UTF8: New file.
9965 * iconvdata/testdata/CP774: New file.
9966 * iconvdata/testdata/CP774..UTF8: New file.
9967
9968 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9969 END CHARMAP line.
9970 * iconvdata/gen-8bit-gap.sh: Likewise.
9971 * iconvdata/gen-8bit.sh: Likewise.
9972
c1e9e399
UD
9973 * locale/iso-639.def: Add ary entry.
9974
24c55fb3 9975 [BZ #11258]
96b4b1b0
UD
9976 * locale/C-translit.h.in: Add U20A1 transliteration.
9977
bdc2f971
KB
9978 [BZ #12178]
9979 * locale/iso-639.def: Add wae entry.
9980 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9981
2952b117
UD
9982 [BZ #12545]
9983 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9984 for n.
9985
2a81eaa5
UD
9986 [BZ #12711]
9987 * locale/C-translit.h.in: Add entry for U20B9.
9988 Patch by pravin.d.s@gmail.com.
9989
28377d1b
UD
99902011-05-08 Ulrich Drepper <drepper@gmail.com>
9991
7fb90fb8
UD
9992 [BZ #12713]
9993 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9994 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9995 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9996 in rtld. Use *stat64.
7fb90fb8 9997 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9998 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9999 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10000 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10001 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10002 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10003 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10004 __fstatat64 macros.
7fb90fb8
UD
10005 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10006 * dirent/rewinddir.c: Add libc_hidden_def.
10007 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10008 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10009
28377d1b
UD
10010 * include/dirent.h (__alloc_dir): Add flags parameter.
10011 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10012 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10013 __alloc_dir.
10014 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10015 from fdopendir if O_CLOEXEC is already set.
10016
66bdbaa4
AM
100172011-03-15 Alan Modra <amodra@gmail.com>
10018
10019 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10020 l_tls_firstbyte_offset non-zero. Save padding offset in
10021 l_tls_firstbyte_offset for later use.
10022 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10023 freeing static tls block.
10024
95721191
JN
100252011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10026
10027 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10028 where #ifdef was intended. The intent is to prevent ARG_MAX from
10029 being defined by the kernel headers.
10030
f87dfb1f
UD
100312011-05-07 Ulrich Drepper <drepper@gmail.com>
10032
10033 [BZ #12734]
10034 * resolv/resolv.h: Define RES_NOTLDQUERY.
10035 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10036 no-tld-query and set RES_NOTLDQUERY.
10037 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10038 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10039 modern BIND to search name as TLD unless forbidden.
10040
47c3cd7a
UD
100412011-05-07 Petr Baudis <pasky@suse.cz>
10042 Ulrich Drepper <drepper@gmail.com>
10043
10044 [BZ #12393]
10045 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10046 (is_trusted_path): ...to here.
c1e9ea35 10047 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10048 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10049 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10050
8a35c912
PP
100512011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10052
10053 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10054 __BEGIN/__END_DECLS.
10055
acd41f47
UD
100562011-05-06 Ulrich Drepper <drepper@gmail.com>
10057
10058 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10059 NSS_STATUS_NOTFOUND if no record was found.
10060
597df647
AS
100612011-05-05 Andreas Schwab <schwab@redhat.com>
10062
10063 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10064 (headers-not-in-tirpc): Remove rpc/netdb.h
10065 * resolv/netdb.h: Revert last change.
10066
b9af1301
PP
100672011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10068
10069 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10070 circular dependency between libgcc.a and libc.a.
10071
4e34d5f5
AS
100722011-05-05 Andreas Schwab <schwab@redhat.com>
10073
10074 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10075 * nis/Makefile: Don't install rpcsvc/*.
10076 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10077 instead of <rpc/types.h>.
10078 (MAXHOSTNAMELEN): Define.
10079
00ee369c
AS
100802011-05-03 Andreas Schwab <schwab@redhat.com>
10081
10082 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10083
0b592a30
MB
100842011-04-28 Maciej Babinski <mbabinski@google.com>
10085
10086 [BZ #12714]
10087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10088 gethostbyname4_r when IPv6 results are possible.
10089
6e04cbbe
UD
100902011-05-02 Ulrich Drepper <drepper@gmail.com>
10091
10092 [BZ #12723]
10093 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10094 _PC_PIPE_BUF handling.
10095
e4ecafe0
BH
100962011-04-30 Bruno Haible <bruno@clisp.org>
10097
10098 [BZ #12717]
10099 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10100 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10101 to 'int'.
10102 * inet/getnameinfo.c (getnameinfo): Likewise.
10103
125ee683
UD
101042011-04-29 Ulrich Drepper <drepper@gmail.com>
10105
10106 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10107 to groups setting in database lookup.
10108 * nss/nsswitch.conf: Add initgroups entry.
10109
b722481a
EB
101102011-04-22 Ulrich Drepper <drepper@gmail.com>
10111
10112 [BZ #12685]
10113 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10114 mode string.
10115 Patch by Eric Blake <eblake@redhat.com>.
10116
4df46dbd
L
101172011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 * sunrpc/Makefile (need-export-routines): Add svc_run.
10120 (routines): Remove svc_run.
10121 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10122 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10123 * sunrpc/svc_run.c (svc_run): Likewise.
10124 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10125
e84142d2
UD
101262011-04-21 Ulrich Drepper <drepper@gmail.com>
10127
10128 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10129 problem in reallocation in last patch.
10130
877175d8
UD
101312011-04-20 Ulrich Drepper <drepper@gmail.com>
10132
10133 * sunrpc/Makefile: Move inclusion of Rules.
10134
ab8eed78
UD
101352011-04-19 Ulrich Drepper <drepper@gmail.com>
10136
10137 * nss/nss_files/files-initgroups.c: New file.
10138 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10139 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10140 _nss_files_initgroups_dyn.
10141
e3d8f584
RS
101422011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10143
10144 * elf/elf.h (R_ARM_IRELATIVE): Define.
10145
af190f45
UD
101462011-04-19 Ulrich Drepper <drepper@gmail.com>
10147
10148 * po/ru.po: Update from translation team.
10149
53cf59ef
UD
101502011-04-17 Ulrich Drepper <drepper@gmail.com>
10151
10152 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10153 dependencies.
10154
4c559bcd
MF
101552011-02-06 Mike Frysinger <vapier@gentoo.org>
10156
10157 [BZ #12653]
10158 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10159 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10160 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10161 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10163
4420675c
AS
101642011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10165
10166 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10167 differing bytes.
10168 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10169 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10170 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10171
75ea32ab
UD
101722011-04-17 Ulrich Drepper <drepper@gmail.com>
10173
10174 [BZ #12420]
10175 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10176 storing it.
10177 * stdlib/bug-getcontext.c: New file.
10178 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10179
27390476
AK
101802011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10181
10182 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10183 instructions into .machine "z9-109".
10184 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10185 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10186
10442705
AK
101872011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10188
10189 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10190 between environment variables and auxiliary vector.
10191
7b57bfe5
UD
101922011-04-16 Ulrich Drepper <drepper@gmail.com>
10193
10194 * Makefile: Add rules to build linkobj/libc.so.
10195 * include/libc-symbols.h: Define libc_hidden_nolink.
10196 * include/rpc/auth.h: Mark functions which are to be hidden.
10197 * include/rpc/auth_des.h: Likewise.
10198 * include/rpc/auth_unix.h: Likewise.
10199 * include/rpc/clnt.h: Likewise.
10200 * include/rpc/des_crypt.h: Likewise.
10201 * include/rpc/key_prot.h: Likewise.
10202 * include/rpc/pmap_clnt.h: Likewise.
10203 * include/rpc/pmap_prot.h: Likewise.
10204 * include/rpc/pmap_rmt.h: Likewise.
10205 * include/rpc/rpc_msg.h: Likewise.
10206 * include/rpc/svc.h: Likewise.
10207 * include/rpc/svc_auth.h: Likewise.
10208 * include/rpc/xdr.h: Likewise.
10209 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10210 * nss/Makefile: Likewise.
10211 * sunrpc/Makefile: Don't install headers. Build library with normal
10212 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10213 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10214 for the compat linking library. Remove use of INTDEF/INTUSE.
10215 * sunrpc/auth_none.c: Likewise.
10216 * sunrpc/auth_unix.c: Likewise.
10217 * sunrpc/authdes_prot.c: Likewise.
10218 * sunrpc/authuxprot.c: Likewise.
10219 * sunrpc/clnt_gen.c: Likewise.
10220 * sunrpc/clnt_perr.c: Likewise.
10221 * sunrpc/clnt_raw.c: Likewise.
10222 * sunrpc/clnt_simp.c: Likewise.
10223 * sunrpc/clnt_tcp.c: Likewise.
10224 * sunrpc/clnt_udp.c: Likewise.
10225 * sunrpc/clnt_unix.c: Likewise.
10226 * sunrpc/des_crypt.c: Likewise.
10227 * sunrpc/des_soft.c: Likewise.
10228 * sunrpc/get_myaddr.c: Likewise.
10229 * sunrpc/key_call.c: Likewise.
10230 * sunrpc/key_prot.c: Likewise.
10231 * sunrpc/netname.c: Likewise.
10232 * sunrpc/pm_getmaps.c: Likewise.
10233 * sunrpc/pm_getport.c: Likewise.
10234 * sunrpc/pmap_clnt.c: Likewise.
10235 * sunrpc/pmap_prot.c: Likewise.
10236 * sunrpc/pmap_prot2.c: Likewise.
10237 * sunrpc/pmap_rmt.c: Likewise.
10238 * sunrpc/publickey.c: Likewise.
10239 * sunrpc/rpc_cmsg.c: Likewise.
10240 * sunrpc/rpc_common.c: Likewise.
10241 * sunrpc/rpc_dtable.c: Likewise.
10242 * sunrpc/rpc_prot.c: Likewise.
10243 * sunrpc/rpc_thread.c: Likewise.
10244 * sunrpc/rtime.c: Likewise.
10245 * sunrpc/svc.c: Likewise.
10246 * sunrpc/svc_auth.c: Likewise.
10247 * sunrpc/svc_authux.c: Likewise.
10248 * sunrpc/svc_raw.c: Likewise.
10249 * sunrpc/svc_run.c: Likewise.
10250 * sunrpc/svc_simple.c: Likewise.
10251 * sunrpc/svc_tcp.c: Likewise.
10252 * sunrpc/svc_udp.c: Likewise.
10253 * sunrpc/svc_unix.c: Likewise.
10254 * sunrpc/svcauth_des.c: Likewise.
10255 * sunrpc/xcrypt.c: Likewise.
10256 * sunrpc/xdr.c: Likewise.
10257 * sunrpc/xdr_array.c: Likewise.
10258 * sunrpc/xdr_float.c: Likewise.
10259 * sunrpc/xdr_intXX_t.c: Likewise.
10260 * sunrpc/xdr_mem.c: Likewise.
10261 * sunrpc/xdr_rec.c: Likewise.
10262 * sunrpc/xdr_ref.c: Likewise.
10263 * sunrpc/xdr_sizeof.c: Likewise.
10264 * sunrpc/xdr_stdio.c: Likewise.
10265
e6c61494
UD
102662011-04-10 Ulrich Drepper <drepper@gmail.com>
10267
10268 [BZ #12650]
10269 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10270 * sysdeps/ia64/dl-tls.h: Likewise.
10271 * sysdeps/powerpc/dl-tls.h: Likewise.
10272 * sysdeps/s390/dl-tls.h: Likewise.
10273 * sysdeps/sh/dl-tls.h: Likewise.
10274 * sysdeps/sparc/dl-tls.h: Likewise.
10275 * sysdeps/x86_64/dl-tls.h: Likewise.
10276 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10277
34fe483e
AS
102782011-03-14 Andreas Schwab <schwab@redhat.com>
10279
10280 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10281 rpath element also skip the following colon.
10282 (expand_dynamic_string_token): Add is_path parameter and pass
10283 down to DL_DST_REQUIRED and _dl_dst_substitute.
10284 (decompose_rpath): Call expand_dynamic_string_token with
10285 non-zero is_path. Ignore empty rpaths.
10286 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10287 with zero is_path.
10288
f12a32e6
AS
102892011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10290
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10292 Make cancelable.
10293
38a7d692
UD
102942011-04-09 Ulrich Drepper <drepper@gmail.com>
10295
10296 [BZ #12655]
10297 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10298 Patch by Filipe David Manana <fdmanana@apache.org>.
10299
e451d22b
AS
103002011-04-07 Andreas Schwab <schwab@redhat.com>
10301
10302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10303 Maintain aligned stack.
10304 (CHECK_RSP): Remove unused macro.
10305
dedc7c7b
UD
103062011-04-03 Ulrich Drepper <drepper@gmail.com>
10307
10308 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10309 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10310
94521213
UD
103112011-04-02 Ulrich Drepper <drepper@gmail.com>
10312
10313 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10314
8cb700c0 10315 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10316
0354e355
L
103172011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10318
10319 [BZ #12518]
10320 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10321 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10322 * sysdeps/x86_64/memmove.c: New file.
10323 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10324 (memcpy): Renamed to ...
10325 (__new_memcpy): This.
10326 (memcpy): Provide GLIBC_2_14 memcpy.
10327 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10328 (memcpy): Provide GLIBC_2_2_5 memcpy.
10329
8593482f
UD
103302011-04-01 Ulrich Drepper <drepper@gmail.com>
10331
10332 [BZ #12631]
10333 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10334
81a5726b
AS
103352011-03-30 Andreas Schwab <schwab@redhat.com>
10336
10337 * misc/syncfs.c: New file.
10338 * misc/Makefile (routines): Add syncfs.
10339 * posix/unistd.h: Declare syncfs.
10340 * sysdeps/unix/syscalls.list: Add syncfs.
10341
00e5419f
AS
103422011-04-01 Andreas Schwab <schwab@redhat.com>
10343
10344 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10345 open_by_handle_at.
10346 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10347 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10349 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10351 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10353
748876bf
UD
103542011-04-01 Ulrich Drepper <drepper@gmail.com>
10355
658e451d
UD
10356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10357 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10358 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10359 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10360 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10363
748876bf
UD
10364 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10365 sync_file_range.c with -fexceptions.
10366 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10367 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10368 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10369 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10370 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10371 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10373 sync_file_range as cancellation point
10374 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10375 now a wrapper around __call_sync_file_range with cancellation handling.
10376 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10377 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10378 function name to __call_sync_file_range.
10379 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10380 Add call_sync_file_range.
748876bf 10381
6e63d5e1
AS
103822011-04-01 Andreas Schwab <schwab@redhat.com>
10383
10384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10385 bits/timex.h.
6e63d5e1 10386
46998f74
UD
103872011-04-01 Ulrich Drepper <drepper@gmail.com>
10388
4c1423ed
UD
10389 * iconv/iconv.h: Fix typo in comment.
10390 * io/fcntl.h: Likewise.
10391 * libio/stdio.h: Likewise.
10392 * posix/spawn.h: Likewise.
10393 * posix/unistd.h: Likewise.
10394 * stdlib/stdlib.h: Likewise.
10395 * time/time.h: Likewise.
10396 * wcsmbs/wchar.h: Likewise.
10397
158648c0
UD
10398 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10399 open_by_handle): Add.
10400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10401 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10402 Augment a few comments.
10403 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10405 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10406 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10407 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10408 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10409 open_by_handle.
10410
46998f74
UD
10411 * io/fcntl.h (AT_EMPTY_PATH): Define.
10412
83fe108b
UD
104132011-03-30 Ulrich Drepper <drepper@gmail.com>
10414
10415 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10416 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10417 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10418 to...
10419 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10420 * Versions.def: Add GLIBC_2.14.
10421 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10422 Export.
83fe108b 10423
bb242059
UD
104242011-03-22 Ulrich Drepper <drepper@gmail.com>
10425
10426 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10427 round counter.
10428 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10429
c97a1282
L
104302011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10431
10432 [BZ #12597]
10433 * string/test-strncmp.c (do_page_test): New function.
10434 (check2): Likewise.
10435 (test_main): Call check2.
10436 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10437
2a115601
UD
104382011-03-20 Ulrich Drepper <drepper@gmail.com>
10439
10440 [BZ #12587]
10441 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10442 Handle cache information in CPU leaf 4.
10443 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10444
8126d904
UD
104452011-03-18 Ulrich Drepper <drepper@gmail.com>
10446
042c49c6 10447 [BZ #12583]
8126d904
UD
10448 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10449 character representation.
10450 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10451
ccfe366e
RA
104522011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10453
10454 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10455 END(__isnan) to END(__isnanf) to match function entry point/label
10456 EALIGN(__isnanf,...).
10457
c6e13027
JJ
104582011-03-10 Jakub Jelinek <jakub@redhat.com>
10459
10460 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10461
33f85a3f
UD
104622011-03-10 Ulrich Drepper <drepper@gmail.com>
10463
028478fa
UD
10464 [BZ #12510]
10465 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10466 copy from the symbol referenced in the relocation to initialize the
10467 used variable.
10468 Patch by Piotr Bury <pbury@goahead.com>.
10469 * elf/Makefile: Add rules to build and tst-unique3.
10470 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10471 * elf/tst-unique3.cc: New file.
10472 * elf/tst-unique3.h: New file.
10473 * elf/tst-unique3lib.cc: New file.
10474 * elf/tst-unique3lib2.cc: New file.
10475
33f85a3f
UD
10476 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10477
03592fc7
MF
104782011-03-10 Mike Frysinger <vapier@gentoo.org>
10479
10480 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10481 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10482 to _start.
03592fc7 10483
6a5ee102
UD
104842011-03-06 Ulrich Drepper <drepper@gmail.com>
10485
10486 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10487 to-be-loaded object along a path to loader is ld.so.
10488
7e4ba49c
HJ
104892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10490 Ulrich Drepper <drepper@gmail.com>
10491
10492 * sysdeps/x86_64/memset.S: After aligning destination, code
10493 branches to different locations depending on the value of
10494 misalignment, when multiarch is enabled. Fix this.
10495
104962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10497
10498 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10499 Set _x86_64_preferred_memory_instruction for AMD processsors.
10500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10501 Set bit_Prefer_SSE_for_memop for AMD processors.
10502
13a804de
UD
105032011-03-04 Ulrich Drepper <drepper@gmail.com>
10504
10505 * libio/fmemopen.c (fmemopen): Optimize a bit.
10506
9d25c392
AS
105072011-03-03 Andreas Schwab <schwab@redhat.com>
10508
10509 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10510
a5543c6a
RM
105112011-03-03 Roland McGrath <roland@redhat.com>
10512
10513 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10514
012d35f7
DM
105152011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10516
7e4ba49c 10517 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10518 __bzero_ultra1 instead of __memset_ultra1.
10519
4bff6e01
AS
105202011-02-23 Andreas Schwab <schwab@redhat.com>
10521 Ulrich Drepper <drepper@gmail.com>
10522
10523 [BZ #12509]
10524 * include/link.h (struct link_map): Add l_orig_initfini.
10525 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10526 returning unsuccessfully.
10527 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10528 close of a file loaded at startup, restore the original l_initfini
10529 list.
10530 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10531 list, store the pointer.
10532 * elf/Makefile ($(objpfx)noload-mem): New rule.
10533 (noload-ENV): Define.
10534 (tests): Add $(objpfx)noload-mem.
10535 * elf/noload.c: Include <memcheck.h>.
10536 (main): Call mtrace. Close all opened handles.
10537
f2092faf
AS
105382011-02-17 Andreas Schwab <schwab@redhat.com>
10539
10540 [BZ #12454]
10541 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10542 dependencies are missing.
10543
6c8a2e88
ST
105442011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10545
f2092faf 10546 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10547 Hurd needs munmap.
10548 * sysdeps/mach/hurd/ifreq.h: New file.
10549
84a42118
PB
105502011-01-27 Petr Baudis <pasky@suse.cz>
10551 Ulrich Drepper <drepper@gmail.com>
10552
071f805e 10553 [BZ 12445]#
84a42118
PB
10554 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10555 to extend_alloca().
10556 * stdio-common/bug23.c: New file.
10557 * stdio-common/Makefile (tests): Add bug23.
10558
e23fe25b
AS
105592010-09-28 Andreas Schwab <schwab@redhat.com>
10560 Ulrich Drepper <drepper@gmail.com>
10561
10562 [BZ #12489]
10563 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10564 before performing relro protection. At old place add assertion
10565 to make sure nothing changed.
10566
d3f02e10
NS
105672011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10568 Glauber de Oliveira Costa <glommer@gmail.com>
10569
10570 * elf/elf.h: Add new ARM TLS relocs.
10571
d55fd7a5
RA
105722011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10573
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10575 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10576 cast from r3.
10577 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10578 'tests' variable.
10579 * sysdeps/wordsize-64/tst-writev.c: New file.
10580
2206397e
RA
105812011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10582
10583 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10584 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10585 insns in _dl_start to prevent a TOC reference before relocs are
10586 resolved.
10587
e9433893
UD
105882011-02-15 Ulrich Drepper <drepper@gmail.com>
10589
10590 [BZ #12469]
10591 * Makeconfig: Remove RANLIB definition.
10592 * Makerules: Don't use RANLIB.
10593 * aclocal.m4: Remove ranlib test.
10594 * configure.in: No need to check for ranlib.
10595 * elf/rtld-Rules: Don't use RANLIB.
10596
f75286c6
ST
105972011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10598
8e31c82d
ST
10599 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10600 protection macro.
10601 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10602 inclusion protection macro.
10603
f75286c6
ST
10604 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10605 SIGRTMIN and SIGRTMAX and print information in that case only when
10606 SIGRTMIN is defined.
10607
c1d0e639
JJ
106082011-02-11 Jakub Jelinek <jakub@redhat.com>
10609
10610 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10611 arginfo fn returning -1.
10612
10613 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10614 and thousands string is zero terminated.
10615
edf9294e
AS
106162011-02-03 Andreas Schwab <schwab@redhat.com>
10617
10618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10619 sysdeps/unix/sysv/linux/bits/socket.h.
10620
2b7e92df
ST
106212011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10622
edf9294e
AS
10623 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10624 (__CPU_COUNT): Remove old macros.
10625 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10626 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10627 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10628 (__sched_cpualloc, __sched_cpufree): Add declarations.
10629
a4c7ea7b
UD
106302011-02-05 Ulrich Drepper <drepper@gmail.com>
10631
10632 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10633 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10634 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10635 (readdhstai): Return value of addhstaiX call.
10636 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10637 (addgrbyX): Return value returned by cache_addgr.
10638 (readdgrbyname): Return value returned by addgrbyX.
10639 (readdgrbygid): Likewise.
10640 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10641 (addpwbyX): Return value returned by cache_addpw.
10642 (readdpwbyname): Return value returned by addhstbyX.
10643 (readdpwbyuid): Likewise.
10644 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10645 (addservbyX): Return value returned by cache_addserv.
10646 (readdservbyname): Return value returned by addservbyX:
10647 (readdservbyport): Likewise.
10648 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10649 (addhstbyX): Return value returned by cache_addhst.
10650 (readdhstbyname): Return value returned by addhstbyX.
10651 (readdhstbyaddr): Likewise.
10652 (readdhstbynamev6): Likewise.
10653 (readdhstbyaddrv6): Likewise.
10654 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10655 (readdinitgroups): Return value returned by addinitgroupsX.
10656 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10657 (prune_cache): Keep track of timeout value of re-added entries.
10658 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10659 * nscd/nscd.h: Adjust prototypes of readd* functions.
10660
a0bf67cc
RM
106612011-02-04 Roland McGrath <roland@redhat.com>
10662
10663 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10664 (nis_stats): Likewise.
10665 * nis/nis_modify.c (nis_modify): Likewise.
10666 * nis/nis_remove.c (nis_remove): Likewise.
10667 * nis/nis_add.c (nis_add): Likewise.
10668
10669 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10670
10671 * posix/fnmatch_loop.c: Add some consts.
10672
10673 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10674
435b95eb
L
106752011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10676
10677 [BZ #12460]
10678 * config.make.in (config-cflags-novzeroupper): Define.
10679 * configure.in: Substitute libc_cv_cc_novzeroupper.
10680 * elf/Makefile (AVX-CFLAGS): Define.
10681 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10682 (CFLAGS-tst-auditmod4a.c): Likewise.
10683 (CFLAGS-tst-auditmod4b.c): Likewise.
10684 (CFLAGS-tst-auditmod6b.c): Likewise.
10685 (CFLAGS-tst-auditmod6c.c): Likewise.
10686 (CFLAGS-tst-auditmod7b.c): Likewise.
10687 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10688
8517b15e
UD
106892011-02-02 Ulrich Drepper <drepper@gmail.com>
10690
10691 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10692 function to the callback.
10693 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10694
10a656fe
AS
106952011-02-02 Andreas Schwab <schwab@redhat.com>
10696
10697 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10698 of errno.
10699
968dad0a
UD
107002011-01-19 Ulrich Drepper <drepper@gmail.com>
10701
9f94d2ea 10702 [BZ #11724]
968dad0a
UD
10703 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10704 of constructors.
10705 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10706 of destructors.
10707 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10708
10709 [BZ #11724]
10710 * elf/Makefile: Add rules to build and run new test.
10711 * elf/tst-initorder.c: New file.
10712 * elf/tst-initorder.exp: New file.
10713 * elf/tst-initordera1.c: New file.
10714 * elf/tst-initordera2.c: New file.
10715 * elf/tst-initordera3.c: New file.
10716 * elf/tst-initordera4.c: New file.
10717 * elf/tst-initorderb1.c: New file.
10718 * elf/tst-initorderb2.c: New file.
10719 * elf/tst-order-a1.c: New file.
10720 * elf/tst-order-a2.c: New file.
10721 * elf/tst-order-a3.c: New file.
10722 * elf/tst-order-a4.c: New file.
10723 * elf/tst-order-b1.c: New file.
10724 * elf/tst-order-b2.c: New file.
10725 * elf/tst-order-main.c: New file.
10726 New test case by George Gensure <werkt0@gmail.com>.
10727
86e92359
UD
107282010-10-01 Andreas Schwab <schwab@redhat.com>
10729
10730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10731 decoding ACE if AI_CANONIDN.
10732
5d5732b0
UD
107332011-01-18 Ulrich Drepper <drepper@gmail.com>
10734
10735 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10736
a77e8cbc
UD
107372011-01-17 Ulrich Drepper <drepper@gmail.com>
10738
6392473f
UD
10739 * version.h (RELEASE): Bump for 2.13 release.
10740 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10741
620a0529
UD
10742 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10743
18ba70a5
UD
10744 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10745 MADV_NOHUGEPAGE.
32465c3e
UD
10746 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10748 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10749 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10750 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10751 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10752
c0dafcf1
UD
10753 * posix/getconf.c: Update copyright year.
10754 * catgets/gencat.c: Likewise.
10755 * csu/version.c: Likewise.
10756 * debug/catchsegv.sh: Likewise.
10757 * debug/xtrace.sh: Likewise.
10758 * elf/ldconfig.c: Likewise.
10759 * elf/ldd.bash.in: Likewise.
10760 * elf/sprof.c (print_version): Likewise.
10761 * iconv/iconv_prog.c: Likewise.
10762 * iconv/iconvconfig.c: Likewise.
10763 * locale/programs/locale.c: Likewise.
10764 * locale/programs/localedef.c: Likewise.
10765 * malloc/memusage.sh: Likewise.
10766 * malloc/mtrace.pl: Likewise.
10767 * nscd/nscd.c (print_version): Likewise.
10768 * nss/getent.c: Likewise.
10769
a77e8cbc
UD
10770 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10771 PF_CAIF, and PF_ALG.
10772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10773
77e8bddf
AS
107742011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10775
1f20b93a
AS
10776 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10777 (modules-names): Use them.
10778 (ifunc-test-modules, ifunc-pie-tests): Define.
10779 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10780 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10781 (test-extras): Likewise.
10782 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10783 $(compile-command.c).
10784 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10785 (all-built-dso): Define.
10786 (check-textrel.out, check-execstack.out): Depend on it.
10787
77e8bddf
AS
10788 * configure.in: Don't override --enable-multi-arch.
10789
bc425b33
UD
107902011-01-15 Ulrich Drepper <drepper@gmail.com>
10791
10792 [BZ #6812]
10793 * nscd/hstcache.c (tryagain): Define.
10794 (cache_addhst): Return tryagain not notfound for temporary errors.
10795 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10796 failed.
10797
794c3ad3
UD
107982011-01-14 Ulrich Drepper <drepper@gmail.com>
10799
70181fdd
UD
10800 [BZ #10563]
10801 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10802 to make the syscall.
10803 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10804
794c3ad3
UD
10805 [BZ #12378]
10806 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10807 and fall back to matching as normal character if the string ends before
10808 the matching ']' is found. This is what POSIX requires.
10809 * posix/testfnm.c: Adjust test result.
10810 * posix/globtest.sh: Adjust test result. Add new test.
10811 * posix/tst-fnmatch.input: Likewise.
10812 * posix/tst-fnmatch2.c: Add new test.
10813
68dc9497
AS
108142010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10815
10816 * elf/Makefile (check-execstack): Revert last change. Depend on
10817 check-execstack.h.
10818 (check-execstack.h): New target.
10819 (generated): Add check-execstack.h.
10820 * elf/check-execstack.c: Include "check-execstack.h".
10821 (main): Revert last change.
10822 (handle_file): Return zero if GNU_STACK is absent and
10823 DEFAULT_STACK_PERMS doesn't include PF_X.
10824
451f001b
UD
108252011-01-13 Ulrich Drepper <drepper@gmail.com>
10826
cfa28e56
UD
10827 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10828 in child fails because the descriptor is already closed.
8cf8ce17
UD
10829 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10830 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10831 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10832
1086d70d
UD
10833 [BZ #12397]
10834 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10835 syscall.
10836
451f001b
UD
10837 [BZ #10484]
10838 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10839 temporary buffer used to handle multi lookups locally.
a85b5cb4 10840 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10841
08769175
UD
108422011-01-12 Ulrich Drepper <drepper@gmail.com>
10843
10844 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10845 loader is ld.so.
10846
5e49c52e
UD
108472011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10848
10849 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10850 alignment for SSE2.
10851
60522a5f
UD
108522011-01-12 Ulrich Drepper <drepper@gmail.com>
10853
10854 [BZ #12394]
10855 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10856 characters. When rounding increased number of integer digits recompute
10857 number of groups.
10858 * stdio-common/tst-grouping.c: New file.
10859 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10860
f257bbd7
UD
108612011-01-09 Ulrich Drepper <drepper@gmail.com>
10862
10863 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10864 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10865
10866 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10867 void.
10868 * bits/select.h: Likewise.
10869
fa9c15cb
UD
108702011-01-08 Ulrich Drepper <drepper@gmail.com>
10871
10872 * po/ja.po: Update from translation team.
10873
16c2895f
DM
108742011-01-04 David S. Miller <davem@sunset.davemloft.net>
10875
10876 [BZ #11155]
10877 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10878 implementation just like for lxstat, fxstatat, et al.
10879
2543fef2
JM
108802010-12-27 Jim Meyering <meyering@redhat.com>
10881
10882 [BZ #12348]
10883 * posix/regexec.c (build_trtable): Return failure indication upon
10884 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10885
98727dbe
UD
108862010-12-25 Ulrich Drepper <drepper@gmail.com>
10887
5bd6dc5c
UD
10888 [BZ #12201]
10889 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10890 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10891 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10892 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10893
97983464
UD
10894 [BZ #12207]
10895 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10896
98727dbe
UD
10897 [BZ #12204]
10898 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10899 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10900
4a531bb0
L
109012010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10902
10903 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10904 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10905 script has SORT_BY_INIT_PRIORITY.
10906 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10907 NO_CTORS_DTORS_SECTIONS is defined.
10908 * elf/soinit.c: Likewise.
10909 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10910 NO_CTORS_DTORS_SECTIONS is defined.
10911 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10912 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10913 * sysdeps/sh/init-first.c: Likewise.
10914 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10915
07eb4b71
UD
109162010-12-24 Ulrich Drepper <drepper@gmail.com>
10917
10918 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10919 always use the slow path.
10920
30950a5f
RA
109212010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10922
10923 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10924 similar rule which adds the sysdep directories to the header search in
10925 order to pick up the correct platform stackinfo.h.
10926 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10927 perform test if it is, otherwise return successfully without testing.
10928 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10929 DEFAULT_STACK_PERMS define in stackinfo.h.
10930 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10931 defined in stackinfo.h.
10932 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10933 DEFAULT_STACK_PERMS defined in stackinfo.h.
10934 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10935 * sysdeps/ia64/stackinfo.h: Likewise.
10936 * sysdeps/s390/stackinfo.h: Likewise.
10937 * sysdeps/sh/stackinfo.h: Likewise.
10938 * sysdeps/sparc/stackinfo.h: Likewise.
10939 * sysdeps/x86_64/stackinfo.h: Likewise.
10940 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10941 PF_X for powerpc64. Retain PF_X for powerpc32.
10942
db753e2c
UD
109432010-12-19 Ulrich Drepper <drepper@gmail.com>
10944
14b697f7
UD
10945 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10946 accurately.
db753e2c
UD
10947 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10948 GETDENTS_64BIT_ALIGNED.
10949
28300719
UD
109502010-12-14 Ulrich Drepper <dreper@gmail.com>
10951
14b697f7 10952 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10953
4f197237
AS
109542010-12-10 Andreas Schwab <schwab@redhat.com>
10955
dbb0472f
AS
10956 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10957 _GNU_SOURCE.
10958
4f197237
AS
10959 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10960 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10961 Remove __restrict.
10962 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10963 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10964
fb88ac72
UD
109652010-12-09 Ulrich Drepper <drepper@gmail.com>
10966
10967 [BZ #11655]
10968 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10969 are initialized.
10970
42acbb92
JJ
109712010-12-09 Jakub Jelinek <jakub@redhat.com>
10972
10973 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10974
c038d98d
UD
109752010-12-03 Ulrich Drepper <drepper@gmail.com>
10976
10977 * po/it.po: Update from translation team.
10978
3a4a2499
L
109792010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10980
10981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10982 unused codes.
10983
1e24cf6e
UD
109842010-11-30 Ulrich Drepper <drepper@gmail.com>
10985
10986 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10987
a7690819
AS
109882010-11-24 Andreas Schwab <schwab@redhat.com>
10989
10990 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10991 specially.
10992 (gaih_getanswer_slice): Likewise.
10993
3bf8d1b1
JJ
109942010-10-20 Jakub Jelinek <jakub@redhat.com>
10995
10996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10997
6db52fbb
PB
109982010-05-31 Petr Baudis <pasky@suse.cz>
10999
11000 [BZ #11149]
11001 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11002 silently even in the chroot mode.
11003
eaca7569
UD
110042010-11-22 Ulrich Drepper <drepper@gmail.com>
11005
11006 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11007 last patch a bit. Pretty printing
11008
3056dcdb
UD
110092010-05-31 Petr Baudis <pasky@suse.cz>
11010
11011 [BZ #10085]
11012 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11013 initialization of skip_initgroups_dyn.
11014
cf7c9078
UD
110152010-11-19 Ulrich Drepper <drepper@gmail.com>
11016
11017 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11018 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11019
a1fb5e3e
UD
110202010-11-16 Ulrich Drepper <drepper@gmail.com>
11021
11022 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11023
3540d66b
AS
110242010-11-11 Andreas Schwab <schwab@redhat.com>
11025
11026 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11027 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11028 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11029 ($(objpfx)tst-fnmatch-mem): New rule.
11030 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11031 * posix/tst-fnmatch.c (main): Call mtrace.
11032
13b69574
L
110332010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11034
11035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11036 Support Intel processor model 6 and model 0x2c.
11037
da93d214
LM
110382010-11-10 Luis Machado <luisgpm@br.ibm.com>
11039
11040 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11041 signed comparison.
11042
8ca52c6e
L
110432010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 [BZ #12205]
11046 * string/test-strncasecmp.c (check_result): New function.
11047 (do_one_test): Use it.
11048 (check1): New function.
11049 (test_main): Use it.
11050 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11051 Support strcasecmp and strncasecmp.
11052
69da074d
UD
110532010-11-08 Ulrich Drepper <drepper@gmail.com>
11054
11055 [BZ #12194]
11056 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11057 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11058
ff02d528
L
110592010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11060
11061 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11062 IFUNC support.
11063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11064 memset-x86-64.
11065 * sysdeps/x86_64/multiarch/bzero.S: New file.
11066 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11067 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11068 * sysdeps/x86_64/multiarch/memset.S: New file.
11069 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11071 Set bit_Prefer_SSE_for_memop for Intel processors.
11072 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11073 Define.
11074 (index_Prefer_SSE_for_memop): Define.
11075 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11076
344d0b54
LM
110772010-11-04 Luis Machado <luisgpm@br.ibm.com>
11078
11079 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11080 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11081
c0dde15b
UD
110822010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11083
11084 [BZ #12191]
11085 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11086 (__x86_64_raw_data_cache_size_half): Likewise.
11087 (__x86_64_raw_shared_cache_size): Likewise.
11088 (__x86_64_raw_shared_cache_size_half): Likewise.
11089
11090 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11091 (__x86_64_raw_data_cache_size_half): Likewise.
11092 (__x86_64_raw_shared_cache_size): Likewise.
11093 (__x86_64_raw_shared_cache_size_half): Likewise.
11094 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11095 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11096 and __x86_64_raw_shared_cache_size_half. Round
11097 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11098 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11099 to multiple of 256 bytes.
11100
0e516e0e
MS
111012010-11-03 Ulrich Drepper <drepper@gmail.com>
11102
11103 [BZ #12167]
11104 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11105 of inacessible symlinks. Verify result of symlink before returning it.
11106 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11107 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11108
0e012e87
ER
111092010-10-28 Erich Ritz <erichritz@gmail.com>
11110
11111 * math/math.h (isinf): Fix typo in comment.
11112
de0ff7bc
UD
111132010-11-01 Ulrich Drepper <drepper@gmail.com>
11114
11115 * po/da.po: Update from translation team.
11116
fa41c84d
UD
111172010-10-26 Ulrich Drepper <drepper@gmail.com>
11118
11119 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11120 is added to the list.
11121
f0967738
AK
111222010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11123 Ulrich Drepper <drepper@gmail.com>
11124
11125 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11126 the global list here. Move code to...
11127 (_dl_add_to_namespace_list): ...here. New function.
11128 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11129 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11130 * elf/dl-load.c (lose): Don't remove the element from the list.
11131 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11132 (_dl_map_object): Likewise.
11133
111342010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11135
11136 [BZ #12159]
11137 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11138 into all bytes of SSE register.
11139 Patch by Richard Li <richardpku@gmail.com>.
11140
f0967738 111412010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11142
11143 [BZ #12140]
11144 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11145 perturbing.
11146
d0b9e94f
MB
111472010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11148
11149 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11150 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11151 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11152 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11154 submachine.
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11156
8e9f92e9
AS
111572010-10-22 Andreas Schwab <schwab@redhat.com>
11158
11159 * include/dlfcn.h (__RTLD_SECURE): Define.
11160 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11161 mode & __RTLD_SECURE instead.
11162 (open_path): Rename preloaded parameter to secure.
11163 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11164 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11165 * elf/dl-deps.c (openaux): Likewise.
11166 * elf/rtld.c (struct map_args): Remove is_preloaded.
11167 (map_doit): Don't use it.
11168 (dl_main): Likewise.
11169 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11170 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11171
bc96fbda
AS
111722010-09-09 Andreas Schwab <schwab@redhat.com>
11173
11174 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11175 (sysd-rules-targets): Remove duplicates.
11176 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11177 rtld-%.$o dependency.
11178
22cd1c9b
AS
111792010-10-18 Andreas Schwab <schwab@redhat.com>
11180
11181 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11182 _dl_map_object do it.
11183
18edac48
UD
111842010-10-19 Ulrich Drepper <drepper@gmail.com>
11185
11186 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11187 fast fma builtins, define the macros in the C99 standard.
11188 (FP_FAST_FMAF): Likewise.
11189 (FP_FAST_FMAL): Likewise.
11190 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11191
11192 * bits/mathdef.h: Update copyright year.
11193 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11194
d2050124
MM
111952010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11196
11197 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11198 builtins, define the macros in the C99 standard.
11199 (FP_FAST_FMAF): Likewise.
11200 (FP_FAST_FMAL): Likewise.
11201 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11202 multiply/add.
11203 (FP_FAST_FMAF): Likewise.
11204
475facd1
JJ
112052010-10-15 Jakub Jelinek <jakub@redhat.com>
11206
11207 [BZ #3268]
11208 * math/libm-test.inc (fma_test): Some new testcases.
11209 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11210 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11211 y and infinite z. Do multiplication by C already in long double.
11212 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11214 y and infinite z. Do bitwise or of inexact bit into u.d.
11215 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11216 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11217 * sysdeps/i386/fpu/s_fma.S: Removed.
11218 * sysdeps/i386/fpu/s_fmal.S: Removed.
11219
7c08a05c
JJ
112202010-10-16 Jakub Jelinek <jakub@redhat.com>
11221
11222 [BZ #3268]
11223 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11224 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11225 computation is not scheduled after fetestexcept. Fix value
11226 of minimum denormal long double.
11227
f3f7372d
JJ
112282010-10-14 Jakub Jelinek <jakub@redhat.com>
11229
11230 [BZ #3268]
11231 * math/libm-test.inc (fma_test): Add some more tests.
11232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11233 correctly.
11234
14d43591
AS
112352010-10-15 Andreas Schwab <schwab@redhat.com>
11236
11237 * scripts/data/localplt-s390-linux-gnu.data: New file.
11238 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11239
5e908464
JJ
112402010-10-13 Jakub Jelinek <jakub@redhat.com>
11241
11242 [BZ #3268]
11243 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11244 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11245 instead of dbl-64.
11246 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11247 inlines.
11248 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11250 if one of x and y is very large and the other is subnormal.
11251 * sysdeps/s390/fpu/s_fmaf.c: New file.
11252 * sysdeps/s390/fpu/s_fma.c: New file.
11253 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11254 * sysdeps/powerpc/fpu/s_fma.S: New file.
11255 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11256 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11257 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11258
112592010-10-12 Jakub Jelinek <jakub@redhat.com>
11260
11261 [BZ #3268]
11262 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11263 fma tests.
11264 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11265 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11266 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11267 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11268 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11269 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11271
b833d51f
UD
112722010-10-12 Ulrich Drepper <drepper@redhat.com>
11273
11274 [BZ #12078]
11275 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11276 * posix/bug-regex31.input: Add test case.
11277
1751705d
UD
112782010-10-11 Ulrich Drepper <drepper@gmail.com>
11279
e9b9cbf5
UD
11280 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11281 * posix/bug-regex31.input: New file.
11282
11283 [BZ #12078]
11284 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11285 (parse_sub_exp): Fix last change, use postorder.
11286
ef06edbe
UD
11287 * posix/bug-regex31.c: New file.
11288 * posix/Makefile: Add rules to build and run bug-regex31.
11289
a129c80d
UD
11290 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11291
11292 [BZ #12078]
11293 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11294
b76b818e
UD
11295 [BZ #12108]
11296 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11297 to have entries in sys_siglist.
11298
1751705d
UD
11299 [BZ #12093]
11300 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11301 be NULL.
11302
9ff8d36f
JJ
113032010-10-07 Jakub Jelinek <jakub@redhat.com>
11304
11305 [BZ #3268]
11306 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11307 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11308 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11309 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11310 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11311 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11312 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11313 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11314 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11315 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11316 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11317 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11318 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11319 * math/ftestexcept.c (fetestexcept): Likewise.
11320 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11321 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11322 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11323 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11324 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11325 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11326 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11327
af325969
UD
113282010-10-11 Ulrich Drepper <drepper@gmail.com>
11329
c579b202 11330 [BZ #12107]
af325969
UD
11331 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11332 newline.
11333
67a67b95
UD
113342010-10-06 Ulrich Drepper <drepper@gmail.com>
11335
11336 * string/bug-strstr1.c: New file.
11337 * string/Makefile: Add rules to build and run bug-strstr1.
11338
5fb308bc
EB
113392010-10-05 Eric Blake <eblake@redhat.com>
11340
11341 [BZ #12092]
11342 * string/str-two-way.h (two_way_long_needle): Always clear memory
11343 when skipping input due to the shift table.
11344
45db99c7
UD
113452010-10-03 Ulrich Drepper <drepper@gmail.com>
11346
3b111893
UD
11347 [BZ #12005]
11348 * malloc/mcheck.c: Handle large requests.
11349
45db99c7
UD
11350 [BZ #12077]
11351 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11352 for strncmp and strncasecmp.
11353 * string/stratcliff.c: Add tests for strcmp and strncmp.
11354 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11355
cf7a1eb8
NI
113562010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11357
11358 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11359 __set_fpscr.
11360
6484ba5e
AJ
113612010-09-30 Andreas Jaeger <aj@suse.de>
11362
11363 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11364 (CGROUP_SUPER_MAGIC): Define.
11365 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11366 Handle btrfs and cgroup file systems.
11367 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11368 Likewise.
11369
91c42559
LM
113702010-09-27 Luis Machado <luisgpm@br.ibm.com>
11371
11372 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11373 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11374
87a97932
AK
113752010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11376
11377 [BZ #12067]
11378 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11379 trying to locate the ELF header.
11380
c21cc9bc
AS
113812010-09-27 Andreas Schwab <schwab@redhat.com>
11382
11383 [BZ #11611]
11384 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11385 Mask out sign-bit copies when constructing f_fsid.
11386
315970f6
PB
113872010-09-24 Petr Baudis <pasky@suse.cz>
11388
11389 * debug/stack_chk_fail_local.c: Add missing licence exception.
11390 * debug/warning-nop.c: Likewise.
11391
1ac7a2c7
JM
113922010-09-15 Joseph Myers <joseph@codesourcery.com>
11393
11394 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11395 implementing getdents64 using getdents syscall, set d_type if
11396 __ASSUME_GETDENTS32_D_TYPE.
11397
56801c50
AS
113982010-09-16 Andreas Schwab <schwab@redhat.com>
11399
11400 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11401 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11402
dda51327
UD
114032010-09-21 Ulrich Drepper <drepper@redhat.com>
11404
11405 [BZ #12037]
11406 * posix/unistd.h: Undo change of feature selection for ftruncate from
11407 2010-01-11.
11408
8ffcee4a
UD
114092010-09-20 Ulrich Drepper <drepper@redhat.com>
11410
a545ecd9 11411 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11412 detection.
11413
e24f0a8b
AS
114142010-09-20 Andreas Schwab <schwab@redhat.com>
11415
11416 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11417 fanotify_mark.
11418 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11419
7291c56f
AS
114202010-09-14 Andreas Schwab <schwab@redhat.com>
11421
11422 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11423 variables after CHECK_SP call.
11424 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11425
bc5fb037
AS
114262010-09-13 Andreas Schwab <schwab@redhat.com>
11427 Ulrich Drepper <drepper@redhat.com>
11428
11429 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11430 re-relocationg ld.so.
11431 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11432 _dl_init_paths call.
11433 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11434 here anymore.
11435
e66e7419
UD
114362010-09-14 Ulrich Drepper <drepper@redhat.com>
11437
11438 * resolv/res_init.c (__res_vinit): Count the default server we added.
11439
c044aa75
CLT
114402010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11441 Ulrich Drepper <drepper@redhat.com>
11442
11443 [BZ #11968]
11444 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11445 (____longjmp_chk): Use %ebx for saving value across system call.
11446 Add unwind info.
11447
32cf4069
AS
114482010-09-06 Andreas Schwab <schwab@redhat.com>
11449
11450 * manual/Makefile: Don't mix pattern rules with normal rules.
11451
817328ee
AS
114522010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11453
11454 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11455 operation.
11456 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11457 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11458 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11459 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11460 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11461 Likewise.
11462
29fddf61
UD
114632010-09-04 Ulrich Drepper <drepper@redhat.com>
11464
11465 [BZ #11979]
11466 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11467 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11468
0959ffc9
UD
114692010-09-02 Ulrich Drepper <drepper@redhat.com>
11470
11471 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11472 * sysdeps/x86_64/addmul_1.S: Likewise.
11473 * sysdeps/x86_64/lshift.S: Likewise.
11474 * sysdeps/x86_64/mul_1.S: Likewise.
11475 * sysdeps/x86_64/rshift.S: Likewise.
11476 * sysdeps/x86_64/sub_n.S: Likewise.
11477 * sysdeps/x86_64/submul_1.S: Likewise.
11478
ece29840
ST
114792010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11480
0959ffc9
UD
11481 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11482 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11483 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11484 * bits/sched.h [__need_schedparam]
ece29840 11485 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11486 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11487 (__defined_schedparam): Define to 1.
ece29840
ST
11488 (__sched_param): New structure, identical to sched_param.
11489 (__need_schedparam): Undefine.
11490
e53a31fe
MF
114912010-08-31 Mike Frysinger <vapier@gentoo.org>
11492
fdc0c10d
MF
11493 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11494 (epoll_create1): Declare.
11495
e53a31fe
MF
11496 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11497
a726d796
AS
114982010-08-31 Andreas Schwab <schwab@redhat.com>
11499
11500 [BZ #7066]
11501 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11502 shifting retval into place.
11503
2f3e3dc7
UD
115042010-09-01 Ulrich Drepper <drepper@redhat.com>
11505
f2933da9
UD
11506 * nis/rpcsvc/nis.h: Update copyright notice.
11507 * nis/rpcsvc/nis.x: Likewise.
11508 * nis/rpcsvc/nis_callback.h: Likewise.
11509 * nis/rpcsvc/nis_callback.x: Likewise.
11510 * nis/rpcsvc/nis_object.x: Likewise.
11511 * nis/rpcsvc/nis_tags.h: Likewise.
11512 * nis/rpcsvc/yp.h: Likewise.
11513 * nis/rpcsvc/yp.x: Likewise.
11514 * nis/rpcsvc/ypupd.h: Likewise.
11515 * nis/yp_xdr.c: Likewise.
11516 * nis/ypupdate_xdr.c: Likewise.
11517
2f3e3dc7
UD
11518 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11519 mainly the body of pmap_getport. Add parameters to specify timeouts.
11520 (pmap_getport): Use __libc_rpc_getport.
11521 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11522 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11523 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11524
f3dcc2f9
AS
115252010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11526
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11528 fanotify_mark.
11529
6d34eb5b
RM
115302010-08-27 Roland McGrath <roland@redhat.com>
11531
11532 * sysdeps/i386/i686/multiarch/Makefile
11533 (CFLAGS-varshift.c): New variable.
11534
9ea3de11
UD
115352010-08-27 Ulrich Drepper <drepper@redhat.com>
11536
c96d23fc
UD
11537 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11538 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11539
9ea3de11
UD
11540 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11541
11542 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11543
623aac7f
L
115442010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11545
11546 * sysdeps/x86_64/strlen.S: Unroll the loop.
11547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11548 strlen-sse2 strlen-sse2-bsf.
11549 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11550 __strlen_no_bsf if bit_Slow_BSF is set.
11551 (__strlen_sse42): Removed.
11552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11553 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11554
8b2b7715
RM
115552010-08-25 Roland McGrath <roland@redhat.com>
11556
11557 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11558 * sysdeps/x86_64/multiarch/varshift.c: New file.
11559 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11560 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11561 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11562 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11563
e73015f2
L
115642010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11565
11566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11567 strlen-sse2 strlen-sse2-bsf.
11568 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11569 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11570 (__strlen_sse2): Removed.
11571 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11572 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11574 bit_Slow_BSF for Atom.
11575 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11576 (index_Slow_BSF): Define.
11577 (HAS_SLOW_BSF): Define.
11578
df24a73e
UD
115792010-08-25 Ulrich Drepper <drepper@redhat.com>
11580
11581 [BZ #10851]
11582 * resolv/res_init.c (__res_vinit): When no server address at all
11583 is given default to loopback.
11584
f2ac4868
RM
115852010-08-24 Roland McGrath <roland@redhat.com>
11586
09055553
RM
11587 * configure.in: Remove config-name.h generation.
11588 * configure: Regenerated.
11589 * config-name.in: File removed.
11590 * scripts/config-uname.sh: New file.
11591 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11592 ($(objdir)config-name.h): New target.
11593
f2ac4868
RM
11594 * sunrpc/rpc_parse.h: Avoid nested comment.
11595
73f27d5e
RH
115962010-08-24 Richard Henderson <rth@redhat.com>
11597 Ulrich Drepper <drepper@redhat.com>
11598 H.J. Lu <hongjiu.lu@intel.com>
11599
11600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11602 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11603 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11604 _mm_alignr_epi8 with _mm_loadu_si128.
11605 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11606 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11607 (__m128i_shift_right): Removed.
11608 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11609 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11610 * sysdeps/x86_64/multiarch/varshift.h: New file.
11611 * sysdeps/x86_64/multiarch/varshift.S: New file.
11612
84b9230c
MF
116132010-08-21 Mike Frysinger <vapier@gentoo.org>
11614
11615 * configure.in: Move assembler checks to before sysdep dir checking.
11616
9bbd0ddc
PB
116172010-08-20 Petr Baudis <pasky@suse.cz>
11618
11619 * LICENSES: Sync the sunrpc license.
11620
9da4bb31
UD
116212010-08-19 Ulrich Drepper <drepper@redhat.com>
11622
a7ab6ec8
UD
11623 * sunrpc/auth_des.c: Update copyright notice once again.
11624 * sunrpc/auth_none.c: Likewise.
11625 * sunrpc/auth_unix.c: Likewise.
11626 * sunrpc/authdes_prot.c: Likewise.
11627 * sunrpc/authuxprot.c: Likewise.
11628 * sunrpc/bindrsvprt.c: Likewise.
11629 * sunrpc/clnt_gen.c: Likewise.
11630 * sunrpc/clnt_perr.c: Likewise.
11631 * sunrpc/clnt_raw.c: Likewise.
11632 * sunrpc/clnt_simp.c: Likewise.
11633 * sunrpc/clnt_tcp.c: Likewise.
11634 * sunrpc/clnt_udp.c: Likewise.
11635 * sunrpc/clnt_unix.c: Likewise.
11636 * sunrpc/des_crypt.c: Likewise.
11637 * sunrpc/des_soft.c: Likewise.
11638 * sunrpc/get_myaddr.c: Likewise.
11639 * sunrpc/getrpcport.c: Likewise.
11640 * sunrpc/key_call.c: Likewise.
11641 * sunrpc/key_prot.c: Likewise.
11642 * sunrpc/openchild.c: Likewise.
11643 * sunrpc/pm_getmaps.c: Likewise.
11644 * sunrpc/pm_getport.c: Likewise.
11645 * sunrpc/pmap_clnt.c: Likewise.
11646 * sunrpc/pmap_prot.c: Likewise.
11647 * sunrpc/pmap_prot2.c: Likewise.
11648 * sunrpc/pmap_rmt.c: Likewise.
11649 * sunrpc/rpc/auth.h: Likewise.
11650 * sunrpc/rpc/auth_unix.h: Likewise.
11651 * sunrpc/rpc/clnt.h: Likewise.
11652 * sunrpc/rpc/des_crypt.h: Likewise.
11653 * sunrpc/rpc/key_prot.h: Likewise.
11654 * sunrpc/rpc/netdb.h: Likewise.
11655 * sunrpc/rpc/pmap_clnt.h: Likewise.
11656 * sunrpc/rpc/pmap_prot.h: Likewise.
11657 * sunrpc/rpc/pmap_rmt.h: Likewise.
11658 * sunrpc/rpc/rpc.h: Likewise.
11659 * sunrpc/rpc/rpc_des.h: Likewise.
11660 * sunrpc/rpc/rpc_msg.h: Likewise.
11661 * sunrpc/rpc/svc.h: Likewise.
11662 * sunrpc/rpc/svc_auth.h: Likewise.
11663 * sunrpc/rpc/types.h: Likewise.
11664 * sunrpc/rpc/xdr.h: Likewise.
11665 * sunrpc/rpc_clntout.c: Likewise.
11666 * sunrpc/rpc_cmsg.c: Likewise.
11667 * sunrpc/rpc_common.c: Likewise.
11668 * sunrpc/rpc_cout.c: Likewise.
11669 * sunrpc/rpc_dtable.c: Likewise.
11670 * sunrpc/rpc_hout.c: Likewise.
11671 * sunrpc/rpc_main.c: Likewise.
11672 * sunrpc/rpc_parse.c: Likewise.
11673 * sunrpc/rpc_parse.h: Likewise.
11674 * sunrpc/rpc_prot.c: Likewise.
11675 * sunrpc/rpc_sample.c: Likewise.
11676 * sunrpc/rpc_scan.c: Likewise.
11677 * sunrpc/rpc_scan.h: Likewise.
11678 * sunrpc/rpc_svcout.c: Likewise.
11679 * sunrpc/rpc_tblout.c: Likewise.
11680 * sunrpc/rpc_util.c: Likewise.
11681 * sunrpc/rpc_util.h: Likewise.
11682 * sunrpc/rpcinfo.c: Likewise.
11683 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11684 * sunrpc/rpcsvc/key_prot.x: Likewise.
11685 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11686 * sunrpc/rpcsvc/mount.x: Likewise.
11687 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11688 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11689 * sunrpc/rpcsvc/rex.x: Likewise.
11690 * sunrpc/rpcsvc/rstat.x: Likewise.
11691 * sunrpc/rpcsvc/rusers.x: Likewise.
11692 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11693 * sunrpc/rpcsvc/spray.x: Likewise.
11694 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11695 * sunrpc/rtime.c: Likewise.
11696 * sunrpc/svc.c: Likewise.
11697 * sunrpc/svc_auth.c: Likewise.
11698 * sunrpc/svc_authux.c: Likewise.
11699 * sunrpc/svc_raw.c: Likewise.
11700 * sunrpc/svc_run.c: Likewise.
11701 * sunrpc/svc_simple.c: Likewise.
11702 * sunrpc/svc_tcp.c: Likewise.
11703 * sunrpc/svc_udp.c: Likewise.
11704 * sunrpc/svc_unix.c: Likewise.
11705 * sunrpc/svcauth_des.c: Likewise.
11706 * sunrpc/xcrypt.c: Likewise.
11707 * sunrpc/xdr.c: Likewise.
11708 * sunrpc/xdr_array.c: Likewise.
11709 * sunrpc/xdr_float.c: Likewise.
11710 * sunrpc/xdr_mem.c: Likewise.
11711 * sunrpc/xdr_rec.c: Likewise.
11712 * sunrpc/xdr_ref.c: Likewise.
11713 * sunrpc/xdr_sizeof.c: Likewise.
11714 * sunrpc/xdr_stdio.c: Likewise.
11715
9da4bb31
UD
11716 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11717 handling.
11718
bdaa77bc
AS
117192010-08-19 Andreas Schwab <schwab@redhat.com>
11720
11721 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11722
fe2f79db
LM
117232010-08-19 Luis Machado <luisgpm@br.ibm.com>
11724
11725 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11726 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11727 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11728 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11729 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11730 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11731 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11732 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11733 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11734 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11735 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11736 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11737 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11738 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11739
b9b42ee0
AB
117402010-07-26 Anton Blanchard <anton@samba.org>
11741
11742 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11743 * malloc/arena.c (heap_trim): Likewise.
11744
1c06ba31
UD
117452010-08-16 Ulrich Drepper <drepper@redhat.com>
11746
11747 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11748 here. Not...
11749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11750 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11751
f8392f40
L
117522010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11753
11754 * sysdeps/i386/elf/Makefile: New file.
11755
3162f12e
AS
117562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11757
11758 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11759 from fanotify_init.
11760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11761 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11762
28c90b2c
UD
117632010-08-15 Ulrich Drepper <drepper@redhat.com>
11764
11765 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11766 of strncasecmp_l.
1feccb6c 11767 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11768
ca6bb004
UD
117692010-08-14 Ulrich Drepper <drepper@redhat.com>
11770
e9f82e0d
UD
11771 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11772 strncase_l-nonascii.
11773 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11774 Add strncase_l-ssse3.
11775 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11776 * sysdeps/x86_64/strcmp.S: Likewise.
11777 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11778 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11779 * sysdeps/x86_64/strncase.S: New file.
11780 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11781 * sysdeps/x86_64/strncase_l.S: New file.
11782 * string/Makefile (strop-tests): Add strncasecmp.
11783 * string/test-strncasecmp.c: New file.
11784
11785 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11786 warning.
11787
ca6bb004
UD
11788 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11789 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11790
052fa7b3
AS
117912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11792
11793 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11794
962dba78
UD
117952010-08-12 Ulrich Drepper <drepper@redhat.com>
11796
11797 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11798 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11799 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11800
bebff237
AM
118012010-05-01 Alan Modra <amodra@gmail.com>
11802
11803 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11804 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11805 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11806 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11807 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11808 tidying. Don't tail-call __sigjmp_save for static lib.
11809 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11810 save location.
11811 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11812 (CALL_MCOUNT): Add eh info, and nop after bl.
11813 (TAIL_CALL_SYSCALL_ERROR): New macro.
11814 (PSEUDO_RET): Use it.
11815 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11816 Correct save location of integer regs and cr.
11817 (_dl_profile_resolve): Correct cr save location. Delete nops
11818 after bl when SHARED. Reduce cfi size a little by better
11819 placement of cfi directives.
11820 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11821 make a stack frame. Instead use parm save area as a temp.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11823 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11825 Don't make a stack frame for parent, use parm save area.
11826 Increase child stack frame to 112 bytes. Don't save unused reg,
11827 and adjust reg usage. Set up cfi on error recovery and
11828 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11830 (__makecontext): Add dummy nop after jump to exit.
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11832 Use correct parm save area and cr save, reduce stack frame.
11833 Correct cfi for possible PSEUDO_RET frame setup.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11835 Branch to local label emitted by PSEUDO_RET rather than
11836 __syscall_error.
11837
02637374
AS
118382010-08-12 Andreas Schwab <schwab@redhat.com>
11839
11840 [BZ #11904]
11841 * locale/programs/locale.c (print_assignment): New function.
11842 (show_locale_vars): Use it.
11843
c3e2f19b
UD
118442010-08-11 Ulrich Drepper <drepper@redhat.com>
11845
3cdaa6ad
UD
11846 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11847 field.
11848 (struct statfs64): Likewise.
11849 (_STATFS_F_FLAGS): Define.
11850 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11851 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11852 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11853 (ST_VALID): Define locally.
11854 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11855 __statvfs_getflags, use the provided value.
11856 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11857 __ASSUME_STATFS_F_FLAGS.
11858
754f7da3
UD
11859 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11860
10b3bedc
UD
11861 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11862 Add sys/fanotify.h.
11863 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11864 fanotify_mask for GLIBC_2.13.
11865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11866 fanotify_init and fanotify_mark.
11867 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11868 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11869
c08fb0d7
UD
11870 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11871 Add prlimit.
11872 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11873 prlimit64 for GLIBC_2.13.
11874 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11875 prlimit64.
11876 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11877 syscall.
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11879 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11880 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11881 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11882 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11883 add prlimit alias.
11884 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11885
15bac72b
UD
11886 [BZ #11903]
11887 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11888 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11889
c3e2f19b
UD
11890 * nss/Makefile: Add rules to build and run tst-nss-test1.
11891 * shlib-versions: Add entry for libnss_test1.
11892 * nss/nss_test1.c: New file.
11893 * nss/tst-nss-test1.c: New file.
11894
11895 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11896 (__nss_configure_lookup): Set appropriate entry in
11897 __nss_configure_lookup to true.
11898 * nss/nsswitch.h: Define enum with indeces of databases in
11899 databases and __nss_database_custom arrays. Declare
11900 __nss_database_custom.
11901 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11902 to avoid using nscd when custom rules are installed.
11903 * nss/getXXbyYY_r.c: Likewise.
11904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11905
11906 * nss/nss_files/files-parse.c: Whitespace fixes.
11907
f15ce4d8
UD
119082010-08-09 Ulrich Drepper <drepper@redhat.com>
11909
11910 [BZ #11883]
11911 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11912 * posix/fnmatch_loop.c: Likewise.
11913
d22e4cc9
AK
119142010-07-17 Andi Kleen <ak@linux.intel.com>
11915
11916 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11917 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11918 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11919 * Versions.def [GLIBC_2.13]: Add.
11920
805bc17d
UD
119212010-08-06 Ulrich Drepper <drepper@redhat.com>
11922
11923 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11924 Also fail if tpwd after pwuid call is NULL.
11925
5a42321d
ST
119262010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11927
11928 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11929 when converting to ms.
11930
fd3ebeda
ST
119312010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11932
11933 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11934 EOPNOTSUPP errors with ENOTTY.
11935 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11936 EOPNOTSUPP errors with ENOTTY.
11937
73507d3a
UD
119382010-07-31 Ulrich Drepper <drepper@redhat.com>
11939
11940 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11941 Add strcasecmp_l-ssse3.
11942 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11943 strcasecmp.
11944 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11945 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11946 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11947
fe36dd02
UD
119482010-07-30 Ulrich Drepper <drepper@redhat.com>
11949
66f6765a
UD
11950 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11951
42e08a54
UD
11952 * string/Makefile (strop-tests): Add strcasecmp.
11953 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11954 strcasecmp_l-nonascii.
11955 (gen-as-const-headers): Add locale-defines.sym.
11956 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11957 * sysdeps/x86_64/strcasecmp.S: New file.
11958 * sysdeps/x86_64/strcasecmp_l.S: New file.
11959 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11960 * sysdeps/x86_64/locale-defines.sym: New file.
11961 * string/test-strcasecmp.c: New file.
11962
fe36dd02
UD
11963 * string/test-strcasestr.c: Test both ends of the range of characters.
11964 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11965
48cbc0d6
RM
119662010-07-29 Roland McGrath <roland@redhat.com>
11967
76e6d6bc 11968 [BZ #11856]
48cbc0d6
RM
11969 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11970
880113d9
UD
119712010-07-27 Ulrich Drepper <drepper@redhat.com>
11972
11973 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11974 for ld.so.
11975
deb9cabb
AS
119762010-07-27 Andreas Schwab <schwab@redhat.com>
11977
11978 * manual/memory.texi (Malloc Tunable Parameters): Document
11979 M_PERTURB.
11980
1c7570ff
RM
119812010-07-26 Roland McGrath <roland@redhat.com>
11982
11983 [BZ #11840]
11984 * configure.in (-fgnu89-inline check): Set and substitute
11985 gnu89_inline, not libc_cv_gnu89_inline.
11986 * configure: Regenerated.
11987 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11988
24fb0f88
UD
119892010-07-26 Ulrich Drepper <drepper@redhat.com>
11990
11991 * string/test-strnlen.c: New file.
11992 * string/Makefile (strop-tests): Add strnlen.
11993 * string/tester.c (test_strnlen): Add a few more test cases.
11994 * string/tst-strlen.c: Better error reporting.
11995
11996 * sysdeps/x86_64/strnlen.S: New file.
11997
8e96b93a
UD
119982010-07-24 Ulrich Drepper <drepper@redhat.com>
11999
12000 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12001 lower-latency instructions.
12002
dbc676d4
UD
120032010-07-23 Ulrich Drepper <drepper@redhat.com>
12004
12005 * string/test-strcasestr.c: New file.
12006 * string/test-strstr.c: New file.
12007 * string/Makefile (strop-tests): Add strstr and strcasestr.
12008 * string/str-two-way.h: Don't undefine MAX.
12009 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12010
f6a31e0e
AS
120112010-07-21 Andreas Schwab <schwab@redhat.com>
12012
12013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12014 strcasestr-nonascii.
12015 (CFLAGS-strcasestr-nonascii.c): Define.
12016 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12017 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12018 Remove unused attribute.
12019
5dbc3b6c
RM
120202010-07-20 Roland McGrath <roland@redhat.com>
12021
12022 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12023 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12024 ld.so.cache was broken. With it, there is no way to disable dsocaps
12025 like LD_HWCAP_MASK can disable hwcaps.
12026
23d101d8
EPM
120272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12028
12029 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12030
cc9f2e47
UD
120312010-07-16 Ulrich Drepper <drepper@redhat.com>
12032
12033 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12034 call in strcasestr.
12035 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12036 __strcasestr_sse42_nonascii.
12037 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12038 strcasestr-nonascii.c.
12039 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12040
77c1b069
LM
120412010-06-15 Luis Machado <luisgpm@br.ibm.com>
12042
12043 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12044 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12045 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12046 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12047
440566c3
UD
120482010-07-09 Ulrich Drepper <drepper@redhat.com>
12049
12050 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12051 fcntl.
12052
5be9d05d
AS
120532010-07-06 Andreas Schwab <schwab@redhat.com>
12054
c30b7ee2 12055 [BZ #11577]
5be9d05d
AS
12056 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12057 dl_signal_cerror.
12058
8a492a67
UD
120592010-07-06 Ulrich Drepper <drepper@redhat.com>
12060
12061 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12062 _PC_PIPE_BUF using F_GETPIPE_SZ.
12063
713df3d5
RM
120642010-07-05 Roland McGrath <roland@redhat.com>
12065
12066 * manual/arith.texi (Rounding Functions): Fix rint description
12067 implicit in round description.
12068
702e8f14
UD
120692010-07-02 Ulrich Drepper <drepper@redhat.com>
12070
12071 * elf/Makefile: Fix linking for a few tests to make recent linker
12072 happy.
12073
52ed8be9
AS
120742010-06-30 Andreas Schwab <schwab@redhat.com>
12075
12076 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12077 $(common-objpfx)libc_nonshared.a.
12078
f47c9a11
LM
120792010-06-21 Luis Machado <luisgpm@br.ibm.com>
12080
12081 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12082 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12083 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12084 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12085 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12086 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12087 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12088 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12103 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12104 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12105 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12106 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12107 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12108 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12109 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12110 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12111 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12112 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12113 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12114 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12129
6fb8cbcb
L
121302010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12131
12132 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12133 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12134 * string/memmove.c (memmove): Renamed to ...
12135 (MEMMOVE): ...this. Default to memmove.
12136 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12137 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12138 (END_CHK): Define.
12139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12140 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12141 mempcpy-ssse3-back memmove-ssse3-back.
12142 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12143 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12144 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12145 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12146 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12147 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12148 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12149 * sysdeps/x86_64/multiarch/memmove.c: New file.
12150 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12151 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12152 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12153 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12154 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12155 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12156 Define.
12157 (index_Fast_Copy_Backward): Define.
12158 (HAS_ARCH_FEATURE): Define.
12159 (HAS_FAST_REP_STRING): Define.
12160 (HAS_FAST_COPY_BACKWARD): Define.
12161
4e733bac 121622010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12163
12164 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12165 Restore proper fallback handling.
12166
63c4ed22
UD
121672010-06-19 Ulrich Drepper <drepper@redhat.com>
12168
ac2b484c
UD
12169 [BZ #11701]
12170 * posix/group_member.c (__group_member): Correct checking loop.
12171
63c4ed22
UD
12172 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12173 OOM in getpwuid_r correctly. Return error number when the caller
12174 should return, otherwise -1.
12175 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12176 call returning > 0 value.
12177 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12178
765ade4b
AS
121792010-06-07 Andreas Schwab <schwab@redhat.com>
12180
12181 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12182 libc_nonshared.a from targets in modules-names.
12183
80da2e09
KS
121842010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12185
12186 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12187 requires it.
12188
158db122
LM
121892010-06-10 Luis Machado <luisgpm@br.ibm.com>
12190
12191 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12192 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12193 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12194 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12195
caa78cf8
AS
121962010-06-02 Andreas Schwab <schwab@redhat.com>
12197
12198 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12199
b2ef2c01
UD
122002010-06-14 Ulrich Drepper <drepper@redhat.com>
12201
12202 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12203 and F_GETPIPE_SZ.
12204 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12205 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12206 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12207 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12208 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12209 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12210
fbd643b6
RM
122112010-06-14 Roland McGrath <roland@redhat.com>
12212
12213 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12214
f32f2869
JJ
122152010-06-07 Jakub Jelinek <jakub@redhat.com>
12216
12217 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12218 __REDIRECT followed by __THROW.
12219 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12220 * posix/getopt.h (getopt): Likewise.
12221
2a50c078
EPM
122222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12223
12224 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12225 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12226 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12227 in AT_FLAGS.
12228 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12229 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12230
eb5ad2eb
LM
122312010-05-28 Luis Machado <luisgpm@br.ibm.com>
12232
12233 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12234
3c88fe1e
L
122352010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12236
12237 [BZ #11640]
12238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12239 Properly check family and model.
12240
d2f73151
TY
122412010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12242
12243 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12244
ebd2e13d
LM
122452010-05-24 Luis Machado <luisgpm@br.ibm.com>
12246
12247 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12248
b32b8b45
UD
122492010-05-21 Ulrich Drepper <drepper@redhat.com>
12250
12251 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12252 symbol reference.
12253
9acbe24d
AS
122542010-05-19 Andreas Schwab <schwab@redhat.com>
12255
12256 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12257 symbol reference.
12258
f0ccf6ea
AS
122592010-05-21 Andreas Schwab <schwab@redhat.com>
12260
3d04ff3a
AS
12261 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12262 and internal_recvmmsg.
12263 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12264 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12265 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12266 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12267
f0ccf6ea
AS
12268 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12269 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12270 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12271
5b08ac57
AS
122722010-05-20 Andreas Schwab <schwab@redhat.com>
12273
12274 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12275
4828935d
LM
122762010-05-17 Luis Machado <luisgpm@br.ibm.com>
12277
12278 POWER7 optimizations.
12279 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12280 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12281
373d545e
UD
122822010-05-19 Ulrich Drepper <drepper@redhat.com>
12283
12284 * version.h: Update for 2.13 development version.
12285
21a2b1ae
AS
122862010-05-12 Andrew Stubbs <ams@codesourcery.com>
12287
12288 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12289 exceptions. Return 0.
12290
3f7dcb2b
RM
122912010-05-07 Roland McGrath <roland@redhat.com>
12292
12293 * elf/ldconfig.c (main): Add a const.
12294
5f24d53a 122952010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12296
a160f8d8
UD
12297 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12298 (args_options): Add no-idn option.
12299 (ahosts_keys_int): Add idn_flags to ai_flags.
12300 (parse_option): Handle 'i' option to clear idn_flags.
12301
5f24d53a
UD
12302 * malloc/malloc.c (_int_free): Possible race in the most recently
12303 added check. Only act on the data if no current modification
12304 happened.
265bb1ce
UD
12305
12306See ChangeLog.17 for earlier changes.
This page took 1.533439 seconds and 5 git commands to generate.