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