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