]> sourceware.org Git - glibc.git/blame - ChangeLog
Optimized expf for x86-64
[glibc.git] / ChangeLog
CommitLineData
39adf059
UD
12012-02-28 Ulrich Drepper <drepper@gmail.com>
2
3 * sysdeps/x86_64/fpu/e_expf.S: New file.
4 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5
71b5d1c5
SB
62012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7
8 [BZ #13637]
9 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10 of remain_len that may cause incomplete multi-byte character and
11 false match.
12 * posix/bug-regex33.c: New file.
13 * posix/Makefile (tests): Add bug-regex33.
14
1f77f049
JM
152012-02-28 Joseph Myers <joseph@codesourcery.com>
16
17 * manual/macros.texi: New file.
18 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19 * manual/libc.texinfo: Include macros.texi.
20 * manual/creatute.texi: Likewise.
21 * manual/install.texi: Likewise.
22 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23 @glibcadj{} in references to the GNU C Library.
24 * manual/charset.texi: Likewise.
25 * manual/conf.texi: Likewise.
26 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27 when not using those macros.
28 * manual/creature.texi: Likewise.
29 * manual/crypt.texi: Likewise.
30 * manual/errno.texi: Likewise.
31 * manual/filesys.texi: Likewise.
32 * manual/header.texi: Likewise.
33 * manual/install.texi: Likewise.
34 * manual/intro.texi: Likewise.
35 * manual/io.texi: Likewise.
36 * manual/job.texi: Likewise.
37 * manual/lang.texi: Likewise.
38 * manual/libc.texiinfo: Likewise.
39 * manual/llio.texi: Likewise.
40 * manual/locale.texi: Likewise.
41 * manual/maint.texi: Likewise.
42 * manual/math.texi: Likewise.
43 * manual/memory.texi: Likewise.
44 * manual/message.texi: Likewise.
45 * manual/nss.texi: Likewise.
46 * manual/pattern.texi: Likewise.
47 * manual/process.texi: Likewise.
48 * manual/resource.texi: Likewise.
49 * manual/search.texi: Likewise.
50 * manual/setjmp.texi: Likewise.
51 * manual/signal.texi: Likewise.
52 * manual/socket.texi: Likewise.
53 * manual/startup.texi: Likewise.
54 * manual/stdio.texi: Likewise.
55 * manual/string.texi: Likewise.
56 * manual/sysinfo.texi: Likewise.
57 * manual/syslog.texi: Likewise.
58 * manual/terminal.texi: Likewise.
59 * manual/time.texi: Likewise.
60 * manual/users.texi: Likewise.
61 * INSTALL: Regenerated.
62 * NOTES: Regenerated.
d40c5d54 63 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 64
450bf206
AS
652012-02-28 Andreas Schwab <schwab@linux-m68k.org>
66
67 * include/dirent.h: Include <dirstream.h> before
68 <dirent/dirent.h>.
69
741a235b
DM
702012-02-28 David S. Miller <davem@davemloft.net>
71
72 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
75 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76
d6b5aa58
DM
772012-02-27 David S. Miller <davem@davemloft.net>
78
1aff59a3
DM
79 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
82 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
83
d6b5aa58
DM
84 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
85 frame pointer instead of stack pointer relative arg slot.
86 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
89
433f48bf
CD
902012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
91
92 [BZ #3992]
93 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
94
d674b76d
DM
952012-02-27 David S. Miller <davem@davemloft.net>
96
97 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
98 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
99 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
101 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
102 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
103 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
104 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
105
0e7727f7
JM
1062012-02-27 Joseph Myers <joseph@codesourcery.com>
107
108 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
109 later. Allow versions 5-9.
0e7727f7
JM
110 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
111 required minimum version and 4.6 as recommended version. Do not
112 mention bugs in GCC 2.7 and 2.8.
0e7727f7 113
a78bc654
DM
1142012-02-27 David S. Miller <davem@davemloft.net>
115
428d5830
DM
116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
120 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
121 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
122 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
123 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
124
a78bc654
DM
125 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
126 manipulate bits before adding and subtracting TWO112[sx].
127 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
128
4579f81c
RM
1292012-02-27 Roland McGrath <roland@hack.frob.com>
130
36c8acb4
RM
131 [BZ #13775]
132 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
133 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
134 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
135 being in POSIX, because they are in 1003.1-2008.
136
84ad622b
RM
137 * rt/tst-aio.c: Include <fcntl.h>.
138 * rt/tst-aio7.c: Likewise.
139 * rt/tst-aio64.c: Likewise.
140
4579f81c
RM
141 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
142
abd923db
JM
1432012-02-27 Joseph Myers <joseph@codesourcery.com>
144
145 * manual/install.texi (--with-headers): Describe headers as
146 interface headers, not private headers.
147 (Specific advice for GNU/Linux systems): Describe use of headers
148 from "make headers_install", not private headers from older
149 kernels.
abd923db
JM
150 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
151 Change to 2.6.19.
152 * sysdeps/unix/sysv/linux/configure: Regenerated.
153
6664049b
JM
154 * manual/llio.texi (fclean): Remove documentation.
155
bb8b6697
JM
156 * manual/Makefile (libc-texi-generated): New variable. Include
157 version.texi.
158 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
159 $(libc-texi-generated), not duplicated list of files.
160 (version.texi, stamp-version): New rules.
161 (realclean): Remove $(libc-texi-generated), not individual files
162 from that list. Do not remove dir-add.texinfo.
163 * manual/libc.texinfo: Comment out uses of edition numbers and
164 references to printed manual. Remove last-updated dates.
165 (EDITION): Comment out.
166 (ISBN): Likewise.
167 (VERSION, UPDATED): Remove.
168 (version.texi): Include.
169
12e5c3b9
AS
1702012-02-27 Andreas Schwab <schwab@linux-m68k.org>
171
172 * sysdeps/posix/spawni.c: Include <signal.h>.
173 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
174 * sysdeps/pthread/aio_fsync.c: Likewise.
175
4efeffc1 1762012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 177
ba63ba08
UD
178 * conform/Makefile (tests): Run only when not cross-compiling and
179 when fast-check is not defined.
180
d94a4670
UD
181 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
182 * conform/data/limits.h-data: Fixes for POSIX2008.
183 * conform/run-conformtest.sh: Run all tests.
184 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
185 headers.
186 * include/bits/dlfcn.h: Likewise.
187 * include/langinfo.h: Likewise.
188 * include/monetary.h: Likewise.
189 * include/sys/poll.h: Likewise.
190
191 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
192 for __USE_GNU.
193 * posix/spawn.h: Define __need_sigset_t.
194 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
195 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
196 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
197 to get sigevent_t only.
198 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
199 only for __USE_GNU.
200 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
201 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
202 process_vm_writev only for __USE_GNU.
203 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
204
205 * conform/Makefile: For now ignore errors from run-conformtest.
206 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
207 POSIX to avoid namespace pollution. Don't prepend headers.
208 * conform/data/aio.h-data: Fixes for POSIX testing.
209 * conform/data/fcntl.h-data: Likewise.
210 * conform/data/glob.h-data: Likewise.
211 * conform/data/grp.h-data: Likewise.
212 * conform/data/pthread.h-data: Likewise.
213 * conform/data/pwd.h-data: Likewise.
214 * conform/data/signal.h-data: Likewise.
215 * conform/data/spawn.h-data: Likewise.
216 * conform/data/stdio.h-data: Likewise.
217 * conform/data/stdlib.h-data: Likewise.
218 * conform/data/stropts.h-data: Likewise.
219 * conform/data/sys/mman.h-data: Likewise.
220 * conform/data/sys/stat.h-data: Likewise.
221 * conform/data/sys/types.h-data: Likewise.
222 * conform/data/sys/wait.h-data: Likewise.
223 * conform/data/time.h-data: Likewise.
224 * conform/data/unistd.h-data: Likewise.
225 * conform/data/utime.h-data: Likewise.
226
227 * io/sys/stat.h: fchmod was always in POSIX.
228 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
229 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
230 * rt/aio.h: Define __need_timespec before including <time.h>.
231 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
232 struct. Add forward declaration of pthread_attr_t and use it in
233 sigevent.
234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
235 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
236 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
237 always remove CLK_TCK definition.
238
c20105c3
AS
2392012-02-26 Andreas Schwab <schwab@linux-m68k.org>
240
241 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
242
7a270350
UD
2432012-02-25 Ulrich Drepper <drepper@gmail.com>
244
31341567
UD
245 * conform/run-conformtest.sh: New file.
246 * conform/Makefile: Run run-conformtest for tests.
247 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
248 support.
249
250 * conform/data/uchar.h-data: New file.
251 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
252 * conform/data/arpa/inet.h-data: Likewise.
253 * conform/data/assert.h-data: Likewise.
254 * conform/data/complex.h-data: Likewise.
255 * conform/data/cpio.h-data: Likewise.
256 * conform/data/ctype.h-data: Likewise.
257 * conform/data/dirent.h-data: Likewise.
258 * conform/data/dlfcn.h-data: Likewise.
259 * conform/data/errno.h-data: Likewise.
260 * conform/data/fcntl.h-data: Likewise.
261 * conform/data/float.h-data: Likewise.
262 * conform/data/fmtmsg.h-data: Likewise.
263 * conform/data/fnmatch.h-data: Likewise.
264 * conform/data/ftw.h-data: Likewise.
265 * conform/data/glob.h-data: Likewise.
266 * conform/data/grp.h-data: Likewise.
267 * conform/data/iconv.h-data: Likewise.
268 * conform/data/inttypes.h-data: Likewise.
269 * conform/data/langinfo.h-data: Likewise.
270 * conform/data/libgen.h-data: Likewise.
271 * conform/data/limits.h-data: Likewise.
272 * conform/data/locale.h-data: Likewise.
273 * conform/data/math.h-data: Likewise.
274 * conform/data/monetary.h-data: Likewise.
275 * conform/data/mqueue.h-data: Likewise.
276 * conform/data/ndbm.h-data: Likewise.
277 * conform/data/net/if.h-data: Likewise.
278 * conform/data/netdb.h-data: Likewise.
279 * conform/data/netinet/in.h-data: Likewise.
280 * conform/data/nl_types.h-data: Likewise.
281 * conform/data/poll.h-data: Likewise.
282 * conform/data/pthread.h-data: Likewise.
283 * conform/data/pwd.h-data: Likewise.
284 * conform/data/regex.h-data: Likewise.
285 * conform/data/sched.h-data: Likewise.
286 * conform/data/search.h-data: Likewise.
287 * conform/data/semaphore.h-data: Likewise.
288 * conform/data/setjmp.h-data: Likewise.
289 * conform/data/signal.h-data: Likewise.
290 * conform/data/spawn.h-data: Likewise.
291 * conform/data/stdarg.h-data: Likewise.
292 * conform/data/stdio.h-data: Likewise.
293 * conform/data/stdlib.h-data: Likewise.
294 * conform/data/string.h-data: Likewise.
295 * conform/data/strings.h-data: Likewise.
296 * conform/data/stropts.h-data: Likewise.
297 * conform/data/sys/ipc.h-data: Likewise.
298 * conform/data/sys/mman.h-data: Likewise.
299 * conform/data/sys/msg.h-data: Likewise.
300 * conform/data/sys/resource.h-data: Likewise.
301 * conform/data/sys/select.h-data: Likewise.
302 * conform/data/sys/sem.h-data: Likewise.
303 * conform/data/sys/shm.h-data: Likewise.
304 * conform/data/sys/socket.h-data: Likewise.
305 * conform/data/sys/stat.h-data: Likewise.
306 * conform/data/sys/statvfs.h-data: Likewise.
307 * conform/data/sys/time.h-data: Likewise.
308 * conform/data/sys/timeb.h-data: Likewise.
309 * conform/data/sys/times.h-data: Likewise.
310 * conform/data/sys/types.h-data: Likewise.
311 * conform/data/sys/uio.h-data: Likewise.
312 * conform/data/sys/un.h-data: Likewise.
313 * conform/data/sys/utsname.h-data: Likewise.
314 * conform/data/sys/wait.h-data: Likewise.
315 * conform/data/syslog.h-data: Likewise.
316 * conform/data/tar.h-data: Likewise.
317 * conform/data/termios.h-data: Likewise.
318 * conform/data/utime.h-data: Likewise.
319 * conform/data/utmpx.h-data: Likewise.
320 * conform/data/varargs.h-data: Likewise.
321 * conform/data/wchar.h-data: Likewise.
322 * conform/data/wctype.h-data: Likewise.
323 * conform/data/wordexp.h-data: Likewise.
324
325 * include/stropts.h: New file.
326 * include/uchar.h: New file.
327 * include/aio.h: Changes to allow conformtest.pl to use the headers.
328 * include/assert.h: Likewise.
329 * include/ctype.h: Likewise.
330 * include/dirent.h: Likewise.
331 * include/dlfcn.h: Likewise.
332 * include/fcntl.h: Likewise.
333 * include/fnmatch.h: Likewise.
334 * include/glob.h: Likewise.
335 * include/grp.h: Likewise.
336 * include/libio.h: Likewise.
337 * include/locale.h: Likewise.
338 * include/math.h: Likewise.
339 * include/net/if.h: Likewise.
340 * include/netdb.h: Likewise.
341 * include/netinet/in.h: Likewise.
342 * include/pthread.h: Likewise.
343 * include/pwd.h: Likewise.
344 * include/regex.h: Likewise.
345 * include/sched.h: Likewise.
346 * include/search.h: Likewise.
347 * include/setjmp.h: Likewise.
348 * include/signal.h: Likewise.
349 * include/stdio.h: Likewise.
350 * include/stdlib.h: Likewise.
351 * include/string.h: Likewise.
352 * include/sys/cdefs.h: Likewise.
353 * include/sys/mman.h: Likewise.
354 * include/sys/msg.h: Likewise.
355 * include/sys/resource.h: Likewise.
356 * include/sys/select.h: Likewise.
357 * include/sys/socket.h: Likewise.
358 * include/sys/stat.h: Likewise.
359 * include/sys/statvfs.h: Likewise.
360 * include/sys/time.h: Likewise.
361 * include/sys/times.h: Likewise.
362 * include/sys/uio.h: Likewise.
363 * include/sys/utsname.h: Likewise.
364 * include/sys/wait.h: Likewise.
365 * include/termios.h: Likewise.
366 * include/time.h: Likewise.
367 * include/ulimit.h: Likewise.
368 * include/unistd.h: Likewise.
369 * include/utime.h: Likewise.
370 * include/wchar.h: Likewise.
371 * include/wctype.h: Likewise.
372 * include/wordexp.h: Likewise.
373
374 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
375
7a270350
UD
376 * time/time.h: TIME_UTC must be a macro.
377 Make timespec_get available for ISO C11 only as well.
378
7724defc
UD
3792012-02-24 Ulrich Drepper <drepper@gmail.com>
380
381 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
382 Reported by Peng Haitao <penght@cn.fujitsu.com>.
383
6b1d1d46
JM
3842012-02-24 Joseph Myers <joseph@codesourcery.com>
385
386 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 387
0f8bbd69
JM
3882012-02-24 Joseph Myers <joseph@codesourcery.com>
389
390 * manual/texinfo.tex: Update to version 2012-01-19.16.
391
66ab80bc
JM
3922012-02-24 Joseph Myers <joseph@codesourcery.com>
393
394 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
395
74981cc5
RM
3962012-02-24 Roland McGrath <roland@hack.frob.com>
397
ee968201
RM
398 [BZ #13738]
399 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
400 * manual/fdl-1.3.texi: New file.
401 * manual/fdl-1.1.texi: File removed.
402
74981cc5
RM
403 [BZ #13738]
404 * manual/libc.texinfo (FDL_VERSION): New @set.
405 Use it for mention of FDL in cover text.
406 (Documentation License): Use it in @include file name.
407
7bb764bc
JM
4082012-02-22 Joseph Myers <joseph@codesourcery.com>
409 Roland McGrath <roland@hack.frob.com>
410
411 [BZ #5461]
412 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
413 not LONG_LONG_MAX and LONG_LONG_MIN.
414 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
415 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
416 name.
417 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
418
6cbeae47
JM
4192012-02-22 Joseph Myers <joseph@codesourcery.com>
420
421 [BZ #2547]
422 [BZ #11365]
423 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
424 manipulate bits before adding and subtracting TWO23[sx].
425 * math/libm-test.inc (nearbyint_test): Add more tests.
426
fe45ce09
JM
4272012-02-22 Joseph Myers <joseph@codesourcery.com>
428
429 [BZ #2548]
430 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
431 bits before adding and subtracting TWO23[sx].
432 * math/libm-test.inc (rint_test): Add more tests.
433 (rint_test_tonearest): Likewise.
434 (rint_test_towardzero): Likewise.
435 (rint_test_downward): Likewise.
436 (rint_test_upward: Likewise.
437
ff3b3d82
JM
4382012-02-22 Joseph Myers <joseph@codesourcery.com>
439
440 [BZ #10110]
441 * include/stdc-predef.h: New file. Extracted from features.h.
442 * include/features.h: Include stdc-predef.h.
443 * Makefile (headers): Add stdc-predef.h.
444 * CONFORMANCE (Compiler limitations): Update.
445
ef0aab35
JM
4462012-02-22 Joseph Myers <joseph@codesourcery.com>
447
448 * manual/libc.texinfo (VERSION, UPDATED): Revert.
449
58639409
DM
4502012-02-21 David S. Miller <davem@davemloft.net>
451
452 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
453 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
454
c0e70b25
DM
4552012-02-20 David S. Miller <davem@davemloft.net>
456
457 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
458 using a normal save/restore sequence, rather than allocating a
459 dummy stack frame just to store a frame pointer and restore.
460 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
461
fb06851d
JM
4622012-02-21 Joseph Myers <joseph@codesourcery.com>
463
464 * manual/install.texi: Fix stray word in line-wrapped comment.
465
7a8b71c3
DM
4662012-02-20 David S. Miller <davem@davemloft.net>
467
d510c123
DM
468 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
469 both binutils and gcc support GOTDATA.
470
0722d7c2
DM
471 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
472 "rd %pc" in the PIC register setup sequences.
473
3d2b3019
DM
474 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
475 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
476 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
477 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
478 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
479 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
480 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
483 (SYSCALL_ERROR_HANDLER): Likewise.
484 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
485 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
487 (SYSCALL_ERROR_HANDLER): Likewise.
488
c80098a9
DM
489 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
490 (HAVE_GCC_GOTDATA): New.
491 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
492 relocation support in both binutils and gcc.
493 * sysdeps/sparc/elf/configure: Regenerate.
494
3a2545a0
DM
495 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
496 * sysdeps/sparc/sparc32/elf/configure: Delete.
497 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
498 * sysdeps/sparc/sparc64/elf/configure: Delete.
499 * sysdeps/sparc/elf/configure.in: New file.
500 * sysdeps/sparc/elf/configure: Generate.
501
7a8b71c3
DM
502 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
503 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
504 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
505 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
506 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
507
f1e86fca
JM
5082012-02-21 Joseph Myers <joseph@codesourcery.com>
509
510 * manual/install.texi: Do not mention specific glibc version
511 numbers.
512 * manual/libc.texinfo (VERSION, UPDATED): Update.
513 (@copying): Use @copyright{} and range of years.
514
0e7dfaef
JM
5152012-02-21 Joseph Myers <joseph@codesourcery.com>
516
517 [BZ #13695]
518 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
519 [crti.S not in sysdirs] (generated): Do not append.
520 [crti.S not in sysdirs] (omit-deps): Likewise.
521 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
522 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
523 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
524 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
525 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
526 Likewise.
527 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
528 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
529 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
530 * csu/defs.awk: Remove file.
531 * sysdeps/generic/initfini.c: Likewise.
532 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
533 variable.
534 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
535 Likewise.
536
599af3ca
JM
5372012-02-20 Joseph Myers <joseph@codesourcery.com>
538
539 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
540 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
541 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
542 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
543 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
544 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
545 <bits/epoll.h>.
546 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
547 (__EPOLL_PACKED): Define to empty if not defined by
548 <bits/epoll.h>.
549 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
551 bits/epoll.h.
552
0e499750
JM
5532012-02-20 Joseph Myers <joseph@codesourcery.com>
554
555 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
556 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
557 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
558 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
559 <bits/timerfd.h>.
560 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
562 bits/timerfd.h.
563
5ad91f6e
JM
5642012-02-20 Joseph Myers <joseph@codesourcery.com>
565
566 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
567 in C locale.
568 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
569 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
570 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
572
06b99b02
AJ
5732012-02-20 Aurelien Jarno <aurelien@aurel32.net>
574
575 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
576 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
577
7638c0fd
AS
5782012-02-19 Andreas Schwab <schwab@linux-m68k.org>
579
580 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
581 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
582 defined.
583 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
584 Likewise.
585 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
586 entry for 2.16.
587
92221550
AJ
5882012-02-19 Aurelien Jarno <aurelien@aurel32.net>
589
590 * math/w_acos.c: Use non-signaling floating-point comparisons.
591 * math/w_acosf.c: Likewise.
592 * math/w_acosh.c: Likewise.
593 * math/w_acoshf.c: Likewise.
594 * math/w_acoshl.c: Likewise.
595 * math/w_acosl.c: Likewise.
596 * math/w_asin.c: Likewise.
597 * math/w_asinf.c: Likewise.
598 * math/w_asinl.c: Likewise.
599 * math/w_atanh.c: Likewise.
600 * math/w_atanhf.c: Likewise.
601 * math/w_atanhl.c: Likewise.
602 * math/w_exp2.c: Likewise.
603 * math/w_exp2f.c: Likewise.
604 * math/w_exp2l.c: Likewise.
605 * math/w_j0.c: Likewise.
606 * math/w_j0f.c: Likewise.
607 * math/w_j0l.c: Likewise.
608 * math/w_j1.c: Likewise.
609 * math/w_j1f.c: Likewise.
610 * math/w_j1l.c: Likewise.
611 * math/w_jn.c: Likewise.
612 * math/w_jnf.c: Likewise.
613 * math/w_log.c: Likewise.
614 * math/w_log10.c: Likewise.
615 * math/w_log10f.c: Likewise.
616 * math/w_log10l.c: Likewise.
617 * math/w_log2.c: Likewise.
618 * math/w_log2f.c: Likewise.
619 * math/w_log2l.c: Likewise.
620 * math/w_logf.c: Likewise.
621 * math/w_logl.c: Likewise.
622 * math/w_sqrt.c: Likewise.
623 * math/w_sqrtf.c: Likewise.
624 * math/w_sqrtl.c: Likewise.
625 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
626 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
627 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
628 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
629 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
630
ebaf36eb
JM
6312012-02-19 Joseph Myers <joseph@codesourcery.com>
632
633 [BZ #9739]
634 * manual/string.texi (strnlen): Use correct parameter name in
635 equivalent expression.
636
71c254a6
JM
6372012-02-19 Joseph Myers <joseph@codesourcery.com>
638
639 [BZ #11174]
640 * manual/users.texi (seteuid): Consistently use neweuid for
641 argument name.
642
16d2c631
JM
6432012-02-19 Joseph Myers <joseph@codesourcery.com>
644
645 [BZ #13704]
646 * manual/nss.texi (Services in the NSS configuration): Correct
647 list of services in example configuration file.
648
cd837b09
NB
6492012-02-19 Nick Bowler <nbowler@draconx.ca>
650
651 [BZ #11322]
652 * manual/arith.texi: Remove statements about negative zero
653 behaving identically to zero.
654
02c4bbad
JM
6552012-02-18 Joseph Myers <joseph@codesourcery.com>
656
657 [BZ #5993]
658 * manual/install.texi: Do not document upgrading from libc5.
659
366842e7
JM
6602012-02-18 Joseph Myers <joseph@codesourcery.com>
661
662 [BZ #4596]
663 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
664
dd54084d
DM
6652012-02-18 David S. Miller <davem@davemloft.net>
666
667 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
668 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
669 %o7 across the call.
670 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
671 instead.
672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
673 SETUP_PIC_REG_LEAF.
674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
675 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
676 * sysdeps/sparc/crtn.S: Likewise.
677
2bcc53a3
UD
6782012-02-17 Ulrich Drepper <drepper@gmail.com>
679
680 * aout/Makefile: Remove.
681
09c093b5
RK
6822012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
683
684 [BZ #13058]
685 * manual/examples/argp-ex1.c (main): Format definition in GNU
686 style.
687 * manual/examples/argp-ex2.c (main): Likewise.
688 * manual/examples/argp-ex3.c (main): Likewise.
689 * manual/examples/argp-ex4.c (main): Likewise.
690 * manual/examples/longopt.c (main): Use new-style prototype
691 definition.
692 * manual/examples/strncat.c (main): Specify return type and use
693 (void) for arguments.
694 * manual/examples/subopt.c (main): Use char **argv argument.
695
2ee633a2
JM
6962012-02-17 Joseph Myers <joseph@codesourcery.com>
697
698 [BZ #5077]
699 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
700 rounding modes.
701
0520adde
FB
7022012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
703
704 [BZ #6907]
705 * manual/string.texi (strchr): Change when strchrnul is
706 recommended.
707
3f4081cd
DGM
7082012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
709
710 [BZ #174]
711 * manual/locale.texi (setlocale): Document LOCPATH.
712
d1b10e78
JM
7132012-02-17 Joseph Myers <joseph@codesourcery.com>
714
715 [BZ #10210]
716 * manual/process.texi (execle): Move @dots{} before last argument.
717
79c6869c
PB
7182012-02-17 Paul Bolle <pebolle@tiscali.nl>
719
720 [BZ #12047]
721 * manual/charset.texi (Generic Charset Conversion): Fix typo
722 (LC_TYPE -> LC_CTYPE).
723
cc6e48bc
NB
7242012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
725
726 [BZ #5805]
727 * manual/arith.texi (scalbn): Use @var{} on parameter names.
728 (scalbnf): Likewise.
729 (scalbnl): Likewise.
730 (scalbln): Likewise.
731 (scalblnf): Likewise.
732 (scalblnl): Likewise.
733 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
734 (vwarnx): Likewise.
735 (verr): Likewise.
736 (verrx): Likewise.
737 * manual/filesys.texi (telldir): Use braces around return type.
738 * manual/llio.texi (mmap): Add space after comma.
739 (mmap64): Likewise.
740 * manual/math.texi (jn): Use @var{} on parameter names.
741 (jnf): Likewise.
742 (jnl): Likewise.
743 (yn): Likewise.
744 (ynf): Likewise.
745 (ynl): Likewise.
746 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
747 line.
748 * manual/resource.texi (ulimit): Use @dots{} instead of literal
749 "...".
750 (sched_get_priority_min): Remove semicolon on @deftypefun line.
751 (sched_get_priority_max): Likewise.
752 * manual/signal.texi (sigvec): Add space after comma.
753 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
754 names.
755 (if_indextoname): Likewise.
756 (if_freenameindex): Likewise.
757 (sendto): Use ',' instead of '.' in prototype.
758 * manual/startup.texi (syscall): Use @dots{} instead of literal
759 "...".
760 * manual/stdio.texi (__fpending): Separate initial words of
761 paragraph from @deftypefun line.
762 * manual/syslog.texi (syslog): Use @dots{} instead of literal
763 "...".
764 (vsyslog): Use @var{} on parameter names.
765 * manual/terminal.texi (stty): Use @var{} on parameter names.
766 * manual/users.texi (getutmp): Use @var{} on parameter names.
767 (getutmpx): Likewise.
768
5b23062f
JM
7692012-02-17 Joseph Myers <joseph@codesourcery.com>
770
771 [BZ #6884]
772 * manual/stdio.texi (fopen): Fix typos in description of
773 ",ccs=STRING".
774
8dee4833
AJ
7752012-02-17 Aurelien Jarno <aurelien@aurel32.net>
776
777 [BZ #4026]
778 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
779 get clock_id definition.
780
9078ce93
TS
7812012-02-17 Thomas Schwinge <thomas@schwinge.name>
782
783 [BZ #4822]
784 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
785 (madvise): Cast every argument to void on its own.
786
3835c55f
JM
7872012-02-17 Joseph Myers <joseph@codesourcery.com>
788
789 [BZ #9902]
790 * manual/startup.texi (Exit Status): Fix typo.
791
35c47e37
JM
7922012-02-17 Joseph Myers <joseph@codesourcery.com>
793
794 [BZ #10140]
795 * manual/examples/argp-ex1.c: Include <stdlib.h>.
796 * manual/examples/argp-ex2.c: Likewise.
797 * manual/examples/argp-ex3.c: Likewise.
798
e3b69ca7
RH
7992012-02-16 Richard Henderson <rth@redhat.com>
800
801 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
802 * sysdeps/s390/s390-32/initfini.c: Remove.
803 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
804 * sysdeps/s390/s390-64/initfini.c: Remove.
805
df83af67
KK
8062012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
807
808 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
809 compiler output for sysdeps/generic/initfini.c.
810 * sysdeps/sh/elf/initfini.c: Remove file.
811
f63f3380
DM
8122012-02-16 David S. Miller <davem@davemloft.net>
813
fb59b3a4
DM
814 [BZ #11494]
815 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
816
f63f3380
DM
817 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
818 * sysdeps/sparc/crti.S: New file.
819 * sysdeps/sparc/crtn.S: New file.
820 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
821 * sysdeps/sparc/sparc64/Makefile: Likewise.
822
df6a4a4a
MF
8232012-02-15 Mike Frysinger <vapier@gentoo.org>
824
6dd8f3dc 825 [BZ #3335]
df6a4a4a
MF
826 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
827
1cac7236
RM
8282012-02-15 Roland McGrath <roland@hack.frob.com>
829
d2c736f8
RM
830 [BZ #4822]
831 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
832
1cac7236
RM
833 * mach/devstream.c (cookie_io_functions_t): Macro removed.
834 (write, read, close): Likewise.
835 Patch by Aurelien Jarno <aurelien@aurel32.net>.
836
8e475601
JM
8372012-02-15 Joseph Myers <joseph@codesourcery.com>
838
839 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
840 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
841 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
842 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
843 <bits/signalfd.h>.
844 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
846 bits/signalfd.h.
847
ed656b40
MP
8482012-02-14 Marek Polacek <polacek@redhat.com>
849
850 * sysdeps/x86_64/crti.S: New file.
851 * sysdeps/x86_64/crtn.S: New file.
852 * sysdeps/x86_64/elf/initfini.c: Remove file.
853
2a979d3a
JM
8542012-02-13 Joseph Myers <joseph@codesourcery.com>
855
856 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
857 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
858 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
859 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
860 <bits/inotify.h>.
861 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
863 bits/inotify.h.
864
2a418ac3
JM
8652012-02-13 Joseph Myers <joseph@codesourcery.com>
866
867 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
868 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
869 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
870 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
871 <bits/eventfd.h>.
872 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
874 bits/eventfd.h.
875
fb779be7
TS
8762012-02-10 Thomas Schwinge <thomas@codesourcery.com>
877
e19e83c5
RM
878 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
879 __feraiseexcept instead of feraiseexcept.
7c35ffed 880
fb779be7
TS
881 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
882 nanosleep invocations.
883 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
884 strings, and add error checking for a nanosleep invocations.
885
59ba27a6
PE
8862012-02-09 Paul Eggert <eggert@cs.ucla.edu>
887
888 Replace FSF snail mail address with URLs, as per GNU coding standards.
889 Most of the snail mail addresses were wrong anyway, and omitting
890 them makes the source code easier to maintain. Almost all of the
891 changes are to license notices and to locale LC_IDENTIFICATION
892 addresses, except for this one:
893 * manual/libc.texinfo: In "Published by", give the FSF's URL,
894 not its snail mail address.
895
57b957eb
RH
8962012-02-09 Richard Henderson <rth@twiddle.net>
897
af850b1c
RH
898 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
899 of kernel-features.h.
900
57b957eb
RH
901 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
902
6b73181a
MP
9032012-02-08 Marek Polacek <polacek@redhat.com>
904
905 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
906 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
907 * sysdeps/gnu/_G_config.h: Likewise.
908 * sysdeps/generic/_G_config.h: Likewise.
909
26ecc33a
AS
9102012-02-08 Andreas Schwab <schwab@linux-m68k.org>
911
6c6dbc63
AS
912 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
913 tests.
914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
915
e216c012
AS
916 * sysdeps/powerpc/powerpc32/crti.S: New file.
917 * sysdeps/powerpc/powerpc32/crtn.S: New file.
918 * sysdeps/powerpc/powerpc64/crti.S: New file.
919 * sysdeps/powerpc/powerpc64/crtn.S: New file.
920
26ecc33a
AS
921 * Makeconfig (have-initfini): Don't set.
922 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
923 * configure.in (nopic_initfini): Don't substitute.
924 * config.h.in (HAVE_INITFINI): Don't #undef.
925 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
926 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
927
3add8e13
JM
9282012-02-08 Joseph Myers <joseph@codesourcery.com>
929
930 Support crti.S and crtn.S provided directly by architectures.
931 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
932 [crti.S in sysdirs] (omit-deps): Likewise.
933 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
934 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
935 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
936 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
937 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
938 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
939 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
940 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
941 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
942 compiler output for sysdeps/generic/initfini.c.
943 * sysdeps/i386/elf/Makefile: Remove file.
944 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
945
a22f12b4
MP
9462012-02-07 Marek Polacek <polacek@redhat.com>
947
948 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
949 * sysdeps/gnu/_G_config.h: Likewise.
950 * sysdeps/mach/hurd/_G_config.h: Likewise.
951
148cf100
MP
9522012-02-07 Marek Polacek <polacek@redhat.com>
953
954 * math/Makefile (tests): Add tst-CMPLX2.
955 * math/tst-CMPLX2.c: New file.
956
cfdc0dd7
AS
9572012-02-07 Andreas Schwab <schwab@linux-m68k.org>
958
84ba42c4
AS
959 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
960
cfdc0dd7
AS
961 * math/libm-test.inc (jn_test): Add missing L suffix.
962
622c86f4
MP
9632012-02-06 Marek Polacek <polacek@redhat.com>
964
965 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
966 * sysdeps/i386/fpu/e_powf.S: Likewise.
967 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
968 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
969 * sysdeps/i386/fpu/e_acosh.S: Likewise.
970 * sysdeps/i386/fpu/e_pow.S: Likewise.
971 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
972 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
973 * sysdeps/i386/fpu/s_expm1.S: Likewise.
974 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
975 * sysdeps/i386/fpu/e_log2.S: Likewise.
976 * sysdeps/i386/fpu/e_log2l.S: Likewise.
977 * sysdeps/i386/fpu/e_scalb.S: Likewise.
978 * sysdeps/i386/fpu/e_powl.S: Likewise.
979 * sysdeps/i386/fpu/s_log1p.S: Likewise.
980 * sysdeps/i386/fpu/e_log10f.S: Likewise.
981 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
982 * sysdeps/i386/fpu/e_logl.S: Likewise.
983 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
984 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
985 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
986 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
987 * sysdeps/i386/fpu/e_log2f.S: Likewise.
988 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
989 * sysdeps/i386/fpu/e_log.S: Likewise.
990 * sysdeps/i386/fpu/s_cexp.S: Likewise.
991 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
992 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
993 * sysdeps/i386/fpu/e_logf.S: Likewise.
994 * sysdeps/i386/fpu/e_log10l.S: Likewise.
995 * sysdeps/i386/fpu/e_atanh.S: Likewise.
996 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
997 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
998 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
999 * sysdeps/i386/fpu/e_log10.S: Likewise.
1000 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1001 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1002 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1003 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1004 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1005 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1006 * sysdeps/i386/asm-syntax.h: Likewise.
1007 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1008 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1009 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1010 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1011 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1012 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1013 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1014 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1015 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1016 * sysdeps/powerpc/sysdep.h: Likewise.
1017 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1018 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1019
d4a54ac6
JM
10202012-02-06 Joseph Myers <joseph@codesourcery.com>
1021
1022 [BZ #411]
1023 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1024
314054ea
JM
10252012-02-06 Joseph Myers <joseph@codesourcery.com>
1026
1027 * sysdeps/i386/sysdep.h: Include <features.h>.
1028 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1029 version.
1030
d8e0ca50
JM
10312012-02-05 Joseph Myers <joseph@codesourcery.com>
1032
1033 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1034 Define.
1035 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1036 LOAD_PIC_REG_STR.
1037
b1da7dd9
JM
10382012-02-03 Joseph Myers <joseph@codesourcery.com>
1039
1040 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1041 (SETUP_PIC_REG): Use GET_PC_THUNK.
1042 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1043 macro.
1044
9a1d9254
JM
10452012-02-03 Joseph Myers <joseph@codesourcery.com>
1046
1047 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1048 for non-PIC compilation.
1049 (SETUP_PIC_REG): Add .p2align directive.
1050 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1051 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1052 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1053 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1054 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1055 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1056 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1057 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1058 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1059 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1060 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1061 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1062 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1063 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1064 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1065 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1066 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1067 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1068 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1069 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1070 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1071 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1072 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1073 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1074 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1076 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1077 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1078 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1079 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1080 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1082 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1083 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1084 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1085 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1086 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1087 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1088 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1089 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1090 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1091
65dc3b75
JM
10922012-02-03 Joseph Myers <joseph@codesourcery.com>
1093
1094 * math/tst-CMPLX.c: Include <stdio.h>.
1095
d55bf177
JM
10962012-01-31 Joseph Myers <joseph@codesourcery.com>
1097
1098 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1099 float.
1100 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1101 * sysdeps/sparc/bits/mathdef.h: Likewise.
1102
69db4f8f
MP
11032012-01-31 Marek Polacek <polacek@redhat.com>
1104
1105 * libio/libio.h: Don't define _PARAMS.
1106 * locale/programs/config.h: Don't define PARAMS.
1107 * stdlib/strtol_l.c: Likewise.
1108 (__strtol_l): Remove PARAMS from the prototype.
1109
41b81892
UD
11102012-01-31 Ulrich Drepper <drepper@gmail.com>
1111
3b49edc0
UD
1112 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1113 names. Just use the correct names. Remove unnecessary wrapper
1114 functions.
1115 * malloc/arena.c: Likewise.
1116 * malloc/hooks.c: Likewise.
1117
41b81892
UD
1118 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1119 ARENA_TEST says not to. Simplify test for creation of a new arena.
1120 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1121
27a25b6e
UD
11222012-01-30 Ulrich Drepper <drepper@gmail.com>
1123
1124 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1125 into tail calls.
1126 (update_get_addr): New function.
1127 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1128 GET_ADDR_MODULE parameter.
1129
c8a89e7d
JM
11302012-01-30 Joseph Myers <joseph@codesourcery.com>
1131
1132 * crypt/cert.c: Remove __STDC__ conditionals.
1133 * crypt/crypt-entry.c: Likewise.
1134 * crypt/crypt_util.c: Likewise.
1135 * libio/filedoalloc.c: Likewise.
1136 * libio/fileops.c: Likewise.
1137 * libio/genops.c: Likewise.
1138 * libio/iofclose.c: Likewise.
1139 * libio/iofdopen.c: Likewise.
1140 * libio/iofopen.c: Likewise.
1141 * libio/iofopen64.c: Likewise.
1142 * libio/iogetdelim.c: Likewise.
1143 * libio/iopopen.c: Likewise.
1144 * libio/obprintf.c: Likewise.
1145 * libio/oldfileops.c: Likewise.
1146 * libio/oldiofclose.c: Likewise.
1147 * libio/oldiofdopen.c: Likewise.
1148 * libio/oldiofopen.c: Likewise.
1149 * libio/oldiopopen.c: Likewise.
1150 * libio/wfiledoalloc.c: Likewise.
1151 * libio/wgenops.c: Likewise.
1152 * locale/programs/xmalloc.c: Likewise.
1153 * misc/syslog.c: Likewise.
1154 * stdio-common/xbug.c: Likewise.
1155 * string/memchr.c: Likewise.
1156 * string/memcmp.c: Likewise.
1157 * string/memrchr.c: Likewise.
1158 * string/rawmemchr.c: Likewise.
1159 * sysdeps/posix/getcwd.c: Likewise.
1160 * time/strftime_l.c: Likewise.
1161
3b100462
JM
11622012-01-30 Joseph Myers <joseph@codesourcery.com>
1163
1164 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1165 * config.make.in (config-cflags-sse2avx): Define.
1166 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1167 Fix typo.
1168
607998af
CM
11692012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1170
1171 * scripts/config.guess: Update from upstream config git repository.
1172 * scripts/config.sub: Likewise.
1173
3601428f
CM
11742012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1175
3ac8b282
CM
1176 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1177 (EM_NUM): Update.
1178 (R_TILEPRO_*, R_TILEGX_*): New macros.
1179
e034841e
CM
1180 * scripts/firstversions.awk: Fix bug in version range handling.
1181
540d7568
CM
1182 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1183
3601428f
CM
1184 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1185
463de862
CM
1186 * include/sys/epoll.h: New file.
1187 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1188 libc_hidden_def.
1189
73139a76
UD
11902012-01-28 Ulrich Drepper <drepper@gmail.com>
1191
96bc5b45
UD
1192 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1193 Avoid unnecessary __WORDSIZE == 64 test.
1194 (fmaxf): Use VEX format if possible.
1195 (fmax): Likewise.
1196 (fminf): Likewise.
1197 (fmin): Likewise.
1198
56f6f6a2
UD
1199 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1200 * math/math_private.h: Remove libc_fegetround* and
1201 libc_fesetround*.
1202 * sysdeps/i386/configure.in: Check for -msse2avx.
1203 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1204 also if SSE2AVX is defined.
1205 Remove libc_fegetround* and libc_fesetround*.
1206 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1207 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1208 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1209 of HAS_YMM_USABLE.
1210 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1211 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1212 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1213 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1214 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1215
73139a76
UD
1216 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1217
d73f93a4
AZ
12182012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1219
1220 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1221 size is not set.
1222 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1223
6ee65ed6
UD
12242012-01-27 Ulrich Drepper <drepper@gmail.com>
1225
1226 [BZ #13618]
1227 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1228 relocation.
1229 * Makeconfig (libm): Define.
1230 * elf/Makefile: Add rules to build and run tst-relsort1.
1231 * elf/tst-relsort1.c: New file.
1232 * elf/tst-relsort1mod1.c: New file.
1233 * elf/tst-relsort1mod2.c: New file.
1234
8db21882
JM
12352012-01-27 Joseph Myers <joseph@codesourcery.com>
1236
1237 * math/s_ldexp.c: Remove __STDC__ conditionals.
1238 * math/s_ldexpf.c: Likewise.
1239 * math/s_ldexpl.c: Likewise.
1240 * math/s_nextafter.c: Likewise.
1241 * math/s_nexttowardf.c: Likewise.
1242 * math/s_significand.c: Likewise.
1243 * math/s_significandf.c: Likewise.
1244 * math/s_significandl.c: Likewise.
1245 * math/w_jnl.c: Likewise.
1246 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1247 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1248 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1249 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1250 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1251 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1252 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1253 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1254 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1255 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1256 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1257 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1258 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1259 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1260 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1261 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1262 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1263 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1265 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1266 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1267 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1268 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1269 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1270 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1271 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1272 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1273 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1274 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1275 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1276 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1277 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1278 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1279 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1280 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1281 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1282 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1283 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1284 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1285 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1286 * sysdeps/ieee754/k_standard.c: Likewise.
1287 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1289 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1292 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1296 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1297 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1316 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1319 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1330 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1333 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1334 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1348 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1353 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1359 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1360 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1361 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1362 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1365 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1366 * sysdeps/ieee754/s_matherr.c: Likewise.
1367 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1368 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1371
965a54a4
JM
13722012-01-26 Joseph Myers <joseph@codesourcery.com>
1373
1374 * crypt/md5.h: Remove __STDC__ conditionals.
1375 * libio/libioP.h: Likewise.
1376 * locale/programs/config.h: Likewise.
1377 * sysdeps/generic/sysdep.h: Likewise.
1378 * sysdeps/i386/asm-syntax.h: Likewise.
1379 * sysdeps/s390/asm-syntax.h: Likewise.
1380 * sysdeps/unix/sysdep.h: Likewise.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1383
7071ad79
JM
13842012-01-26 Joseph Myers <joseph@codesourcery.com>
1385
1386 * libio/libio.h: Remove __STDC__ conditionals.
1387 * malloc/obstack.h: Likewise.
1388 * math/complex.h: Likewise.
1389 * math/math.h: Likewise.
1390 * sysdeps/generic/_G_config.h: Likewise.
1391 * sysdeps/gnu/_G_config.h: Likewise.
1392 * sysdeps/mach/hurd/_G_config.h: Likewise.
1393 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1394 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1395 * sysdeps/sparc/bits/mathdef.h: Likewise.
1396
afc5ed09
UD
13972012-01-26 Ulrich Drepper <drepper@gmail.com>
1398
1399 [BZ #13583]
1400 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1401 Clean up HAS_* macros.
afc5ed09 1402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1403 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1404 possible.
1405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1406 HAS_AVX.
1407 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1408 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1409 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1410 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1411 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1412
bdb6de1d
JM
14132012-01-25 Joseph Myers <joseph@codesourcery.com>
1414
1415 * elf/tst-unique3.cc (gets): Remove declaration.
1416 * elf/tst-unique3lib.cc (gets): Likewise.
1417 * elf/tst-unique3lib2.cc (gets): Likewise.
1418 * elf/tst-unique4.cc (gets): Likewise.
1419
b15549e6
UD
14202012-01-24 Ulrich Drepper <drepper@gmail.com>
1421
1422 * include/stdio.h: Add C++ protection. Add gets declarations and
1423 definitions.
1424 * debug/tst-chk1.c: Don't declare gets here.
1425 * stdio-common/tst-gets.c: Likewise.
1426
a037381f
JM
14272012-01-24 Joseph Myers <joseph@codesourcery.com>
1428
1429 * posix/glob: Remove directory.
1430
f1d4aa75
JM
14312012-01-24 Joseph Myers <joseph@codesourcery.com>
1432
1433 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1434
81c0c964
PT
14352012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1436
1437 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1438 of the non-standard EPFNOSUPPORT.
1439
0ea698ae
ST
14402011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1441
1442 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1443 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1444 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1445
d220b117
UD
14462012-01-21 Ulrich Drepper <drepper@gmail.com>
1447
1448 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1449
3e1aa84e
UD
14502012-01-20 Ulrich Drepper <drepper@gmail.com>
1451
1452 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1453 transient errors.
1454 * nscd/grpcache.c (cache_addgr): Likewise.
1455 * nscd/hstcache.c (cache_addhst): Likewise.
1456 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1457 * nscd/pwdcache.c (cache_addpw): Likewise.
1458 * nscd/servicescache.c (cache_addserv): Likewise.
1459
400aa020
UD
14602012-01-16 Ulrich Drepper <drepper@gmail.com>
1461
d77e7869
UD
1462 * malloc/malloc.c: Various cleanups.
1463 * malloc/hooks.c: Likewise.
1464
400aa020
UD
1465 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1466 * stdlib/bug-fmtmsg1.c: New file.
1467
1468 * stdlib/fmtmsg.c (init): Add missing unlock.
1469 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1470
e0a309cf
MP
14712012-01-12 Marek Polacek <polacek@redhat.com>
1472
1473 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1474 and _GNU_SOURCE.
1475
929d11c7
WS
14762012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1477
1478 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1479 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1480 macro to ensure uniqueness of label name.
1481 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1482 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1483
41d0e869
UD
14842012-01-11 Ulrich Drepper <drepper@gmail.com>
1485
0cc5ed3b
UD
1486 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1487
41d0e869
UD
1488 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1489 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1490 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1492
a47a831a
UD
14932012-01-10 Ulrich Drepper <drepper@gmail.com>
1494
daa891c0
UD
1495 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1496
1497 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1498 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1499 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1500
e58ef0f2
UD
1501 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1502
a47a831a 1503 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1504 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1505 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1506 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1507
1508 * math/bits/math-finite.h: Add ldexp support.
1509
a0bfc9c7
MP
15102012-01-10 Marek Polacek <polacek@redhat.com>
1511
1512 * locale/programs/localedef.h (show_archive_content): Add noreturn
1513 attribute.
1514
d6e97a1d
UD
15152012-01-09 Ulrich Drepper <drepper@gmail.com>
1516
1517 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1518
d5835c26
UD
15192012-01-08 Ulrich Drepper <drepper@gmail.com>
1520
e5f484c6
UD
1521 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1522
d5835c26
UD
1523 * io/Makefile (headers): Add bits/poll2.h.
1524
d1f741e9
WS
15252011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1526
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1528 typo #include statement.
1529
ec09c1c4
UD
15302012-01-08 Ulrich Drepper <drepper@gmail.com>
1531
1532 * include/sys/cdefs.h: Define __attribute_alloc_size.
1533 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1534 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1535 * elf/pldd.c: Likewise.
1536 * iconv/iconv_charmap.c: Likewise.
1537 * iconv/iconvconfig.c: Likewise.
1538 * iconv/strtab.c: Likewise.
1539 * locale/programs/locale.c: Likewise.
1540 * locale/programs/localedef.h: Likewise.
1541 * locale/programs/simple-hash.c: Likewise.
1542 * nscd/nscd.h: Likewise.
1543 * nss/makedb.c: Likewise.
1544 * sysdeps/generic/ldconfig.h: Likewise.
1545 * locale/programs/localedef.c: Remove xmalloc prototype.
1546 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1547
20b38e03
PP
15482012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1549
1550 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1551 appropriate.
1552
a0da5fe1
UD
15532012-01-08 Ulrich Drepper <drepper@gmail.com>
1554
1d5a644a 1555 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1556 * math/tst-CMPLX.c: New file.
1d5a644a 1557
8784a6db
UD
1558 * math/complex.h (CMPLXL): Fix typo.
1559
d9a216c0
UD
1560 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1561 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1562 GLIBC_2.16.
1563 * debug/tst-chk1.c: Add poll and ppoll tests.
1564 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1565 * include/sys/poll.h: Add hidden proto for ppoll.
1566 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1567 * sysdeps/mach/hurd/ppoll.c: Likewise.
1568 * io/ppoll.c: Likewise.
1569 * debug/poll_chk.c: New file.
1570 * debug/ppoll_chk.c: New file.
1571 * include/bits/poll2.h: New file.
1572 * io/bits/poll2.h: New file.
1573
ac097f5c
UD
1574 [BZ #1350]
1575 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1576
2119dcfa
UD
1577 * configure.in: static is always set to yes. Remove.
1578 * config.make.in: Don't set build-static.
1579 * Makeconfig: Remove use of build-static.
1580 * dlfcn/Makefile: Likewise.
1581 * elf/Makefile: Likewise.
1582 * math/Makefile: Likewise.
1583 * misc/Makefile: Likewise.
1584 * nptl/Makefile: Likewise.
1585 * sysdeps/mach/hurd/Makefile: Likewise.
1586
121766a9
UD
1587 * configure.in: PWD_P is not used anymore.
1588 * config.make.in: Remove PWD_P entry.
1589
51a1d39c 1590 * configure.in: Remove last remnants of RANLIB.
8720d066 1591 No need to check for signed size_t anymore.
215f4bdc
UD
1592 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1593 and IA-64.
3857022a 1594 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
1595 * aclocal.m4: Likewise.
1596
d3ed7225
UD
1597 * wcsmbs/mbrtoc16.c: Implement using towc function.
1598 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1599 * wcsmbs/wcsmbsload.c: Likewise.
1600 * iconv/gconv_simple.c: Likewise.
1601 * iconv/gconv_int.h: Likewise.
1602 * iconv/gconv_builtin.h: Likewise.
1603 * iconv/iconv_prog.c: Remove CHAR16 handling.
1604
1605 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1606
1607 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1608
a0da5fe1
UD
1609 * configure.in: Remove --with-elf and --enable-bounded options.
1610 Dont set base_machine for ia64. More non-ELF conditions removed.
1611 Remove testing and setting of leading underscore information.
1612 * config.make.in (build-bounded): Set to no.
1613 * config.h.in: Remove NO_UNDERSCORES entry.
1614 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1615 them.
1616 * csu/start.c: Remove !NO_UNDERSCORE code.
1617 * locale/localeinfo.h: Likewise.
1618 * sysdeps/generic/machine-gmon.h: Likewise.
1619 * sysdeps/generic/sysdep.h: Likewise.
1620 * sysdeps/i386/sysdep.h: Likewise.
1621 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1622 * sysdeps/mach/sysdep.h: Likewise.
1623 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1624 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1625 * sysdeps/sh/sysdep.h: Likewise.
1626 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1627 * sysdeps/unix/i386/sysdep.S: Likewise.
1628 * sysdeps/unix/sparc/start.c: Likewise.
1629 * sysdeps/unix/sparc/sysdep.S: Likewise.
1630 * sysdeps/unix/sparc/sysdep.h: Likewise.
1631 * sysdeps/unix/start.c: Likewise.
1632 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1633 * sysdeps/x86_64/sysdep.h: Likewise.
1634
df78418a
UD
16352012-01-07 Ulrich Drepper <drepper@gmail.com>
1636
a784e502
UD
1637 [BZ #13553]
1638 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1639 for non-gcc.
1640 * argp/argp-fmtstream.h: Use const instead __const.
1641 * argp/argp.h: Likewise.
1642 * assert/assert.h: Likewise.
1643 * bits/fenv.h: Likewise.
1644 * bits/sched.h: Likewise.
1645 * bits/sigset.h: Likewise.
1646 * bits/sigthread.h: Likewise.
1647 * catgets/nl_types.h: Likewise.
1648 * conform/data/pthread.h-data: Likewise.
1649 * crypt/crypt-private.h: Likewise.
1650 * crypt/crypt.h: Likewise.
1651 * crypt/crypt_util.c: Likewise.
1652 * ctype/ctype.h: Likewise.
1653 * debug/execinfo.h: Likewise.
1654 * debug/mbsnrtowcs_chk.c: Likewise.
1655 * debug/mbsrtowcs_chk.c: Likewise.
1656 * debug/wcsnrtombs_chk.c: Likewise.
1657 * debug/wcsrtombs_chk.c: Likewise.
1658 * debug/wcstombs_chk.c: Likewise.
1659 * dirent/dirent.h: Likewise.
1660 * dlfcn/dlfcn.h: Likewise.
1661 * elf/neededtest4.c: Likewise.
1662 * grp/grp.h: Likewise.
1663 * gshadow/gshadow.h: Likewise.
1664 * iconv/gconv.h: Likewise.
1665 * iconv/gconv_int.h: Likewise.
1666 * iconv/gconv_simple.c: Likewise.
1667 * iconv/iconv.h: Likewise.
1668 * iconv/loop.c: Likewise.
1669 * iconv/skeleton.c: Likewise.
1670 * include/aio.h: Likewise.
1671 * include/aliases.h: Likewise.
1672 * include/argz.h: Likewise.
1673 * include/arpa/inet.h: Likewise.
1674 * include/assert.h: Likewise.
1675 * include/dirent.h: Likewise.
1676 * include/dlfcn.h: Likewise.
1677 * include/execinfo.h: Likewise.
1678 * include/fcntl.h: Likewise.
1679 * include/fenv.h: Likewise.
1680 * include/glob.h: Likewise.
1681 * include/grp.h: Likewise.
1682 * include/libintl.h: Likewise.
1683 * include/mntent.h: Likewise.
1684 * include/netdb.h: Likewise.
1685 * include/pwd.h: Likewise.
1686 * include/rpc/netdb.h: Likewise.
1687 * include/sched.h: Likewise.
1688 * include/search.h: Likewise.
1689 * include/shadow.h: Likewise.
1690 * include/signal.h: Likewise.
1691 * include/stdio.h: Likewise.
1692 * include/stdlib.h: Likewise.
1693 * include/string.h: Likewise.
1694 * include/sys/socket.h: Likewise.
1695 * include/sys/stat.h: Likewise.
1696 * include/sys/statfs.h: Likewise.
1697 * include/sys/statvfs.h: Likewise.
1698 * include/sys/syslog.h: Likewise.
1699 * include/sys/time.h: Likewise.
1700 * include/sys/uio.h: Likewise.
1701 * include/time.h: Likewise.
1702 * include/unistd.h: Likewise.
1703 * include/utmp.h: Likewise.
1704 * include/wchar.h: Likewise.
1705 * include/wctype.h: Likewise.
1706 * inet/aliases.h: Likewise.
1707 * inet/arpa/inet.h: Likewise.
1708 * inet/netinet/ether.h: Likewise.
1709 * inet/netinet/in.h: Likewise.
1710 * intl/libintl.h: Likewise.
1711 * io/bits/fcntl2.h: Likewise.
1712 * io/fcntl.h: Likewise.
1713 * io/ftw.h: Likewise.
1714 * io/sys/poll.h: Likewise.
1715 * io/sys/stat.h: Likewise.
1716 * io/sys/statfs.h: Likewise.
1717 * io/sys/statvfs.h: Likewise.
1718 * io/utime.h: Likewise.
1719 * libio/bits/stdio.h: Likewise.
1720 * libio/bits/stdio2.h: Likewise.
1721 * libio/libio.h: Likewise.
1722 * libio/libioP.h: Likewise.
1723 * libio/stdio.h: Likewise.
1724 * locale/lc-ctype.c: Likewise.
1725 * locale/locale.h: Likewise.
1726 * login/utmp.h: Likewise.
1727 * malloc/arena.c: Likewise.
1728 * malloc/malloc.c: Likewise.
1729 * malloc/malloc.h: Likewise.
1730 * malloc/mcheck.c: Likewise.
1731 * malloc/mtrace.c: Likewise.
1732 * math/bits/mathcalls.h: Likewise.
1733 * math/fenv.h: Likewise.
1734 * math/math_private.h: Likewise.
1735 * misc/bits/error.h: Likewise.
1736 * misc/bits/syslog.h: Likewise.
1737 * misc/err.h: Likewise.
1738 * misc/error.h: Likewise.
1739 * misc/fstab.h: Likewise.
1740 * misc/mntent.h: Likewise.
1741 * misc/regexp.h: Likewise.
1742 * misc/search.h: Likewise.
1743 * misc/sgtty.h: Likewise.
1744 * misc/sys/mman.h: Likewise.
1745 * misc/sys/syslog.h: Likewise.
1746 * misc/sys/uio.h: Likewise.
1747 * misc/sys/xattr.h: Likewise.
1748 * misc/ttyent.h: Likewise.
1749 * nis/rpcsvc/ypclnt.h: Likewise.
1750 * nss/nss.h: Likewise.
1751 * posix/bits/unistd.h: Likewise.
1752 * posix/fnmatch.h: Likewise.
1753 * posix/glob.h: Likewise.
1754 * posix/sched.h: Likewise.
1755 * posix/spawn.h: Likewise.
1756 * posix/sys/wait.h: Likewise.
1757 * posix/unistd.h: Likewise.
1758 * posix/wordexp.h: Likewise.
1759 * pwd/pwd.h: Likewise.
1760 * resolv/netdb.h: Likewise.
1761 * resource/sys/resource.h: Likewise.
1762 * rt/aio.h: Likewise.
1763 * rt/bits/mqueue2.h: Likewise.
1764 * rt/mqueue.h: Likewise.
1765 * shadow/shadow.h: Likewise.
1766 * signal/signal.h: Likewise.
1767 * socket/send.c: Likewise.
1768 * socket/sendto.c: Likewise.
1769 * socket/sys/socket.h: Likewise.
1770 * stdio-common/printf.h: Likewise.
1771 * stdlib/bits/stdlib.h: Likewise.
1772 * stdlib/fmtmsg.h: Likewise.
1773 * stdlib/monetary.h: Likewise.
1774 * stdlib/stdlib.h: Likewise.
1775 * stdlib/ucontext.h: Likewise.
1776 * streams/stropts.h: Likewise.
1777 * string/argz.h: Likewise.
1778 * string/bits/string2.h: Likewise.
1779 * string/string.h: Likewise.
1780 * string/strings.h: Likewise.
1781 * sunrpc/rpc/auth.h: Likewise.
1782 * sunrpc/rpc/auth_des.h: Likewise.
1783 * sunrpc/rpc/clnt.h: Likewise.
1784 * sunrpc/rpc/netdb.h: Likewise.
1785 * sunrpc/rpc/pmap_clnt.h: Likewise.
1786 * sunrpc/rpc/xdr.h: Likewise.
1787 * sysdeps/generic/inttypes.h: Likewise.
1788 * sysdeps/generic/net/if.h: Likewise.
1789 * sysdeps/generic/sys/swap.h: Likewise.
1790 * sysdeps/gnu/net/if.h: Likewise.
1791 * sysdeps/gnu/utmpx.h: Likewise.
1792 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1793 * sysdeps/i386/i486/bits/string.h: Likewise.
1794 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
1795 * sysdeps/s390/bits/string.h: Likewise.
1796 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1797 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1798 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1799 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1800 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1801 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1802 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1803 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
1804 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1805 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1806 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
1807 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1808 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
1809 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1810 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1811 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
1812 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1814 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1815 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1817 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
1818 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1819 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
1820 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1821 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1822 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
1823 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1824 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
1825 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
1826 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
1827 * sysvipc/sys/ipc.h: Likewise.
1828 * sysvipc/sys/msg.h: Likewise.
1829 * sysvipc/sys/sem.h: Likewise.
1830 * sysvipc/sys/shm.h: Likewise.
1831 * termios/termios.h: Likewise.
1832 * time/sys/time.h: Likewise.
1833 * time/time.h: Likewise.
1834 * wcsmbs/bits/wchar2.h: Likewise.
1835 * wcsmbs/uchar.h: Likewise.
1836 * wcsmbs/wchar.h: Likewise.
1837 * wctype/wctype.h: Likewise.
1838
0269750c
UD
1839 [BZ #13551]
1840 * Makeconfig: Remove all but ELF support including AIX support.
1841 * Makerules: Likewise.
1842 * config.h.in: Likewise.
1843 * config.make.in: Likewise.
1844 * configure: Likewise.
1845 * configure.in: Likewise.
1846 * csu/Makefile: Likewise.
1847 * csu/version.c: Likewise.
1848 * debug/Makefile: Likewise.
1849 * dlfcn/Makefile: Likewise.
1850 * elf/Makefile: Likewise.
1851 * extra-lib.mk: Likewise.
1852 * iconv/Makefile: Likewise.
1853 * include/libc-symbols.h: Likewise.
1854 * include/shlib-compat.h: Likewise.
1855 * resolv/Makefile: Likewise.
1856 * resolv/res_libc.c: Likewise.
1857 * rt/Makefile: Likewise.
1858 * sysdeps/i386/asm-syntax.h: Likewise.
1859 * sysdeps/i386/sysdep.h: Likewise.
1860 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1861 * sysdeps/mach/sysdep.h: Likewise.
1862 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
1863 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
1864 * sysdeps/s390/asm-syntax.h: Likewise.
1865 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1866 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1867 * sysdeps/sh/sysdep.h: Likewise.
1868 * sysdeps/unix/sparc/sysdep.h: Likewise.
1869 * sysdeps/wordsize-32/divdi3.c: Likewise.
1870 * sysdeps/x86_64/sysdep.h: Likewise.
1871
00bbd29b
UD
1872 * argp/Versions: Remove _argp_unlock_xxx.
1873
1874 [BZ #13559]
1875 * abilist/ld.abilist: Update. Adjust for removal of tls option.
1876 * abilist/libBrokenLocale.abilist: Likewise.
1877 * abilist/libanl.abilist: Likewise.
1878 * abilist/libc.abilist: Likewise.
1879 * abilist/libcrypt.abilist: Likewise.
1880 * abilist/libdl.abilist: Likewise.
1881 * abilist/libm.abilist: Likewise.
1882 * abilist/libnsl.abilist: Likewise.
1883 * abilist/libpthread.abilist: Likewise.
1884 * abilist/libresolv.abilist: Likewise.
1885 * abilist/librt.abilist: Likewise.
1886 * abilist/libthread_db.abilist: Likewise.
1887 * abilist/libutil.abilist: Likewise.
1888 * abilist/libnss_db.abilist: New file.
1889
1890 * scripts/abilist.awk: Add support for indirect functions.
1891
a2693a0e
UD
1892 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
1893
3f05895f
UD
1894 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
1895
ecb6fb48
UD
1896 * shlib-versions: Remove entries for ports architectures.
1897
664f8cb9
UD
1898 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
1899 files in ports.
1900 * elf/stackguard-macros.h: Remove support for IA-64.
1901 * elf/tst-auditmod1.c: Likewise.
1902 * sysdeps/generic/ldsodefs.h: Likewise.
1903
7ae81d88
UD
1904 * sysdeps/unix/sysv/linux/configure.in: Ports should define
1905 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
1906 configure files.
1907
bdeba135
UD
1908 [BZ #13552]
1909 * configure.in: Remove --enable-omitfp support.
1910 * FAQ.in: Adjust.
1911 * config.make.in: Likewise.
1912 * Makeconfig: Likewise.
1913 * manual/install.texi: Likewise.
1914
d75a0a62
UD
1915 In case anyone cares, the IA-64 architecture could move to ports.
1916 * sysdeps/ia64/*: Removed.
1917 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 1918 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 1919
dcc9756b
UD
1920 [BZ #13555]
1921 * configure.in: Remove entries for unsupported architectures.
1922
d3761ebc 1923 [BZ #13533]
9954432e
UD
1924 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
1925 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
1926 routines.
1927 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
1928 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
1929 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
1930 fall back to using wcrtomb.
1931 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
1932 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
1933 renaming.
1934 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
1935 * wcsmbs/tst-c16c32-1.c: New file.
1936
1937 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
1938 local variable.
1939
c3a87236
UD
1940 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
1941
28926a1b
UD
1942 * elf/tst-unique3.cc: Add explicit declaration of gets.
1943 * elf/tst-unique3lib.cc: Likewise.
1944 * elf/tst-unique3lib2.cc: Likewise.
1945 * elf/tst-unique4.cc: Likewise.
1946
df78418a
UD
1947 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
1948
8ecd6b2a
JM
19492012-01-06 Joseph Myers <joseph@codesourcery.com>
1950
1951 [BZ #13566]
1952 * assert/assert.h (static_assert): Don't define for C++.
1953 * libio/stdio.h (gets): Do declare for C++ <= C++11.
1954 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
1955
9f115170
UD
19562012-01-03 Ulrich Drepper <drepper@gmail.com>
1957
5e0d0300
UD
1958 * iconv/loop.c (single loop): Fix assertion in storing of
1959 remaining bytes.
1960
9f115170
UD
1961 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
1962
81fb02b0
UD
19632012-01-01 Ulrich Drepper <drepper@gmail.com>
1964
1965 * posix/getconf.c: Update copyright year.
1966 * nss/getent.c: Likewise.
a316c1f6 1967 * nss/makedb.c: Likewise.
81fb02b0
UD
1968 * iconv/iconvconfig.c: Likewise.
1969 * iconv/iconv_prog.c: Likewise.
1970 * elf/ldconfig.c: Likewise.
a316c1f6
UD
1971 * elf/pldd.c: Likewise.
1972 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
1973 * catgets/gencat.c: Likewise.
1974 * csu/version.c: Likewise.
1975 * elf/ldd.bash.in: Likewise.
1976 * elf/sprof.c (print_version): Likewise.
1977 * locale/programs/locale.c: Likewise.
1978 * locale/programs/localedef.c: Likewise.
a316c1f6 1979 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
1980 * nscd/nscd.c (print_version): Likewise.
1981 * debug/xtrace.sh: Likewise.
1982 * malloc/memusage.sh: Likewise.
1983 * malloc/mtrace.pl: Likewise.
1984 * debug/catchsegv.sh: Likewise.
1985
2ba92745
JJ
19862011-12-30 Jakub Jelinek <jakub@redhat.com>
1987
1988 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
1989 pure attribute.
1990
dadebdae
UD
19912011-12-24 Ulrich Drepper <drepper@gmail.com>
1992
d3761ebc 1993 [BZ #13533]
db6af3eb
UD
1994 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
1995 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
1996 transformations.
1997 * iconv/gconv_int.h: Likewise.
1998 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
1999 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2000 from libc for GLIBC_2.16.
2001 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2002 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2003 * wcsmbs/uchar.h: Really define mbstate_t.
2004 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2005 * wcsmbs/c16rtomb.c: New file.
2006 * wcsmbs/mbrtoc16.c: New file.
2007 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2008 for C/POSIX locale.
2009 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2010 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2011
dadebdae
UD
2012 * wcsmbs/wchar.h: Add missing __restrict.
2013
67371b56
UD
20142011-12-23 Ulrich Drepper <drepper@gmail.com>
2015
74033a25
UD
2016 [BZ #13532]
2017 * time/Makefile (routines): Add timespec_get.
2018 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2019 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2020 timespec for ISO C11.
2021 * time/timespec_get.c: New file.
2022 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2023 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2024
380d7e87
UD
2025 [BZ #13531]
2026 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2027 * stdlib/stdlib.h: Declare aligned_alloc.
2028 * Versions.def: Add GLIBC_2.16 for libc.
2029 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2030
4e9e7a35
UD
2031 [BZ 13527]
2032 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2033 ISO C11.
2034
380d7e87 2035 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2036 code.
2037
03a71829
UD
2038 [BZ #13528]
2039 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2040
839e283e
UD
2041 [BZ #13529]
2042 * assert/assert.h (static_assert): Define.
2043
ce5294e2 2044 * version.h: Update for 2.16 development version.
90fa7312 2045
8d44e150 2046 [BZ #13526]
d7809905
UD
2047 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2048 _ISOC11_SOURCE.
2049
c0da14cd
UD
2050 * version.h (RELEASE): Bump for 2.15 release.
2051 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2052
530a3249
MP
2053 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2054 Patch by Marek Polacek <mpolacek@redhat.com>.
2055
67371b56
UD
2056 * bits/byteswap.h: Protect long long constants with __extension__.
2057 * sysdeps/i386/bits/byteswap.h: Likewise.
2058 * sysdeps/ia64/bits/byteswap.h: Likewise.
2059 * sysdeps/s390/bits/byteswap.h: Likewise.
2060 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2061
15db4de1
LD
20622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2063
2064 [BZ #13540]
bbe315ea
LD
2065 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2066 destination buffer.
15db4de1
LD
2067 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2068
2b2596b1
MP
20692011-12-23 Marek Polacek <polacek@redhat.com>
2070
2071 * elf/dl-addr.c (determine_info): Add inline keyword.
2072 * elf/tst-auditmod4b.c (check_avx): Likewise.
2073 * elf/tst-auditmod6b.c (check_avx): Likewise.
2074 * elf/tst-auditmod6c.c (check_avx): Likewise.
2075 * elf/tst-auditmod7b.c (check_avx): Likewise.
2076
70c6c246
UD
20772011-12-23 Ulrich Drepper <drepper@gmail.com>
2078
2079 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2080 !__SSE_MATH__.
2081
c044cf14
LD
20822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2083
15db4de1 2084 [BZ #13540]
c044cf14
LD
2085 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2086 processing for last bytes.
2087
6b13d9d9
BH
20882011-08-06 Bruno Haible <bruno@clisp.org>
2089
d455f537
BH
2090 [BZ #13061]
2091 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2092 U+0385, not to U+1FEE.
2093
6b13d9d9
BH
2094 [BZ #13062]
2095 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2096 entry for U+00A5 U+0301.
2097
db910efd
UD
20982011-12-22 Ulrich Drepper <drepper@gmail.com>
2099
27deeafc
UD
2100 [BZ #13166]
2101 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2102 buffer for the output is too small.
2103
aed9d171
UD
2104 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2105 optimization.
2106
db910efd
UD
2107 [BZ #13185]
2108 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2109 SSE flags if possible.
2110
2bd779ae
LD
21112011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2112
e7f9dac3 2113 [BZ #13540]
2bd779ae
LD
2114 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2115 processing for last bytes.
2116
154bfc16
JM
21172011-12-22 Joseph Myers <joseph@codesourcery.com>
2118
2119 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2120 (syscall-list-default-options, syscall-list-default-condition)
2121 (syscall-list-includes): Define.
2122 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2123 list of ABIs and options and #if conditions for each ABI. Do not
2124 handle common syscalls between ABIs specially.
2125 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2126 Remove.
2127 (syscall-list-variants, syscall-list-32bit-options)
2128 (syscall-list-32bit-condition, syscall-list-64bit-options)
2129 (syscall-list-64bit-condition): Define.
2130 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2131 (syscall-list-variants, syscall-list-32bit-options)
2132 (syscall-list-32bit-condition, syscall-list-64bit-options)
2133 (syscall-list-64bit-condition): Define.
2134 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2135 Remove.
2136 (syscall-list-variants, syscall-list-32bit-options)
2137 (syscall-list-32bit-condition, syscall-list-64bit-options)
2138 (syscall-list-64bit-condition): Define.
2139 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2140 Remove.
2141 (syscall-list-variants, syscall-list-32bit-options)
2142 (syscall-list-32bit-condition, syscall-list-64bit-options)
2143 (syscall-list-64bit-condition): Define.
2144
21eaf3a5
UD
21452011-12-22 Ulrich Drepper <drepper@gmail.com>
2146
16c6f992
UD
2147 * locale/iso-639.def: Add brx entry.
2148
41043168
UD
2149 [BZ #13328]
2150 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2151 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2152
21eaf3a5
UD
2153 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2154 __feraiseexcept_renamed.
2155
e3a851a2
UD
21562011-12-21 Ulrich Drepper <drepper@gmail.com>
2157
4920765e
UD
2158 [BZ #13538]
2159 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2160 EPOLLET with unsigned values.
2161 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2162 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2163
e3a851a2
UD
2164 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2165 to large cancellation.
2166 * math/s_cacoshf.c: Likewise.
2167 * math/s_cacoshl.c: Likewise.
2168
b27e24b8
RK
21692011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2170
2171 [BZ #13305]
aebefeee 2172 [BZ #12786]
b27e24b8
RK
2173 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2174 * math/s_cacoshf.c: Likewise.
2175 * math/s_cacoshl.c: Likewise.
2176
ee190f67
UD
21772011-12-21 Ulrich Drepper <drepper@gmail.com>
2178
2179 [BZ #13439]
2180 * iconv/gconv.h: Define __GCONV_SWAP.
2181 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2182 * iconvdata/utf-16.c: Likewise.
2183 * iconvdata/utf-32.c: Likewise.
2184
707f25df
AS
21852011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2186
2187 [BZ #13524]
2188 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2189 numerator after shifting it by one limb.
2190
d2daaa1e
RÁE
21912011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2192
2193 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2194 under [__USE_EXTERN_INLINES].
2195
a4647e72
UD
21962011-12-17 Ulrich Drepper <drepper@gmail.com>
2197
2198 [BZ #13446]
2199 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2200
f0b264f1
AZ
22012011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202
2203 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2204 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2205 optimized code.
2206 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2207 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2208 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2209 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2210 for strncasecmp/strncasecmp_l compilation.
2211 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2212 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2213
8ef4f244
MP
22142011-12-08 Marek Polacek <mpolacek@redhat.com>
2215
2216 [BZ #13484]
2217 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2218 of __asm__.
2219
97ac2654
UD
22202011-12-17 Ulrich Drepper <drepper@gmail.com>
2221
2222 [BZ #13506]
2223 * time/tzfile.c (__tzfile_read): Check values from file header.
2224
91d2a845
WS
22252011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2226
2227 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2228 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2229 * powerpc/powerpc32/dl-start.S: Likewise.
2230 * powerpc/powerpc32/elf/start.S: Likewise.
2231 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2232 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2233 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2234 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2235 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2236 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2237 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2238 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2239 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2240 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2241 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2242 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2243 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2244 * powerpc/powerpc32/memset.S: Likewise.
2245 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2246 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2247 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2248 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2249 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2250 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2251 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2252 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2253 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2254 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2255 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2256 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2257 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2258
a1267ba1
AZ
22592011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2260
2261 * math/libm-test.inc: Added more nearbyint tests.
2262 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2263 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2265 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2266
ad8ac1bd
RL
22672011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2268
2269 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2270 FD_CLOEXEC.
2271
1d3e4b61
UD
22722011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2273
2274 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2275 Add wcscpy-ssse3 wcscpy-c.
2276 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2277 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2278 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2279 * sysdeps/x86_64/wcschr.S: New file.
2280 * sysdeps/x86_64/wcsrchr.S: New file.
2281 * string/test-strcmp.c: Remove checking of wcscmp function for
2282 wrong alignments.
2283 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2284 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2285 wcsrchr-sse2 wcsrchr-c.
2286 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2287 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2288 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2289 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2290 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2291 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2292 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2293 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2294 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2295 * wcsmbc/wcschr.c (WCSCHR): New macro.
2296
5b330a2d
UD
22972011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2298
2299 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2300 * wcsmbs/test-wcsrchr.c: New file.
2301 * string/test-strrchr.c: Add wcsrchr support.
2302 (WIDE): New macro.
2303 * wcsmbs/test-wcscpy.c: New file.
2304 * string/test-strcpy.c: Add wcscpy support.
2305 (WIDE): New macro.
26428b7c 2306
f039c043
UD
23072011-12-10 Ulrich Drepper <drepper@gmail.com>
2308
2309 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2310 the inner loop.
2311
850fb039
AS
23122011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2313
2314 [BZ #13472]
2315 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2316
4efbd5cb
UD
23172011-12-04 Ulrich Drepper <drepper@gmail.com>
2318
52ff5dd0 2319 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2320 Minor optimizations.
52ff5dd0 2321
4efbd5cb
UD
2322 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2323 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2324 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2325
8a426e12
UD
23262011-12-03 Ulrich Drepper <drepper@gmail.com>
2327
aff2453d
UD
2328 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2329 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2330 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2331 for gcc to avoid warnings.
2332 * inet/Makefile (tests): Add tst-checks.
2333 * inet/tst-checks.c: New file.
2334
2335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2336 warning.
2337
2338 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2339 __wmemcmp_sse2.
2340
2341 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2342 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2343
8a426e12
UD
2344 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2345
9bea3473
UD
23462011-12-02 Ulrich Drepper <drepper@gmail.com>
2347
3a965496
UD
2348 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2349 problem.
2350
9bea3473
UD
2351 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2352
f101631b
UD
23532011-11-29 Joseph Myers <joseph@codesourcery.com>
2354
2355 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2356 conditional on GCC version.
2357 (__arch_compare_and_exchange_val_8_acq)
2358 (__arch_compare_and_exchange_val_16_acq)
2359 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2360 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2361 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2362
a98275aa
UD
23632011-12-02 Joseph Myers <joseph@codesourcery.com>
2364
2365 * sysdeps/sh/backtrace.c: New file.
2366
d4cc29a2
AS
23672011-12-02 Andreas Schwab <schwab@redhat.com>
2368
2369 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2370 parenthesis.
2371
6257af2d
AS
23722011-12-01 Andreas Schwab <schwab@redhat.com>
2373
2374 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2375 falling back to utime.
2376
b5f44c1a
AS
23772011-11-30 Andreas Schwab <schwab@redhat.com>
2378
2379 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2380 expectations for float.
2381
f3a6cc0a
AS
23822011-11-29 Andreas Schwab <schwab@redhat.com>
2383
2384 * locale/weight.h (findidx): Add parameter len.
2385 * locale/weightwc.h (findidx): Likewise.
2386 * posix/fnmatch_loop.c (FCT): Adjust caller.
2387 * posix/regcomp.c (build_equiv_class): Likewise.
2388 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2389 * posix/regexec.c (check_node_accept_bytes): Likewise.
2390 * string/strcoll_l.c (STRCOLL): Likewise.
2391 * string/strxfrm_l.c (STRXFRM): Likewise.
2392
9d65ea3a
UD
23932011-11-17 Ulrich Drepper <drepper@gmail.com>
2394
2395 * Makefile.in: Remove CVSOPT handling.
2396 * configure.in: Remove use of AC_REVISION.
2397 * iconvdata/Makefile (distribute): No need to filter out CVS.
2398 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2399 handling.
2400
5583a086
AS
24012011-11-16 Andreas Schwab <schwab@redhat.com>
2402
2403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2404 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2405 [USE_AS_STRNCASECMP_L]: Likewise.
2406 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2407 NO_TLS_DIRECT_SEG_REFS.
2408 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2409 Fix argument offsets for non-PIC.
2410 [USE_AS_STRNCASECMP_L]: Likewise.
2411 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2412 NO_TLS_DIRECT_SEG_REFS.
2413
d62a8200
UD
24142011-11-15 Ulrich Drepper <drepper@gmail.com>
2415
9d65ea3a 2416 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2417 O_CLOEXEC.
2418 * locale/loadlocale.c (_nl_load_locale): Likewise.
2419
09f93bd3
AS
24202011-11-15 Andreas Schwab <schwab@redhat.com>
2421
446514f9
AS
2422 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2423 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2424 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2425 (SYSCALL_GETTIME): Set errno on error.
2426
09f93bd3
AS
2427 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2428 count references to noai6ai_cached.
2429
312be3f9
UD
24302011-11-15 Ulrich Drepper <drepper@gmail.com>
2431
2432 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2433
2434 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2435 FD_CLOEXEC for /proc/self/maps.
2436
2437 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2438 FD_CLOEXEC for /proc/meminfo.
2439
2440 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2441 gai.conf.
2442
2443 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2444 FD_CLOEXEC for given file.
2445
2446 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2447
2448 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2449 FD_CLOEXEC for /etc/hosts.
2450 (_gethtent): Likewise.
2451
2452 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2453
2454 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2455 cancellation and set FD_CLOEXEC for /etc/netgroup.
2456
2457 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2458 reading /etc/publickey.
2459
2460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2461 allow cancellation when reading /etc/group.
2462
2463 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2464 cancellation.
2465 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2466
2467 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2468 when using data file.
2469
2470 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2471
2472 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2473 (write_nis_obj): Use "c" and "e" in fopen.
2474
2475 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2476
2477 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2478
2479 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2480
2481 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2482
2483 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2484 locale.alias.
2485
2486 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2487
2488 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2489
2490 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2491
2492 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2493 file parsing and set FD_CLOEXEC.
2494
82af0fa8
UD
24952011-11-14 Ulrich Drepper <drepper@gmail.com>
2496
2497 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2498
a5fb313c
AS
24992011-11-14 Andreas Schwab <schwab@redhat.com>
2500
2501 * malloc/arena.c (arena_get2): Don't call reused_arena when
2502 _int_new_arena failed.
2503
6abf3465
UD
25042011-11-14 Ulrich Drepper <drepper@gmail.com>
2505
2506 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2507 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2508 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2510 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2511 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2512 to compile strcasecmp and strncasecmp.
2513 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2514 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2515
2516 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2517
76e3966e
UD
25182011-11-13 Ulrich Drepper <drepper@gmail.com>
2519
2520 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2521 locale-defines.sym to gen-as-const-headers.
2522 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2523 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2525 to compile strcasecmp and strncasecmp.
2526 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2527 strcasecmp_l and strncasecmp_l.
2528 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2529 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2530 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2531 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2532 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2533 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2534 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2535 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2536 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2537 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2538 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2539
ab26144e
UD
25402011-11-12 Ulrich Drepper <drepper@gmail.com>
2541
7edb22ef
UD
2542 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2543 result of SYSDEP_GETTIME_CPU to retval.
2544 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2545 parameter list to macro. Remove trailing semicolon. Adjust users.
2546
9694fc44
UD
2547 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2548 variable.
2549
8ad89ef8
UD
2550 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2551 mantissa words.
2552 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2553
0c822ef9
UD
2554 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2555 from unused variable.
2556
874e0564
UD
2557 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2558 DWARF definitions.
2559 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2560 for assembling.
2561
3a2edc79
UD
2562 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2563 over namespaces.
2564
f3c2577f
UD
2565 * sunrpc/rpc_prot.c (rejected): Fix case value.
2566
294ce126
UD
2567 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2568 unsigned long long int to avoid warnings in shift.
2569
5e2b63c6
UD
2570 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2571 of use of trans.
2572 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2573 variable tmp.
2574
e7f4b08e
UD
2575 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2576 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2577 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2578
ab26144e
UD
2579 * nis/nis_table.c (nis_list): Use variable of correct type for
2580 result of __follow_path call.
2581
8a6d5255
AZ
25822011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2583
2584 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2585 of math functions ceil, trunc, floor, round, and sqrt, when
2586 avaliable on the platform.
2587 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2588 name clash.
2589 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2590 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2591 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2592
aaddc98c
MP
25932011-10-30 Marek Polacek <mpolacek@redhat.com>
2594
2595 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2596 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2597
95b7042b
RM
25982011-11-11 Roland McGrath <roland@hack.frob.com>
2599
2600 * include/unistd.h: Fix __readlink return type.
2601 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2602
57769839
UD
26032011-11-11 Ulrich Drepper <drepper@gmail.com>
2604
2605 * stdlib/ucontext.h: Undo last change for makecontext.
2606
edc5984d
AS
26072011-11-11 Andreas Schwab <schwab@redhat.com>
2608
98591e58
AS
2609 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2610
edc5984d
AS
2611 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2612 * setjmp/setjmp.h: Mark functions as non-leaf.
2613 * setjmp/bits/setjmp2.h: Likewise.
2614 * stdlib/ucontext.h: Likewise.
2615
77cdc054
AS
26162011-11-10 Andreas Schwab <schwab@redhat.com>
2617
2618 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2619 (reused_arena): Don't check arena limit.
2620 (arena_get2): Atomically check arena limit.
2621
fe72eebd
UD
26222011-11-08 Ulrich Drepper <drepper@gmail.com>
2623
5f078c32
UD
2624 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2625 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2626
fe72eebd
UD
2627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2628 instructions.
2629
ae1bc2fa
AS
26302011-11-07 Andreas Schwab <schwab@redhat.com>
2631
7583a88d
AS
2632 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2633 handler when locking.
2634
ae1bc2fa
AS
2635 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2636 Fix size of allocated buffer.
2637
10fb0bfa
AS
26382011-11-04 Andreas Schwab <schwab@redhat.com>
2639
998832a4
AS
2640 [BZ #10103]
2641 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2642 declarations for long double functions.
2643 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2644
10fb0bfa
AS
2645 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2646
3d7ba52b
AS
26472011-11-03 Andreas Schwab <schwab@redhat.com>
2648
a9ae54a1
AS
2649 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2650 installed.
2651
3d7ba52b
AS
2652 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2653 is disabled.
2654
bc8db248
ST
26552011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2656
2657 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2658
45b96dd6
AS
26592011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2660
647776f6
AS
2661 * include/alloca.h (stackinfo_alloca_round): Define.
2662 (extend_alloca): Use it.
2663 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2664 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2665 here.
2666
d91a8b93
AS
2667 * scripts/check-local-headers.sh: Ignore libaudit.h.
2668
45b96dd6
AS
2669 * nscd/Makefile (extra-objs): Make recursively expanded.
2670
432d41ce
UD
26712011-11-01 Ulrich Drepper <drepper@gmail.com>
2672
34372fc6
UD
2673 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2674 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2675
fadb59f8
UD
2676 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2677 * posix/tst-rfc3484-2.c: Likewise.
2678 * posix/tst-rfc3484-3.c: Likewise.
2679
78239589
UD
2680 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2681 process_vm_writev.
2682 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2683 process_vm_writev.
2684 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2685 process_vm_writev from libc using GLIBC_2.15 version.
2686
432d41ce
UD
2687 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2688
02f9c6cf
PP
26892011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2690
2691 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2692 stack usage.
2693
3a2c0242
UD
26942011-10-31 Ulrich Drepper <drepper@gmail.com>
2695
f4ec4833
UD
2696 [BZ #13367]
2697 * nss/getent.c (initgroups_keys): Show error message in case no group
2698 names are given.
2699
3a2c0242
UD
2700 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2701 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2702 __bump_nl_timestamp.
2703 * nscd/connections (nscd_init): When host database is served open
2704 netlink socket and request notification about configuration changes.
2705 (main_loop_poll): Track netlink file descriptor and bump timestamp
2706 in case data becomes available.
2707 (main_loop_epoll): Likewise.
2708 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2709 (database_pers_head): Add extra_data fileds.
2710 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2711 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2712 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2713 Adjust caller.
2714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2715 in6ai data, call __free_in6ai.
2716 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2717 Add -DHAVE_NETLINK.
2718 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2719 interface information. Reuse previous data if netlink timestamp
2720 is not changed.
2721 (__bump_nl_timestamp): New function.
2722 (__free_in6ai): New function.
2723
636064eb
UD
27242011-10-30 Ulrich Drepper <drepper@gmail.com>
2725
2726 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2727 close_not_cancel_no_status here.
2728 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2729
9beb2334
UD
27302011-10-29 Ulrich Drepper <drepper@gmail.com>
2731
6ef76f3b
UD
2732 [BZ #13276]
2733 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2734 return value.
2735
0ffc4f3e 2736 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
2737 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2738 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2739
cb95113e
UD
27402011-07-03 Andreas Jaeger <aj@suse.de>
2741
2742 [BZ #10709]
2743 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2744 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2745 * math/libm-test.inc (sin_test): Add test case.
2746
a1b560ff
UD
27472011-10-29 Ulrich Drepper <drepper@gmail.com>
2748
c9aaface
UD
2749 [BZ #13337]
2750 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2751 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2752
d272e7f1
UD
2753 * elf/chroot_canon.c (chroot_canon): Cleanups.
2754
1bc33071
UD
2755 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2756
1760874d
TJ
2757 [BZ #13335]
2758 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2759 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2760
51d91b18
UD
2761 * string/test-strchr.c: Make usable for strchrnul testing.
2762 * string/test-strchrnul.c: New file.
2763 * string/Makefile (strop-tests): Add strchrnul.
2764
a1b560ff 2765 * po/it.po: Update from translation team.
b611fb81 2766 * po/es.po: Likewise.
a1b560ff 2767
a5b81e1f
UD
27682011-10-28 Ulrich Drepper <drepper@gmail.com>
2769
fd52bc6d
UD
2770 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2771 the three constants needed as parameters. Drop the others.
2772 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2773 __m128i_strloadu_tolower.
52e4b9eb
UD
2774 Create and initialize variable zero and use it in all the places
2775 where _mm_setzero_si128 was used.
fd52bc6d 2776
a5b81e1f
UD
2777 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2778 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2779 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2780 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2781 anymore.
2782 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2783 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2784 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2785 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2786 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2787 __mpranred, __mptan.
2788 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2789 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2790 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
2791 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
2792 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
2793 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
2794 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
2795 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
2796 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
2797
b4343346
AS
27982011-10-28 Andreas Schwab <schwab@redhat.com>
2799
0c92d8a8
AS
2800 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
2801 redefine if SHARED.
2802 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
2803
b4343346
AS
2804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
2805 wide char related routines to wcsmbs subdir.
2806
3871f58f
AS
28072011-10-27 Andreas Schwab <schwab@redhat.com>
2808
2809 [BZ #13344]
2810 * misc/sys/cdefs.h (__THROWNL): Define.
2811 * posix/unistd.h: Use __THREADNL instead of __THREAD
2812 for memory synchronization functions.
2813
94d44d9f
RM
28142011-10-26 Roland McGrath <roland@hack.frob.com>
2815
21b64b15 2816 [BZ #13349]
94d44d9f
RM
2817 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
2818 doesn't exist.
2819 * manual/stdio.texi (Obstack Streams): Node removed.
2820
f6ce9294
AS
28212011-10-26 Andreas Schwab <schwab@redhat.com>
2822
80479147
AS
2823 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
2824 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2825 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2826
f6ce9294
AS
2827 * math/math_private.h (math_force_eval): Allow non-addressable
2828 arguments.
2829 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
2830
618280a1
UD
28312011-10-25 Ulrich Drepper <drepper@gmail.com>
2832
e0016b11
UD
2833 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
2834 file is not needed.
2835
2836 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
2837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2838 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2839 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2841 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2842 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2843 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
2844 Add AVX variants.
2845 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
2846 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
2847 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
2848 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
2849 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
2850 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
2851 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
2852 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
2853 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
2854 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
2855 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
2856 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
2857 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
2858 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
2859 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
2860 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
2861 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
2862 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
2863 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
2864
2865 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
2866 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
2867
618280a1
UD
2868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
2869 place. Use VEX encoding when compiling for AVX.
2870
37822576
AS
28712011-10-25 Andreas Schwab <schwab@redhat.com>
2872
1f1e1947
AS
2873 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
2874 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2875
37822576
AS
2876 * string/test-strchr.c (do_test): Don't generate NUL bytes.
2877
31ea014d
UD
28782011-10-25 Ulrich Drepper <drepper@gmail.com>
2879
d7826aa1 2880 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 2881 useless if() expression.
d7826aa1
UD
2882 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2883 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2884 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2885 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2886 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2887 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2888 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2889 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2890 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2891 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2892 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2893 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2894 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2895 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2896 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2897 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2898 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2899 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2900 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2901
31ea014d
UD
2902 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
2903
16437fec
AS
29042011-10-25 Andreas Schwab <schwab@redhat.com>
2905
2906 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
2907 condition.
2908 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2909
31d3cc00
UD
29102011-10-25 Ulrich Drepper <drepper@gmail.com>
2911
2912 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
2913 .text section. Avoid duplicate constants.
2914 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2916 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2922 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2923 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
2924 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2925 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2926 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2927 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2928 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2930 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2931 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2932 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2934 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2935 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2936 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2937 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
2938 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
2939 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
2940 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
2941 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
2942 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
2943 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2944 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
2945 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2947 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
2948 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
2949 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2950 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2951 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
2952 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
2953 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
2954 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
2955 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
2956 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
2957 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
2958 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2959
58985aa9
UD
29602011-10-24 Ulrich Drepper <drepper@gmail.com>
2961
202c9deb
UD
2962 * sysdeps/x86_64/dla.h: Move to ...
2963 * sysdeps/x86_64/fpu/dla.h: ...here.
2964 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
2965 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 2966
af968f62
UD
2967 * config.make.in: Add have-mfma4 entry.
2968 * configure.in: Substitute libc_cv_cc_fma4.
2969 * math/Makefile (dbl-only-routines): Add sincostab.
2970 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
2971 Use __sincostab not sincos.
2972 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
2973 name is a macro.
2974 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
2978 using __copysign.
2979 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
2980 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
2981 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
2982 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
2983 and __inv.
2984 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
2985 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
2986 __copysign.
2987 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
2988 define aliases when function name is a macro.
2989 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
2990 sysdeps/ieee754/dbl-64/sincos.tbl.
2991 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
2992 fma4-enabled routines.
2993 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
2994 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
2995 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
2996 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
2997 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
2998 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
2999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3000 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3002 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3003 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3004 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3005 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3006 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3007 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3008 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3009 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3010 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3011 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3012 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3013 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3014 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3015 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3016 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3017 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3018 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3020 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3021 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3022 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3023
58985aa9
UD
3024 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3025 rename.
3026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3034
a201fbcf
AS
30352011-10-24 Andreas Schwab <schwab@redhat.com>
3036
3037 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3038
fc2ee42a
LD
30392011-10-23 Ulrich Drepper <drepper@gmail.com>
3040
bb3129bd
UD
3041 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3042
0275fff8
UD
3043 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3044 prediction.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3046
2fa2ae85
UD
3047 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3048 Remove unused variable magic_bits.
3049 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3050
fc2ee42a
LD
3051 * string/strnlen.c: Define and use STRNLEN macro.
3052 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3053 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3054 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3055 * wcsmbs/wcslen.c: Define and use WCSLEN.
3056 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3057 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3058 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3059 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3060 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3061 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3062 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3063
ce7dd29f
LD
30642011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3065
3066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3067 strnlen-sse2-no-bsf.
3068 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3070 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3071 Add strnlen support.
3072 (USE_AS_STRNLEN): New macro.
3073 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3074 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3075 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3076 * sysdeps/x86_64/wcslen.S: New file.
3077
979c70a3
MZ
30782011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3079
3080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3081 XMM-moves are used for copying on small sizes.
3082
2d09f82f
LD
30832011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3084
3085 * wcsmbs/Makefile (strop-tests): Add wcschr.
3086 * wcsmbs/test-wcschr.c: New file.
3087 * string/test-strchr.c: Update.
3088 Add wcschr support.
3089 (WIDE): New macro.
3090
619fccca
LD
30912011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3092
2d09f82f 3093 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3094 * wcsmbs/test-wcslen.c: New file.
3095 * string/test-strlen.c: Update.
3096 Add wcslen support.
3097 (WIDE): New macro.
3098
09f699ea
UD
30992011-10-23 Ulrich Drepper <drepper@gmail.com>
3100
3101 * po/it.po: Update from translation team.
3102
95584d3b
LD
31032011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3104
3105 * sysdeps/x86_64/wcscmp.S: Update.
3106 Fix wrong comparison semantics.
3107 wcscmp shall use signed comparison not unsigned.
3108 Don't use substraction to avoid overflow bug.
3109 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3110 * wcsmbc/wcscmp.c: Likewise.
3111 * string/test-strcmp.c: Likewise.
3112 Add new tests to check cases with negative values.
3113
c8b3296b
UD
31142011-10-23 Ulrich Drepper <drepper@gmail.com>
3115
3116 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3117 * sysdeps/x86_64/dla.h: ...here. New file.
3118 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3126 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3127
246ad57a
AS
31282011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3129
3130 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3131 __ynl_finite aliases.
3132
a1a87169
UD
31332011-10-22 Ulrich Drepper <drepper@gmail.com>
3134
0d355eb7
UD
3135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3136
a1a87169
UD
3137 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3138 define DLA_FMA.
3139 [DLA_FMA] (EMULV): Use DLA_FMA.
3140 [DLA_FMA] (MUL12): Use EMULV.
3141 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3142 that are not needed.
3143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3150
ee2aafe0
AS
31512011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3152
3153 * math/s_nan.c: Undef __nan.
3154 * math/s_nanf.c: Undef __nanf.
3155 * math/s_nanl.c: Undef __nanl.
3156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3157 "math_private.h".
3158
bc62c2fb
UD
31592011-10-22 Ulrich Drepper <drepper@gmail.com>
3160
77425c63
UD
3161 * math/s_catan.c: Add branch predictions.
3162 * math/s_catanf.c: Likewise.
3163 * math/s_catanh.c: Likewise.
3164 * math/s_catanhf.c: Likewise.
3165 * math/s_catanhl.c: Likewise.
3166 * math/s_catanl.c: Likewise.
3167 * math/s_cexp.c: Likewise.
3168 * math/s_cexpf.c: Likewise.
3169 * math/s_cexpl.c: Likewise.
3170 * math/s_clog.c: Likewise.
3171 * math/s_clog10.c: Likewise.
3172 * math/s_clog10f.c: Likewise.
3173 * math/s_clog10l.c: Likewise.
3174 * math/s_clogf.c: Likewise.
3175 * math/s_clogl.c: Likewise.
3176 * math/s_csqrt.c: Likewise.
3177 * math/s_csqrtf.c: Likewise.
3178 * math/s_csqrtl.c: Likewise.
3179 * math/s_ctanf.c: Likewise.
3180 * math/s_ctanh.c: Likewise.
3181 * math/s_ctanhf.c: Likewise.
3182 * math/s_ctanhl.c: Likewise.
3183 * math/s_ctanl.c: Likewise.
3184
bc62c2fb
UD
3185 * math/math_private.h: Define __nan, __nanf, __nanl.
3186 * math/s_cacosh.c: Include <math_private.h>.
3187 * math/s_cacoshl.c: Likewise.
3188 * math/s_casinh.c: Likewise.
3189 * math/s_casinhf.c: Likewise.
3190 * math/s_casinhl.c: Likewise.
3191 * math/s_ccos.c: Rely entire on ccosh.
3192 * math/s_ccosf.c: Rely entire on ccoshf.
3193 * math/s_ccosl.c: Rely entirely on ccoshl.
3194 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3195 Remove tests for FE_INVALID.
3196 * math/s_ccoshf.c: Likewise.
3197 * math/s_ccoshl.c: Likewise.
3198 * math/s_csin.c: Likewise.
3199 * math/s_csinf.c: Likewise.
3200 * math/s_csinh.c Likewise.
3201 * math/s_csinhf.c: Likewise.
3202 * math/s_csinhl.c: Likewise.
3203 * math/s_csinl.c: Likewise.
3204 * math/s_ctan.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3206 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3207 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3208
8ec250a4
UD
32092011-10-21 Ulrich Drepper <drepper@gmail.com>
3210
c196fed8
UD
3211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3212 compilation problems.
3213
8ec250a4
UD
3214 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3215 __builtin_expect.
3216
8d4f46c6
UD
32172011-10-20 Ulrich Drepper <drepper@gmail.com>
3218
ed72b654
UD
3219 * sysdeps/i386/configure.in: Test for -mfma4 option.
3220 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3221 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3222 COMMON_CPUID_INDEX_80000001.
3223 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3224 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3225 use it if FMA3 is not supported.
3226 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3227
8d4f46c6
UD
3228 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3229 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3230
d45c60c2
AS
32312011-10-20 Andreas Schwab <schwab@redhat.com>
3232
3233 [BZ #12892]
3234 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3235 it would create a cycle with a link time dependency.
3236
d9a4d2ab
UD
32372011-10-19 Ulrich Drepper <drepper@gmail.com>
3238
855d1560
UD
3239 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3240 instruction.
3241 * string/Makefile (strop-tests): Add rawmemchr.
3242 * string/test-rawmemchr.c: New file.
3243
d9a4d2ab
UD
3244 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3246 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3247 when compiling str{,n}casecmp and when AVX is available. Hook up
3248 new optimized code in initializers.
3249
8f3b1ffe
AS
32502011-10-19 Andreas Schwab <schwab@redhat.com>
3251
3252 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3253 __feraiseexcept instead of feraiseexcept.
3254
d38f1dba
UD
32552011-10-18 Ulrich Drepper <drepper@gmail.com>
3256
d9a8d0ab
UD
3257 * math/math_private.h: Define defaults for libc_fetestexcept and
3258 libc_feupdateenv.
3259 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3260 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3261 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3262 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3263 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3264 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3265 libc_fetestexcept and libc_feupdateenv.
3266
4855e3dd
UD
3267 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3268 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3269 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3270 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3271 libc_feholdexcept_setround.
3272
581d30e3
UD
3273 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3274 Add s_nearbyint-c and s_nearbyintf-c.
3275 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3276 nearbyintf inlines.
3277 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3278 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3279 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3280 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3281
d38f1dba
UD
3282 * math/math_private.h: Define defaults for libc_fegetround,
3283 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3284 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3285 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3286 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3287 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3288 standard functions.
3289 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3290 Remove comments and hacks for old compiler versions.
3291 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3292 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3293 libc_feholdexceptl.
3294
caa6c9d8
AS
32952011-10-18 Andreas Schwab <schwab@redhat.com>
3296
3297 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3298 (__feraiseexcept_renamed): Add __NTH.
3299 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3300 namespace violations.
3301
97c066e6
UD
33022011-10-17 Ulrich Drepper <drepper@gmail.com>
3303
99ce7b04
UD
3304 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3305
1004d182
UD
3306 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3307
228a984d
UD
3308 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3309 recently added interfaces.
3310 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3311
c8553a6a
UD
3312 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3313 about macro parameter expansion.
3314
ed22dcf6
UD
3315 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3316 __NO_MATH_INLINES is defined. Cleanups.
3317
3318 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3319 and __floorf is target has SSE4.1.
3320 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3321 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3322 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3323 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3324
b171c137
UD
3325 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3326 name.
3327 (floorf): Likewise.
3328
97c066e6
UD
3329 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3330
629f62ef
AS
33312011-10-17 Andreas Schwab <schwab@redhat.com>
3332
49a43d80
AS
3333 * misc/sys/cdefs.h: Fix last change.
3334
629f62ef
AS
3335 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3336 database lookup.
3337
e453f6cd
UD
33382011-10-16 Ulrich Drepper <drepper@gmail.com>
3339
aa78043a
UD
3340 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3341
ad0f5cad
UD
3342 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3343 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3344 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3345 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3347 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3348 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3349 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3350 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3351 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3352 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3353 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3354 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3355 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3356 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3357 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3358 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3359 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3360 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3361 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3362 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3363 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3364
3365 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3366 ceil, ceilf, floor, floorf.
3367
3368 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3369 Perform IRELATIVE relocations last.
3370
e453f6cd
UD
3371 * elf/do-rel.h: Add another parameter nrelative, replacing the
3372 local variable with the same name. Change name of the function
3373 to end in Rel or Rela (uppercase).
3374 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3375 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3376 elf_dynamic_do_##reloc function.
3377
fd5bdc09
UD
33782011-10-15 Ulrich Drepper <drepper@gmail.com>
3379
79b195b5
UD
3380 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3381 is sufficient, at least on modern CPUs.
3382
d4a28569
UD
3383 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3384
b61099b5
UD
3385 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3386 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3387
bcf01e6d
UD
3388 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3389 __expl_finite.
3390 * math/bits/math-finite.h: Add entries for exp.
3391 * math/e_expl.c: Add __*_finite alias.
3392 * sysdeps/i386/fpu/e_exp.S: Likewise.
3393 * sysdeps/i386/fpu/e_expf.S: Likewise.
3394 * sysdeps/i386/fpu/e_expl.c: Likewise.
3395 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3396 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3397 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3399 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3400 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3401 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3402
ba1a0d59
UD
3403 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3404 is sufficient, at least on modern CPUs.
3405
fd5bdc09
UD
3406 * ctype/ctype-info.c (__ctype_init): Define.
3407 * include/ctype.h (__ctype_init): Declare.
3408 (__ctype_b_loc): The variable is always initialized.
3409 (__ctype_toupper_loc): Likewise.
3410 (__ctype_tolower_loc): Likewise.
3411 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3412 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3413
7872cfb0
AS
34142011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3415
b468825a
AS
3416 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3417
7872cfb0
AS
3418 * configure.in: Also look in $cxxmachine/include for C++ system
3419 headers.
3420
be13f7bf
LD
34212011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3422
3423 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3424 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3425 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3426 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3427 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3428 (USE_AS_WMEMCMP): New macro.
3429 Fixing indents.
3430 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3431 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3432 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3433 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3435 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3436 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3437 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3438 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3439 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3440 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3441 (USE_AS_WMEMCMP): New macro.
3442 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3443 * sysdeps/string/test-memcmp.c: Update.
3444 Fix simple_wmemcmp.
3445 Add new tests.
3446 * wcsmbs/wmemcmp.c: Update.
3447 (WMEMCMP): New macro.
3448 Fix overflow bug.
3449
556a2007
AJ
34502011-10-12 Andreas Jaeger <aj@suse.de>
3451
3452 [BZ #13268]
3453 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3454
538faaa7
UD
34552011-10-15 Ulrich Drepper <drepper@gmail.com>
3456
ab6737ff
UD
3457 * libio/iofwide.c (do_length): Avoid warning.
3458
538faaa7
UD
3459 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3460
396a21b1
UD
34612011-10-14 Ulrich Drepper <drepper@gmail.com>
3462
cdf2901f
UD
3463 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3464
38ad40ce
UD
3465 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3466 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3467 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3468 * sysdeps/i386/i686/fpu/e_log.S: New file.
3469 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3470 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3471
396a21b1
UD
3472 * ctype/ctype.h: Add support for inlined isXXX functions when
3473 compiling C++ code.
3474
6b1f68c9
AS
34752011-10-14 Andreas Schwab <schwab@redhat.com>
3476
349290c0
AS
3477 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3478
6b1f68c9
AS
3479 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3480
f2282d42
RM
34812011-10-13 Roland McGrath <roland@hack.frob.com>
3482
3483 [BZ #13291]
3484 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3485
5298ffa8
AS
34862011-10-13 Andreas Schwab <schwab@redhat.com>
3487
714fad23
AS
3488 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3489 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3490 feraiseexcept.
3491
81dcc7fb
AS
3492 * sysdeps/x86_64/memrchr.S: Check for zero size.
3493
5298ffa8
AS
3494 * string/stratcliff.c: Add memrchr tests.
3495
951fbcec
LD
34962011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3497
3498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3499 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3500 rawmemchr-sse2 rawmemchr-sse2-bsf.
3501 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3502 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3503 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3504 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3505 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3506 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3507 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3508 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3509 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3510 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3511 * string/memrchr.c (MEMRCHR): New macro.
3512
0ac5ae23
UD
35132011-10-12 Ulrich Drepper <drepper@gmail.com>
3514
3515 Add integration with gcc's -ffinite-math-only and optimize wrapper
3516 functions in libm.
3517 * Versions.def: Define GLIBC_2.15 version for libm.
3518 * math/Makefile (headers): Add bits/math-finite.h.
3519 * math/bits/math-finite.h: New file.
3520 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3521 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3522 * math/e_acoshl.c: Add __*_finite alias.
3523 * math/e_acosl.c: Likewise.
3524 * math/e_asinl.c: Likewise.
3525 * math/e_atan2l.c: Likewise.
3526 * math/e_atanhl.c: Likewise.
3527 * math/e_coshl.c: Likewise.
3528 * math/e_exp10.c: Likewise.
3529 * math/e_exp10f.c: Likewise.
3530 * math/e_exp10l.c: Likewise.
3531 * math/e_exp2l.c: Likewise.
3532 * math/e_fmodl.c: Likewise.
3533 * math/e_gammal_r.c: Likewise.
3534 * math/e_hypotl.c: Likewise.
3535 * math/e_j0l.c: Likewise.
3536 * math/e_j1l.c: Likewise.
3537 * math/e_jnl.c: Likewise.
3538 * math/e_lgammal_r.c: Likewise.
3539 * math/e_log10l.c: Likewise.
3540 * math/e_log2l.c: Likewise.
3541 * math/e_logl.c: Likewise.
3542 * math/e_powl.c: Likewise.
3543 * math/e_sinhl.c: Likewise.
3544 * math/e_sqrtl.c: Likewise.
3545 * math/e_scalb.c: Completely rewritten and optimized.
3546 * math/e_scalbf.c: Likewise.
3547 * math/e_scalbl.c: Likewise.
3548 * math/w_acos.c: Likewise.
3549 * math/w_acosf.c: Likewise.
3550 * math/w_acosl.c: Likewise.
3551 * math/w_acosh.c: Likewise.
3552 * math/w_acoshf.c: Likewise.
3553 * math/w_acoshl.c: Likewise.
3554 * math/w_asin.c: Likewise.
3555 * math/w_asinf.c: Likewise.
3556 * math/w_asinl.c: Likewise.
3557 * math/w_atan2.c: Likewise.
3558 * math/w_atan2f.c: Likewise.
3559 * math/w_atan2l.c: Likewise.
3560 * math/w_atanh.c: Likewise.
3561 * math/w_atanhf.c: Likewise.
3562 * math/w_atanhl.c: Likewise.
3563 * math/w_exp10.c: Likewise.
3564 * math/w_exp10f.c: Likewise.
3565 * math/w_exp10l.c: Likewise.
3566 * math/w_fmod.c: Likewise.
3567 * math/w_fmodf.c: Likewise.
3568 * math/w_fmodl.c: Likewise.
3569 * math/w_j0.c: Likewise.
3570 * math/w_j0f.c: Likewise.
3571 * math/w_j0l.c: Likewise.
3572 * math/w_j1.c: Likewise.
3573 * math/w_j1f.c: Likewise.
3574 * math/w_j1l.c: Likewise.
3575 * math/w_jn.c: Likewise.
3576 * math/w_jnf.c: Likewise.
3577 * math/w_log.c: Likewise.
3578 * math/w_logf.c: Likewise.
3579 * math/w_logl.c: Likewise.
3580 * math/w_log10.c: Likewise.
3581 * math/w_log10f.c: Likewise.
3582 * math/w_log10l.c: Likewise.
3583 * math/w_log2.c: Likewise.
3584 * math/w_log2f.c: Likewise.
3585 * math/w_log2l.c: Likewise.
3586 * math/w_pow.c: Likewise.
3587 * math/w_powf.c: Likewise.
3588 * math/w_powl.c: Likewise.
3589 * math/w_remainder.c: Likewise.
3590 * math/w_remainderf.c: Likewise.
3591 * math/w_remainderl.c: Likewise.
3592 * math/w_scalb.c: Likewise.
3593 * math/w_scalbf.c: Likewise.
3594 * math/w_scalbl.c: Likewise.
3595 * math/w_sqrt.c: Likewise.
3596 * math/w_sqrtf.c: Likewise.
3597 * math/w_sqrtl.c: Likewise.
3598 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3599 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3600 used.
3601 * math/math_private.h: Declare __kernel_standard_f.
3602 * math/w_cosh.c: Remove cruft and optimize a bit.
3603 * math/w_coshf.c: Likewise.
3604 * math/w_coshl.c: Likewise.
3605 * math/w_exp2.c: Likewise.
3606 * math/w_exp2f.c: Likewise.
3607 * math/w_exp2l.c: Likewise.
3608 * math/w_hypot.c: Likewise.
3609 * math/w_hypotf.c: Likewise.
3610 * math/w_hypotl.c: Likewise.
3611 * math/w_lgamma.c: Likewise.
3612 * math/w_lgamma_r.c: Likewise.
3613 * math/w_lgammaf.c: Likewise.
3614 * math/w_lgammaf_r.c: Likewise.
3615 * math/w_lgammal.c: Likewise.
3616 * math/w_lgammal_r.c: Likewise.
3617 * math/w_sinh.c: Likewise.
3618 * math/w_sinhf.c: Likewise.
3619 * math/w_sinhl.c: Likewise.
3620 * math/w_tgamma.c: Likewise.
3621 * math/w_tgammaf.c: Likewise.
3622 * math/w_tgammal.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3624 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3625 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3626 Minor optimizations. Pretty printing. Remove cruft.
3627 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3628 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3629 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3630 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3631 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3632 * sysdeps/i386/fpu/e_asin.S: Likewise.
3633 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3634 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3635 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3636 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3637 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3638 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3639 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3640 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3641 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3642 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3643 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3644 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3645 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3646 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3647 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3648 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3649 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3650 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3651 * sysdeps/i386/fpu/e_log.S: Likewise.
3652 * sysdeps/i386/fpu/e_log10.S: Likewise.
3653 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3654 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3655 * sysdeps/i386/fpu/e_log2.S: Likewise.
3656 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3657 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3658 * sysdeps/i386/fpu/e_logf.S: Likewise.
3659 * sysdeps/i386/fpu/e_logl.S: Likewise.
3660 * sysdeps/i386/fpu/e_pow.S: Likewise.
3661 * sysdeps/i386/fpu/e_powf.S: Likewise.
3662 * sysdeps/i386/fpu/e_powl.S: Likewise.
3663 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3664 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3665 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3666 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3667 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3668 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3669 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3670 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3671 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3672 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3673 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3675 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3676 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3677 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3678 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3679 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3680 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3681 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3682 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3683 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3685 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3686 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3688 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3692 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3693 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3694 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3695 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3696 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3697 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3698 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3699 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3700 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3701 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3702 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3703 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3704 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3705 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3706 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3707 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3708 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3709 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3710 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3711 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3712 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3713 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3752 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3755 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3757 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3758 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3760 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3763 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3764 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3765 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3766 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3767 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3768 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3769 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3770 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3771 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3772 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3773 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3774 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3775 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3776 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3777 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3778 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3779 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3780 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3781 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3782 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
3783 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3784 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3785 (__isnanf): Likewise.
3786 (__isinf_ns): Likewise.
3787 (__isinf_nsf): Likewise.
3788 (__finite): Likewise.
3789 (__finitef): Likewise.
3790 (__ieee754_sqrt): Define as macro.
3791 (__ieee754_sqrtf): Define as macro.
3792 (__ieee754_sqrtl): Define as macro.
3793 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
3794 inlined copy.
3795 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
3796 __FINITE_MATH_ONLY__ consistent.
3797 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
3798
12cc2fcd
AS
37992011-10-10 Andreas Schwab <schwab@linux-m68k.org>
3800
a843a204
AS
3801 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
3802 of rawmemchr.
3803
12cc2fcd
AS
3804 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
3805
c853acd5
UD
38062011-10-09 Ulrich Drepper <drepper@gmail.com>
3807
3808 * po/ja.po: Update from translation team.
3809
c658d255
RM
38102011-10-08 Roland McGrath <roland@hack.frob.com>
3811
110946e4
RM
3812 * locale/programs/locarchive.c (prepare_address_space): New function.
3813 (create_archive, enlarge_archive, open_archive): Use it.
3814
50604220
RM
3815 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
3816 inside [SHARED], where it is used.
3817
c658d255
RM
3818 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
3819
3820 * nss/getent.c (netgroup_keys): Remove unused variable.
3821 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3822
6a621eb7
UD
38232011-10-08 Ulrich Drepper <drepper@gmail.com>
3824
7edb55ce
UD
3825 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
3826 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
3827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
3828 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
3829 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
3830 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
3831 * math/Makefile (libm-calls): Add s_isinf_ns.
3832 * math/divtc3.c: Use __isinf_nsl instead of isinf.
3833 * math/multc3.c: Likewise.
3834 * math/s_casin.c: Likewise.
3835 * math/s_casinf.c: Likewise.
3836 * math/s_casinl.c: Likewise.
3837 * math/s_ccos.c: Likewise.
3838 * math/s_ccosf.c: Likewise.
3839 * math/s_ccosl.c: Likewise.
3840 * math/s_ctan.c: Likewise.
3841 * math/s_ctanf.c: Likewise.
3842 * math/s_ctanh.c: Likewise.
3843 * math/s_ctanhf.c: Likewise.
3844 * math/s_ctanhl.c: Likewise.
3845 * math/s_ctanl.c: Likewise.
3846 * math/w_fmod.c: Likewise.
3847 * math/w_fmodf.c: Likewise.
3848 * math/w_fmodl.c: Likewise.
3849 * math/w_remainder.c: Likewise.
3850 * math/w_remainderf.c: Likewise.
3851 * math/w_remainderl.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
3853 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
3854 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
3855 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
3856 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
3857 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
3858 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
3859 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
3860
187da0ae
UD
3861 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
3862 of the number.
3863 * stdio-common/printf_fphex.c: Likewise.
3864 * stdio-common/printf_size.c: Likewise.
3865
9277c064
UD
3866 * math/e_exp10.c: Include math_private.h using <...> not "...".
3867 * math/e_exp10f.c: Likewise.
3868 * math/e_exp10l.c: Likewise.
3869 * math/e_exp2l.c: Likewise.
3870 * math/e_j0l.c: Likewise.
3871 * math/e_j1l.c: Likewise.
3872 * math/e_jnl.c: Likewise.
3873 * math/e_lgammal_r.c: Likewise.
3874 * math/e_rem_pio2l.c: Likewise.
3875 * math/e_scalb.c: Likewise.
3876 * math/e_scalbf.c: Likewise.
3877 * math/e_scalbl.c: Likewise.
3878 * math/k_cosl.c: Likewise.
3879 * math/k_sinl.c: Likewise.
3880 * math/k_tanl.c: Likewise.
3881 * math/s_cacoshf.c: Likewise.
3882 * math/s_catan.c: Likewise.
3883 * math/s_catanf.c: Likewise.
3884 * math/s_catanh.c: Likewise.
3885 * math/s_catanhf.c: Likewise.
3886 * math/s_catanhl.c: Likewise.
3887 * math/s_catanl.c: Likewise.
3888 * math/s_ccosh.c: Likewise.
3889 * math/s_ccoshf.c: Likewise.
3890 * math/s_ccoshl.c: Likewise.
3891 * math/s_cexp.c: Likewise.
3892 * math/s_cexpf.c: Likewise.
3893 * math/s_cexpl.c: Likewise.
3894 * math/s_clog.c: Likewise.
3895 * math/s_clog10.c: Likewise.
3896 * math/s_clog10f.c: Likewise.
3897 * math/s_clog10l.c: Likewise.
3898 * math/s_clogf.c: Likewise.
3899 * math/s_clogl.c: Likewise.
3900 * math/s_csin.c: Likewise.
3901 * math/s_csinf.c: Likewise.
3902 * math/s_csinh.c: Likewise.
3903 * math/s_csinhf.c: Likewise.
3904 * math/s_csinhl.c: Likewise.
3905 * math/s_csinl.c: Likewise.
3906 * math/s_csqrt.c: Likewise.
3907 * math/s_csqrtf.c: Likewise.
3908 * math/s_csqrtl.c: Likewise.
3909 * math/s_ctan.c: Likewise.
3910 * math/s_ctanf.c: Likewise.
3911 * math/s_ctanh.c: Likewise.
3912 * math/s_ctanhf.c: Likewise.
3913 * math/s_ctanhl.c: Likewise.
3914 * math/s_ctanl.c: Likewise.
3915 * math/s_ldexp.c: Likewise.
3916 * math/s_ldexpf.c: Likewise.
3917 * math/s_ldexpl.c: Likewise.
3918 * math/s_significand.c: Likewise.
3919 * math/s_significandf.c: Likewise.
3920 * math/s_significandl.c: Likewise.
3921 * math/w_acos.c: Likewise.
3922 * math/w_acosf.c: Likewise.
3923 * math/w_acosh.c: Likewise.
3924 * math/w_acoshf.c: Likewise.
3925 * math/w_acoshl.c: Likewise.
3926 * math/w_acosl.c: Likewise.
3927 * math/w_asin.c: Likewise.
3928 * math/w_asinf.c: Likewise.
3929 * math/w_asinl.c: Likewise.
3930 * math/w_atan2.c: Likewise.
3931 * math/w_atan2f.c: Likewise.
3932 * math/w_atan2l.c: Likewise.
3933 * math/w_atanh.c: Likewise.
3934 * math/w_atanhf.c: Likewise.
3935 * math/w_atanhl.c: Likewise.
3936 * math/w_cosh.c: Likewise.
3937 * math/w_coshf.c: Likewise.
3938 * math/w_coshl.c: Likewise.
3939 * math/w_dremf.c: Likewise.
3940 * math/w_exp10.c: Likewise.
3941 * math/w_exp10f.c: Likewise.
3942 * math/w_exp10l.c: Likewise.
3943 * math/w_exp2.c: Likewise.
3944 * math/w_exp2f.c: Likewise.
3945 * math/w_fmod.c: Likewise.
3946 * math/w_fmodf.c: Likewise.
3947 * math/w_fmodl.c: Likewise.
3948 * math/w_hypot.c: Likewise.
3949 * math/w_hypotf.c: Likewise.
3950 * math/w_hypotl.c: Likewise.
3951 * math/w_j0.c: Likewise.
3952 * math/w_j0f.c: Likewise.
3953 * math/w_j0l.c: Likewise.
3954 * math/w_j1.c: Likewise.
3955 * math/w_j1f.c: Likewise.
3956 * math/w_j1l.c: Likewise.
3957 * math/w_jn.c: Likewise.
3958 * math/w_jnf.c: Likewise.
3959 * math/w_jnl.c: Likewise.
3960 * math/w_lgamma.c: Likewise.
3961 * math/w_lgamma_r.c: Likewise.
3962 * math/w_lgammaf.c: Likewise.
3963 * math/w_lgammaf_r.c: Likewise.
3964 * math/w_lgammal.c: Likewise.
3965 * math/w_lgammal_r.c: Likewise.
3966 * math/w_log.c: Likewise.
3967 * math/w_log10.c: Likewise.
3968 * math/w_log10f.c: Likewise.
3969 * math/w_log10l.c: Likewise.
3970 * math/w_log2.c: Likewise.
3971 * math/w_log2f.c: Likewise.
3972 * math/w_log2l.c: Likewise.
3973 * math/w_logf.c: Likewise.
3974 * math/w_logl.c: Likewise.
3975 * math/w_pow.c: Likewise.
3976 * math/w_powf.c: Likewise.
3977 * math/w_powl.c: Likewise.
3978 * math/w_remainder.c: Likewise.
3979 * math/w_remainderf.c: Likewise.
3980 * math/w_remainderl.c: Likewise.
3981 * math/w_scalb.c: Likewise.
3982 * math/w_scalbf.c: Likewise.
3983 * math/w_scalbl.c: Likewise.
3984 * math/w_sinh.c: Likewise.
3985 * math/w_sinhf.c: Likewise.
3986 * math/w_sinhl.c: Likewise.
3987 * math/w_sqrt.c: Likewise.
3988 * math/w_sqrtf.c: Likewise.
3989 * math/w_sqrtl.c: Likewise.
3990 * math/w_tgamma.c: Likewise.
3991 * math/w_tgammaf.c: Likewise.
3992 * math/w_tgammal.c: Likewise.
3993
6a621eb7
UD
3994 * po/ja.po: Update from translation team.
3995
bf582445
AJ
39962011-09-29 Andreas Jaeger <aj@suse.de>
3997
f9efbf3a
AJ
3998 [BZ #13179]
3999 * sunrpc/netname.c (netname2host): Fix logic.
4000
bf582445
AJ
4001 [BZ #6779]
4002 [BZ #6783]
4003 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4004 correctly.
4005 * math/w_remainder.c (__remainder): Likewise.
4006 * math/w_remainderf.c (__remainderf): Likewise.
4007 * math/libm-test.inc (remainder_test): Add test cases.
4008
48693bea
AK
40092011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4010
4011 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4012 sdiv_qrnnd.
4013
42622229
LD
40142011-10-07 Ulrich Drepper <drepper@gmail.com>
4015
4016 * string/test-memcmp.c: Avoid unncessary #defines.
4017 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4018
093ecf92
LD
40192011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4020
4021 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4022 Use new sse2 version for core i3 - i7 as it's faster
4023 than sse42 version.
4024 (bit_Prefer_PMINUB_for_stringop): New.
4025 * sysdeps/x86_64/rawmemchr.S: Update.
4026 Replace with faster SSE2 version.
4027 * sysdeps/x86_64/memrchr.S: New file.
4028 * sysdeps/x86_64/memchr.S: Update.
4029 Replace with faster SSE2 version.
4030
fde56e5c
MP
40312011-09-12 Marek Polacek <mpolacek@redhat.com>
4032
4033 * elf/dl-load.c (lose): Add cast to avoid warning.
4034
21fd49a9
UD
40352011-10-07 Ulrich Drepper <drepper@gmail.com>
4036
5a06e643
UD
4037 * po/ca.po: Update from translation team.
4038
684ae515
UD
4039 * inet/getnetgrent_r.c: Hook up nscd.
4040 * nscd/Makefile (routines): Add nscd_netgroup.
4041 (nscd-modules): Add netgroupcache.
4042 (CFLAGS-netgroupcache.c): Define.
4043 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4044 (cache_search): Add const to second parameter.
4045 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4046 INNETGR.
4047 (dbs): Add netgrdb entry.
4048 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4049 (verify_persistent_db): Handle netgrdb.
4050 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4051 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4052 GETFDNETGR.
4053 (netgroup_response_header): Define.
4054 (innetgroup_response_header): Define.
4055 (datahead): Add netgroup_response_header and innetgroup_response_header
4056 elements.
4057 * nscd/nscd.conf: Add entries for netgroup cache.
4058 * nscd/nscd.h (dbtype): Add netgrdb.
4059 (_PATH_NSCD_NETGROUP_DB): Define.
4060 (netgroup_iov_disabled): Declare.
4061 (xmalloc, xcalloc, xrealloc): Move declarations here.
4062 (cache_search): Adjust prototype.
4063 Add netgroup-related prototypes.
4064 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4065 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4066 (__nscd_innetgr): Declare.
4067 * nscd/selinux.c (perms): Use access_vector_t as element type and
4068 add netgroup-related initializers.
4069 * nscd/netgroupcache.c: New file.
4070 * nscd/nscd_netgroup.c: New file.
4071 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4072 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4073 For four parameters use innetgr.
4074 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4075 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4076 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4077 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4078
21fd49a9
UD
4079 * nscd/connections.c (register_traced_file): Don't register file
4080 for disabled databases.
4081
054c0457
UD
40822011-10-06 Ulrich Drepper <drepper@gmail.com>
4083
32b63198
UD
4084 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4085
054c0457
UD
4086 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4087 from tree and freeing node.
4088
64031225
JO
40892011-09-25 Jiri Olsa <jolsa@redhat.com>
4090
4091 * nss/nsswitch.c (__nss_database_lookup): Handle
4092 nss_parse_service_list out of memory case.
4093
0490345c
JO
40942011-09-15 Jiri Olsa <jolsa@redhat.com>
4095
4096 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4097 out of memory case.
4098
3a62d00d
AS
40992011-10-04 Andreas Schwab <schwab@redhat.com>
4100
4101 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4102 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4103 pass it down.
4104 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4105 elf_machine_rela, elf_machine_lazy_rel.
4106 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4107 (ELF_DYNAMIC_DO_REL): Likewise.
4108 (ELF_DYNAMIC_DO_RELA): Likewise.
4109 (ELF_DYNAMIC_RELOCATE): Likewise.
4110 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4111 to ELF_DYNAMIC_DO_REL.
4112 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4113 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4114 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4115 elf_machine_rela.
4116 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4117 skip_ifunc, don't call ifunc function if non-zero.
4118 (elf_machine_rela): Likewise.
4119 (elf_machine_lazy_rel): Likewise.
4120 (elf_machine_lazy_rela): Likewise.
4121 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4122 (elf_machine_lazy_rel): Likewise.
4123 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4124 Likewise.
4125 (elf_machine_lazy_rel): Likewise.
4126 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4127 Likewise.
4128 (elf_machine_lazy_rel): Likewise.
4129 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4130 (elf_machine_lazy_rel): Likewise.
4131 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4132 (elf_machine_lazy_rel): Likewise.
4133 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4134 (elf_machine_lazy_rel): Likewise.
4135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4136 (elf_machine_lazy_rel): Likewise.
4137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4138 (elf_machine_lazy_rel): Likewise.
4139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4140 (elf_machine_lazy_rel): Likewise.
4141
68577918
UD
41422011-09-28 Ulrich Drepper <drepper@gmail.com>
4143
4144 * nss/nss_files/files-init.c (_nss_files_init): Use static
4145 initialization for all the *_traced_file variables.
4146
68822d74
AS
41472011-09-28 Andreas Schwab <schwab@redhat.com>
4148
4149 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4150
2056100b
RM
41512011-09-27 Roland McGrath <roland@hack.frob.com>
4152
4153 [BZ #13226]
4154 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4155
32c76b63
AS
41562011-09-27 Andreas Schwab <schwab@redhat.com>
4157
4158 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4159 Reread the line before reparsing it.
4160
bf972c9d
AS
41612011-09-26 Andreas Schwab <schwab@redhat.com>
4162
4163 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4164
e057a1b5
JM
41652011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4166 Maxim Kuvyrkov <maxim@codesourcery.com>
4167 Joseph Myers <joseph@codesourcery.com>
4168
4169 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4170 if needed for __stack_chk_guard.
4171
bc7e1c36
RM
41722011-09-19 Roland McGrath <roland@hack.frob.com>
4173
ecb1482f
RM
4174 * sysdeps/posix/spawni.c (script_execute): Always define it.
4175 It will be optimized away if unused.
4176 (maybe_script_execute): New function.
4177 (__spawni): Call it.
4178
bc7e1c36
RM
4179 * Makerules: Don't include tls.make.
4180 (config-tls): Always set to thread.
4181 * tls.make.c: File removed.
4182
1c3b002b
MF
41832011-09-19 Mike Frysinger <vapier@gentoo.org>
4184
4185 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4186 * config.make.in (CPPFLAGS-config): New substituted variable.
4187
2840865d
UD
41882011-09-15 Ulrich Drepper <drepper@gmail.com>
4189
88738eb6
UD
4190 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4191
cbf645a6 4192 [BZ #13192]
2840865d
UD
4193 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4194 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4195
b402e91a
RM
41962011-09-15 Roland McGrath <roland@hack.frob.com>
4197
4198 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4199 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4201 (CALL_FAIL): Likewise.
4202 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4203 (CALL_FAIL): Macro removed.
4204 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4205
4c1a1f71
UD
42062011-09-15 Ulrich Drepper <drepper@gmail.com>
4207
4208 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4209 for __FINITE_MATH_ONLY__ == 1.
4210
edc121be
AS
42112011-09-15 Andreas Schwab <schwab@redhat.com>
4212
4213 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4214 __ieee754_sqrt instead of sqrt.
4215 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4216 __ieee754_sqrtf instead of sqrtf.
4217 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4218 __floorf instead of floorf.
4219 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4220 __floorf, __truncf instead of floorf, truncf.
4221
cd205654
UD
42222011-09-14 Ulrich Drepper <drepper@gmail.com>
4223
ee4d0315
UD
4224 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4225
cd205654
UD
4226 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4227 __extern_always_inline.
4228 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4229 32-bit.
4230
48b67d71
AS
42312011-09-14 Andreas Schwab <schwab@redhat.com>
4232
4233 * elf/rtld.c (dl_main): Also relocate in dependency order when
4234 doing symbol dependency testing.
4235
1ae12c75
AS
42362011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4237
4238 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4239 Always define `refsym'.
4240
995a80df
AS
42412011-09-13 Andreas Schwab <schwab@redhat.com>
4242
e529793b
AS
4243 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4244 (__FD_ELT): Renamed from __FDELT.
4245 * misc/bits/select2.h (__FD_ELT): Likewise.
4246 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4247 __FD_MASK instead of __FDELT, __FDMASK.
4248 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4249 Likewise.
4250 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4251 Likewise.
4252
52d4fef8
AS
4253 * elf/Makefile (gen-ldd): Fix pattern.
4254
995a80df
AS
4255 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4256 (init_tls): Likewise.
4257
8682f8b0
UD
42582011-09-12 Ulrich Drepper <drepper@gmail.com>
4259
4260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4261
de82006d
AS
42622011-09-12 Andreas Schwab <schwab@redhat.com>
4263
a7c8e6a1
AS
4264 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4265 `struct cmsghdr *' instead of `void *'.
4266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4267 Likewise.
4268
0f31fe77
AS
42692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4270
4271 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4272 if non-absolute.
4273 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4274 ldd_rewrite_script.
0f31fe77 4275
32b4c839
UD
42762011-09-11 Ulrich Drepper <drepper@gmail.com>
4277
83cd1420
UD
4278 * configure.in: Remove --with-tls option.
4279 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4280 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4281 out in case it is missing.
4282 * sysdeps/ia64/elf/configure.in: Likewise.
4283 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4284 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4285 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4286 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4287 * sysdeps/sh/elf/configure.in: Likewise.
4288 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4289 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4290 * sysdeps/x86_64/elf/configure.in: Likewise.
4291 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4292 * sysdeps/mach/hurd/tls.h: Likewise.
4293
633f745d
UD
4294 [BZ #13067]
4295 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4296
f318beb8
UD
4297 [BZ #13090]
4298 * configure.in: Fix use of AC_INIT.
4299
32b4c839
UD
4300 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4301
3ce1f295
UD
43022011-09-10 Ulrich Drepper <drepper@gmail.com>
4303
bb016596
UD
4304 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4305 __set_errno.
8e58439c
UD
4306 * malloc/hooks.c: Likewise.
4307
aebae053 4308 [BZ #11929]
02d46fc4
UD
4309 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4310 variables statically.
4311 (narenas): Initialize.
4312 (list_lock): Initialize.
bb016596
UD
4313 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4314 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4315 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4316 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4317 Add initializers to main_arena and mp_.
4318 (malloc_state): Remove pagesize member. Change all users to use
4319 GLRO(dl_pagesize).
4320
4321 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4322 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4323 is always initialized.
4324
22a89187
UD
4325 * malloc/malloc.c: Removed unused configurations and dead code.
4326 * malloc/arena.c: Likewise.
4327 * malloc/hooks.c: Likewise.
02d46fc4 4328 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4329
d063d164
UD
4330 * include/tls.h: Removed. USE___THREAD must always be defined.
4331 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4332 * elf/dl-libc.c: Likewise.
4333 * elf/dl-tsd.c: Likewise.
4334 * include/errno.h: Likewise.
4335 * include/netdb.h: Likewise.
4336 * include/resolv.h: Likewise.
4337 * inet/herrno-loc.c: Likewise.
4338 * inet/herrno.c: Likewise.
4339 * malloc/arena.c: Likewise.
4340 * malloc/hooks.c: Likewise.
4341 * malloc/malloc.c: Likewise.
4342 * resolv/res-state.c: Likewise.
4343 * resolv/res_libc.c: Likewise.
4344 * sysdeps/i386/dl-machine.h: Likewise.
4345 * sysdeps/ia64/dl-machine.h: Likewise.
4346 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4347 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4348 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4349 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4350 * sysdeps/sh/dl-machine.h: Likewise.
4351 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4352 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4353 * sysdeps/unix/i386/sysdep.S: Likewise.
4354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4355 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4356 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4357 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4360 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4364 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4365 * sysdeps/x86_64/dl-machine.h: Likewise.
4366 * tls.make.c: Likewise.
4367
3ce1f295
UD
4368 * configure.in: Remove --with-__thread option. Make tests for
4369 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4370 tls_model attribute fail if no support is available. Remove
4371 USE_IN_LIBIO.
4372 * Makeconfig: Adjust for dropped configure option. All features are
4373 now mandatory.
4374 * Makerules: Likewise.
4375 * Versions.def: Likewise.
4376 * argp/argp-fmtstream.c: Likewise.
4377 * argp/argp-fmtstream.h: Likewise.
4378 * argp/argp-help.c: Likewise.
4379 * assert/assert.c: Likewise.
4380 * config.h.in: Likewise.
4381 * config.make.in: Likewise.
4382 * configure: Likewise.
4383 * configure.in: Likewise.
4384 * csu/Versions: Likewise.
4385 * csu/init.c: Likewise.
4386 * elf/tst-audit2.c: Likewise.
4387 * elf/tst-tls10.c: Likewise.
4388 * elf/tst-tls10.h: Likewise.
4389 * elf/tst-tls11.c: Likewise.
4390 * elf/tst-tls12.c: Likewise.
4391 * elf/tst-tls14.c: Likewise.
4392 * elf/tst-tlsmod11.c: Likewise.
4393 * elf/tst-tlsmod12.c: Likewise.
4394 * elf/tst-tlsmod13.c: Likewise.
4395 * elf/tst-tlsmod13a.c: Likewise.
4396 * elf/tst-tlsmod14a.c: Likewise.
4397 * elf/tst-tlsmod15b.c: Likewise.
4398 * elf/tst-tlsmod16a.c: Likewise.
4399 * elf/tst-tlsmod16b.c: Likewise.
4400 * elf/tst-tlsmod7.c: Likewise.
4401 * elf/tst-tlsmod8.c: Likewise.
4402 * elf/tst-tlsmod9.c: Likewise.
4403 * gmon/gmon.c: Likewise.
4404 * grp/fgetgrent_r.c: Likewise.
4405 * grp/putgrent.c: Likewise.
4406 * hurd/fopenport.c: Likewise.
4407 * include/libc-symbols.h: Likewise.
4408 * include/tls.h: Likewise.
4409 * intl/gettextP.h: Likewise.
4410 * intl/loadinfo.h: Likewise.
4411 * locale/global-locale.c: Likewise.
4412 * locale/localeinfo.h: Likewise.
4413 * mach/devstream.c: Likewise.
4414 * malloc/arena.c: Likewise.
4415 * malloc/set-freeres.c: Likewise.
4416 * misc/err.c: Likewise.
4417 * misc/getttyent.c: Likewise.
4418 * misc/mntent_r.c: Likewise.
4419 * posix/getopt.c: Likewise.
4420 * posix/wordexp.c: Likewise.
4421 * pwd/fgetpwent_r.c: Likewise.
4422 * resolv/Versions: Likewise.
4423 * resolv/res_hconf.c: Likewise.
4424 * shadow/fgetspent_r.c: Likewise.
4425 * shadow/putspent.c: Likewise.
4426 * stdio-common/printf_fphex.c: Likewise.
4427 * stdio-common/tmpfile.c: Likewise.
4428 * stdlib/abort.c: Likewise.
4429 * stdlib/fmtmsg.c: Likewise.
4430 * sunrpc/auth_unix.c: Likewise.
4431 * sunrpc/clnt_perr.c: Likewise.
4432 * sunrpc/clnt_tcp.c: Likewise.
4433 * sunrpc/clnt_udp.c: Likewise.
4434 * sunrpc/clnt_unix.c: Likewise.
4435 * sunrpc/openchild.c: Likewise.
4436 * sunrpc/svc_simple.c: Likewise.
4437 * sunrpc/svc_tcp.c: Likewise.
4438 * sunrpc/svc_udp.c: Likewise.
4439 * sunrpc/svc_unix.c: Likewise.
4440 * sunrpc/xdr.c: Likewise.
4441 * sunrpc/xdr_array.c: Likewise.
4442 * sunrpc/xdr_rec.c: Likewise.
4443 * sunrpc/xdr_ref.c: Likewise.
4444 * sunrpc/xdr_stdio.c: Likewise.
4445
1248c1c4
PB
44462011-09-09 Ulrich Drepper <drepper@gmail.com>
4447
4448 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4449
44502011-07-03 Andreas Jaeger <aj@suse.de>
4451
4452 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4453 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4454 regenerate with gen-libm-tests.pl.
4455
44562010-05-12 Petr Baudis <pasky@suse.cz>
4457
4458 [BZ #11589]
4459 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4460 around j0() zero points by switching to j1().
4461 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4465
f22e1074
UD
44662011-09-09 Ulrich Drepper <drepper@gmail.com>
4467
f19009c1
UD
4468 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4469 instead of 0.
4470 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4471 instead of 0. .
4472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4473 Patch in part by Pavel Roskin <proski@gnu.org>.
4474
3f8cc204
UD
4475 [BZ #13138]
4476 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4477 realloc.
4478 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4479 Free memory block if necessary.
4480
f22e1074
UD
4481 [BZ #12847]
4482 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4483 be NULL. Don't lock in this case.
4484
0a2349f9
RM
44852011-09-09 Roland McGrath <roland@hack.frob.com>
4486
4487 * elf/elf.h (ELFOSABI_GNU): New macro.
4488 (ELFOSABI_LINUX): Define to that.
4489
f3cdd467
DZ
44902011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4491
4492 * string/strncat.c (strncat): Undef the symbol in case it has been
4493 defined in bits/string.h.
4494
74718d13
UD
44952011-09-09 Ulrich Drepper <drepper@gmail.com>
4496
633e9e0f
UD
4497 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4498
0a2349f9 4499 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4500 link map.
4501
f9924780
AJ
45022011-08-17 Andreas Jaeger <aj@suse.de>
4503
4504 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4505
7f5517aa
PP
45062011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4507 Ian Lance Taylor <iant@google.com>
4508
4509 * math/libm-test.inc (lround_test): New testcase.
4510 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4511
762011fe
UD
45122011-09-08 Ulrich Drepper <drepper@gmail.com>
4513
92963737
UD
4514 * Makefile: Remove support for automatic cvs check-ins.
4515 * Makerules: Likewise.
4516 * config.make.in: Likewise.
4517 * configure.in: Likewise.
4518 * intl/Makefile: Likewise.
4519 * locale/Makefile: Likewise.
4520 * po/Makefile: Likewise.
4521 * posix/Makefile: Likewise.
4522 * sysdeps/gnu/Makefile: Likewise.
4523 * sysdeps/mach/hurd/Makefile: Likewise.
4524 * sysdeps/sparc/sparc32/Makefile: Likewise.
4525
b0727fd8
JS
4526 [BZ #13118]
4527 * posix/Makefile (bug-regex32-ENV): Define.
4528 Patch by John Stanley <jpsinthemix@verizon.net>.
4529
a0f33f99
UD
4530 * misc/Makefile (headers): Add bits/select2.h.
4531 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4532 * misc/bits/select2.h: New file.
4533 * include/bits/select2.h: New file.
4534 * debug/Makefile (routines): Add fdelt_chk.
4535 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4536 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4537 FD_ISSET.
4538 * debug/fdelt_chk.c: New file.
4539
762011fe
UD
4540 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4541 * wcsmbs/test-wmemcmp.c: Likewise.
4542 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4543 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4544
45452011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4546
4547 * string/Makefile (strop-tests): Add memcmp.
4548 * string/test-wmemcmp.c: New file.
4549 * string/test-memcmp.c: Add wmemcmp support.
4550
7f513ec8
RM
45512011-09-08 Roland McGrath <roland@hack.frob.com>
4552
0442afb4
RM
4553 [BZ #13153]
4554 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4555 2011-07-19 change.
4556
7f513ec8
RM
4557 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4558 garbage value in a __mach_port_mod_refs call in the cases of the
4559 task-self and thread-self ports.
4560
a12b2239
ST
45612011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4562
4563 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4564
610f9ab4
AS
45652011-09-08 Andreas Schwab <schwab@redhat.com>
4566
7f513ec8 4567 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 4568
48882a1a
LD
45692011-09-07 Ulrich Drepper <drepper@gmail.com>
4570
b49865be
UD
4571 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4572
fdc86bc9
UD
4573 * elf/dl-libc.c (dlerror_run): Pass back error code from
4574 dl_catch_error.
4575
c966526a
UD
4576 [BZ #13123]
4577 * elf/dl-load.c (lose): Free l_origin if it is valid.
4578
48882a1a
LD
4579 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4580 names.
4581 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4582 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4583 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4585 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4586 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4587
77a2a8b4
AZ
45882011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4589
4590 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4591 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4592 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4593 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4594 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4595 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4596 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4597 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4598 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4599 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4600
24f579d8
AM
46012011-08-15 Alan Modra <amodra@gmail.com>
4602
4603 [BZ #13092]
4604 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4605 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4606 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4607 ppc_mcount to static-only-routines.
4608 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4609 __mcount_internal.
4610 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4611 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4612
3d4837df
UD
46132011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4614
4615 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4616 for finite and infinity parameters.
4617
22700377
WS
46182011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4619
4620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4621 and add nop instructions for throughput optimization.
4622 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4623
5025581e
WS
46242011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4625
4626 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4627 aligned copy for power7 with vector-scalar instructions.
4628 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4629
08a300c9
L
46302011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4631
4632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4633 AVX check.
4634
59178ef9
AS
46352011-09-07 Andreas Schwab <schwab@redhat.com>
4636
4637 [BZ #13144]
4638 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4639 last change.
4640
e38ba7ab
UD
46412011-09-07 Ulrich Drepper <drepper@gmail.com>
4642
4643 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4644 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4645 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4646 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4647 clock_gettime.
4648
d53a73ac
UD
46492011-09-06 Ulrich Drepper <drepper@gmail.com>
4650
fc8bffcc
UD
4651 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4652 Forgot to demangle the pointer.
4653
ceaa0c5d
UD
4654 * sysdeps/i386/sysdep.h: Define atom_text_section.
4655 * sysdeps/x86_64/sysdep.h: Likewise.
4656 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4657 section with atom_text_section.
4658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4659 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4660 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4661 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4662 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4663
a77d3c17
UD
4664 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4665 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4666 already be defined. Change to take two parameters and don't assign
4667 result to variable. Adjust all users.
4668 Define INTERNAL_GETTIME if not already defined.
4669 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4670 call.
4671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4672 HAVE_CLOCK_GETTIME_VSYSCALL.
4673 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4674
d53a73ac
UD
4675 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4676 gettimeofday vsyscall, just use time.
4677
a8f84144
AS
46782011-09-06 Andreas Schwab <schwab@redhat.com>
4679
4680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4681 <errno.h>.
4682
ef606249
UD
46832011-09-06 Ulrich Drepper <drepper@gmail.com>
4684
4685 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4686 syscall on x86-64.
4687 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4688 syscall.
4689 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4690 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4691 syscall if possible.
4692
6585cb60
UD
46932011-09-05 Ulrich Drepper <drepper@gmail.com>
4694
4695 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4696 e_ident. Don't pass to find_mapsXX.
4697 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4698
a5f524e4
LD
46992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4700
4701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4702 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4703 * sysdeps/x86_64/multiarch/strchr.S: Update.
4704 Check bit_slow_BSF bit.
4705 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4706 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4707 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4708
554881ef
UD
47092011-09-05 Ulrich Drepper <drepper@gmail.com>
4710
d96de963
UD
4711 [BZ #13134]
4712 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4713 before glibc 2.15.
4714 (tryshell): Define.
4715 (__spawni): Change last parameter to be flag. Test
4716 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4717 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4718 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4719 * posix/spawni.c: Likewise.
4720 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4721 * posix/spawnp.c: Likewise. Change normal version to use
4722 SPAWN_XFLAGS_USE_PATH.
4723 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4724 SPAWN_XFLAGS_TRY_SHELL.
4725
d48e5868
UD
4726 [BZ #13150]
4727 * posix/glob.h: Remove gcc 1.x support.
4728
554881ef
UD
4729 [BZ #13068]
4730 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4731
693fb948
LD
47322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4733
4734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4735 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4736 strrchr-sse2-bsf
4737 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4738 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4739 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4740 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4741 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4742 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4743
1b48c537
UD
47442011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4745
49d42c37
UD
4746 * sysdeps/x86_64/wcscmp.S: New file.
4747
1b48c537
UD
4748 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4749 wcscmp-c wcscmp-sse2
4750 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4751 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4752 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4753 * wcsmbs/wcscmp.c: Allow renaming.
4754
15c95c5d
DM
47552011-09-05 David S. Miller <davem@davemloft.net>
4756
4757 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4758 stack slot, rather than the struct return pointer slot.
4759 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4760 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4762 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4763
2f0ad8f3
UD
47642011-09-05 Ulrich Drepper <drepper@gmail.com>
4765
d88ae418
UD
4766 * po/ja.po: Update from translation team.
4767
2f0ad8f3
UD
4768 [BZ #13144]
4769 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4770 kernel in 64-bit binaries.
4771
5f4318d1
DM
47722011-09-01 David S. Miller <davem@davemloft.net>
4773
4774 * elf/elf.h (HWCAP_SPARC_*): Move to..
4775 * sysdeps/sparc/sysdep.h: this new file and add new values.
4776 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4777 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4778 _DL_HWCAP_COUNT to 24.
4779 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4780 entries.
4781 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4782 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4783 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4785 instead of magic constants.
4786 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4787
3ba57516
DM
47882011-08-31 David S. Miller <davem@davemloft.net>
4789
4790 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
4792 Reimplement to do errno handling inline.
4793 (SYSCALL_ERROR_HANDLER): New macro.
4794 (__SYSCALL_STRING): Do not do errno handling in asm.
4795 (__CLONE_SYSCALL_STRING): Delete.
4796 (__INTERNAL_SYSCALL_STRING): Delete.
4797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
4798 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
4799 (PSEUDO): Reimplement to do errno handling inline.
4800 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
4801 (SYSCALL_ERROR_HANDLER): New macro.
4802 (__SYSCALL_STRING): Do not do errno handling in asm.
4803 (__CLONE_SYSCALL_STRING): Delete.
4804 (__INTERNAL_SYSCALL_STRING): Delete.
4805 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
4806 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
4807 i386.
4808 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
4809 (inline_syscall*): Add 'err' argument.
4810 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
4811 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
4812 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
4813 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
4814
4815 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
4816 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4817
2bc17433
AS
48182011-08-30 Andreas Schwab <schwab@redhat.com>
4819
4820 * elf/rtld.c (dl_main): Relocate objects in dependency order.
4821
fbeb5f4d
JO
48222011-08-29 Jiri Olsa <jolsa@redhat.com>
4823
4824 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
4825 directive.
4826
ad69cc26
DM
48272011-08-24 David S. Miller <davem@davemloft.net>
4828
4829 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
4830
39dd69df
AS
48312011-08-24 Andreas Schwab <schwab@redhat.com>
4832
4833 * elf/Makefile: Add rules to build and run unload8 test.
4834 * elf/unload8.c: New file.
4835 * elf/unload8mod1.c: New file.
4836 * elf/unload8mod1x.c: New file.
4837 * elf/unload8mod2.c: New file.
4838 * elf/unload8mod3.c: New file.
4839
4840 * elf/dl-close.c (_dl_close_worker): Reset private search list if
4841 it wasn't used.
4842
2c0b250a
DM
48432011-08-23 David S. Miller <davem@davemloft.net>
4844
4845 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
4846 subtract stack bias.
4847 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
4848 %sp not %fp in calculations.
4849 (_JMPBUF_UNWINDS_ADJ): Likewise.
4850
22044b48
DM
4851 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
4852 (aio_suspend): Call it to force an exception region around the
4853 AIO_MISC_WAIT() invocation.
4854
2cae4995
AS
48552011-08-23 Andreas Schwab <schwab@redhat.com>
4856
4857 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
4858 backslash.
4859
873a772e
AJ
48602011-07-04 Aurelien Jarno <aurelien@aurel32.net>
4861
4862 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
4863 protection macro.
4864 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
4865 and <dl-machine.h>.
4866 (Elf64_FuncDesc): Remove.
4867
25ad0df1
DM
48682011-08-22 David S. Miller <davem@davemloft.net>
4869
4870 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
4871 sigaltstack check, add missing cfi directives.
4872 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
4873 missing cfi directives, and sigaltstack handling.
4874
e888bcbe
AS
48752011-08-16 Andreas Schwab <schwab@redhat.com>
4876
4877 [BZ #11724]
4878 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
4879 object is seen twice.
4880 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4881
4882 * elf/Makefile (distribute): Add tst-initorder2.c.
4883 (tests): Add tst-initorder2.
4884 (modules-names): Add tst-initorder2a tst-initorder2b
4885 tst-initorder2c tst-initorder2d. Add rules to build them.
4886 ($(objpfx)tst-initorder2.out): New rule.
4887 * elf/tst-initorder2.c: New file.
4888 * elf/tst-initorder2.exp: New file.
4889
87162f46
AS
48902011-08-22 Andreas Schwab <schwab@redhat.com>
4891
70538b7f
AS
4892 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
4893
f55ffe58
AS
4894 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
4895 dependencies back to end of function.
4896
87162f46
AS
4897 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4898 $(elfobjdir)/ld.so.
4899
91b392a4
UD
49002011-08-21 Ulrich Drepper <drepper@gmail.com>
4901
4902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
4903 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
4904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
4905 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
4906 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
4907 of __vdso_gettimeofday.
4908 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
4909 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
4910 attribute_hidden.
4911 (_libc_vdso_platform_setup): Remove initialization of
4912 __vdso_gettimeofday and __vdso_time.
4913
5c43483f
UD
49142011-08-20 Ulrich Drepper <drepper@gmail.com>
4915
775a77e7
UD
4916 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
4917 and fgetc_unlocked.
4918 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
4919 getc_unlocked.
89f447ed 4920
49c74ba9
UD
4921 * elf/dl-open.c (add_to_global): Report additions to the global scope
4922 for LD_DEBUG=scopes.
4923 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 4924 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 4925
5c43483f
UD
4926 [BZ #13114]
4927 * stdio-common/Makefile (tests): Add bug24.
4928 * stdio-common/bug24.c: New file.
4929
a101b025
AJ
49302011-08-19 Andreas Jaeger <aj@suse.de>
4931
4932 [BZ #13114]
4933 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
4934 non-existant file when using close-on-exec mode.
4935
c88f1766
UD
49362011-08-20 Ulrich Drepper <drepper@gmail.com>
4937
0276a718
UD
4938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
4939 the very first instruction.
4940
c88f1766
UD
4941 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
4942 the CFI state in the end.
4943 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
4944 inclusion of dl-trampoline.h.
4945 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
4946
51ccffa0
AS
49472011-08-19 Andreas Schwab <schwab@redhat.com>
4948
94d7165f
AS
4949 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
4950 expectations for long double.
4951
51ccffa0
AS
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
4953 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
4954
fd708658 49552011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
4956
4957 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
4958 artificual limit depends upon the system page size.
4959
44f0a71e
UD
49602011-08-17 Ulrich Drepper <drepper@gmail.com>
4961
4962 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
4963 * resolv/Makefile: Define CFLAGS-libresolv.
4964
8de79a24
AS
49652011-08-17 Andreas Schwab <schwab@redhat.com>
4966
4967 * nss/makedb.c (compute_tables): Make variables used in nested
4968 function static.
4969
27724598
UD
49702011-08-17 Ulrich Drepper <drepper@gmail.com>
4971
c5305d88
UD
4972 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
4973 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
4974 if buffer was too small.
4975
27724598
UD
4976 * elf/pldd.c (main): Attach to all threads in the process.
4977 Rewrite /proc handling to use *at functions.
4978
076fe015
UD
49792011-08-16 Ulrich Drepper <drepper@gmail.com>
4980
174baab3
UD
4981 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
4982 specifies first scope to show.
4983 (dl_open_worker): Update callers. Move printing scope of new
4984 object to before the relocation.
44f0a71e 4985 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
4986 * sysdeps/generic/ldsodefs.h: Update declaration.
4987
076fe015
UD
4988 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
4989 string for the scope number.
4990
a60df2c3
UD
49912011-08-14 Ulrich Drepper <drepper@gmail.com>
4992
4993 * nscd/servicescache.c (cache_addserv): Make sure written is always
4994 initialized.
4995
5e4287d1
RM
49962011-08-14 Roland McGrath <roland@hack.frob.com>
4997
85ae0589
RM
4998 * sysdeps/i386/i486/bits/atomic.h
4999 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5000 statement expression, so as to suppress "set but not used" warning.
5001 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5002
69f63097
RM
5003 * string/strncat.c (STRNCAT): Use prototype definition.
5004
675456ef
RM
5005 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5006 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5007 -Iprograms here.
5008 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5009 (localedef-modules): Add localedef.
5010 (locale-modules): Add locale.
5011
5e4287d1
RM
5012 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5013 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5014 to avoid a warning.
5015
9c96ff23
DM
50162011-08-14 David S. Miller <davem@davemloft.net>
5017
5018 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5019 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5020
f9ddf089
UD
50212011-08-13 Ulrich Drepper <drepper@gmail.com>
5022
44f0a71e 5023 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5024 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5025 * elf/rtld.c (dl_main): Set l_name of vDSO.
5026 Call _dl_show_scope when DL_DEBUG_SCOPES.
5027 (process_dl_debug): Recognize scopes flag and also set it for all.
5028 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5029 Declare _dl_show_scope.
5030
1dc27704
UD
5031 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5032 (do_dlopen): Pass caller_dlopen to dl_open.
5033 (__libc_dlopen_mode): Initialize caller_dlopen.
5034
f9ddf089
UD
5035 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5036 of libc. Make tolower call locale-independent. Optimize a bit by
5037 using isdigit instead of isalnum.
5038 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5039
9ac533d3
UD
50402011-08-12 Ulrich Drepper <drepper@gmail.com>
5041
5042 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5043 was a dependency or dynamically loaded.
5044
89edf2e9
UD
50452011-08-11 Ulrich Drepper <drepper@gmail.com>
5046
8e999d29
UD
5047 * intl/l10nflist.c: Allow architecture-specific pop function.
5048 * sysdeps/x86_64/l10nflist.c: New file.
5049
89edf2e9
UD
5050 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5051 classification.
5052
14d96785
AS
50532011-08-10 Andreas Schwab <schwab@redhat.com>
5054
5055 * include/dirent.h: Add libc_hidden_proto for scandirat and
5056 scandirat64. Don't declare __scandirat64.
5057 * dirent/scandirat.c: Add libc_hidden_def.
5058 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5059 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5060
6761ac04
DM
50612011-08-10 David S. Miller <davem@davemloft.net>
5062
5063 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5064 enum.
5065 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5066 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5067 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5068
c55fbd1e
UD
50692011-08-09 Ulrich Drepper <drepper@gmail.com>
5070
5071 * Versions.def [libc]: Add GLIBC_2.15.
5072 * dirent/Makefile (routines): Add scandirat and scandirat64.
5073 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5074 GLIBC_2.15.
5075 * dirent/dirent.h: Declare scandirat and scandirat64.
5076 * dirent/scandirat.c: New file.
5077 * dirent/scandirat64.c: New file.
5078 * sysdeps/wordsize-64/scandirat.c: New file.
5079 * sysdeps/wordsize-64/scandirat64.c: New file.
5080 * dirent/opendir.c: Define opendirat.
5081 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5082 using scandirat.
5083 * dirent/scandir64.c: Adjust for scandir.c change.
5084 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5085 __scandirat64, and __scandir_cancel_handler.
5086 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5087 additional parameter and use openat instead of open (outside of ld.so).
5088 Add new __opendir as wrapper around __opendirat.
5089 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5090 here without requiring old scandirat implementation.
5091
879165f2
UD
50922011-08-08 Ulrich Drepper <drepper@gmail.com>
5093
5094 * dirent/scandir.c (cancel_handler): Renamed to
5095 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5096 defined. Adjust users.
5097 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5098 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5099
cb7e923b
UD
51002011-08-04 Ulrich Drepper <drepper@gmail.com>
5101
16292edd
UD
5102 * string/test-string.h (IMPL): Use __STRING to expand name and then
5103 stringify it.
5104
cb7e923b
UD
5105 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5106 of cleanups.
5107
cff82933
LD
51082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5109
5110 * string/Makefile: Update.
5111 (strop-tests): Append strncat.
5112 * string/test-wcscmp.c: New file.
5113 New comprehensive test for wcscmp.
5114 * string/test-strcmp.c: Update.
5115 (WIDE): New define.
5116
9be9bfcc
AS
51172011-07-22 Andreas Schwab <schwab@redhat.com>
5118
5119 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5120 line.
5121
2e96f1c7
AS
51222011-07-26 Andreas Schwab <schwab@redhat.com>
5123
5124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5125 encoding to ACE if AI_IDN.
5126
85188888
JJ
51272011-08-01 Jakub Jelinek <jakub@redhat.com>
5128
5129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5130 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5131
5fa16e9b
LD
51322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5133
5134 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5135 Fix overflow bug in strncat.
5136 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5137
5138 * string/test-strncat.c: Update.
5139 Add new tests for checking overflow bugs.
5140
51412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5142
5143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5144 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5145 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5146 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5148 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5149 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5150 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5151 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5152
5153 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5154 (USE_AS_STRCAT): Define.
5155 Add strcat and strncat support.
5156 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5157
8c1a459f
AS
51582011-07-25 Andreas Schwab <schwab@redhat.com>
5159
5160 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5161 __n bigger than INT_MAX+1.
5162 (__strncmp_g): Likewise.
5163
bba33c28
UD
51642011-07-23 Ulrich Drepper <drepper@gmail.com>
5165
798be72d
UD
5166 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5167 * libio/stido.h: Likewise.
5168
8accd4dc
UD
5169 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5170 (AF_NFC): Define.
5171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5172 (AF_NFC): Define.
5173
cbff0d96
UD
5174 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5175 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5176 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5177 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5178 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5179
9191c04a
UD
5180 [BZ #13021]
5181 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5182 installed.
5183
bba33c28
UD
5184 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5185 typo.
5186 (_dl_x86_64_save_sse): Likewise.
5187
90f139dd
UD
51882011-07-22 Ulrich Drepper <drepper@gmail.com>
5189
1aae088a
UD
5190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5191 OSXSAVE.
5192 (_dl_x86_64_save_sse): Likewise.
5193
8e2045f5
UD
5194 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5195
90f139dd
UD
5196 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5197
1d002f25
AS
51982011-07-21 Andreas Schwab <schwab@redhat.com>
5199
5200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5201 change.
5202 (_dl_x86_64_save_sse): Use correct AVX check.
5203
21137f89
UD
52042011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5205
5206 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5207 bug in strncpy/strncat.
5208 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5209
a65c0b7a
UD
52102011-07-21 Ulrich Drepper <drepper@gmail.com>
5211
5212 * string/tester.c (test_strcat): Add tests for different alignments
5213 of source and destination.
5214 (test_strncat): Likewise.
5215
6986b98a
UD
52162011-07-20 Ulrich Drepper <drepper@gmail.com>
5217
90bb2039
UD
5218 [BZ #12852]
5219 * posix/glob.c (glob): Check passed in values before using them in
5220 expressions to avoid some overflows.
5221 (glob_in_dir): Likewise.
5222
5644ef54
UD
5223 [BZ #13007]
5224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5225 check for AVX enablement so that we don't crash with old kernels and
5226 new hardware.
5227 * elf/tst-audit4.c: Add same checks here.
5228 * elf/tst-audit6.c: Likewise.
5229
5230 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5231
bfc9dc9b
AS
52322011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5233
5234 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5235
702e64bb
UD
52362011-07-20 Ulrich Drepper <drepper@gmail.com>
5237
5238 * po/cs.po: Update from translation team.
5239 * po/bg.po: Likewise.
5240
295e904f
MP
52412011-07-12 Marek Polacek <mpolacek@redhat.com>
5242
5243 * misc/sys/cdefs.h: Add support for const attribute.
5244 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5245 to gnu_dev_{major,minor,makedev} functions.
5246
3ff94596
MP
52472011-07-20 Marek Polacek <mpolacek@redhat.com>
5248
5249 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5250
28b59fca
AS
52512011-07-20 Andreas Schwab <schwab@redhat.com>
5252
5253 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5254 strlen results.
5255
19df733e
AK
52562011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5257
5258 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5259 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5260 register in order to avoid conflicts with the soft frame pointer
5261 being held in r11 when necessary.
5262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5263 (INTERNAL_VSYSCALL_NCS): Likewise.
5264
c8835729
MP
52652011-07-14 Marek Polacek <mpolacek@redhat.com>
5266
5267 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5268 * elf/dl-fini.c (_dl_fini): Adjust caller.
5269 * elf/dl-close.c (_dl_close_worker): Likewise.
5270 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5271
b902330c
MP
52722011-07-15 Marek Polacek <mpolacek@redhat.com>
5273
8991e135
MP
5274 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5275 "aux_cache->nlibs < 0".
5276
b902330c
MP
5277 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5278 in the reload-count case.
5279
99710781
LD
52802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5281
5282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5283 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5284 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5285 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5286 * sysdeps/x86_64/multiarch/strcat.S: New file.
5287 * sysdeps/x86_64/multiarch/strncat.S: New file.
5288 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5289 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5290 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5291 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5292 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5293 (USE_AS_STRCAT): Define.
5294 Add strcat and strncat support.
5295 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5296 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5297 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5298 * string/strncat.c: Update.
5299 (USE_AS_STRNCAT): Define.
5300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5301 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5302 and i7.
5303 * sysdeps/x86_64/multiarch/init-arch.h
5304 (bit_Prefer_PMINUB_for_stringop): New.
5305 (index_Prefer_PMINUB_for_stringop): Likewise.
5306 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5307 bit_Prefer_PMINUB_for_stringop.
5308
7dc6bd90
UD
53092011-07-19 Ulrich Drepper <drepper@gmail.com>
5310
5311 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5312 buffer64.
5313 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5314 of casting of buffer.
5315 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5316 buffer32 and buffer64.
5317 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5318 writes instead of casting of buffer.
5319 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5320 buffer32.
5321 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5322 casting of buffer.
5323
e0e72284
AS
53242011-07-19 Andreas Schwab <schwab@redhat.com>
5325
5326 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5327
feb1eb0b
UD
53282011-07-19 Ulrich Drepper <drepper@gmail.com>
5329
5330 * nscd/nscd.c (termination_handler): Don't do anything for a database
5331 if it has not yet been initialized.
5332
298711ff
UD
53332011-07-18 Ulrich Drepper <drepper@gmail.com>
5334
5335 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5336
53372011-07-15 Marek Polacek <mpolacek@redhat.com>
5338
5339 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5340
f9d68389
UD
53412011-07-18 Ulrich Drepper <drepper@gmail.com>
5342
5343 * po/nl.po: Update from translation team.
5344 * po/sv.po: Likewise.
5345
db290cf5
RM
53462011-07-16 Roland McGrath <roland@hack.frob.com>
5347
5348 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5349 now disallowed by GCC.
5c550700 5350
fd5e21c7
RM
5351 * configure.in (use-default-link): Default to yes if a test -shared
5352 link meets our qualifications.
5353 * configure: Regenerated.
5354
5c550700
RM
5355 * config.make.in (output-format): New variable.
5356 * configure.in: Check for ld --print-output-format support.
5357 * configure: Regenerated.
5358 * Makerules ($(common-objpfx)format.lds)
5359 [$(output-format) != unknown]: Just use $(output-format),
5360 instead of the linker-script munging.
5361
9fa2c032
RM
53622011-07-14 Roland McGrath <roland@hack.frob.com>
5363
a6928d51
RM
5364 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5365 of $(common-objpfx)shlib.lds.
5366 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5367
661607b3
RM
5368 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5369 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5370
9fa2c032
RM
5371 * configure.in (-z relro check): Adjust test code to add a large
5372 writable data section after it.
5373 * configure: Regenerated.
5374
defe9061
RM
53752011-07-11 Roland McGrath <roland@hack.frob.com>
5376
5377 * configure.in (-z relro check): Fix test code to make the variable
5378 truly const.
5379 * configure: Regenerated.
5380
319b9ad4
UD
53812011-07-11 Ulrich Drepper <drepper@gmail.com>
5382
5383 * nscd/nscd.h (struct traced_file): Define.
5384 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5385 elements. Add traced_files.
5386 (inotify_fd): Declare.
5387 (register_traced_file): Declare.
5388 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5389 (inotify_fd): Export.
5390 (resolv_conf_descr): Remove.
5391 (nscd_init): Move inotify descriptor creation to main.
5392 Don't register files for notification here.
5393 (register_traced_file): New function.
5394 (invalidate_cache): Don't use reset_res to determine whether to call
5395 res_init, go through the list of registered files.
5396 (main_loop_poll): The inotify descriptors are now stored in the
5397 structures for the traced files.
5398 (main_loop_epoll): Likewise
5399 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5400 to __nss_disable_nscd.
5401 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5402 for a database anymore. Check the records for all the registered
5403 files instead.
5404 * nss/Makefile (libnss_files-routines): Add files-init.
5405 (libnss_db-routines): Add db-init.
5406 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5407 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5408 * nss/nss_db/db-init.c: New file.
5409 * nss/nss_files/files-init.c: New file.
5410 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5411 __nss_lookup_function.
5412 (__nss_lookup_function): Call nss_load_library.
5413 (nss_load_all_libraries): New function.
5414 (__nss_disable_nscd): Take parameter with callback function for files
5415 to register. Set is_nscd. Load all the DSOs for the NSS modules
5416 used for the cached services.
5417 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5418 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5419 options for features to all the files in nscd.
5420
5421 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5422
23bee3e8
RM
54232011-07-10 Roland McGrath <roland@hack.frob.com>
5424
5425 * csu/elf-init.c (__libc_csu_init): Comment typo.
5426
46a5b7f0
UD
54272011-07-09 Ulrich Drepper <drepper@gmail.com>
5428
5429 * po/pl.po: Update from translation team.
5430 * po/ja.po: Likewise.
5431 * po/ru.po: Likewise.
5432 * po/ko.po: Likewise.
5433 * po/fr.po: Likewise.
5434
d30cf5bb
RM
54352011-07-09 Roland McGrath <roland@hack.frob.com>
5436
113ddea4
RM
5437 * configure.in (.ctors/.dtors header and trailer check):
5438 Use an empirical test on a built program.
5439 * configure: Regenerated.
5440
574920b4
RM
5441 * configure.in (-z relro check): Use an empirical test on a built DSO.
5442 Detect, but do not require, on ia64.
5443 * configure: Regenerated.
5444
d30cf5bb
RM
5445 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5446 Update tests that use readelf to use $READELF instead.
5447 * configure: Regenerated.
5448
8538fdb3
UD
54492011-07-08 Ulrich Drepper <drepper@gmail.com>
5450
5451 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5452 if the result is not used.
5453
04d08991
AJ
54542011-07-05 Andreas Jaeger <aj@suse.de>
5455
5456 [BZ#9696]
5457 * stdlib/tst-strtod.c: Add testcase.
5458
de283087
AD
54592011-07-07 Ulrich Drepper <drepper@gmail.com>
5460
4e5f31c8 5461 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5462 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5463 The latter has a higher limit. Take additional parameter to pass to
5464 the new function.
5465 (__pathconf): Pass file to __statfs_link_max.
5466 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5467 __statfs_link_max.
5468 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5469 __statfs_link_max.
5470
de283087
AD
5471 [BZ #12868]
5472 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5473 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5474 Handle Lustre.
5475 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5476 (__statfs_filesize_max): Likewise.
5477 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5478
c75fa153
AJ
54792011-07-05 Andreas Jaeger <aj@suse.de>
5480
5481 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5482
1a544854
UD
54832011-07-06 Marek Polacek <mpolacek@redhat.com>
5484
5485 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5486 `status' variable.
5487 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5488 Likewise.
5489
6f0eec67
UD
54902011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5491
5492 * Makefile (strop-tests): Add strncat.
5493 * string/test-strncat.c: New file.
5494
aae30307
UD
54952011-06-30 Marek Polacek <mpolacek@redhat.com>
5496
5497 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5498
c0cfb5eb
UD
54992011-06-21 Andreas Jaeger <aj@suse.de>
5500
5501 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5502 Copy rule from iconvdata/Makefile.
5503
01636b21
UD
55042011-07-06 Ulrich Drepper <drepper@gmail.com>
5505
5506 [BZ #12922]
5507 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5508 but no long options are defined, just return 'W'.
5509
9895c8bc
UD
55102011-06-22 Marek Polacek <mpolacek@redhat.com>
5511
5512 [BZ #9696]
5513 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5514
5d4cf042
UD
55152011-07-06 Ulrich Drepper <drepper@gmail.com>
5516
5517 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5518 netgroups to read.
960e5535 5519 (innetgr): Likewise.
5d4cf042 5520
751eb97e
RM
55212011-07-05 Roland McGrath <roland@hack.frob.com>
5522
5523 * config.make.in (install_root): Default to $(DESTDIR).
5524
f15f1e45
UD
55252011-07-05 Ulrich Drepper <drepper@gmail.com>
5526
5527 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5528
4e34ac6a
RM
55292011-07-02 Roland McGrath <roland@hack.frob.com>
5530
5e9b6af4
RM
5531 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5532
84f9ea0f
RM
5533 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5534 containing directory rather than embedding absolute directory names.
5535
ea5ee9f7
RM
5536 * scripts/check-local-headers.sh: Rewritten using awk.
5537 Match by word, not by line. Print error messages for matches.
5538 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5539
1b74661a
RM
5540 * Makerules [shlib-lds-flags empty]:
5541 ($(common-objpfx)libc_pic.opts): New target.
5542 ($(common-objpfx)libc_pic.os.clean): New target.
5543 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5544
5545 * config.make.in (OBJCOPY): New variable.
5546 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5547 * configure: Regenerated.
5548
f781ef40
RM
5549 * config.make.in (use-default-link): New variable.
5550 * configure.in (use_default_link): Grok --with-default-link to set it.
5551 * configure: Regenerated.
5552 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5553 (shlib-lds, shlib-lds-flags): Define to empty.
5554
2d4fa81e
RM
5555 * Makerules (shlib-lds): New variable.
5556 (shlib-lds-flags): New variable.
5557 (build-shlib, build-moduile, build-module-asneeded): Use it.
5558 ($(common-objpfx)libc.so): Use $(shlib-lds).
5559 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5560 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5561
31fffa6b
RM
5562 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5563 DT_FLAGS/DT_FLAGS_1 with zero flags.
5564
4e34ac6a
RM
5565 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5566 linker script munging.
5567
fcfc776b
UD
55682011-07-02 Ulrich Drepper <drepper@gmail.com>
5569
5570 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5571 as 128-bit value.
5572 * crypt/sha512.c (sha512_process_block): Perform total addition using
5573 128-bit if possible.
5574 (__sha512_finish_ctx): Likewise.
5575 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5576 as 64-bit value.
5577 * crypt/sha256.c (SWAP64): Define.
5578 (sha256_process_block): Perform total addition using 64-bit if
5579 possible.
5580 (__sha256_finish_ctx): Likewise.
5581
99231d9a
UD
55822011-07-01 Ulrich Drepper <drepper@gmail.com>
5583
5584 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5586 * nscd/hstcache.c (cache_addhst): Likewise.
5587 * nscd/grpcache.c (cache_addgr): Likewise.
5588 * nscd/aicache.c (addhstaiX): Likewise
5589 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5590
445b4a53
TK
55912011-07-01 Thorsten Kukuk <kukuk@suse.de>
5592
5593 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5595 * nscd/hstcache.c (cache_addhst): Likewise.
5596 * nscd/grpcache.c (cache_addgr): Likewise.
5597 * nscd/aicache.c (addhstaiX): Likewise
5598
6d4d8e8e
AS
55992011-07-01 Andreas Schwab <schwab@redhat.com>
5600
5601 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5602 domain only when needed.
5603
89f654c5
AS
56042011-06-30 Andreas Schwab <schwab@redhat.com>
5605
5606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5607 is always restored.
5608
cf3b23ff
UD
56092011-06-29 Ulrich Drepper <drepper@gmail.com>
5610
5611 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5612 are re-adding the entry.
5613 * nscd/servicescache.c (cache_addserv): Likewise.
5614
751626f9
AJ
56152011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5616
5617 * sysdeps/generic/dl-irel.h: fix protection against multiple
5618 inclusions.
5619 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5620
9113ea1f
UD
56212011-06-28 Ulrich Drepper <drepper@gmail.com>
5622
5c0b8d90
UD
5623 [BZ #12935]
5624 * malloc/memusage.sh: Fix quoting in message.
5625 * debug/xtrace.sh: Likewise.
5626
9113ea1f
UD
5627 * configure.in: Remove support for --experimental-malloc option, make
5628 it the default.
5629 * config.make.in: Likewise.
5630 * malloc/Makefile: Likewise.
5631
a4172181
AS
56322011-06-27 Andreas Schwab <schwab@redhat.com>
5633
5634 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5635 two-byte characters.
5636
78a7eee7
RM
56372011-06-27 Roland McGrath <roland@hack.frob.com>
5638
62bede13
RM
5639 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5640 AC_CACHE_CHECK invocation.
5641 * configure: Regenerated.
5642
78a7eee7
RM
5643 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5644
5ce33a62
UD
56452011-06-27 Ulrich Drepper <drepper@gmail.com>
5646
034807a9
UD
5647 [BZ #12350]
5648 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5649 bit from old_res_options.
5650
4902da17
UD
5651 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5652
5ce33a62
UD
5653 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5654 value type for setfct.
5655
c2344f56
L
56562011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5657
5658 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5659 __gettimeofday instead of gettimeofday.
5660
68468076
UD
56612011-06-26 Ulrich Drepper <drepper@gmail.com>
5662
5663 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5664
acb0d739
L
56652011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5668
5669 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5670 info.
5671
8912479f
L
56722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5673
5674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5675 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5676 strcpy-sse2-unaligned strncpy-sse2-unaligned
5677 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5678 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5679 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5680 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5681 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5682 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5683 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5684 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5685 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5686 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5687 (STRCPY): Support SSE2 and SSSE3 versions.
5688
d5495a11
UD
56892011-06-24 Ulrich Drepper <drepper@gmail.com>
5690
5691 [BZ #12874]
5692 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5693 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5694 kernels which artificially limit size of requests.
5695
0b1cbaae
L
56962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5697
5698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5699 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5700 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5701 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5702 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5703 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5704 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5705 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5706 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5708 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5709 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5710 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5711 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5712 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5714 Enable unaligned load optimization for Intel Core i3, i5 and i7
5715 processors.
5716 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5717 Define.
5718 (index_Fast_Unaligned_Load): Define.
5719 (HAS_FAST_UNALIGNED_LOAD): Define.
5720
07f494a0
MP
57212011-06-23 Marek Polacek <mpolacek@redhat.com>
5722
5723 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5724
fa3fc0fe
UD
57252011-06-22 Ulrich Drepper <drepper@gmail.com>
5726
5727 [BZ #12907]
5728 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5729 until it is clear that the information is realy needed.
5730 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5731
e12df166
AS
57322011-06-22 Andreas Schwab <schwab@redhat.com>
5733
5734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5735
852eb34d
UD
57362011-06-22 Ulrich Drepper <drepper@gmail.com>
5737
84e2a551
UD
5738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5739 /sys/devices/system/cpu/online if it is usable.
5740
852eb34d
UD
5741 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5742 reading the information from the /proc filesystem to once a second.
5743
6e502e19
UD
57442011-06-21 Andreas Jaeger <aj@suse.de>
5745
5746 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5747 NULL after inclusion of kernel headers.
5748
75d39ff2
UD
57492011-06-21 Ulrich Drepper <drepper@gmail.com>
5750
51f9aa6a
UD
5751 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5752 calls to internal_setent.
5753
c0244a9d
UD
5754 [BZ #12885]
5755 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5756 addresses using gethostbyname4_r ignore IPv4 addresses.
5757
c5e3c2ae
UD
5758 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5759 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
5760
75d39ff2
UD
5761 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5762
42675c6f
DM
57632011-06-20 David S. Miller <davem@davemloft.net>
5764
5765 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5766 inclusions.
5767 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5768
5769 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5770 (elf_irel): Use it.
5771 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5772 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5773 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5774 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5775 * sysdeps/x86_64/dl-irel.h: Likewise.
5776
5777 * elf/dl-runtime.c: Use elf_ifunc_invoke.
5778 * elf/dl-sym.c: Likewise.
5779
57912a71
UD
57802011-06-15 Ulrich Drepper <drepper@gmail.com>
5781
5782 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
5783 need to dereference resplen2.
5784
ee22793d
AS
57852011-06-14 Andreas Schwab <schwab@redhat.com>
5786
5787 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5788
a9e836b0
UD
57892011-06-15 Ulrich Drepper <drepper@gmail.com>
5790
77fb9117
UD
5791 * Makeconfig: Define vardbdir and inst_vardbdir.
5792 * nss/Makefile: Add rules to install db-Makefile.
5793
40c1b22c
UD
5794 * nss/nss_db/db-XXX.c: Cleanup.
5795
9f2da732
UD
5796 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
5797 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
5798 GLIBC_PRIVATE.
5799 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
5800 * nss/makedb.c: Implement -g option to specify that value strings
5801 are generated and should not be added to table iterated over for
5802 get*ent calls.
5803 * nss/nss_db/db-initgroups.c: New file.
5804
82e9a1f7
UD
5805 * nss/getent.c: Add support for initgroups lookups through getgrouplist
5806 interface.
5807
c41af17e
UD
5808 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
5809 (internal_getgrouplist): Adjust to name change.
5810 Update use_initgroups_entry if this is not the first call.
5811 * nss/databases.def: Add initgroups entry.
5812
a9e836b0
UD
5813 * nss/makedb.c (compute_tables): Check result of multiple hash table
5814 sizes to minimize maximum chain length.
5815
2666d441
UD
58162011-06-14 Ulrich Drepper <drepper@gmail.com>
5817
5818 * Versions.def: Add entry for libnss_db.
5819 * shlib-versions: Likewise.
5820 * nss/Makefile: Add rules to build libnss_db.
5821 * nss/Versions: Add libnss_db information. Organize libnss_files
5822 entries better.
5823 * nss/db-Makefile: Add gshadow support. Change rules for the new
5824 makedb progra. Some minor improvements to generate smaller files.
5825 * nss/nss_db/nss_db.h: Move NSS database header data structures to
5826 here from...
5827 * nss/makedb.c: ...here.
5828 Improve database format to be smaller and require less memory at
5829 runtime.
5830 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
5831 db anymore.
5832 * nss/nss_db/db-netgrp.c: Likewise.
5833 * nss/nss_db/db-open.c: Likewise.
5834 * nss/nss_files/flies-XXX.x: Adjust comments.
5835 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
5836 * nss/nss_files/files-grp.c: Likewise.
5837 * nss/nss_files/files-hosts.c: Likewise.
5838 * nss/nss_files/files-network.c: Likewise.
5839 * nss/nss_files/files-proto.c: Likewise.
5840 * nss/nss_files/files-pwd.c: Likewise.
5841 * nss/nss_files/files-rpc.c: Likewise.
5842 * nss/nss_files/files-service.c: Likewise.
5843 * nss/nss_files/files-sgrp.c: Likewise.
5844 * nss/nss_files/files-spwd.c: Likewise.
5845 * nss/nss_db/db-alias.c: Removed.
5846 * nss/nss_db/dummy-db.h: Removed.
5847
9ee76b5a
UD
58482011-06-02 Ulrich Drepper <drepper@gmail.com>
5849
5850 * nss/makedb.c: Rewritten to not use database library.
5851 * nss/Makefile: Update to build new makedb program.
5852
c71ca1f8
AJ
58532011-06-14 Andreas Jaeger <aj@suse.de>
5854
5855 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
5856 memset declaration.
5857
3154bfb8
UD
58582011-06-10 Andreas Schwab <schwab@redhat.com>
5859
5860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
5861 tmpbuf.
5862
b350afab
RM
58632011-06-10 Roland McGrath <roland@hack.frob.com>
5864
decd4e50
RM
5865 * Makerules (shlib.lds): Fail if the linker script comes out empty.
5866 * elf/Makefile ($(objpfx)ld.so): Likewise.
5867
5615eaf2
RM
5868 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
5869 Don't list ld.so twice in dependencies.
5870
5871 * posix/bug-regex31.c: Include <stdlib.h>.
5872
5873 * nscd/hstcache.c (cache_addhst): Remove unused variable.
5874
5875 * nis/nss_compat/compat-spwd.c
5876 (getspent_next_nss_netgr): Remove unused variable.
5877 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5878
5879 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
5880 nonmembers" output to use the right array.
5881
5882 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
5883
5884 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
5885
5886 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
5887 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
5888 * catgets/gencat.c (read_input_file): Likewise.
5889 * locale/programs/locarchive.c (enlarge_archive): Likewise.
5890
5891 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
5892 variable definition inside #if's controlling its use.
5893
5894 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
5895
5896 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
5897
5898 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
5899
5900 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
5901 unreachable code.
5902
5903 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
5904
b68e08db
RM
5905 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
5906 * configure: Regenerated.
5907
b350afab
RM
5908 * Makerules: Revert last change.
5909 * elf/Makefile: Likewise.
5910
28368601
RM
59112011-06-09 Roland McGrath <roland@hack.frob.com>
5912
5913 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
5914 * elf/Makefile ($(objpfx)librtld.os): Likewise.
5915 (reloc-link): Likewise.
5916
11988f8f
UD
59172011-06-09 Ulrich Drepper <drepper@gmail.com>
5918
5919 * elf/Makefile: Add rules to build pldd.
5920 * elf/pldd.c: New file.
5921 * elf/pldd-xx.c: New file.
5922
e80fab37
UD
59232011-06-07 Ulrich Drepper <drepper@gmail.com>
5924
5925 * version.h: Update for 2.15 development version.
5926
9b849836
DM
59272011-06-07 David S. Miller <davem@davemloft.net>
5928
5929 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
5930 ifuncs.
5931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
5932 elf_machine_lazy_rel): Likewise.
5933 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5934 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
5935 elf_machine_lazy_rel): Likewise.
5936 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
5937 dl_hwcap via passed in argument.
5938 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
5939 Likewise.
5940
5a31b283
AK
59412011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5942
5943 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
5944
069e52f8
RM
59452011-06-06 Roland McGrath <roland@hack.frob.com>
5946
5947 [BZ #12849]
5948 * manual/fdl-1.1.texi: New file, verbatim from:
5949 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
5950 * manual/lgpl-2.1.texi: New file, verbatim from:
5951 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
5952 * manual/Makefile (licenses): New variable, list those new file names.
5953 (texis): Use it.
5954 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
5955
5956 * manual/fdl.texi: File removed.
5957 * manual/lesser.texi: File removed.
5958 * manual/libc.texinfo (Copying, Documentation License):
5959 Use new @include file names, put @appendix directive before @include.
5960
f16846a5
JJ
59612011-06-04 Jakub Jelinek <jakub@redhat.com>
5962
5963 [BZ #12841]
5964 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
5965 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5966 (mq_open): Add __NTH.
5967
3d29045b
L
59682011-06-02 H.J. Lu <hongjiu.lu@intel.com>
5969
5970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5971 Assume Intel Core i3/i5/i7 processor if AVX is available.
5972
8c297311
UD
59732011-05-31 Ulrich Drepper <drepper@gmail.com>
5974
5975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5976 typo.
5977
c8fc0c91
UD
59782011-05-31 Andreas Schwab <schwab@redhat.com>
5979
5980 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
5981 memory. Use alloca_account. Fix memory leak when retrying.
5982
5b27a807
UD
59832011-05-31 Ulrich Drepper <drepper@gmail.com>
5984
356f8bc6
UD
5985 * version.h (RELEASE): Bump for 2.14 release.
5986 * include/features.h (__GLIBC_MINOR__): Bump to 14.
5987
5b27a807
UD
5988 * config.make.in (RANLIB): Remove entry.
5989
01f16ab0
UD
59902011-05-30 Ulrich Drepper <drepper@gmail.com>
5991
41fce8bd
UD
5992 * po/Makefile (po-sed-cmd): Add ksh to extensions.
5993 (libc.pot): Work around missing support for .ksh extension in xgettext.
5994
4769ae77
UD
5995 [BZ #12684]
5996 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
5997 if both request failed.
5998 (send_dg): In case of server errors clear resplen or *resplen2.
5999
6b1e7d19
UD
6000 [BZ #12454]
6001 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6002 when there are multiple maps.
6003 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6004 (_dl_fini): Remove test here.
6005
01f16ab0
UD
6006 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6007
b1ebd700
UD
60082011-05-29 Ulrich Drepper <drepper@gmail.com>
6009
7ae22829
UD
6010 [BZ #12350]
6011 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6012 bit from old_res_options.
6013 (gaih_inet): Likewise.
6014
553149f6 6015 [BZ #11099]
18a84741 6016 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6017 as signed.
6018
652ffab1
UD
6019 * resolv/res_init.c (res_setoptions): Make the code more compact.
6020
16985fd0
UD
6021 [BZ #11558]
6022 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6023 set RES_USEVC.
6024
0464f746
UD
6025 [BZ #11634]
6026 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6027
7d17596c
UD
6028 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6029
cf6bbbd7
UD
6030 [BZ #11781]
6031 * malloc/malloc.h: Declare malloc hook variables as volatile.
6032
13f1ab36
UD
6033 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6034 in last patch.
6035
b1ebd700
UD
6036 [BZ #11799]
6037 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6038 raise in the comment.
80e2212d
UD
6039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6041 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6042
ce67228d
UD
60432011-05-28 Ulrich Drepper <drepper@gmail.com>
6044
8887a920
UD
6045 [BZ #12811]
6046 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6047 grow the buffers more if it already has to be sufficient.
6048 (build_wcs_upper_buffer): Likewise.
6049 * posix/regexec.c (check_matching): Likewise.
6050 (clean_state_log_if_needed): Likewise.
6051 (extend_buffers): Don't enlarge buffers beyond size of the input
6052 buffer.
6053 Patches mostly by Emil Wojak <emil@wojak.eu>.
6054 * posix/bug-regex32.c: New file.
6055 * posix/Makefile (tests): Add bug-regex32.
6056
4f031072
UD
6057 * locale/findlocale.c (_nl_find_locale): Return right away if
6058 _nl_explode_name failed.
6059 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6060
d0478f0c
UD
6061 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6062
de81b246
UD
6063 * debug/xtrace.sh: Unify messages.
6064 * malloc/memusage.sh: Likewise.
6065
c738465a
UD
6066 [BZ #12813]
6067 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6068 time symbol from vDSO. Substitute with vsyscall if not available.
6069 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6070 __vdso_time.
6071
f1f929d7
UD
6072 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6073 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6074 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6075 Add sendmmsg and internal_sendmmsg.
6076 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6077 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6079
ce67228d
UD
6080 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6081 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6082 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6083
e57420c6
UD
60842011-05-27 Ulrich Drepper <drepper@gmail.com>
6085
a8509ca5
UD
6086 [BZ #12813]
6087 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6088 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6089 available.
6090 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6091 __vdso_getcpu.
6092
e57420c6
UD
6093 [BZ #12814]
6094 * iconvdata/Makefile (tests): Add bug-iconv9.
6095 * iconvdata/bug-iconv9.c: New file.
6096
4d07db15
AS
60972011-05-27 Andreas Schwab <schwab@redhat.com>
6098
6099 [BZ #12814]
6100 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6101
ea486f69
JJ
61022011-05-25 Jakub Jelinek <jakub@redhat.com>
6103
6104 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6105 (struct user_regs_struct): Change intcs field back to cs.
6106
6f038433
UD
61072011-05-25 Ulrich Drepper <drepper@gmail.com>
6108
6109 * po/ja.po: Update from translation team.
6110
67f86a25
UD
61112011-05-23 Ulrich Drepper <drepper@gmail.com>
6112
6113 [BZ #12795]
6114 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6115 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6116
def7fbd6
AS
61172011-05-20 Andreas Schwab <schwab@redhat.com>
6118
6119 * stdlib/longlong.h: Update from GCC.
6120
f50ef8f1
AS
61212011-05-23 Andreas Schwab <schwab@redhat.com>
6122
6123 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6124 parameter name.
6125 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6126 Add parameter name.
6127 (__sysconf): Pass it down.
6128
de7ce8f1
UD
61292011-05-22 Ulrich Drepper <drepper@gmail.com>
6130
f2962a71
UD
6131 [BZ #12671]
6132 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6133 some situations.
6134 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6135 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6136 add in in __libc_use_alloca calls. Adjust callers.
6137 (glob): Use malloc in some situations.
6138
de7ce8f1
UD
6139 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6140 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6141 pltexit.
6142
aec84f53
UD
61432011-05-21 Ulrich Drepper <drepper@gmail.com>
6144
05bb4a68
UD
6145 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6146 and CLOCK_BOOTTIME_ALARM.
6147
7ea72f99
UD
6148 [BZ #12782]
6149 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6150 is returned.
6151
7e4afad5
UD
6152 * string/_strerror.c (__strerror_r): Print negative errors as signed
6153 numbers.
6154
8e211fec
UD
6155 [BZ #12777]
6156 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6157 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6158 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6159
f7d82dc9
UD
6160 * configure.in: Fix typo in redirection and correct removal of test
6161 files in two cases.
6162
cc9e536d
UD
6163 [BZ #12788]
6164 * locale/setlocale.c (new_composite_name): Fix test to check for
6165 identical name of all categories.
6166
aec84f53
UD
6167 [BZ #12792]
6168 * libio/filedoalloc.c (local_isatty): New function.
6169 (_IO_file_doallocate): Use local_isatty.
6170 * stdio-common/perror.c (perror): In case a new stream is used
6171 forward the stream error.
6172 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6173 error flag.
6174
78e64fdc
RT
61752011-05-20 Ulrich Drepper <drepper@gmail.com>
6176
34a9094f
UD
6177 [BZ #11869]
6178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6179 alloca.
6180 * include/alloca.h (extend_alloca_account): Define.
6181
78e64fdc
RT
6182 [BZ #11857]
6183 * posix/regex.h: Fix comments with documentation of user-accessible
6184 fields after compilation and describe correct free'ing of pattern
6185 after re_compile_pattern.
6186 Patch by Reuben Thomas <rrt@sc3d.org>.
6187
457bddfc
RA
61882011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6189
6190 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6191 and -mno-altivec to prevent the compiler from using Altivec and/or
6192 VSX instructions when the corresponding registers are not available.
6193
a4527b51
AS
61942011-05-19 Andreas Schwab <schwab@redhat.com>
6195
6196 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6197
ed690b2f
UD
61982011-05-19 Ulrich Drepper <drepper@gmail.com>
6199
6200 * libio/freopen.c (freopen): Use __dup2, not dup2.
6201 * libio/freopen64.c (freopen64): Likewise.
6202
8db73634
L
62032011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6204
6205 [BZ #12775]
6206 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6207 * math/Makefile (tests): Add test-powl.
6208 (CFLAGS-test-powl.c): Define.
6209 * math/test-powl.c: New file.
6210
0a197a9d
L
62112011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6212
6213 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6214
ee30c380
UD
62152011-05-17 Ulrich Drepper <drepper@gmail.com>
6216
6217 [BZ #11837]
6218 * iconvdata/gb18030.c: Update to GB18020-2005.
6219
6ce75379
UD
62202011-05-16 Ulrich Drepper <drepper@gmail.com>
6221
a4b89fd8
AR
6222 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6223 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6224 Patch by Aharon Robbins <arnold@skeeve.com>.
6225
ea389b12
UD
6226 [BZ #11892]
6227 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6228 on the stack.
6229
68a3f91f
UD
6230 [BZ #11895]
6231 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6232 through underflows.
6233
15cc7dd1
UD
6234 [BZ #12766]
6235 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6236 point to strings before performing equality test for error_one_per_line
6237 mode.
6238
f3799213
UD
6239 [BZ #11697]
6240 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6241
d79a9c94
UD
6242 [BZ #11820]
6243 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6244 (struct user_fpregs_struct): Avoid __uint*_t types.
6245
56e5eb46
UD
6246 [BZ #6420]
6247 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6248 symbol info. Use it instead of calling _dl_addr locally.
6249 (lock_and_info): New function.
6250 (tr_freehook): Call lock_and_info and pass symbol info as additional
6251 parameter to tr_where.
6252 (tr_mallochook): Likewise.
6253 (tr_reallochook): Likewise.
6254 (tr_memalignhook): Likewise.
6255
6ce75379
UD
6256 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6257 used and couldn't be at all thread-safe.
6258
f8a3b5bf
UD
62592011-05-15 Ulrich Drepper <drepper@gmail.com>
6260
94b7cc37
UD
6261 * libio/freopen.c (freopen): Don't close old file descriptor
6262 before the new one is opened. Instead dup the new file descriptor
6263 to the old one after the new stream is created.
6264 * libio/freopen64.c (freopen64): Likewise.
6265 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6266 * libio/fileops.c (_IO_new_file_close_it): Handle new
6267 _IO_FLAGS2_NOCLOSE flag.
6268 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6269 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6270 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6271 _IO_FLAGS2_NOCLOSE flag.
6272 * include/unistd.h: Add hidden_proto for dup3.
6273 Define __have_dup3.
6274 * io/dup3.c: Define hidden symbol.
6275 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6276
bd25564e
UD
6277 [BZ #7101]
6278 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6279 when an incomplete long option is used.
6280 * posix/tst-getopt_long1.c: New file.
6281 * posix/Makefile (tests): Add tst-getopt_long1.
6282
c84cfef4
UD
6283 [BZ #10138]
6284 * scripts/config.guess: Update from autoconf-2.68.
6285 * scripts/config.sub: Likewise.
6286
3b85df27
UD
6287 [BZ #10157]
6288 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6289 tests into ...
6290 (has_cpuclock): ...this. New function.
6291 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6292 macro here based on has_cpuclock code.
6293
15a856b1
UD
6294 [BZ #10149]
6295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6296 First byte (not low byte) is now always NUL.
6297 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6298
05f399e6
UD
6299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6300 Use non-cancelable interfaces.
6301
10a52685 6302 [BZ #9809]
94ecc67d
UD
6303 * locale/iso-639.def: Add entry for Sorani.
6304
f8a3b5bf
UD
6305 [BZ #11901]
6306 * include/stdlib.h: Move include protection to the right place.
6307 Define abort_msg_s. Declare __abort_msg with it.
6308 * stdlib/abort.c (__abort_msg): Adjust type.
6309 * assert/assert.c (__assert_fail_base): New function. Majority
6310 of code from __assert_fail. Allocate memory for __abort_msg with
6311 mmap.
6312 (__assert_fail): Now call __assert_fail_base.
6313 * assert/assert-perr.c: Remove bulk of implementation. Use
6314 __assert_fail_base.
6315 * include/assert.hL Declare __assert_fail_base.
6316 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6317 mmap.
6318 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6319
1af4e298
UD
63202011-05-14 Ulrich Drepper <drepper@gmail.com>
6321
f8a3b5bf 6322 [BZ #11952]
d26dfc60
MG
6323 [BZ #12453]
6324 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6325 until all modules are registered in the DTV.
6326 * elf/Makefile: Add rules to build and run tst-tls19.
6327 * elf/tst-tls19.c: New file.
6328 * elf/tst-tls19mod1.c: New file.
6329 * elf/tst-tls19mod2.c: New file.
6330 * elf/tst-tls19mod3.c: New file.
6331 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6332
2fc54d6f
UD
6333 [BZ #12083]
6334 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6335 correctly.
6336
98d76b46
UD
6337 [BZ #12601]
6338 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6339 two-byte sequence errors.
6340 * iconvdata/Makefile (tests): Add bug-iconv8.
6341 * iconvdata/bug-iconv8.c: New file.
6342
da3c19ef
UD
6343 [BZ #12626]
6344 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6345 buf2 definition.
6346
ca408c15
UD
6347 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6348
d6f67f7d
UD
6349 [BZ #12432]
6350 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6351 (dummy_getcfa): New function.
6352 (init): Get _Unwind_GetCFA address, use dummy if not found.
6353 (backtrace_helper): In recursion check, also check whether CFA changes.
6354 (__backtrace): Completely initialize arg.
6355
1af4e298 6356 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6357 storing incomplete byte sequence in state object. Avoid testing for
6358 guaranteed too small input if we know there is enough data available.
1af4e298 6359
da62f81b
AS
63602011-05-11 Andreas Schwab <schwab@redhat.com>
6361
6362 * Makeconfig (+link-pie): Indent.
6363 * Rules (binaries-pie): Define if $(have-fpie) and
6364 $(build-shared).
6365 (binaries-shared): Also filter out $(binaries-pie).
6366 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6367 * nscd/Makefile (others-pie): Add nscd.
6368 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6369 ($(objpfx)nscd): Remove command override.
6370 * login/Makefile (others-pie): Add pt_chown.
6371 ($(objpfx)pt_chown): Remove command override.
6372 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6373 remove command overrides.
6374
fcabc0f8
UD
63752011-05-13 Ulrich Drepper <drepper@gmail.com>
6376
20030ae6
UD
6377 * libio/tst_putwc.c: Fix error messages.
6378
fcabc0f8
UD
6379 [BZ #12724]
6380 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6381 currently writing and seek to current position when not.
6382 * libio/Makefile (tests): Add bug-fclose1.
6383 * libio/bug-fclose1.c: New file.
6384
320a5dc0
PB
63852011-05-12 Ulrich Drepper <drepper@gmail.com>
6386
6387 [BZ #12511]
6388 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6389 don't set DF_1_NODELETE here.
6390 (do_lookup_x): When entering new entry test for copy relocation
6391 and if necessary set DF_1_NODELETE flag.
6392 * elf/tst-unique4.cc: New file.
6393 * elf/tst-unique4.h: New file.
6394 * elf/tst-unique4lib.cc: New file.
6395 * elf/Makefile: Add rules to build and run tst-unique4.
6396 Patch by Piotr Bury <pbury@goahead.com>.
6397
22836f52
UD
63982011-05-11 Ulrich Drepper <drepper@gmail.com>
6399
f574184a
UD
6400 [BZ #12052]
6401 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6402
e1fb097f
UD
6403 [BZ #12625]
6404 * misc/mntent_r.c (addmntent): Flush the stream after the output
6405
22836f52
UD
6406 [BZ #12393]
6407 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6408 (is_trusted_path_normalize): Skip initial colon. Append slash
6409 to empty buffer. Duplicate is_trusted_path code but allow
6410 constructed patch to be prefix.
6411 (is_dst): Allow $ORIGIN followed by /.
6412 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6413 Correct testing of result of is_trusted_path_normalize
6414 (decompose_rpath): Fix warning.
6415
7b3b0b2a
UD
64162011-05-10 Ulrich Drepper <drepper@gmail.com>
6417
6418 [BZ #11257]
6419 * grp/initgroups.c (internal_getgrouplist): When we found the service
6420 list through the initgroups entry in nsswitch.conf do not always
6421 continue on a successful lookup. Don't always use the
eac80ce2 6422 __nss_group_database value if it is set.
7b3b0b2a
UD
6423 * nss/nsswitch.conf (initgroups): Change action for successful db
6424 lookup to continue for compatibility.
6425
2a81eaa5
UD
64262011-05-09 Ulrich Drepper <drepper@gmail.com>
6427
be97a69e
UD
6428 [BZ #11532]
6429 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6430 and CP774 modules.
6431 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6432 and CP774 modules.
6433 * iconvdata/tst-tables.sh: Likewise.
6434 * iconvdata/cp770.c: New file.
6435 * iconvdata/cp771.c: New file.
6436 * iconvdata/cp772.c: New file.
6437 * iconvdata/cp773.c: New file.
6438 * iconvdata/cp774.c: New file.
6439 * iconvdata/testdata/CP770: New file.
6440 * iconvdata/testdata/CP770..UTF8: New file.
6441 * iconvdata/testdata/CP771: New file.
6442 * iconvdata/testdata/CP771..UTF8: New file.
6443 * iconvdata/testdata/CP772: New file.
6444 * iconvdata/testdata/CP772..UTF8: New file.
6445 * iconvdata/testdata/CP773: New file.
6446 * iconvdata/testdata/CP773..UTF8: New file.
6447 * iconvdata/testdata/CP774: New file.
6448 * iconvdata/testdata/CP774..UTF8: New file.
6449
6450 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6451 END CHARMAP line.
6452 * iconvdata/gen-8bit-gap.sh: Likewise.
6453 * iconvdata/gen-8bit.sh: Likewise.
6454
c1e9e399
UD
6455 * locale/iso-639.def: Add ary entry.
6456
24c55fb3 6457 [BZ #11258]
96b4b1b0
UD
6458 * locale/C-translit.h.in: Add U20A1 transliteration.
6459
bdc2f971
KB
6460 [BZ #12178]
6461 * locale/iso-639.def: Add wae entry.
6462 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6463
2952b117
UD
6464 [BZ #12545]
6465 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6466 for n.
6467
2a81eaa5
UD
6468 [BZ #12711]
6469 * locale/C-translit.h.in: Add entry for U20B9.
6470 Patch by pravin.d.s@gmail.com.
6471
28377d1b
UD
64722011-05-08 Ulrich Drepper <drepper@gmail.com>
6473
7fb90fb8
UD
6474 [BZ #12713]
6475 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6476 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6477 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6478 in rtld. Use *stat64.
7fb90fb8 6479 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6480 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6481 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6482 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6483 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6484 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6485 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6486 __fstatat64 macros.
7fb90fb8
UD
6487 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6488 * dirent/rewinddir.c: Add libc_hidden_def.
6489 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6490 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6491
28377d1b
UD
6492 * include/dirent.h (__alloc_dir): Add flags parameter.
6493 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6494 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6495 __alloc_dir.
6496 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6497 from fdopendir if O_CLOEXEC is already set.
6498
66bdbaa4
AM
64992011-03-15 Alan Modra <amodra@gmail.com>
6500
6501 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6502 l_tls_firstbyte_offset non-zero. Save padding offset in
6503 l_tls_firstbyte_offset for later use.
6504 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6505 freeing static tls block.
6506
95721191
JN
65072011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6508
6509 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6510 where #ifdef was intended. The intent is to prevent ARG_MAX from
6511 being defined by the kernel headers.
6512
f87dfb1f
UD
65132011-05-07 Ulrich Drepper <drepper@gmail.com>
6514
6515 [BZ #12734]
6516 * resolv/resolv.h: Define RES_NOTLDQUERY.
6517 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6518 no-tld-query and set RES_NOTLDQUERY.
6519 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6520 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6521 modern BIND to search name as TLD unless forbidden.
6522
47c3cd7a
UD
65232011-05-07 Petr Baudis <pasky@suse.cz>
6524 Ulrich Drepper <drepper@gmail.com>
6525
6526 [BZ #12393]
6527 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6528 (is_trusted_path): ...to here.
c1e9ea35 6529 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6530 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6531 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6532
8a35c912
PP
65332011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6534
6535 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6536 __BEGIN/__END_DECLS.
6537
acd41f47
UD
65382011-05-06 Ulrich Drepper <drepper@gmail.com>
6539
6540 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6541 NSS_STATUS_NOTFOUND if no record was found.
6542
597df647
AS
65432011-05-05 Andreas Schwab <schwab@redhat.com>
6544
6545 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6546 (headers-not-in-tirpc): Remove rpc/netdb.h
6547 * resolv/netdb.h: Revert last change.
6548
b9af1301
PP
65492011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6550
6551 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6552 circular dependency between libgcc.a and libc.a.
6553
4e34d5f5
AS
65542011-05-05 Andreas Schwab <schwab@redhat.com>
6555
6556 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6557 * nis/Makefile: Don't install rpcsvc/*.
6558 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6559 instead of <rpc/types.h>.
6560 (MAXHOSTNAMELEN): Define.
6561
00ee369c
AS
65622011-05-03 Andreas Schwab <schwab@redhat.com>
6563
6564 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6565
0b592a30
MB
65662011-04-28 Maciej Babinski <mbabinski@google.com>
6567
6568 [BZ #12714]
6569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6570 gethostbyname4_r when IPv6 results are possible.
6571
6e04cbbe
UD
65722011-05-02 Ulrich Drepper <drepper@gmail.com>
6573
6574 [BZ #12723]
6575 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6576 _PC_PIPE_BUF handling.
6577
e4ecafe0
BH
65782011-04-30 Bruno Haible <bruno@clisp.org>
6579
6580 [BZ #12717]
6581 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6582 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6583 to 'int'.
6584 * inet/getnameinfo.c (getnameinfo): Likewise.
6585
125ee683
UD
65862011-04-29 Ulrich Drepper <drepper@gmail.com>
6587
6588 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6589 to groups setting in database lookup.
6590 * nss/nsswitch.conf: Add initgroups entry.
6591
b722481a
EB
65922011-04-22 Ulrich Drepper <drepper@gmail.com>
6593
6594 [BZ #12685]
6595 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6596 mode string.
6597 Patch by Eric Blake <eblake@redhat.com>.
6598
4df46dbd
L
65992011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6600
6601 * sunrpc/Makefile (need-export-routines): Add svc_run.
6602 (routines): Remove svc_run.
6603 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6604 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6605 * sunrpc/svc_run.c (svc_run): Likewise.
6606 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6607
e84142d2
UD
66082011-04-21 Ulrich Drepper <drepper@gmail.com>
6609
6610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6611 problem in reallocation in last patch.
6612
877175d8
UD
66132011-04-20 Ulrich Drepper <drepper@gmail.com>
6614
6615 * sunrpc/Makefile: Move inclusion of Rules.
6616
ab8eed78
UD
66172011-04-19 Ulrich Drepper <drepper@gmail.com>
6618
6619 * nss/nss_files/files-initgroups.c: New file.
6620 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6621 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6622 _nss_files_initgroups_dyn.
6623
e3d8f584
RS
66242011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6625
6626 * elf/elf.h (R_ARM_IRELATIVE): Define.
6627
af190f45
UD
66282011-04-19 Ulrich Drepper <drepper@gmail.com>
6629
6630 * po/ru.po: Update from translation team.
6631
53cf59ef
UD
66322011-04-17 Ulrich Drepper <drepper@gmail.com>
6633
6634 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6635 dependencies.
6636
4c559bcd
MF
66372011-02-06 Mike Frysinger <vapier@gentoo.org>
6638
6639 [BZ #12653]
6640 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6641 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6642 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6643 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6645
4420675c
AS
66462011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6647
6648 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6649 differing bytes.
6650 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6653
75ea32ab
UD
66542011-04-17 Ulrich Drepper <drepper@gmail.com>
6655
6656 [BZ #12420]
6657 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6658 storing it.
6659 * stdlib/bug-getcontext.c: New file.
6660 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6661
27390476
AK
66622011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6663
6664 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6665 instructions into .machine "z9-109".
6666 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6667 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6668
10442705
AK
66692011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6670
6671 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6672 between environment variables and auxiliary vector.
6673
7b57bfe5
UD
66742011-04-16 Ulrich Drepper <drepper@gmail.com>
6675
6676 * Makefile: Add rules to build linkobj/libc.so.
6677 * include/libc-symbols.h: Define libc_hidden_nolink.
6678 * include/rpc/auth.h: Mark functions which are to be hidden.
6679 * include/rpc/auth_des.h: Likewise.
6680 * include/rpc/auth_unix.h: Likewise.
6681 * include/rpc/clnt.h: Likewise.
6682 * include/rpc/des_crypt.h: Likewise.
6683 * include/rpc/key_prot.h: Likewise.
6684 * include/rpc/pmap_clnt.h: Likewise.
6685 * include/rpc/pmap_prot.h: Likewise.
6686 * include/rpc/pmap_rmt.h: Likewise.
6687 * include/rpc/rpc_msg.h: Likewise.
6688 * include/rpc/svc.h: Likewise.
6689 * include/rpc/svc_auth.h: Likewise.
6690 * include/rpc/xdr.h: Likewise.
6691 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6692 * nss/Makefile: Likewise.
6693 * sunrpc/Makefile: Don't install headers. Build library with normal
6694 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6695 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6696 for the compat linking library. Remove use of INTDEF/INTUSE.
6697 * sunrpc/auth_none.c: Likewise.
6698 * sunrpc/auth_unix.c: Likewise.
6699 * sunrpc/authdes_prot.c: Likewise.
6700 * sunrpc/authuxprot.c: Likewise.
6701 * sunrpc/clnt_gen.c: Likewise.
6702 * sunrpc/clnt_perr.c: Likewise.
6703 * sunrpc/clnt_raw.c: Likewise.
6704 * sunrpc/clnt_simp.c: Likewise.
6705 * sunrpc/clnt_tcp.c: Likewise.
6706 * sunrpc/clnt_udp.c: Likewise.
6707 * sunrpc/clnt_unix.c: Likewise.
6708 * sunrpc/des_crypt.c: Likewise.
6709 * sunrpc/des_soft.c: Likewise.
6710 * sunrpc/get_myaddr.c: Likewise.
6711 * sunrpc/key_call.c: Likewise.
6712 * sunrpc/key_prot.c: Likewise.
6713 * sunrpc/netname.c: Likewise.
6714 * sunrpc/pm_getmaps.c: Likewise.
6715 * sunrpc/pm_getport.c: Likewise.
6716 * sunrpc/pmap_clnt.c: Likewise.
6717 * sunrpc/pmap_prot.c: Likewise.
6718 * sunrpc/pmap_prot2.c: Likewise.
6719 * sunrpc/pmap_rmt.c: Likewise.
6720 * sunrpc/publickey.c: Likewise.
6721 * sunrpc/rpc_cmsg.c: Likewise.
6722 * sunrpc/rpc_common.c: Likewise.
6723 * sunrpc/rpc_dtable.c: Likewise.
6724 * sunrpc/rpc_prot.c: Likewise.
6725 * sunrpc/rpc_thread.c: Likewise.
6726 * sunrpc/rtime.c: Likewise.
6727 * sunrpc/svc.c: Likewise.
6728 * sunrpc/svc_auth.c: Likewise.
6729 * sunrpc/svc_authux.c: Likewise.
6730 * sunrpc/svc_raw.c: Likewise.
6731 * sunrpc/svc_run.c: Likewise.
6732 * sunrpc/svc_simple.c: Likewise.
6733 * sunrpc/svc_tcp.c: Likewise.
6734 * sunrpc/svc_udp.c: Likewise.
6735 * sunrpc/svc_unix.c: Likewise.
6736 * sunrpc/svcauth_des.c: Likewise.
6737 * sunrpc/xcrypt.c: Likewise.
6738 * sunrpc/xdr.c: Likewise.
6739 * sunrpc/xdr_array.c: Likewise.
6740 * sunrpc/xdr_float.c: Likewise.
6741 * sunrpc/xdr_intXX_t.c: Likewise.
6742 * sunrpc/xdr_mem.c: Likewise.
6743 * sunrpc/xdr_rec.c: Likewise.
6744 * sunrpc/xdr_ref.c: Likewise.
6745 * sunrpc/xdr_sizeof.c: Likewise.
6746 * sunrpc/xdr_stdio.c: Likewise.
6747
e6c61494
UD
67482011-04-10 Ulrich Drepper <drepper@gmail.com>
6749
6750 [BZ #12650]
6751 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6752 * sysdeps/ia64/dl-tls.h: Likewise.
6753 * sysdeps/powerpc/dl-tls.h: Likewise.
6754 * sysdeps/s390/dl-tls.h: Likewise.
6755 * sysdeps/sh/dl-tls.h: Likewise.
6756 * sysdeps/sparc/dl-tls.h: Likewise.
6757 * sysdeps/x86_64/dl-tls.h: Likewise.
6758 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6759
34fe483e
AS
67602011-03-14 Andreas Schwab <schwab@redhat.com>
6761
6762 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6763 rpath element also skip the following colon.
6764 (expand_dynamic_string_token): Add is_path parameter and pass
6765 down to DL_DST_REQUIRED and _dl_dst_substitute.
6766 (decompose_rpath): Call expand_dynamic_string_token with
6767 non-zero is_path. Ignore empty rpaths.
6768 (_dl_map_object_from_fd): Call expand_dynamic_string_token
6769 with zero is_path.
6770
f12a32e6
AS
67712011-04-08 Andreas Schwab <schwab@linux-m68k.org>
6772
6773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6774 Make cancelable.
6775
38a7d692
UD
67762011-04-09 Ulrich Drepper <drepper@gmail.com>
6777
6778 [BZ #12655]
6779 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6780 Patch by Filipe David Manana <fdmanana@apache.org>.
6781
e451d22b
AS
67822011-04-07 Andreas Schwab <schwab@redhat.com>
6783
6784 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6785 Maintain aligned stack.
6786 (CHECK_RSP): Remove unused macro.
6787
dedc7c7b
UD
67882011-04-03 Ulrich Drepper <drepper@gmail.com>
6789
6790 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
6791 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
6792
94521213
UD
67932011-04-02 Ulrich Drepper <drepper@gmail.com>
6794
6795 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
6796
8cb700c0 6797 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 6798
0354e355
L
67992011-03-26 H.J. Lu <hongjiu.lu@intel.com>
6800
6801 [BZ #12518]
6802 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
6803 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6804 * sysdeps/x86_64/memmove.c: New file.
6805 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
6806 (memcpy): Renamed to ...
6807 (__new_memcpy): This.
6808 (memcpy): Provide GLIBC_2_14 memcpy.
6809 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
6810 (memcpy): Provide GLIBC_2_2_5 memcpy.
6811
8593482f
UD
68122011-04-01 Ulrich Drepper <drepper@gmail.com>
6813
6814 [BZ #12631]
6815 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
6816
81a5726b
AS
68172011-03-30 Andreas Schwab <schwab@redhat.com>
6818
6819 * misc/syncfs.c: New file.
6820 * misc/Makefile (routines): Add syncfs.
6821 * posix/unistd.h: Declare syncfs.
6822 * sysdeps/unix/syscalls.list: Add syncfs.
6823
00e5419f
AS
68242011-04-01 Andreas Schwab <schwab@redhat.com>
6825
6826 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
6827 open_by_handle_at.
6828 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6829 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6831 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6833 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6835
748876bf
UD
68362011-04-01 Ulrich Drepper <drepper@gmail.com>
6837
658e451d
UD
6838 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
6839 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6840 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
6841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6842 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6843 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6845
748876bf
UD
6846 * io/Makefile: Compile fallocate.c, fallocate64.c, and
6847 sync_file_range.c with -fexceptions.
6848 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
6849 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
6850 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6851 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6852 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6853 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
6855 sync_file_range as cancellation point
6856 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
6857 now a wrapper around __call_sync_file_range with cancellation handling.
6858 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
6859 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
6860 function name to __call_sync_file_range.
6861 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
6862 Add call_sync_file_range.
748876bf 6863
6e63d5e1
AS
68642011-04-01 Andreas Schwab <schwab@redhat.com>
6865
6866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 6867 bits/timex.h.
6e63d5e1 6868
46998f74
UD
68692011-04-01 Ulrich Drepper <drepper@gmail.com>
6870
4c1423ed
UD
6871 * iconv/iconv.h: Fix typo in comment.
6872 * io/fcntl.h: Likewise.
6873 * libio/stdio.h: Likewise.
6874 * posix/spawn.h: Likewise.
6875 * posix/unistd.h: Likewise.
6876 * stdlib/stdlib.h: Likewise.
6877 * time/time.h: Likewise.
6878 * wcsmbs/wchar.h: Likewise.
6879
158648c0
UD
6880 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
6881 open_by_handle): Add.
6882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
6883 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
6884 Augment a few comments.
6885 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6887 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6888 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6889 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6890 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
6891 open_by_handle.
6892
46998f74
UD
6893 * io/fcntl.h (AT_EMPTY_PATH): Define.
6894
83fe108b
UD
68952011-03-30 Ulrich Drepper <drepper@gmail.com>
6896
6897 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
6898 * sysdeps/unix/sysv/linux/bits/time.h: New file.
6899 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
6900 to...
6901 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
6902 * Versions.def: Add GLIBC_2.14.
6903 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
6904 Export.
83fe108b 6905
bb242059
UD
69062011-03-22 Ulrich Drepper <drepper@gmail.com>
6907
6908 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
6909 round counter.
6910 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6911
c97a1282
L
69122011-03-20 H.J. Lu <hongjiu.lu@intel.com>
6913
6914 [BZ #12597]
6915 * string/test-strncmp.c (do_page_test): New function.
6916 (check2): Likewise.
6917 (test_main): Call check2.
6918 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
6919
2a115601
UD
69202011-03-20 Ulrich Drepper <drepper@gmail.com>
6921
6922 [BZ #12587]
6923 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
6924 Handle cache information in CPU leaf 4.
6925 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6926
8126d904
UD
69272011-03-18 Ulrich Drepper <drepper@gmail.com>
6928
042c49c6 6929 [BZ #12583]
8126d904
UD
6930 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
6931 character representation.
6932 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
6933
ccfe366e
RA
69342011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
6935
6936 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
6937 END(__isnan) to END(__isnanf) to match function entry point/label
6938 EALIGN(__isnanf,...).
6939
c6e13027
JJ
69402011-03-10 Jakub Jelinek <jakub@redhat.com>
6941
6942 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
6943
33f85a3f
UD
69442011-03-10 Ulrich Drepper <drepper@gmail.com>
6945
028478fa
UD
6946 [BZ #12510]
6947 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
6948 copy from the symbol referenced in the relocation to initialize the
6949 used variable.
6950 Patch by Piotr Bury <pbury@goahead.com>.
6951 * elf/Makefile: Add rules to build and tst-unique3.
6952 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
6953 * elf/tst-unique3.cc: New file.
6954 * elf/tst-unique3.h: New file.
6955 * elf/tst-unique3lib.cc: New file.
6956 * elf/tst-unique3lib2.cc: New file.
6957
33f85a3f
UD
6958 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
6959
03592fc7
MF
69602011-03-10 Mike Frysinger <vapier@gentoo.org>
6961
6962 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
6963 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
6964 to _start.
03592fc7 6965
6a5ee102
UD
69662011-03-06 Ulrich Drepper <drepper@gmail.com>
6967
6968 * elf/dl-load.c (_dl_map_object): If we are looking for the first
6969 to-be-loaded object along a path to loader is ld.so.
6970
7e4ba49c
HJ
69712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6972 Ulrich Drepper <drepper@gmail.com>
6973
6974 * sysdeps/x86_64/memset.S: After aligning destination, code
6975 branches to different locations depending on the value of
6976 misalignment, when multiarch is enabled. Fix this.
6977
69782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6979
6980 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
6981 Set _x86_64_preferred_memory_instruction for AMD processsors.
6982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6983 Set bit_Prefer_SSE_for_memop for AMD processors.
6984
13a804de
UD
69852011-03-04 Ulrich Drepper <drepper@gmail.com>
6986
6987 * libio/fmemopen.c (fmemopen): Optimize a bit.
6988
9d25c392
AS
69892011-03-03 Andreas Schwab <schwab@redhat.com>
6990
6991 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
6992
a5543c6a
RM
69932011-03-03 Roland McGrath <roland@redhat.com>
6994
6995 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
6996
012d35f7
DM
69972011-02-28 Aurelien Jarno <aurelien@aurel32.net>
6998
7e4ba49c 6999 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7000 __bzero_ultra1 instead of __memset_ultra1.
7001
4bff6e01
AS
70022011-02-23 Andreas Schwab <schwab@redhat.com>
7003 Ulrich Drepper <drepper@gmail.com>
7004
7005 [BZ #12509]
7006 * include/link.h (struct link_map): Add l_orig_initfini.
7007 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7008 returning unsuccessfully.
7009 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7010 close of a file loaded at startup, restore the original l_initfini
7011 list.
7012 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7013 list, store the pointer.
7014 * elf/Makefile ($(objpfx)noload-mem): New rule.
7015 (noload-ENV): Define.
7016 (tests): Add $(objpfx)noload-mem.
7017 * elf/noload.c: Include <memcheck.h>.
7018 (main): Call mtrace. Close all opened handles.
7019
f2092faf
AS
70202011-02-17 Andreas Schwab <schwab@redhat.com>
7021
7022 [BZ #12454]
7023 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7024 dependencies are missing.
7025
6c8a2e88
ST
70262011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7027
f2092faf 7028 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7029 Hurd needs munmap.
7030 * sysdeps/mach/hurd/ifreq.h: New file.
7031
84a42118
PB
70322011-01-27 Petr Baudis <pasky@suse.cz>
7033 Ulrich Drepper <drepper@gmail.com>
7034
071f805e 7035 [BZ 12445]#
84a42118
PB
7036 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7037 to extend_alloca().
7038 * stdio-common/bug23.c: New file.
7039 * stdio-common/Makefile (tests): Add bug23.
7040
e23fe25b
AS
70412010-09-28 Andreas Schwab <schwab@redhat.com>
7042 Ulrich Drepper <drepper@gmail.com>
7043
7044 [BZ #12489]
7045 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7046 before performing relro protection. At old place add assertion
7047 to make sure nothing changed.
7048
d3f02e10
NS
70492011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7050 Glauber de Oliveira Costa <glommer@gmail.com>
7051
7052 * elf/elf.h: Add new ARM TLS relocs.
7053
d55fd7a5
RA
70542011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7055
7056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7057 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7058 cast from r3.
7059 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7060 'tests' variable.
7061 * sysdeps/wordsize-64/tst-writev.c: New file.
7062
2206397e
RA
70632011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7064
7065 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7066 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7067 insns in _dl_start to prevent a TOC reference before relocs are
7068 resolved.
7069
e9433893
UD
70702011-02-15 Ulrich Drepper <drepper@gmail.com>
7071
7072 [BZ #12469]
7073 * Makeconfig: Remove RANLIB definition.
7074 * Makerules: Don't use RANLIB.
7075 * aclocal.m4: Remove ranlib test.
7076 * configure.in: No need to check for ranlib.
7077 * elf/rtld-Rules: Don't use RANLIB.
7078
f75286c6
ST
70792011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7080
8e31c82d
ST
7081 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7082 protection macro.
7083 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7084 inclusion protection macro.
7085
f75286c6
ST
7086 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7087 SIGRTMIN and SIGRTMAX and print information in that case only when
7088 SIGRTMIN is defined.
7089
c1d0e639
JJ
70902011-02-11 Jakub Jelinek <jakub@redhat.com>
7091
7092 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7093 arginfo fn returning -1.
7094
7095 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7096 and thousands string is zero terminated.
7097
edf9294e
AS
70982011-02-03 Andreas Schwab <schwab@redhat.com>
7099
7100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7101 sysdeps/unix/sysv/linux/bits/socket.h.
7102
2b7e92df
ST
71032011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7104
edf9294e
AS
7105 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7106 (__CPU_COUNT): Remove old macros.
7107 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7108 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7109 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7110 (__sched_cpualloc, __sched_cpufree): Add declarations.
7111
a4c7ea7b
UD
71122011-02-05 Ulrich Drepper <drepper@gmail.com>
7113
7114 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7115 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7116 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7117 (readdhstai): Return value of addhstaiX call.
7118 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7119 (addgrbyX): Return value returned by cache_addgr.
7120 (readdgrbyname): Return value returned by addgrbyX.
7121 (readdgrbygid): Likewise.
7122 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7123 (addpwbyX): Return value returned by cache_addpw.
7124 (readdpwbyname): Return value returned by addhstbyX.
7125 (readdpwbyuid): Likewise.
7126 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7127 (addservbyX): Return value returned by cache_addserv.
7128 (readdservbyname): Return value returned by addservbyX:
7129 (readdservbyport): Likewise.
7130 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7131 (addhstbyX): Return value returned by cache_addhst.
7132 (readdhstbyname): Return value returned by addhstbyX.
7133 (readdhstbyaddr): Likewise.
7134 (readdhstbynamev6): Likewise.
7135 (readdhstbyaddrv6): Likewise.
7136 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7137 (readdinitgroups): Return value returned by addinitgroupsX.
7138 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7139 (prune_cache): Keep track of timeout value of re-added entries.
7140 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7141 * nscd/nscd.h: Adjust prototypes of readd* functions.
7142
a0bf67cc
RM
71432011-02-04 Roland McGrath <roland@redhat.com>
7144
7145 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7146 (nis_stats): Likewise.
7147 * nis/nis_modify.c (nis_modify): Likewise.
7148 * nis/nis_remove.c (nis_remove): Likewise.
7149 * nis/nis_add.c (nis_add): Likewise.
7150
7151 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7152
7153 * posix/fnmatch_loop.c: Add some consts.
7154
7155 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7156
435b95eb
L
71572011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7158
7159 [BZ #12460]
7160 * config.make.in (config-cflags-novzeroupper): Define.
7161 * configure.in: Substitute libc_cv_cc_novzeroupper.
7162 * elf/Makefile (AVX-CFLAGS): Define.
7163 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7164 (CFLAGS-tst-auditmod4a.c): Likewise.
7165 (CFLAGS-tst-auditmod4b.c): Likewise.
7166 (CFLAGS-tst-auditmod6b.c): Likewise.
7167 (CFLAGS-tst-auditmod6c.c): Likewise.
7168 (CFLAGS-tst-auditmod7b.c): Likewise.
7169 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7170
8517b15e
UD
71712011-02-02 Ulrich Drepper <drepper@gmail.com>
7172
7173 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7174 function to the callback.
7175 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7176
10a656fe
AS
71772011-02-02 Andreas Schwab <schwab@redhat.com>
7178
7179 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7180 of errno.
7181
968dad0a
UD
71822011-01-19 Ulrich Drepper <drepper@gmail.com>
7183
9f94d2ea 7184 [BZ #11724]
968dad0a
UD
7185 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7186 of constructors.
7187 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7188 of destructors.
7189 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7190
7191 [BZ #11724]
7192 * elf/Makefile: Add rules to build and run new test.
7193 * elf/tst-initorder.c: New file.
7194 * elf/tst-initorder.exp: New file.
7195 * elf/tst-initordera1.c: New file.
7196 * elf/tst-initordera2.c: New file.
7197 * elf/tst-initordera3.c: New file.
7198 * elf/tst-initordera4.c: New file.
7199 * elf/tst-initorderb1.c: New file.
7200 * elf/tst-initorderb2.c: New file.
7201 * elf/tst-order-a1.c: New file.
7202 * elf/tst-order-a2.c: New file.
7203 * elf/tst-order-a3.c: New file.
7204 * elf/tst-order-a4.c: New file.
7205 * elf/tst-order-b1.c: New file.
7206 * elf/tst-order-b2.c: New file.
7207 * elf/tst-order-main.c: New file.
7208 New test case by George Gensure <werkt0@gmail.com>.
7209
86e92359
UD
72102010-10-01 Andreas Schwab <schwab@redhat.com>
7211
7212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7213 decoding ACE if AI_CANONIDN.
7214
5d5732b0
UD
72152011-01-18 Ulrich Drepper <drepper@gmail.com>
7216
7217 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7218
a77e8cbc
UD
72192011-01-17 Ulrich Drepper <drepper@gmail.com>
7220
6392473f
UD
7221 * version.h (RELEASE): Bump for 2.13 release.
7222 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7223
620a0529
UD
7224 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7225
18ba70a5
UD
7226 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7227 MADV_NOHUGEPAGE.
32465c3e
UD
7228 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7229 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7230 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7231 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7232 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7233 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7234
c0dafcf1
UD
7235 * posix/getconf.c: Update copyright year.
7236 * catgets/gencat.c: Likewise.
7237 * csu/version.c: Likewise.
7238 * debug/catchsegv.sh: Likewise.
7239 * debug/xtrace.sh: Likewise.
7240 * elf/ldconfig.c: Likewise.
7241 * elf/ldd.bash.in: Likewise.
7242 * elf/sprof.c (print_version): Likewise.
7243 * iconv/iconv_prog.c: Likewise.
7244 * iconv/iconvconfig.c: Likewise.
7245 * locale/programs/locale.c: Likewise.
7246 * locale/programs/localedef.c: Likewise.
7247 * malloc/memusage.sh: Likewise.
7248 * malloc/mtrace.pl: Likewise.
7249 * nscd/nscd.c (print_version): Likewise.
7250 * nss/getent.c: Likewise.
7251
a77e8cbc
UD
7252 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7253 PF_CAIF, and PF_ALG.
7254 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7255
77e8bddf
AS
72562011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7257
1f20b93a
AS
7258 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7259 (modules-names): Use them.
7260 (ifunc-test-modules, ifunc-pie-tests): Define.
7261 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7262 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7263 (test-extras): Likewise.
7264 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7265 $(compile-command.c).
7266 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7267 (all-built-dso): Define.
7268 (check-textrel.out, check-execstack.out): Depend on it.
7269
77e8bddf
AS
7270 * configure.in: Don't override --enable-multi-arch.
7271
bc425b33
UD
72722011-01-15 Ulrich Drepper <drepper@gmail.com>
7273
7274 [BZ #6812]
7275 * nscd/hstcache.c (tryagain): Define.
7276 (cache_addhst): Return tryagain not notfound for temporary errors.
7277 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7278 failed.
7279
794c3ad3
UD
72802011-01-14 Ulrich Drepper <drepper@gmail.com>
7281
70181fdd
UD
7282 [BZ #10563]
7283 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7284 to make the syscall.
7285 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7286
794c3ad3
UD
7287 [BZ #12378]
7288 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7289 and fall back to matching as normal character if the string ends before
7290 the matching ']' is found. This is what POSIX requires.
7291 * posix/testfnm.c: Adjust test result.
7292 * posix/globtest.sh: Adjust test result. Add new test.
7293 * posix/tst-fnmatch.input: Likewise.
7294 * posix/tst-fnmatch2.c: Add new test.
7295
68dc9497
AS
72962010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7297
7298 * elf/Makefile (check-execstack): Revert last change. Depend on
7299 check-execstack.h.
7300 (check-execstack.h): New target.
7301 (generated): Add check-execstack.h.
7302 * elf/check-execstack.c: Include "check-execstack.h".
7303 (main): Revert last change.
7304 (handle_file): Return zero if GNU_STACK is absent and
7305 DEFAULT_STACK_PERMS doesn't include PF_X.
7306
451f001b
UD
73072011-01-13 Ulrich Drepper <drepper@gmail.com>
7308
cfa28e56
UD
7309 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7310 in child fails because the descriptor is already closed.
8cf8ce17
UD
7311 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7312 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7313 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7314
1086d70d
UD
7315 [BZ #12397]
7316 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7317 syscall.
7318
451f001b
UD
7319 [BZ #10484]
7320 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7321 temporary buffer used to handle multi lookups locally.
a85b5cb4 7322 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7323
08769175
UD
73242011-01-12 Ulrich Drepper <drepper@gmail.com>
7325
7326 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7327 loader is ld.so.
7328
5e49c52e
UD
73292011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7330
7331 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7332 alignment for SSE2.
7333
60522a5f
UD
73342011-01-12 Ulrich Drepper <drepper@gmail.com>
7335
7336 [BZ #12394]
7337 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7338 characters. When rounding increased number of integer digits recompute
7339 number of groups.
7340 * stdio-common/tst-grouping.c: New file.
7341 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7342
f257bbd7
UD
73432011-01-09 Ulrich Drepper <drepper@gmail.com>
7344
7345 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7346 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7347
7348 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7349 void.
7350 * bits/select.h: Likewise.
7351
fa9c15cb
UD
73522011-01-08 Ulrich Drepper <drepper@gmail.com>
7353
7354 * po/ja.po: Update from translation team.
7355
16c2895f
DM
73562011-01-04 David S. Miller <davem@sunset.davemloft.net>
7357
7358 [BZ #11155]
7359 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7360 implementation just like for lxstat, fxstatat, et al.
7361
2543fef2
JM
73622010-12-27 Jim Meyering <meyering@redhat.com>
7363
7364 [BZ #12348]
7365 * posix/regexec.c (build_trtable): Return failure indication upon
7366 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7367
98727dbe
UD
73682010-12-25 Ulrich Drepper <drepper@gmail.com>
7369
5bd6dc5c
UD
7370 [BZ #12201]
7371 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7372 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7373 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7374 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7375
97983464
UD
7376 [BZ #12207]
7377 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7378
98727dbe
UD
7379 [BZ #12204]
7380 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7381 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7382
4a531bb0
L
73832010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7384
7385 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7386 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7387 script has SORT_BY_INIT_PRIORITY.
7388 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7389 NO_CTORS_DTORS_SECTIONS is defined.
7390 * elf/soinit.c: Likewise.
7391 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7392 NO_CTORS_DTORS_SECTIONS is defined.
7393 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7394 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7395 * sysdeps/sh/init-first.c: Likewise.
7396 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7397
07eb4b71
UD
73982010-12-24 Ulrich Drepper <drepper@gmail.com>
7399
7400 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7401 always use the slow path.
7402
30950a5f
RA
74032010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7404
7405 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7406 similar rule which adds the sysdep directories to the header search in
7407 order to pick up the correct platform stackinfo.h.
7408 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7409 perform test if it is, otherwise return successfully without testing.
7410 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7411 DEFAULT_STACK_PERMS define in stackinfo.h.
7412 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7413 defined in stackinfo.h.
7414 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7415 DEFAULT_STACK_PERMS defined in stackinfo.h.
7416 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7417 * sysdeps/ia64/stackinfo.h: Likewise.
7418 * sysdeps/s390/stackinfo.h: Likewise.
7419 * sysdeps/sh/stackinfo.h: Likewise.
7420 * sysdeps/sparc/stackinfo.h: Likewise.
7421 * sysdeps/x86_64/stackinfo.h: Likewise.
7422 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7423 PF_X for powerpc64. Retain PF_X for powerpc32.
7424
db753e2c
UD
74252010-12-19 Ulrich Drepper <drepper@gmail.com>
7426
14b697f7
UD
7427 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7428 accurately.
db753e2c
UD
7429 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7430 GETDENTS_64BIT_ALIGNED.
7431
28300719
UD
74322010-12-14 Ulrich Drepper <dreper@gmail.com>
7433
14b697f7 7434 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7435
4f197237
AS
74362010-12-10 Andreas Schwab <schwab@redhat.com>
7437
dbb0472f
AS
7438 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7439 _GNU_SOURCE.
7440
4f197237
AS
7441 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7442 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7443 Remove __restrict.
7444 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7445 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7446
fb88ac72
UD
74472010-12-09 Ulrich Drepper <drepper@gmail.com>
7448
7449 [BZ #11655]
7450 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7451 are initialized.
7452
42acbb92
JJ
74532010-12-09 Jakub Jelinek <jakub@redhat.com>
7454
7455 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7456
c038d98d
UD
74572010-12-03 Ulrich Drepper <drepper@gmail.com>
7458
7459 * po/it.po: Update from translation team.
7460
3a4a2499
L
74612010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7462
7463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7464 unused codes.
7465
1e24cf6e
UD
74662010-11-30 Ulrich Drepper <drepper@gmail.com>
7467
7468 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7469
a7690819
AS
74702010-11-24 Andreas Schwab <schwab@redhat.com>
7471
7472 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7473 specially.
7474 (gaih_getanswer_slice): Likewise.
7475
3bf8d1b1
JJ
74762010-10-20 Jakub Jelinek <jakub@redhat.com>
7477
7478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7479
6db52fbb
PB
74802010-05-31 Petr Baudis <pasky@suse.cz>
7481
7482 [BZ #11149]
7483 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7484 silently even in the chroot mode.
7485
eaca7569
UD
74862010-11-22 Ulrich Drepper <drepper@gmail.com>
7487
7488 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7489 last patch a bit. Pretty printing
7490
3056dcdb
UD
74912010-05-31 Petr Baudis <pasky@suse.cz>
7492
7493 [BZ #10085]
7494 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7495 initialization of skip_initgroups_dyn.
7496
cf7c9078
UD
74972010-11-19 Ulrich Drepper <drepper@gmail.com>
7498
7499 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7500 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7501
a1fb5e3e
UD
75022010-11-16 Ulrich Drepper <drepper@gmail.com>
7503
7504 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7505
3540d66b
AS
75062010-11-11 Andreas Schwab <schwab@redhat.com>
7507
7508 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7509 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7510 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7511 ($(objpfx)tst-fnmatch-mem): New rule.
7512 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7513 * posix/tst-fnmatch.c (main): Call mtrace.
7514
13b69574
L
75152010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7516
7517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7518 Support Intel processor model 6 and model 0x2c.
7519
da93d214
LM
75202010-11-10 Luis Machado <luisgpm@br.ibm.com>
7521
7522 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7523 signed comparison.
7524
8ca52c6e
L
75252010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7526
7527 [BZ #12205]
7528 * string/test-strncasecmp.c (check_result): New function.
7529 (do_one_test): Use it.
7530 (check1): New function.
7531 (test_main): Use it.
7532 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7533 Support strcasecmp and strncasecmp.
7534
69da074d
UD
75352010-11-08 Ulrich Drepper <drepper@gmail.com>
7536
7537 [BZ #12194]
7538 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7540
ff02d528
L
75412010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7542
7543 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7544 IFUNC support.
7545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7546 memset-x86-64.
7547 * sysdeps/x86_64/multiarch/bzero.S: New file.
7548 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7549 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7550 * sysdeps/x86_64/multiarch/memset.S: New file.
7551 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7553 Set bit_Prefer_SSE_for_memop for Intel processors.
7554 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7555 Define.
7556 (index_Prefer_SSE_for_memop): Define.
7557 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7558
344d0b54
LM
75592010-11-04 Luis Machado <luisgpm@br.ibm.com>
7560
7561 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7562 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7563
c0dde15b
UD
75642010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7565
7566 [BZ #12191]
7567 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7568 (__x86_64_raw_data_cache_size_half): Likewise.
7569 (__x86_64_raw_shared_cache_size): Likewise.
7570 (__x86_64_raw_shared_cache_size_half): Likewise.
7571
7572 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7573 (__x86_64_raw_data_cache_size_half): Likewise.
7574 (__x86_64_raw_shared_cache_size): Likewise.
7575 (__x86_64_raw_shared_cache_size_half): Likewise.
7576 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7577 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7578 and __x86_64_raw_shared_cache_size_half. Round
7579 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7580 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7581 to multiple of 256 bytes.
7582
0e516e0e
MS
75832010-11-03 Ulrich Drepper <drepper@gmail.com>
7584
7585 [BZ #12167]
7586 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7587 of inacessible symlinks. Verify result of symlink before returning it.
7588 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7589 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7590
0e012e87
ER
75912010-10-28 Erich Ritz <erichritz@gmail.com>
7592
7593 * math/math.h (isinf): Fix typo in comment.
7594
de0ff7bc
UD
75952010-11-01 Ulrich Drepper <drepper@gmail.com>
7596
7597 * po/da.po: Update from translation team.
7598
fa41c84d
UD
75992010-10-26 Ulrich Drepper <drepper@gmail.com>
7600
7601 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7602 is added to the list.
7603
f0967738
AK
76042010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7605 Ulrich Drepper <drepper@gmail.com>
7606
7607 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7608 the global list here. Move code to...
7609 (_dl_add_to_namespace_list): ...here. New function.
7610 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7611 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7612 * elf/dl-load.c (lose): Don't remove the element from the list.
7613 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7614 (_dl_map_object): Likewise.
7615
76162010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
7617
7618 [BZ #12159]
7619 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7620 into all bytes of SSE register.
7621 Patch by Richard Li <richardpku@gmail.com>.
7622
f0967738 76232010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
7624
7625 [BZ #12140]
7626 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7627 perturbing.
7628
d0b9e94f
MB
76292010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7630
7631 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7632 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7633 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7634 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7636 submachine.
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7638
8e9f92e9
AS
76392010-10-22 Andreas Schwab <schwab@redhat.com>
7640
7641 * include/dlfcn.h (__RTLD_SECURE): Define.
7642 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7643 mode & __RTLD_SECURE instead.
7644 (open_path): Rename preloaded parameter to secure.
7645 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7646 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7647 * elf/dl-deps.c (openaux): Likewise.
7648 * elf/rtld.c (struct map_args): Remove is_preloaded.
7649 (map_doit): Don't use it.
7650 (dl_main): Likewise.
7651 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7652 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7653
bc96fbda
AS
76542010-09-09 Andreas Schwab <schwab@redhat.com>
7655
7656 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7657 (sysd-rules-targets): Remove duplicates.
7658 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7659 rtld-%.$o dependency.
7660
22cd1c9b
AS
76612010-10-18 Andreas Schwab <schwab@redhat.com>
7662
7663 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7664 _dl_map_object do it.
7665
18edac48
UD
76662010-10-19 Ulrich Drepper <drepper@gmail.com>
7667
7668 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7669 fast fma builtins, define the macros in the C99 standard.
7670 (FP_FAST_FMAF): Likewise.
7671 (FP_FAST_FMAL): Likewise.
7672 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7673
7674 * bits/mathdef.h: Update copyright year.
7675 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7676
d2050124
MM
76772010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7678
7679 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7680 builtins, define the macros in the C99 standard.
7681 (FP_FAST_FMAF): Likewise.
7682 (FP_FAST_FMAL): Likewise.
7683 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7684 multiply/add.
7685 (FP_FAST_FMAF): Likewise.
7686
475facd1
JJ
76872010-10-15 Jakub Jelinek <jakub@redhat.com>
7688
7689 [BZ #3268]
7690 * math/libm-test.inc (fma_test): Some new testcases.
7691 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7692 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7693 y and infinite z. Do multiplication by C already in long double.
7694 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7696 y and infinite z. Do bitwise or of inexact bit into u.d.
7697 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7698 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7699 * sysdeps/i386/fpu/s_fma.S: Removed.
7700 * sysdeps/i386/fpu/s_fmal.S: Removed.
7701
7c08a05c
JJ
77022010-10-16 Jakub Jelinek <jakub@redhat.com>
7703
7704 [BZ #3268]
7705 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7707 computation is not scheduled after fetestexcept. Fix value
7708 of minimum denormal long double.
7709
f3f7372d
JJ
77102010-10-14 Jakub Jelinek <jakub@redhat.com>
7711
7712 [BZ #3268]
7713 * math/libm-test.inc (fma_test): Add some more tests.
7714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7715 correctly.
7716
14d43591
AS
77172010-10-15 Andreas Schwab <schwab@redhat.com>
7718
7719 * scripts/data/localplt-s390-linux-gnu.data: New file.
7720 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7721
5e908464
JJ
77222010-10-13 Jakub Jelinek <jakub@redhat.com>
7723
7724 [BZ #3268]
7725 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7726 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7727 instead of dbl-64.
7728 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7729 inlines.
7730 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7732 if one of x and y is very large and the other is subnormal.
7733 * sysdeps/s390/fpu/s_fmaf.c: New file.
7734 * sysdeps/s390/fpu/s_fma.c: New file.
7735 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7736 * sysdeps/powerpc/fpu/s_fma.S: New file.
7737 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7738 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7739 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7740
77412010-10-12 Jakub Jelinek <jakub@redhat.com>
7742
7743 [BZ #3268]
7744 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7745 fma tests.
7746 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7747 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7748 * sysdeps/i386/i686/multiarch/s_fma.c: Include
7749 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7750 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7751 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7752 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7753
b833d51f
UD
77542010-10-12 Ulrich Drepper <drepper@redhat.com>
7755
7756 [BZ #12078]
7757 * posix/regcomp.c (parse_branch): One more memory leak plugged.
7758 * posix/bug-regex31.input: Add test case.
7759
1751705d
UD
77602010-10-11 Ulrich Drepper <drepper@gmail.com>
7761
e9b9cbf5
UD
7762 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7763 * posix/bug-regex31.input: New file.
7764
7765 [BZ #12078]
7766 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7767 (parse_sub_exp): Fix last change, use postorder.
7768
ef06edbe
UD
7769 * posix/bug-regex31.c: New file.
7770 * posix/Makefile: Add rules to build and run bug-regex31.
7771
a129c80d
UD
7772 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7773
7774 [BZ #12078]
7775 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7776
b76b818e
UD
7777 [BZ #12108]
7778 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7779 to have entries in sys_siglist.
7780
1751705d
UD
7781 [BZ #12093]
7782 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7783 be NULL.
7784
9ff8d36f
JJ
77852010-10-07 Jakub Jelinek <jakub@redhat.com>
7786
7787 [BZ #3268]
7788 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7789 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7790 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7791 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
7792 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7793 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
7794 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
7795 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
7796 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
7797 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
7798 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
7799 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
7800 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7801 * math/ftestexcept.c (fetestexcept): Likewise.
7802 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
7803 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
7804 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7805 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
7806 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
7807 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
7808 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7809
af325969
UD
78102010-10-11 Ulrich Drepper <drepper@gmail.com>
7811
c579b202 7812 [BZ #12107]
af325969
UD
7813 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
7814 newline.
7815
67a67b95
UD
78162010-10-06 Ulrich Drepper <drepper@gmail.com>
7817
7818 * string/bug-strstr1.c: New file.
7819 * string/Makefile: Add rules to build and run bug-strstr1.
7820
5fb308bc
EB
78212010-10-05 Eric Blake <eblake@redhat.com>
7822
7823 [BZ #12092]
7824 * string/str-two-way.h (two_way_long_needle): Always clear memory
7825 when skipping input due to the shift table.
7826
45db99c7
UD
78272010-10-03 Ulrich Drepper <drepper@gmail.com>
7828
3b111893
UD
7829 [BZ #12005]
7830 * malloc/mcheck.c: Handle large requests.
7831
45db99c7
UD
7832 [BZ #12077]
7833 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
7834 for strncmp and strncasecmp.
7835 * string/stratcliff.c: Add tests for strcmp and strncmp.
7836 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
7837
cf7a1eb8
NI
78382010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7839
7840 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
7841 __set_fpscr.
7842
6484ba5e
AJ
78432010-09-30 Andreas Jaeger <aj@suse.de>
7844
7845 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
7846 (CGROUP_SUPER_MAGIC): Define.
7847 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7848 Handle btrfs and cgroup file systems.
7849 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7850 Likewise.
7851
91c42559
LM
78522010-09-27 Luis Machado <luisgpm@br.ibm.com>
7853
7854 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
7855 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
7856
87a97932
AK
78572010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7858
7859 [BZ #12067]
7860 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
7861 trying to locate the ELF header.
7862
c21cc9bc
AS
78632010-09-27 Andreas Schwab <schwab@redhat.com>
7864
7865 [BZ #11611]
7866 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
7867 Mask out sign-bit copies when constructing f_fsid.
7868
315970f6
PB
78692010-09-24 Petr Baudis <pasky@suse.cz>
7870
7871 * debug/stack_chk_fail_local.c: Add missing licence exception.
7872 * debug/warning-nop.c: Likewise.
7873
1ac7a2c7
JM
78742010-09-15 Joseph Myers <joseph@codesourcery.com>
7875
7876 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
7877 implementing getdents64 using getdents syscall, set d_type if
7878 __ASSUME_GETDENTS32_D_TYPE.
7879
56801c50
AS
78802010-09-16 Andreas Schwab <schwab@redhat.com>
7881
7882 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
7883 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
7884
dda51327
UD
78852010-09-21 Ulrich Drepper <drepper@redhat.com>
7886
7887 [BZ #12037]
7888 * posix/unistd.h: Undo change of feature selection for ftruncate from
7889 2010-01-11.
7890
8ffcee4a
UD
78912010-09-20 Ulrich Drepper <drepper@redhat.com>
7892
a545ecd9 7893 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
7894 detection.
7895
e24f0a8b
AS
78962010-09-20 Andreas Schwab <schwab@redhat.com>
7897
7898 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
7899 fanotify_mark.
7900 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7901
7291c56f
AS
79022010-09-14 Andreas Schwab <schwab@redhat.com>
7903
7904 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
7905 variables after CHECK_SP call.
7906 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
7907
bc5fb037
AS
79082010-09-13 Andreas Schwab <schwab@redhat.com>
7909 Ulrich Drepper <drepper@redhat.com>
7910
7911 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
7912 re-relocationg ld.so.
7913 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
7914 _dl_init_paths call.
7915 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
7916 here anymore.
7917
e66e7419
UD
79182010-09-14 Ulrich Drepper <drepper@redhat.com>
7919
7920 * resolv/res_init.c (__res_vinit): Count the default server we added.
7921
c044aa75
CLT
79222010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
7923 Ulrich Drepper <drepper@redhat.com>
7924
7925 [BZ #11968]
7926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7927 (____longjmp_chk): Use %ebx for saving value across system call.
7928 Add unwind info.
7929
32cf4069
AS
79302010-09-06 Andreas Schwab <schwab@redhat.com>
7931
7932 * manual/Makefile: Don't mix pattern rules with normal rules.
7933
817328ee
AS
79342010-09-05 Andreas Schwab <schwab@linux-m68k.org>
7935
7936 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
7937 operation.
7938 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7939 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7940 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7941 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7943 Likewise.
7944
29fddf61
UD
79452010-09-04 Ulrich Drepper <drepper@redhat.com>
7946
7947 [BZ #11979]
7948 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
7949 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
7950
0959ffc9
UD
79512010-09-02 Ulrich Drepper <drepper@redhat.com>
7952
7953 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
7954 * sysdeps/x86_64/addmul_1.S: Likewise.
7955 * sysdeps/x86_64/lshift.S: Likewise.
7956 * sysdeps/x86_64/mul_1.S: Likewise.
7957 * sysdeps/x86_64/rshift.S: Likewise.
7958 * sysdeps/x86_64/sub_n.S: Likewise.
7959 * sysdeps/x86_64/submul_1.S: Likewise.
7960
ece29840
ST
79612010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7962
0959ffc9
UD
7963 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
7964 Define __sched_param instead of SCHED_* and sched_param when
ece29840 7965 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 7966 * bits/sched.h [__need_schedparam]
ece29840 7967 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
7968 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
7969 (__defined_schedparam): Define to 1.
ece29840
ST
7970 (__sched_param): New structure, identical to sched_param.
7971 (__need_schedparam): Undefine.
7972
e53a31fe
MF
79732010-08-31 Mike Frysinger <vapier@gentoo.org>
7974
fdc0c10d
MF
7975 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
7976 (epoll_create1): Declare.
7977
e53a31fe
MF
7978 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
7979
a726d796
AS
79802010-08-31 Andreas Schwab <schwab@redhat.com>
7981
7982 [BZ #7066]
7983 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
7984 shifting retval into place.
7985
2f3e3dc7
UD
79862010-09-01 Ulrich Drepper <drepper@redhat.com>
7987
f2933da9
UD
7988 * nis/rpcsvc/nis.h: Update copyright notice.
7989 * nis/rpcsvc/nis.x: Likewise.
7990 * nis/rpcsvc/nis_callback.h: Likewise.
7991 * nis/rpcsvc/nis_callback.x: Likewise.
7992 * nis/rpcsvc/nis_object.x: Likewise.
7993 * nis/rpcsvc/nis_tags.h: Likewise.
7994 * nis/rpcsvc/yp.h: Likewise.
7995 * nis/rpcsvc/yp.x: Likewise.
7996 * nis/rpcsvc/ypupd.h: Likewise.
7997 * nis/yp_xdr.c: Likewise.
7998 * nis/ypupdate_xdr.c: Likewise.
7999
2f3e3dc7
UD
8000 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8001 mainly the body of pmap_getport. Add parameters to specify timeouts.
8002 (pmap_getport): Use __libc_rpc_getport.
8003 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8004 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8005 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8006
f3dcc2f9
AS
80072010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8008
8009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8010 fanotify_mark.
8011
6d34eb5b
RM
80122010-08-27 Roland McGrath <roland@redhat.com>
8013
8014 * sysdeps/i386/i686/multiarch/Makefile
8015 (CFLAGS-varshift.c): New variable.
8016
9ea3de11
UD
80172010-08-27 Ulrich Drepper <drepper@redhat.com>
8018
c96d23fc
UD
8019 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8020 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8021
9ea3de11
UD
8022 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8023
8024 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8025
623aac7f
L
80262010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8027
8028 * sysdeps/x86_64/strlen.S: Unroll the loop.
8029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8030 strlen-sse2 strlen-sse2-bsf.
8031 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8032 __strlen_no_bsf if bit_Slow_BSF is set.
8033 (__strlen_sse42): Removed.
8034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8035 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8036
8b2b7715
RM
80372010-08-25 Roland McGrath <roland@redhat.com>
8038
8039 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8040 * sysdeps/x86_64/multiarch/varshift.c: New file.
8041 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8042 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8043 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8044 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8045
e73015f2
L
80462010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8047
8048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8049 strlen-sse2 strlen-sse2-bsf.
8050 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8051 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8052 (__strlen_sse2): Removed.
8053 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8054 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8056 bit_Slow_BSF for Atom.
8057 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8058 (index_Slow_BSF): Define.
8059 (HAS_SLOW_BSF): Define.
8060
df24a73e
UD
80612010-08-25 Ulrich Drepper <drepper@redhat.com>
8062
8063 [BZ #10851]
8064 * resolv/res_init.c (__res_vinit): When no server address at all
8065 is given default to loopback.
8066
f2ac4868
RM
80672010-08-24 Roland McGrath <roland@redhat.com>
8068
09055553
RM
8069 * configure.in: Remove config-name.h generation.
8070 * configure: Regenerated.
8071 * config-name.in: File removed.
8072 * scripts/config-uname.sh: New file.
8073 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8074 ($(objdir)config-name.h): New target.
8075
f2ac4868
RM
8076 * sunrpc/rpc_parse.h: Avoid nested comment.
8077
73f27d5e
RH
80782010-08-24 Richard Henderson <rth@redhat.com>
8079 Ulrich Drepper <drepper@redhat.com>
8080 H.J. Lu <hongjiu.lu@intel.com>
8081
8082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8084 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8085 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8086 _mm_alignr_epi8 with _mm_loadu_si128.
8087 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8088 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8089 (__m128i_shift_right): Removed.
8090 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8091 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8092 * sysdeps/x86_64/multiarch/varshift.h: New file.
8093 * sysdeps/x86_64/multiarch/varshift.S: New file.
8094
84b9230c
MF
80952010-08-21 Mike Frysinger <vapier@gentoo.org>
8096
8097 * configure.in: Move assembler checks to before sysdep dir checking.
8098
9bbd0ddc
PB
80992010-08-20 Petr Baudis <pasky@suse.cz>
8100
8101 * LICENSES: Sync the sunrpc license.
8102
9da4bb31
UD
81032010-08-19 Ulrich Drepper <drepper@redhat.com>
8104
a7ab6ec8
UD
8105 * sunrpc/auth_des.c: Update copyright notice once again.
8106 * sunrpc/auth_none.c: Likewise.
8107 * sunrpc/auth_unix.c: Likewise.
8108 * sunrpc/authdes_prot.c: Likewise.
8109 * sunrpc/authuxprot.c: Likewise.
8110 * sunrpc/bindrsvprt.c: Likewise.
8111 * sunrpc/clnt_gen.c: Likewise.
8112 * sunrpc/clnt_perr.c: Likewise.
8113 * sunrpc/clnt_raw.c: Likewise.
8114 * sunrpc/clnt_simp.c: Likewise.
8115 * sunrpc/clnt_tcp.c: Likewise.
8116 * sunrpc/clnt_udp.c: Likewise.
8117 * sunrpc/clnt_unix.c: Likewise.
8118 * sunrpc/des_crypt.c: Likewise.
8119 * sunrpc/des_soft.c: Likewise.
8120 * sunrpc/get_myaddr.c: Likewise.
8121 * sunrpc/getrpcport.c: Likewise.
8122 * sunrpc/key_call.c: Likewise.
8123 * sunrpc/key_prot.c: Likewise.
8124 * sunrpc/openchild.c: Likewise.
8125 * sunrpc/pm_getmaps.c: Likewise.
8126 * sunrpc/pm_getport.c: Likewise.
8127 * sunrpc/pmap_clnt.c: Likewise.
8128 * sunrpc/pmap_prot.c: Likewise.
8129 * sunrpc/pmap_prot2.c: Likewise.
8130 * sunrpc/pmap_rmt.c: Likewise.
8131 * sunrpc/rpc/auth.h: Likewise.
8132 * sunrpc/rpc/auth_unix.h: Likewise.
8133 * sunrpc/rpc/clnt.h: Likewise.
8134 * sunrpc/rpc/des_crypt.h: Likewise.
8135 * sunrpc/rpc/key_prot.h: Likewise.
8136 * sunrpc/rpc/netdb.h: Likewise.
8137 * sunrpc/rpc/pmap_clnt.h: Likewise.
8138 * sunrpc/rpc/pmap_prot.h: Likewise.
8139 * sunrpc/rpc/pmap_rmt.h: Likewise.
8140 * sunrpc/rpc/rpc.h: Likewise.
8141 * sunrpc/rpc/rpc_des.h: Likewise.
8142 * sunrpc/rpc/rpc_msg.h: Likewise.
8143 * sunrpc/rpc/svc.h: Likewise.
8144 * sunrpc/rpc/svc_auth.h: Likewise.
8145 * sunrpc/rpc/types.h: Likewise.
8146 * sunrpc/rpc/xdr.h: Likewise.
8147 * sunrpc/rpc_clntout.c: Likewise.
8148 * sunrpc/rpc_cmsg.c: Likewise.
8149 * sunrpc/rpc_common.c: Likewise.
8150 * sunrpc/rpc_cout.c: Likewise.
8151 * sunrpc/rpc_dtable.c: Likewise.
8152 * sunrpc/rpc_hout.c: Likewise.
8153 * sunrpc/rpc_main.c: Likewise.
8154 * sunrpc/rpc_parse.c: Likewise.
8155 * sunrpc/rpc_parse.h: Likewise.
8156 * sunrpc/rpc_prot.c: Likewise.
8157 * sunrpc/rpc_sample.c: Likewise.
8158 * sunrpc/rpc_scan.c: Likewise.
8159 * sunrpc/rpc_scan.h: Likewise.
8160 * sunrpc/rpc_svcout.c: Likewise.
8161 * sunrpc/rpc_tblout.c: Likewise.
8162 * sunrpc/rpc_util.c: Likewise.
8163 * sunrpc/rpc_util.h: Likewise.
8164 * sunrpc/rpcinfo.c: Likewise.
8165 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8166 * sunrpc/rpcsvc/key_prot.x: Likewise.
8167 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8168 * sunrpc/rpcsvc/mount.x: Likewise.
8169 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8170 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8171 * sunrpc/rpcsvc/rex.x: Likewise.
8172 * sunrpc/rpcsvc/rstat.x: Likewise.
8173 * sunrpc/rpcsvc/rusers.x: Likewise.
8174 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8175 * sunrpc/rpcsvc/spray.x: Likewise.
8176 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8177 * sunrpc/rtime.c: Likewise.
8178 * sunrpc/svc.c: Likewise.
8179 * sunrpc/svc_auth.c: Likewise.
8180 * sunrpc/svc_authux.c: Likewise.
8181 * sunrpc/svc_raw.c: Likewise.
8182 * sunrpc/svc_run.c: Likewise.
8183 * sunrpc/svc_simple.c: Likewise.
8184 * sunrpc/svc_tcp.c: Likewise.
8185 * sunrpc/svc_udp.c: Likewise.
8186 * sunrpc/svc_unix.c: Likewise.
8187 * sunrpc/svcauth_des.c: Likewise.
8188 * sunrpc/xcrypt.c: Likewise.
8189 * sunrpc/xdr.c: Likewise.
8190 * sunrpc/xdr_array.c: Likewise.
8191 * sunrpc/xdr_float.c: Likewise.
8192 * sunrpc/xdr_mem.c: Likewise.
8193 * sunrpc/xdr_rec.c: Likewise.
8194 * sunrpc/xdr_ref.c: Likewise.
8195 * sunrpc/xdr_sizeof.c: Likewise.
8196 * sunrpc/xdr_stdio.c: Likewise.
8197
9da4bb31
UD
8198 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8199 handling.
8200
bdaa77bc
AS
82012010-08-19 Andreas Schwab <schwab@redhat.com>
8202
8203 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8204
fe2f79db
LM
82052010-08-19 Luis Machado <luisgpm@br.ibm.com>
8206
8207 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8208 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8209 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8210 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8211 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8212 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8213 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8214 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8215 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8216 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8217 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8218 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8219 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8220 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8221
b9b42ee0
AB
82222010-07-26 Anton Blanchard <anton@samba.org>
8223
8224 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8225 * malloc/arena.c (heap_trim): Likewise.
8226
1c06ba31
UD
82272010-08-16 Ulrich Drepper <drepper@redhat.com>
8228
8229 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8230 here. Not...
8231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8232 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8233
f8392f40
L
82342010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8235
8236 * sysdeps/i386/elf/Makefile: New file.
8237
3162f12e
AS
82382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8239
8240 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8241 from fanotify_init.
8242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8244
28c90b2c
UD
82452010-08-15 Ulrich Drepper <drepper@redhat.com>
8246
8247 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8248 of strncasecmp_l.
1feccb6c 8249 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8250
ca6bb004
UD
82512010-08-14 Ulrich Drepper <drepper@redhat.com>
8252
e9f82e0d
UD
8253 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8254 strncase_l-nonascii.
8255 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8256 Add strncase_l-ssse3.
8257 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8258 * sysdeps/x86_64/strcmp.S: Likewise.
8259 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8260 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8261 * sysdeps/x86_64/strncase.S: New file.
8262 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8263 * sysdeps/x86_64/strncase_l.S: New file.
8264 * string/Makefile (strop-tests): Add strncasecmp.
8265 * string/test-strncasecmp.c: New file.
8266
8267 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8268 warning.
8269
ca6bb004
UD
8270 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8271 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8272
052fa7b3
AS
82732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8274
8275 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8276
962dba78
UD
82772010-08-12 Ulrich Drepper <drepper@redhat.com>
8278
8279 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8280 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8281 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8282
bebff237
AM
82832010-05-01 Alan Modra <amodra@gmail.com>
8284
8285 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8286 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8287 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8288 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8289 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8290 tidying. Don't tail-call __sigjmp_save for static lib.
8291 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8292 save location.
8293 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8294 (CALL_MCOUNT): Add eh info, and nop after bl.
8295 (TAIL_CALL_SYSCALL_ERROR): New macro.
8296 (PSEUDO_RET): Use it.
8297 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8298 Correct save location of integer regs and cr.
8299 (_dl_profile_resolve): Correct cr save location. Delete nops
8300 after bl when SHARED. Reduce cfi size a little by better
8301 placement of cfi directives.
8302 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8303 make a stack frame. Instead use parm save area as a temp.
8304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8305 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8307 Don't make a stack frame for parent, use parm save area.
8308 Increase child stack frame to 112 bytes. Don't save unused reg,
8309 and adjust reg usage. Set up cfi on error recovery and
8310 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8312 (__makecontext): Add dummy nop after jump to exit.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8314 Use correct parm save area and cr save, reduce stack frame.
8315 Correct cfi for possible PSEUDO_RET frame setup.
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8317 Branch to local label emitted by PSEUDO_RET rather than
8318 __syscall_error.
8319
02637374
AS
83202010-08-12 Andreas Schwab <schwab@redhat.com>
8321
8322 [BZ #11904]
8323 * locale/programs/locale.c (print_assignment): New function.
8324 (show_locale_vars): Use it.
8325
c3e2f19b
UD
83262010-08-11 Ulrich Drepper <drepper@redhat.com>
8327
3cdaa6ad
UD
8328 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8329 field.
8330 (struct statfs64): Likewise.
8331 (_STATFS_F_FLAGS): Define.
8332 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8333 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8334 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8335 (ST_VALID): Define locally.
8336 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8337 __statvfs_getflags, use the provided value.
8338 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8339 __ASSUME_STATFS_F_FLAGS.
8340
754f7da3
UD
8341 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8342
10b3bedc
UD
8343 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8344 Add sys/fanotify.h.
8345 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8346 fanotify_mask for GLIBC_2.13.
8347 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8348 fanotify_init and fanotify_mark.
8349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8350 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8351
c08fb0d7
UD
8352 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8353 Add prlimit.
8354 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8355 prlimit64 for GLIBC_2.13.
8356 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8357 prlimit64.
8358 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8359 syscall.
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8361 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8362 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8363 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8364 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8365 add prlimit alias.
8366 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8367
15bac72b
UD
8368 [BZ #11903]
8369 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8370 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8371
c3e2f19b
UD
8372 * nss/Makefile: Add rules to build and run tst-nss-test1.
8373 * shlib-versions: Add entry for libnss_test1.
8374 * nss/nss_test1.c: New file.
8375 * nss/tst-nss-test1.c: New file.
8376
8377 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8378 (__nss_configure_lookup): Set appropriate entry in
8379 __nss_configure_lookup to true.
8380 * nss/nsswitch.h: Define enum with indeces of databases in
8381 databases and __nss_database_custom arrays. Declare
8382 __nss_database_custom.
8383 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8384 to avoid using nscd when custom rules are installed.
8385 * nss/getXXbyYY_r.c: Likewise.
8386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8387
8388 * nss/nss_files/files-parse.c: Whitespace fixes.
8389
f15ce4d8
UD
83902010-08-09 Ulrich Drepper <drepper@redhat.com>
8391
8392 [BZ #11883]
8393 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8394 * posix/fnmatch_loop.c: Likewise.
8395
d22e4cc9
AK
83962010-07-17 Andi Kleen <ak@linux.intel.com>
8397
8398 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8399 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8400 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8401 * Versions.def [GLIBC_2.13]: Add.
8402
805bc17d
UD
84032010-08-06 Ulrich Drepper <drepper@redhat.com>
8404
8405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8406 Also fail if tpwd after pwuid call is NULL.
8407
5a42321d
ST
84082010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8409
8410 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8411 when converting to ms.
8412
fd3ebeda
ST
84132010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8414
8415 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8416 EOPNOTSUPP errors with ENOTTY.
8417 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8418 EOPNOTSUPP errors with ENOTTY.
8419
73507d3a
UD
84202010-07-31 Ulrich Drepper <drepper@redhat.com>
8421
8422 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8423 Add strcasecmp_l-ssse3.
8424 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8425 strcasecmp.
8426 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8427 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8428 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8429
fe36dd02
UD
84302010-07-30 Ulrich Drepper <drepper@redhat.com>
8431
66f6765a
UD
8432 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8433
42e08a54
UD
8434 * string/Makefile (strop-tests): Add strcasecmp.
8435 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8436 strcasecmp_l-nonascii.
8437 (gen-as-const-headers): Add locale-defines.sym.
8438 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8439 * sysdeps/x86_64/strcasecmp.S: New file.
8440 * sysdeps/x86_64/strcasecmp_l.S: New file.
8441 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8442 * sysdeps/x86_64/locale-defines.sym: New file.
8443 * string/test-strcasecmp.c: New file.
8444
fe36dd02
UD
8445 * string/test-strcasestr.c: Test both ends of the range of characters.
8446 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8447
48cbc0d6
RM
84482010-07-29 Roland McGrath <roland@redhat.com>
8449
76e6d6bc 8450 [BZ #11856]
48cbc0d6
RM
8451 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8452
880113d9
UD
84532010-07-27 Ulrich Drepper <drepper@redhat.com>
8454
8455 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8456 for ld.so.
8457
deb9cabb
AS
84582010-07-27 Andreas Schwab <schwab@redhat.com>
8459
8460 * manual/memory.texi (Malloc Tunable Parameters): Document
8461 M_PERTURB.
8462
1c7570ff
RM
84632010-07-26 Roland McGrath <roland@redhat.com>
8464
8465 [BZ #11840]
8466 * configure.in (-fgnu89-inline check): Set and substitute
8467 gnu89_inline, not libc_cv_gnu89_inline.
8468 * configure: Regenerated.
8469 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8470
24fb0f88
UD
84712010-07-26 Ulrich Drepper <drepper@redhat.com>
8472
8473 * string/test-strnlen.c: New file.
8474 * string/Makefile (strop-tests): Add strnlen.
8475 * string/tester.c (test_strnlen): Add a few more test cases.
8476 * string/tst-strlen.c: Better error reporting.
8477
8478 * sysdeps/x86_64/strnlen.S: New file.
8479
8e96b93a
UD
84802010-07-24 Ulrich Drepper <drepper@redhat.com>
8481
8482 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8483 lower-latency instructions.
8484
dbc676d4
UD
84852010-07-23 Ulrich Drepper <drepper@redhat.com>
8486
8487 * string/test-strcasestr.c: New file.
8488 * string/test-strstr.c: New file.
8489 * string/Makefile (strop-tests): Add strstr and strcasestr.
8490 * string/str-two-way.h: Don't undefine MAX.
8491 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8492
f6a31e0e
AS
84932010-07-21 Andreas Schwab <schwab@redhat.com>
8494
8495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8496 strcasestr-nonascii.
8497 (CFLAGS-strcasestr-nonascii.c): Define.
8498 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8499 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8500 Remove unused attribute.
8501
5dbc3b6c
RM
85022010-07-20 Roland McGrath <roland@redhat.com>
8503
8504 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8505 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8506 ld.so.cache was broken. With it, there is no way to disable dsocaps
8507 like LD_HWCAP_MASK can disable hwcaps.
8508
23d101d8
EPM
85092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8510
8511 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8512
cc9f2e47
UD
85132010-07-16 Ulrich Drepper <drepper@redhat.com>
8514
8515 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8516 call in strcasestr.
8517 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8518 __strcasestr_sse42_nonascii.
8519 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8520 strcasestr-nonascii.c.
8521 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8522
77c1b069
LM
85232010-06-15 Luis Machado <luisgpm@br.ibm.com>
8524
8525 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8526 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8527 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8528 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8529
440566c3
UD
85302010-07-09 Ulrich Drepper <drepper@redhat.com>
8531
8532 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8533 fcntl.
8534
5be9d05d
AS
85352010-07-06 Andreas Schwab <schwab@redhat.com>
8536
c30b7ee2 8537 [BZ #11577]
5be9d05d
AS
8538 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8539 dl_signal_cerror.
8540
8a492a67
UD
85412010-07-06 Ulrich Drepper <drepper@redhat.com>
8542
8543 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8544 _PC_PIPE_BUF using F_GETPIPE_SZ.
8545
713df3d5
RM
85462010-07-05 Roland McGrath <roland@redhat.com>
8547
8548 * manual/arith.texi (Rounding Functions): Fix rint description
8549 implicit in round description.
8550
702e8f14
UD
85512010-07-02 Ulrich Drepper <drepper@redhat.com>
8552
8553 * elf/Makefile: Fix linking for a few tests to make recent linker
8554 happy.
8555
52ed8be9
AS
85562010-06-30 Andreas Schwab <schwab@redhat.com>
8557
8558 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8559 $(common-objpfx)libc_nonshared.a.
8560
f47c9a11
LM
85612010-06-21 Luis Machado <luisgpm@br.ibm.com>
8562
8563 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8564 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8565 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8566 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8567 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8568 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8569 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8570 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8585 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8586 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8587 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8588 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8589 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8590 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8591 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8592 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8593 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8594 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8595 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8596 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8611
6fb8cbcb
L
86122010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8613
8614 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8615 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8616 * string/memmove.c (memmove): Renamed to ...
8617 (MEMMOVE): ...this. Default to memmove.
8618 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8619 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8620 (END_CHK): Define.
8621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8622 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8623 mempcpy-ssse3-back memmove-ssse3-back.
8624 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8625 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8626 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8627 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8628 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8629 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8630 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8631 * sysdeps/x86_64/multiarch/memmove.c: New file.
8632 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8633 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8634 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8635 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8636 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8637 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8638 Define.
8639 (index_Fast_Copy_Backward): Define.
8640 (HAS_ARCH_FEATURE): Define.
8641 (HAS_FAST_REP_STRING): Define.
8642 (HAS_FAST_COPY_BACKWARD): Define.
8643
4e733bac 86442010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
8645
8646 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8647 Restore proper fallback handling.
8648
63c4ed22
UD
86492010-06-19 Ulrich Drepper <drepper@redhat.com>
8650
ac2b484c
UD
8651 [BZ #11701]
8652 * posix/group_member.c (__group_member): Correct checking loop.
8653
63c4ed22
UD
8654 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8655 OOM in getpwuid_r correctly. Return error number when the caller
8656 should return, otherwise -1.
8657 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8658 call returning > 0 value.
8659 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8660
765ade4b
AS
86612010-06-07 Andreas Schwab <schwab@redhat.com>
8662
8663 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8664 libc_nonshared.a from targets in modules-names.
8665
80da2e09
KS
86662010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8667
8668 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8669 requires it.
8670
158db122
LM
86712010-06-10 Luis Machado <luisgpm@br.ibm.com>
8672
8673 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8674 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8675 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8677
caa78cf8
AS
86782010-06-02 Andreas Schwab <schwab@redhat.com>
8679
8680 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8681
b2ef2c01
UD
86822010-06-14 Ulrich Drepper <drepper@redhat.com>
8683
8684 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8685 and F_GETPIPE_SZ.
8686 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8690 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8691 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8692
fbd643b6
RM
86932010-06-14 Roland McGrath <roland@redhat.com>
8694
8695 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8696
f32f2869
JJ
86972010-06-07 Jakub Jelinek <jakub@redhat.com>
8698
8699 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8700 __REDIRECT followed by __THROW.
8701 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8702 * posix/getopt.h (getopt): Likewise.
8703
2a50c078
EPM
87042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8705
8706 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8707 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8708 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8709 in AT_FLAGS.
8710 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8711 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8712
eb5ad2eb
LM
87132010-05-28 Luis Machado <luisgpm@br.ibm.com>
8714
8715 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8716
3c88fe1e
L
87172010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8718
8719 [BZ #11640]
8720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8721 Properly check family and model.
8722
d2f73151
TY
87232010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8724
8725 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8726
ebd2e13d
LM
87272010-05-24 Luis Machado <luisgpm@br.ibm.com>
8728
8729 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8730
b32b8b45
UD
87312010-05-21 Ulrich Drepper <drepper@redhat.com>
8732
8733 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8734 symbol reference.
8735
9acbe24d
AS
87362010-05-19 Andreas Schwab <schwab@redhat.com>
8737
8738 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8739 symbol reference.
8740
f0ccf6ea
AS
87412010-05-21 Andreas Schwab <schwab@redhat.com>
8742
3d04ff3a
AS
8743 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8744 and internal_recvmmsg.
8745 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8746 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8747 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8748 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8749
f0ccf6ea
AS
8750 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8751 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8752 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8753
5b08ac57
AS
87542010-05-20 Andreas Schwab <schwab@redhat.com>
8755
8756 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8757
4828935d
LM
87582010-05-17 Luis Machado <luisgpm@br.ibm.com>
8759
8760 POWER7 optimizations.
8761 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8762 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8763
373d545e
UD
87642010-05-19 Ulrich Drepper <drepper@redhat.com>
8765
8766 * version.h: Update for 2.13 development version.
8767
21a2b1ae
AS
87682010-05-12 Andrew Stubbs <ams@codesourcery.com>
8769
8770 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8771 exceptions. Return 0.
8772
3f7dcb2b
RM
87732010-05-07 Roland McGrath <roland@redhat.com>
8774
8775 * elf/ldconfig.c (main): Add a const.
8776
5f24d53a 87772010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 8778
a160f8d8
UD
8779 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8780 (args_options): Add no-idn option.
8781 (ahosts_keys_int): Add idn_flags to ai_flags.
8782 (parse_option): Handle 'i' option to clear idn_flags.
8783
5f24d53a
UD
8784 * malloc/malloc.c (_int_free): Possible race in the most recently
8785 added check. Only act on the data if no current modification
8786 happened.
265bb1ce
UD
8787
8788See ChangeLog.17 for earlier changes.
This page took 1.110423 seconds and 5 git commands to generate.