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