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