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