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