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