]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix wrong copying processing for last bytes in x86-32 wcscpy
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c044cf14
LD
12011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2
3 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4 processing for last bytes.
5
6b13d9d9
BH
62011-08-06 Bruno Haible <bruno@clisp.org>
7
d455f537
BH
8 [BZ #13061]
9 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10 U+0385, not to U+1FEE.
11
6b13d9d9
BH
12 [BZ #13062]
13 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14 entry for U+00A5 U+0301.
15
db910efd
UD
162011-12-22 Ulrich Drepper <drepper@gmail.com>
17
27deeafc
UD
18 [BZ #13166]
19 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20 buffer for the output is too small.
21
aed9d171
UD
22 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23 optimization.
24
db910efd
UD
25 [BZ #13185]
26 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27 SSE flags if possible.
28
2bd779ae
LD
292011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30
e7f9dac3 31 [BZ #13540]
2bd779ae
LD
32 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33 processing for last bytes.
34
154bfc16
JM
352011-12-22 Joseph Myers <joseph@codesourcery.com>
36
37 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38 (syscall-list-default-options, syscall-list-default-condition)
39 (syscall-list-includes): Define.
40 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41 list of ABIs and options and #if conditions for each ABI. Do not
42 handle common syscalls between ABIs specially.
43 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44 Remove.
45 (syscall-list-variants, syscall-list-32bit-options)
46 (syscall-list-32bit-condition, syscall-list-64bit-options)
47 (syscall-list-64bit-condition): Define.
48 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49 (syscall-list-variants, syscall-list-32bit-options)
50 (syscall-list-32bit-condition, syscall-list-64bit-options)
51 (syscall-list-64bit-condition): Define.
52 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53 Remove.
54 (syscall-list-variants, syscall-list-32bit-options)
55 (syscall-list-32bit-condition, syscall-list-64bit-options)
56 (syscall-list-64bit-condition): Define.
57 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58 Remove.
59 (syscall-list-variants, syscall-list-32bit-options)
60 (syscall-list-32bit-condition, syscall-list-64bit-options)
61 (syscall-list-64bit-condition): Define.
62
21eaf3a5
UD
632011-12-22 Ulrich Drepper <drepper@gmail.com>
64
16c6f992
UD
65 * locale/iso-639.def: Add brx entry.
66
41043168
UD
67 [BZ #13328]
68 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69 Proposed by Mariusz_Cukr <marcukr@op.pl>.
70
21eaf3a5
UD
71 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72 __feraiseexcept_renamed.
73
e3a851a2
UD
742011-12-21 Ulrich Drepper <drepper@gmail.com>
75
4920765e
UD
76 [BZ #13538]
77 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78 EPOLLET with unsigned values.
79 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81
e3a851a2
UD
82 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83 to large cancellation.
84 * math/s_cacoshf.c: Likewise.
85 * math/s_cacoshl.c: Likewise.
86
b27e24b8
RK
872011-11-18 Richard B. Kreckel <kreckel@ginac.de>
88
89 [BZ #13305]
90 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
91 * math/s_cacoshf.c: Likewise.
92 * math/s_cacoshl.c: Likewise.
93
ee190f67
UD
942011-12-21 Ulrich Drepper <drepper@gmail.com>
95
96 [BZ #13439]
97 * iconv/gconv.h: Define __GCONV_SWAP.
98 * iconvdata/unicode.c: The swap bit must be stored in __flags.
99 * iconvdata/utf-16.c: Likewise.
100 * iconvdata/utf-32.c: Likewise.
101
707f25df
AS
1022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
103
104 [BZ #13524]
105 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
106 numerator after shifting it by one limb.
107
d2daaa1e
RÁE
1082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
109
110 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
111 under [__USE_EXTERN_INLINES].
112
a4647e72
UD
1132011-12-17 Ulrich Drepper <drepper@gmail.com>
114
115 [BZ #13446]
116 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
117
f0b264f1
AZ
1182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
119
120 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
121 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
122 optimized code.
123 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
124 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
125 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
126 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
127 for strncasecmp/strncasecmp_l compilation.
128 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
129 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
130
8ef4f244
MP
1312011-12-08 Marek Polacek <mpolacek@redhat.com>
132
133 [BZ #13484]
134 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
135 of __asm__.
136
97ac2654
UD
1372011-12-17 Ulrich Drepper <drepper@gmail.com>
138
139 [BZ #13506]
140 * time/tzfile.c (__tzfile_read): Check values from file header.
141
91d2a845
WS
1422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
143
144 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
145 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
146 * powerpc/powerpc32/dl-start.S: Likewise.
147 * powerpc/powerpc32/elf/start.S: Likewise.
148 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
149 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
150 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
151 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
152 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
153 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
154 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
155 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
156 * powerpc/powerpc32/fpu/s_round.S: Likewise.
157 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
158 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
159 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
160 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
161 * powerpc/powerpc32/memset.S: Likewise.
162 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
163 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
164 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
165 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
166 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
167 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
168 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
169 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
170 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
171 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
172 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
173 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
174 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
175
a1267ba1
AZ
1762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
178 * math/libm-test.inc: Added more nearbyint tests.
179 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
180 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
182 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
183
ad8ac1bd
RL
1842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
185
186 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
187 FD_CLOEXEC.
188
1d3e4b61
UD
1892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
190
191 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
192 Add wcscpy-ssse3 wcscpy-c.
193 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
194 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
195 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
196 * sysdeps/x86_64/wcschr.S: New file.
197 * sysdeps/x86_64/wcsrchr.S: New file.
198 * string/test-strcmp.c: Remove checking of wcscmp function for
199 wrong alignments.
200 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
201 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
202 wcsrchr-sse2 wcsrchr-c.
203 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
204 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
205 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
206 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
207 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
208 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
209 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
210 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
211 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
212 * wcsmbc/wcschr.c (WCSCHR): New macro.
213
5b330a2d
UD
2142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
215
216 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
217 * wcsmbs/test-wcsrchr.c: New file.
218 * string/test-strrchr.c: Add wcsrchr support.
219 (WIDE): New macro.
220 * wcsmbs/test-wcscpy.c: New file.
221 * string/test-strcpy.c: Add wcscpy support.
222 (WIDE): New macro.
26428b7c 223
f039c043
UD
2242011-12-10 Ulrich Drepper <drepper@gmail.com>
225
226 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
227 the inner loop.
228
850fb039
AS
2292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
230
231 [BZ #13472]
232 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
233
4efbd5cb
UD
2342011-12-04 Ulrich Drepper <drepper@gmail.com>
235
52ff5dd0 236 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 237 Minor optimizations.
52ff5dd0 238
4efbd5cb
UD
239 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
240 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
241 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
242
8a426e12
UD
2432011-12-03 Ulrich Drepper <drepper@gmail.com>
244
aff2453d
UD
245 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
246 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
247 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
248 for gcc to avoid warnings.
249 * inet/Makefile (tests): Add tst-checks.
250 * inet/tst-checks.c: New file.
251
252 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
253 warning.
254
255 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
256 __wmemcmp_sse2.
257
258 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
259 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
260
8a426e12
UD
261 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
262
9bea3473
UD
2632011-12-02 Ulrich Drepper <drepper@gmail.com>
264
3a965496
UD
265 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
266 problem.
267
9bea3473
UD
268 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
269
f101631b
UD
2702011-11-29 Joseph Myers <joseph@codesourcery.com>
271
272 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
273 conditional on GCC version.
274 (__arch_compare_and_exchange_val_8_acq)
275 (__arch_compare_and_exchange_val_16_acq)
276 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
277 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
278 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
279
a98275aa
UD
2802011-12-02 Joseph Myers <joseph@codesourcery.com>
281
282 * sysdeps/sh/backtrace.c: New file.
283
d4cc29a2
AS
2842011-12-02 Andreas Schwab <schwab@redhat.com>
285
286 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
287 parenthesis.
288
6257af2d
AS
2892011-12-01 Andreas Schwab <schwab@redhat.com>
290
291 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
292 falling back to utime.
293
b5f44c1a
AS
2942011-11-30 Andreas Schwab <schwab@redhat.com>
295
296 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
297 expectations for float.
298
f3a6cc0a
AS
2992011-11-29 Andreas Schwab <schwab@redhat.com>
300
301 * locale/weight.h (findidx): Add parameter len.
302 * locale/weightwc.h (findidx): Likewise.
303 * posix/fnmatch_loop.c (FCT): Adjust caller.
304 * posix/regcomp.c (build_equiv_class): Likewise.
305 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
306 * posix/regexec.c (check_node_accept_bytes): Likewise.
307 * string/strcoll_l.c (STRCOLL): Likewise.
308 * string/strxfrm_l.c (STRXFRM): Likewise.
309
9d65ea3a
UD
3102011-11-17 Ulrich Drepper <drepper@gmail.com>
311
312 * Makefile.in: Remove CVSOPT handling.
313 * configure.in: Remove use of AC_REVISION.
314 * iconvdata/Makefile (distribute): No need to filter out CVS.
315 * scripts/list-sources.sh: Remove CVS, subversion and monotone
316 handling.
317
5583a086
AS
3182011-11-16 Andreas Schwab <schwab@redhat.com>
319
320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
321 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
322 [USE_AS_STRNCASECMP_L]: Likewise.
323 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
324 NO_TLS_DIRECT_SEG_REFS.
325 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
326 Fix argument offsets for non-PIC.
327 [USE_AS_STRNCASECMP_L]: Likewise.
328 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
329 NO_TLS_DIRECT_SEG_REFS.
330
d62a8200
UD
3312011-11-15 Ulrich Drepper <drepper@gmail.com>
332
9d65ea3a 333 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
334 O_CLOEXEC.
335 * locale/loadlocale.c (_nl_load_locale): Likewise.
336
09f93bd3
AS
3372011-11-15 Andreas Schwab <schwab@redhat.com>
338
446514f9
AS
339 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
340 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
341 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
342 (SYSCALL_GETTIME): Set errno on error.
343
09f93bd3
AS
344 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
345 count references to noai6ai_cached.
346
312be3f9
UD
3472011-11-15 Ulrich Drepper <drepper@gmail.com>
348
349 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
350
351 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
352 FD_CLOEXEC for /proc/self/maps.
353
354 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
355 FD_CLOEXEC for /proc/meminfo.
356
357 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
358 gai.conf.
359
360 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
361 FD_CLOEXEC for given file.
362
363 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
364
365 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
366 FD_CLOEXEC for /etc/hosts.
367 (_gethtent): Likewise.
368
369 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
370
371 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
372 cancellation and set FD_CLOEXEC for /etc/netgroup.
373
374 * nss/nss_files/files-key.c (search): Don't allow cancellation when
375 reading /etc/publickey.
376
377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
378 allow cancellation when reading /etc/group.
379
380 * nss/nss_files/files-alias.c (internal_setent): Don't allow
381 cancellation.
382 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
383
384 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
385 when using data file.
386
387 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
388
389 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
390 (write_nis_obj): Use "c" and "e" in fopen.
391
392 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
393
394 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
395
396 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
397
398 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
399
400 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
401 locale.alias.
402
403 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
404
405 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
406
407 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
408
409 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
410 file parsing and set FD_CLOEXEC.
411
82af0fa8
UD
4122011-11-14 Ulrich Drepper <drepper@gmail.com>
413
414 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
415
a5fb313c
AS
4162011-11-14 Andreas Schwab <schwab@redhat.com>
417
418 * malloc/arena.c (arena_get2): Don't call reused_arena when
419 _int_new_arena failed.
420
6abf3465
UD
4212011-11-14 Ulrich Drepper <drepper@gmail.com>
422
423 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
424 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
425 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
426 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
427 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
429 to compile strcasecmp and strncasecmp.
430 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
431 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
432
433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
434
76e3966e
UD
4352011-11-13 Ulrich Drepper <drepper@gmail.com>
436
437 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
438 locale-defines.sym to gen-as-const-headers.
439 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
440 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
442 to compile strcasecmp and strncasecmp.
443 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
444 strcasecmp_l and strncasecmp_l.
445 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
446 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
447 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
448 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
449 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
450 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
451 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
452 * sysdeps/i386/i686/multiarch/strncase.S: New file.
453 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
454 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
455 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
456
ab26144e
UD
4572011-11-12 Ulrich Drepper <drepper@gmail.com>
458
7edb22ef
UD
459 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
460 result of SYSDEP_GETTIME_CPU to retval.
461 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
462 parameter list to macro. Remove trailing semicolon. Adjust users.
463
9694fc44
UD
464 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
465 variable.
466
8ad89ef8
UD
467 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
468 mantissa words.
469 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
470
0c822ef9
UD
471 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
472 from unused variable.
473
874e0564
UD
474 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
475 DWARF definitions.
476 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
477 for assembling.
478
3a2edc79
UD
479 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
480 over namespaces.
481
f3c2577f
UD
482 * sunrpc/rpc_prot.c (rejected): Fix case value.
483
294ce126
UD
484 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
485 unsigned long long int to avoid warnings in shift.
486
5e2b63c6
UD
487 * posix/regex_internal.c (re_string_reconstruct): Actually use result
488 of use of trans.
489 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
490 variable tmp.
491
e7f4b08e
UD
492 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
493 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
494 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
495
ab26144e
UD
496 * nis/nis_table.c (nis_list): Use variable of correct type for
497 result of __follow_path call.
498
8a6d5255
AZ
4992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
500
501 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
502 of math functions ceil, trunc, floor, round, and sqrt, when
503 avaliable on the platform.
504 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
505 name clash.
506 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
507 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
508 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
509
aaddc98c
MP
5102011-10-30 Marek Polacek <mpolacek@redhat.com>
511
512 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
513 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
514
95b7042b
RM
5152011-11-11 Roland McGrath <roland@hack.frob.com>
516
517 * include/unistd.h: Fix __readlink return type.
518 Reported by Chris Metcalf <cmetcalf@tilera.com>.
519
57769839
UD
5202011-11-11 Ulrich Drepper <drepper@gmail.com>
521
522 * stdlib/ucontext.h: Undo last change for makecontext.
523
edc5984d
AS
5242011-11-11 Andreas Schwab <schwab@redhat.com>
525
98591e58
AS
526 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
527
edc5984d
AS
528 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
529 * setjmp/setjmp.h: Mark functions as non-leaf.
530 * setjmp/bits/setjmp2.h: Likewise.
531 * stdlib/ucontext.h: Likewise.
532
77cdc054
AS
5332011-11-10 Andreas Schwab <schwab@redhat.com>
534
535 * malloc/arena.c (_int_new_arena): Don't increment narenas.
536 (reused_arena): Don't check arena limit.
537 (arena_get2): Atomically check arena limit.
538
fe72eebd
UD
5392011-11-08 Ulrich Drepper <drepper@gmail.com>
540
5f078c32
UD
541 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
542 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
543
fe72eebd
UD
544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
545 instructions.
546
ae1bc2fa
AS
5472011-11-07 Andreas Schwab <schwab@redhat.com>
548
7583a88d
AS
549 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
550 handler when locking.
551
ae1bc2fa
AS
552 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
553 Fix size of allocated buffer.
554
10fb0bfa
AS
5552011-11-04 Andreas Schwab <schwab@redhat.com>
556
998832a4
AS
557 [BZ #10103]
558 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
559 declarations for long double functions.
560 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
561
10fb0bfa
AS
562 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
563
3d7ba52b
AS
5642011-11-03 Andreas Schwab <schwab@redhat.com>
565
a9ae54a1
AS
566 * nscd/nscd.c (main): Don't start AVC thread until credentials are
567 installed.
568
3d7ba52b
AS
569 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
570 is disabled.
571
bc8db248
ST
5722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
573
574 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
575
45b96dd6
AS
5762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
577
647776f6
AS
578 * include/alloca.h (stackinfo_alloca_round): Define.
579 (extend_alloca): Use it.
580 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
581 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
582 here.
583
d91a8b93
AS
584 * scripts/check-local-headers.sh: Ignore libaudit.h.
585
45b96dd6
AS
586 * nscd/Makefile (extra-objs): Make recursively expanded.
587
432d41ce
UD
5882011-11-01 Ulrich Drepper <drepper@gmail.com>
589
34372fc6
UD
590 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
591 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
592
fadb59f8
UD
593 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
594 * posix/tst-rfc3484-2.c: Likewise.
595 * posix/tst-rfc3484-3.c: Likewise.
596
78239589
UD
597 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
598 process_vm_writev.
599 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
600 process_vm_writev.
601 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
602 process_vm_writev from libc using GLIBC_2.15 version.
603
432d41ce
UD
604 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
605
02f9c6cf
PP
6062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
607
608 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
609 stack usage.
610
3a2c0242
UD
6112011-10-31 Ulrich Drepper <drepper@gmail.com>
612
f4ec4833
UD
613 [BZ #13367]
614 * nss/getent.c (initgroups_keys): Show error message in case no group
615 names are given.
616
3a2c0242
UD
617 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
618 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
619 __bump_nl_timestamp.
620 * nscd/connections (nscd_init): When host database is served open
621 netlink socket and request notification about configuration changes.
622 (main_loop_poll): Track netlink file descriptor and bump timestamp
623 in case data becomes available.
624 (main_loop_epoll): Likewise.
625 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
626 (database_pers_head): Add extra_data fileds.
627 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
628 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
629 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
630 Adjust caller.
631 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
632 in6ai data, call __free_in6ai.
633 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
634 Add -DHAVE_NETLINK.
635 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
636 interface information. Reuse previous data if netlink timestamp
637 is not changed.
638 (__bump_nl_timestamp): New function.
639 (__free_in6ai): New function.
640
636064eb
UD
6412011-10-30 Ulrich Drepper <drepper@gmail.com>
642
643 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
644 close_not_cancel_no_status here.
645 (__check_pf): Reorganize code a bit to not call close twice if OOM.
646
9beb2334
UD
6472011-10-29 Ulrich Drepper <drepper@gmail.com>
648
6ef76f3b
UD
649 [BZ #13276]
650 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
651 return value.
652
0ffc4f3e 653 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
654 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
655 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
656
cb95113e
UD
6572011-07-03 Andreas Jaeger <aj@suse.de>
658
659 [BZ #10709]
660 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
661 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
662 * math/libm-test.inc (sin_test): Add test case.
663
a1b560ff
UD
6642011-10-29 Ulrich Drepper <drepper@gmail.com>
665
c9aaface
UD
666 [BZ #13337]
667 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
668 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
669
d272e7f1
UD
670 * elf/chroot_canon.c (chroot_canon): Cleanups.
671
1bc33071
UD
672 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
673
1760874d
TJ
674 [BZ #13335]
675 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
676 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
677
51d91b18
UD
678 * string/test-strchr.c: Make usable for strchrnul testing.
679 * string/test-strchrnul.c: New file.
680 * string/Makefile (strop-tests): Add strchrnul.
681
a1b560ff 682 * po/it.po: Update from translation team.
b611fb81 683 * po/es.po: Likewise.
a1b560ff 684
a5b81e1f
UD
6852011-10-28 Ulrich Drepper <drepper@gmail.com>
686
fd52bc6d
UD
687 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
688 the three constants needed as parameters. Drop the others.
689 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
690 __m128i_strloadu_tolower.
52e4b9eb
UD
691 Create and initialize variable zero and use it in all the places
692 where _mm_setzero_si128 was used.
fd52bc6d 693
a5b81e1f
UD
694 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
695 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
696 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
697 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
698 anymore.
699 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
700 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
701 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
702 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
703 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
704 __mpranred, __mptan.
705 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
706 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
707 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
708 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
709 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
710 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
711 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
712 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
713 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
714
b4343346
AS
7152011-10-28 Andreas Schwab <schwab@redhat.com>
716
0c92d8a8
AS
717 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
718 redefine if SHARED.
719 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
720
b4343346
AS
721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
722 wide char related routines to wcsmbs subdir.
723
3871f58f
AS
7242011-10-27 Andreas Schwab <schwab@redhat.com>
725
726 [BZ #13344]
727 * misc/sys/cdefs.h (__THROWNL): Define.
728 * posix/unistd.h: Use __THREADNL instead of __THREAD
729 for memory synchronization functions.
730
94d44d9f
RM
7312011-10-26 Roland McGrath <roland@hack.frob.com>
732
21b64b15 733 [BZ #13349]
94d44d9f
RM
734 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
735 doesn't exist.
736 * manual/stdio.texi (Obstack Streams): Node removed.
737
f6ce9294
AS
7382011-10-26 Andreas Schwab <schwab@redhat.com>
739
80479147
AS
740 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
741 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
742 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
743
f6ce9294
AS
744 * math/math_private.h (math_force_eval): Allow non-addressable
745 arguments.
746 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
747
618280a1
UD
7482011-10-25 Ulrich Drepper <drepper@gmail.com>
749
e0016b11
UD
750 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
751 file is not needed.
752
753 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
754 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
755 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
756 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
758 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
760 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
761 Add AVX variants.
762 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
763 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
764 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
765 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
766 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
767 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
768 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
769 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
770 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
771 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
772 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
773 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
774 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
775 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
776 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
777 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
778 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
779 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
780 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
781
782 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
783 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
784
618280a1
UD
785 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
786 place. Use VEX encoding when compiling for AVX.
787
37822576
AS
7882011-10-25 Andreas Schwab <schwab@redhat.com>
789
1f1e1947
AS
790 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
791 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
792
37822576
AS
793 * string/test-strchr.c (do_test): Don't generate NUL bytes.
794
31ea014d
UD
7952011-10-25 Ulrich Drepper <drepper@gmail.com>
796
d7826aa1 797 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 798 useless if() expression.
d7826aa1
UD
799 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
800 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
801 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
802 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
803 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
804 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
805 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
806 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
807 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
808 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
809 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
810 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
811 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
812 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
813 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
814 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
815 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
816 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
817 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
818
31ea014d
UD
819 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
820
16437fec
AS
8212011-10-25 Andreas Schwab <schwab@redhat.com>
822
823 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
824 condition.
825 * elf/dl-fini.c (_dl_sort_fini): Likewise.
826
31d3cc00
UD
8272011-10-25 Ulrich Drepper <drepper@gmail.com>
828
829 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
830 .text section. Avoid duplicate constants.
831 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
833 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
839 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
840 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
841 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
842 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
843 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
844 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
845 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
846 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
847 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
848 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
849 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
851 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
852 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
853 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
854 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
855 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
856 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
857 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
858 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
859 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
860 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
861 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
862 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
863 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
864 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
865 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
866 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
867 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
868 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
869 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
870 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
871 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
872 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
873 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
874 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
875 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
876
58985aa9
UD
8772011-10-24 Ulrich Drepper <drepper@gmail.com>
878
202c9deb
UD
879 * sysdeps/x86_64/dla.h: Move to ...
880 * sysdeps/x86_64/fpu/dla.h: ...here.
881 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
882 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 883
af968f62
UD
884 * config.make.in: Add have-mfma4 entry.
885 * configure.in: Substitute libc_cv_cc_fma4.
886 * math/Makefile (dbl-only-routines): Add sincostab.
887 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
888 Use __sincostab not sincos.
889 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
890 name is a macro.
891 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
895 using __copysign.
896 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
897 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
898 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
899 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
900 and __inv.
901 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
902 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
903 __copysign.
904 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
905 define aliases when function name is a macro.
906 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
907 sysdeps/ieee754/dbl-64/sincos.tbl.
908 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
909 fma4-enabled routines.
910 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
911 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
912 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
913 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
914 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
915 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
917 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
919 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
920 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
921 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
922 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
923 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
924 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
925 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
926 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
927 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
928 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
929 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
930 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
931 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
932 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
934 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
935 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
936 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
937 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
938 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
939 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
940
58985aa9
UD
941 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
942 rename.
943 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
949 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
951
a201fbcf
AS
9522011-10-24 Andreas Schwab <schwab@redhat.com>
953
954 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
955
fc2ee42a
LD
9562011-10-23 Ulrich Drepper <drepper@gmail.com>
957
bb3129bd
UD
958 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
959
0275fff8
UD
960 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
961 prediction.
962 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
963
2fa2ae85
UD
964 * string/strnlen.c: Don't define STRNLEN, reverse logic.
965 Remove unused variable magic_bits.
966 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
967
fc2ee42a
LD
968 * string/strnlen.c: Define and use STRNLEN macro.
969 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
970 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
971 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
972 * wcsmbs/wcslen.c: Define and use WCSLEN.
973 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
974 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
975 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
976 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
977 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
978 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
979 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
980
ce7dd29f
LD
9812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
982
983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
984 strnlen-sse2-no-bsf.
985 Rename strlen-no-bsf to strlen-sse2-no-bsf.
986 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
987 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
988 Add strnlen support.
989 (USE_AS_STRNLEN): New macro.
990 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
991 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
992 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
993 * sysdeps/x86_64/wcslen.S: New file.
994
979c70a3
MZ
9952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
996
997 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
998 XMM-moves are used for copying on small sizes.
999
2d09f82f
LD
10002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1001
1002 * wcsmbs/Makefile (strop-tests): Add wcschr.
1003 * wcsmbs/test-wcschr.c: New file.
1004 * string/test-strchr.c: Update.
1005 Add wcschr support.
1006 (WIDE): New macro.
1007
619fccca
LD
10082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1009
2d09f82f 1010 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
1011 * wcsmbs/test-wcslen.c: New file.
1012 * string/test-strlen.c: Update.
1013 Add wcslen support.
1014 (WIDE): New macro.
1015
09f699ea
UD
10162011-10-23 Ulrich Drepper <drepper@gmail.com>
1017
1018 * po/it.po: Update from translation team.
1019
95584d3b
LD
10202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1021
1022 * sysdeps/x86_64/wcscmp.S: Update.
1023 Fix wrong comparison semantics.
1024 wcscmp shall use signed comparison not unsigned.
1025 Don't use substraction to avoid overflow bug.
1026 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1027 * wcsmbc/wcscmp.c: Likewise.
1028 * string/test-strcmp.c: Likewise.
1029 Add new tests to check cases with negative values.
1030
c8b3296b
UD
10312011-10-23 Ulrich Drepper <drepper@gmail.com>
1032
1033 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
1034 * sysdeps/x86_64/dla.h: ...here. New file.
1035 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
1036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1040 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1044
246ad57a
AS
10452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
1046
1047 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
1048 __ynl_finite aliases.
1049
a1a87169
UD
10502011-10-22 Ulrich Drepper <drepper@gmail.com>
1051
0d355eb7
UD
1052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1053
a1a87169
UD
1054 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
1055 define DLA_FMA.
1056 [DLA_FMA] (EMULV): Use DLA_FMA.
1057 [DLA_FMA] (MUL12): Use EMULV.
1058 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
1059 that are not needed.
1060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1066 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1067
ee2aafe0
AS
10682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
1069
1070 * math/s_nan.c: Undef __nan.
1071 * math/s_nanf.c: Undef __nanf.
1072 * math/s_nanl.c: Undef __nanl.
1073 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
1074 "math_private.h".
1075
bc62c2fb
UD
10762011-10-22 Ulrich Drepper <drepper@gmail.com>
1077
77425c63
UD
1078 * math/s_catan.c: Add branch predictions.
1079 * math/s_catanf.c: Likewise.
1080 * math/s_catanh.c: Likewise.
1081 * math/s_catanhf.c: Likewise.
1082 * math/s_catanhl.c: Likewise.
1083 * math/s_catanl.c: Likewise.
1084 * math/s_cexp.c: Likewise.
1085 * math/s_cexpf.c: Likewise.
1086 * math/s_cexpl.c: Likewise.
1087 * math/s_clog.c: Likewise.
1088 * math/s_clog10.c: Likewise.
1089 * math/s_clog10f.c: Likewise.
1090 * math/s_clog10l.c: Likewise.
1091 * math/s_clogf.c: Likewise.
1092 * math/s_clogl.c: Likewise.
1093 * math/s_csqrt.c: Likewise.
1094 * math/s_csqrtf.c: Likewise.
1095 * math/s_csqrtl.c: Likewise.
1096 * math/s_ctanf.c: Likewise.
1097 * math/s_ctanh.c: Likewise.
1098 * math/s_ctanhf.c: Likewise.
1099 * math/s_ctanhl.c: Likewise.
1100 * math/s_ctanl.c: Likewise.
1101
bc62c2fb
UD
1102 * math/math_private.h: Define __nan, __nanf, __nanl.
1103 * math/s_cacosh.c: Include <math_private.h>.
1104 * math/s_cacoshl.c: Likewise.
1105 * math/s_casinh.c: Likewise.
1106 * math/s_casinhf.c: Likewise.
1107 * math/s_casinhl.c: Likewise.
1108 * math/s_ccos.c: Rely entire on ccosh.
1109 * math/s_ccosf.c: Rely entire on ccoshf.
1110 * math/s_ccosl.c: Rely entirely on ccoshl.
1111 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
1112 Remove tests for FE_INVALID.
1113 * math/s_ccoshf.c: Likewise.
1114 * math/s_ccoshl.c: Likewise.
1115 * math/s_csin.c: Likewise.
1116 * math/s_csinf.c: Likewise.
1117 * math/s_csinh.c Likewise.
1118 * math/s_csinhf.c: Likewise.
1119 * math/s_csinhl.c: Likewise.
1120 * math/s_csinl.c: Likewise.
1121 * math/s_ctan.c: Likewise.
1122 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
1123 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
1124 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
1125
8ec250a4
UD
11262011-10-21 Ulrich Drepper <drepper@gmail.com>
1127
c196fed8
UD
1128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
1129 compilation problems.
1130
8ec250a4
UD
1131 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
1132 __builtin_expect.
1133
8d4f46c6
UD
11342011-10-20 Ulrich Drepper <drepper@gmail.com>
1135
ed72b654
UD
1136 * sysdeps/i386/configure.in: Test for -mfma4 option.
1137 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
1138 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
1139 COMMON_CPUID_INDEX_80000001.
1140 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
1141 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
1142 use it if FMA3 is not supported.
1143 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1144
8d4f46c6
UD
1145 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
1146 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1147
d45c60c2
AS
11482011-10-20 Andreas Schwab <schwab@redhat.com>
1149
1150 [BZ #12892]
1151 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
1152 it would create a cycle with a link time dependency.
1153
d9a4d2ab
UD
11542011-10-19 Ulrich Drepper <drepper@gmail.com>
1155
855d1560
UD
1156 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
1157 instruction.
1158 * string/Makefile (strop-tests): Add rawmemchr.
1159 * string/test-rawmemchr.c: New file.
1160
d9a4d2ab
UD
1161 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
1162 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
1163 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
1164 when compiling str{,n}casecmp and when AVX is available. Hook up
1165 new optimized code in initializers.
1166
8f3b1ffe
AS
11672011-10-19 Andreas Schwab <schwab@redhat.com>
1168
1169 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
1170 __feraiseexcept instead of feraiseexcept.
1171
d38f1dba
UD
11722011-10-18 Ulrich Drepper <drepper@gmail.com>
1173
d9a8d0ab
UD
1174 * math/math_private.h: Define defaults for libc_fetestexcept and
1175 libc_feupdateenv.
1176 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
1177 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
1178 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1179 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1180 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1181 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1182 libc_fetestexcept and libc_feupdateenv.
1183
4855e3dd
UD
1184 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
1185 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
1186 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
1187 * sysdeps/x86_64/fpu/math_private.h: Define special version of
1188 libc_feholdexcept_setround.
1189
581d30e3
UD
1190 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
1191 Add s_nearbyint-c and s_nearbyintf-c.
1192 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
1193 nearbyintf inlines.
1194 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
1195 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
1196 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
1197 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
1198
d38f1dba
UD
1199 * math/math_private.h: Define defaults for libc_fegetround,
1200 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
1201 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
1202 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
1203 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
1204 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
1205 standard functions.
1206 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1207 Remove comments and hacks for old compiler versions.
1208 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1209 libc_fegetround, libc_fesetround, libc_feholdexcept, and
1210 libc_feholdexceptl.
1211
caa6c9d8
AS
12122011-10-18 Andreas Schwab <schwab@redhat.com>
1213
1214 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
1215 (__feraiseexcept_renamed): Add __NTH.
1216 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
1217 namespace violations.
1218
97c066e6
UD
12192011-10-17 Ulrich Drepper <drepper@gmail.com>
1220
99ce7b04
UD
1221 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
1222
1004d182
UD
1223 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
1224
228a984d
UD
1225 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
1226 recently added interfaces.
1227 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
1228
c8553a6a
UD
1229 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
1230 about macro parameter expansion.
1231
ed22dcf6
UD
1232 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
1233 __NO_MATH_INLINES is defined. Cleanups.
1234
1235 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
1236 and __floorf is target has SSE4.1.
1237 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
1238 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
1239 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
1240 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
1241
b171c137
UD
1242 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
1243 name.
1244 (floorf): Likewise.
1245
97c066e6
UD
1246 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
1247
629f62ef
AS
12482011-10-17 Andreas Schwab <schwab@redhat.com>
1249
49a43d80
AS
1250 * misc/sys/cdefs.h: Fix last change.
1251
629f62ef
AS
1252 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
1253 database lookup.
1254
e453f6cd
UD
12552011-10-16 Ulrich Drepper <drepper@gmail.com>
1256
aa78043a
UD
1257 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
1258
ad0f5cad
UD
1259 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
1260 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1261 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1262 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1264 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1265 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1266 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1267 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1268 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
1269 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
1270 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
1271 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
1272 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
1273 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
1274 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
1275 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
1276 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
1277 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
1278 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
1279 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
1280 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
1281
1282 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
1283 ceil, ceilf, floor, floorf.
1284
1285 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
1286 Perform IRELATIVE relocations last.
1287
e453f6cd
UD
1288 * elf/do-rel.h: Add another parameter nrelative, replacing the
1289 local variable with the same name. Change name of the function
1290 to end in Rel or Rela (uppercase).
1291 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
1292 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
1293 elf_dynamic_do_##reloc function.
1294
fd5bdc09
UD
12952011-10-15 Ulrich Drepper <drepper@gmail.com>
1296
79b195b5
UD
1297 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
1298 is sufficient, at least on modern CPUs.
1299
d4a28569
UD
1300 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
1301
b61099b5
UD
1302 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
1303 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
1304
bcf01e6d
UD
1305 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
1306 __expl_finite.
1307 * math/bits/math-finite.h: Add entries for exp.
1308 * math/e_expl.c: Add __*_finite alias.
1309 * sysdeps/i386/fpu/e_exp.S: Likewise.
1310 * sysdeps/i386/fpu/e_expf.S: Likewise.
1311 * sysdeps/i386/fpu/e_expl.c: Likewise.
1312 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1313 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1316 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
1317 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1318 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1319
ba1a0d59
UD
1320 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
1321 is sufficient, at least on modern CPUs.
1322
fd5bdc09
UD
1323 * ctype/ctype-info.c (__ctype_init): Define.
1324 * include/ctype.h (__ctype_init): Declare.
1325 (__ctype_b_loc): The variable is always initialized.
1326 (__ctype_toupper_loc): Likewise.
1327 (__ctype_tolower_loc): Likewise.
1328 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
1329 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
1330
7872cfb0
AS
13312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
1332
b468825a
AS
1333 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
1334
7872cfb0
AS
1335 * configure.in: Also look in $cxxmachine/include for C++ system
1336 headers.
1337
be13f7bf
LD
13382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1339
1340 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
1341 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
1342 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
1343 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
1344 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
1345 (USE_AS_WMEMCMP): New macro.
1346 Fixing indents.
1347 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
1348 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
1349 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
1350 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
1351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1352 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
1353 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
1354 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
1355 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
1356 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
1357 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
1358 (USE_AS_WMEMCMP): New macro.
1359 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
1360 * sysdeps/string/test-memcmp.c: Update.
1361 Fix simple_wmemcmp.
1362 Add new tests.
1363 * wcsmbs/wmemcmp.c: Update.
1364 (WMEMCMP): New macro.
1365 Fix overflow bug.
1366
556a2007
AJ
13672011-10-12 Andreas Jaeger <aj@suse.de>
1368
1369 [BZ #13268]
1370 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
1371
538faaa7
UD
13722011-10-15 Ulrich Drepper <drepper@gmail.com>
1373
ab6737ff
UD
1374 * libio/iofwide.c (do_length): Avoid warning.
1375
538faaa7
UD
1376 * ctype/ctype.h (__isctype_f): Add missing __THROW.
1377
396a21b1
UD
13782011-10-14 Ulrich Drepper <drepper@gmail.com>
1379
cdf2901f
UD
1380 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
1381
38ad40ce
UD
1382 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
1383 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
1384 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
1385 * sysdeps/i386/i686/fpu/e_log.S: New file.
1386 * sysdeps/i386/i686/fpu/e_logf.S: New file.
1387 * sysdeps/i386/i686/fpu/e_logl.S: New file.
1388
396a21b1
UD
1389 * ctype/ctype.h: Add support for inlined isXXX functions when
1390 compiling C++ code.
1391
6b1f68c9
AS
13922011-10-14 Andreas Schwab <schwab@redhat.com>
1393
349290c0
AS
1394 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1395
6b1f68c9
AS
1396 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
1397
f2282d42
RM
13982011-10-13 Roland McGrath <roland@hack.frob.com>
1399
1400 [BZ #13291]
1401 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
1402
5298ffa8
AS
14032011-10-13 Andreas Schwab <schwab@redhat.com>
1404
714fad23
AS
1405 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
1406 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
1407 feraiseexcept.
1408
81dcc7fb
AS
1409 * sysdeps/x86_64/memrchr.S: Check for zero size.
1410
5298ffa8
AS
1411 * string/stratcliff.c: Add memrchr tests.
1412
951fbcec
LD
14132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1414
1415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1416 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
1417 rawmemchr-sse2 rawmemchr-sse2-bsf.
1418 * sysdeps/i386/i686/multiarch/memchr.S: New file.
1419 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
1420 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
1421 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
1422 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
1423 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
1424 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
1425 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
1426 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
1427 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
1428 * string/memrchr.c (MEMRCHR): New macro.
1429
0ac5ae23
UD
14302011-10-12 Ulrich Drepper <drepper@gmail.com>
1431
1432 Add integration with gcc's -ffinite-math-only and optimize wrapper
1433 functions in libm.
1434 * Versions.def: Define GLIBC_2.15 version for libm.
1435 * math/Makefile (headers): Add bits/math-finite.h.
1436 * math/bits/math-finite.h: New file.
1437 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
1438 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
1439 * math/e_acoshl.c: Add __*_finite alias.
1440 * math/e_acosl.c: Likewise.
1441 * math/e_asinl.c: Likewise.
1442 * math/e_atan2l.c: Likewise.
1443 * math/e_atanhl.c: Likewise.
1444 * math/e_coshl.c: Likewise.
1445 * math/e_exp10.c: Likewise.
1446 * math/e_exp10f.c: Likewise.
1447 * math/e_exp10l.c: Likewise.
1448 * math/e_exp2l.c: Likewise.
1449 * math/e_fmodl.c: Likewise.
1450 * math/e_gammal_r.c: Likewise.
1451 * math/e_hypotl.c: Likewise.
1452 * math/e_j0l.c: Likewise.
1453 * math/e_j1l.c: Likewise.
1454 * math/e_jnl.c: Likewise.
1455 * math/e_lgammal_r.c: Likewise.
1456 * math/e_log10l.c: Likewise.
1457 * math/e_log2l.c: Likewise.
1458 * math/e_logl.c: Likewise.
1459 * math/e_powl.c: Likewise.
1460 * math/e_sinhl.c: Likewise.
1461 * math/e_sqrtl.c: Likewise.
1462 * math/e_scalb.c: Completely rewritten and optimized.
1463 * math/e_scalbf.c: Likewise.
1464 * math/e_scalbl.c: Likewise.
1465 * math/w_acos.c: Likewise.
1466 * math/w_acosf.c: Likewise.
1467 * math/w_acosl.c: Likewise.
1468 * math/w_acosh.c: Likewise.
1469 * math/w_acoshf.c: Likewise.
1470 * math/w_acoshl.c: Likewise.
1471 * math/w_asin.c: Likewise.
1472 * math/w_asinf.c: Likewise.
1473 * math/w_asinl.c: Likewise.
1474 * math/w_atan2.c: Likewise.
1475 * math/w_atan2f.c: Likewise.
1476 * math/w_atan2l.c: Likewise.
1477 * math/w_atanh.c: Likewise.
1478 * math/w_atanhf.c: Likewise.
1479 * math/w_atanhl.c: Likewise.
1480 * math/w_exp10.c: Likewise.
1481 * math/w_exp10f.c: Likewise.
1482 * math/w_exp10l.c: Likewise.
1483 * math/w_fmod.c: Likewise.
1484 * math/w_fmodf.c: Likewise.
1485 * math/w_fmodl.c: Likewise.
1486 * math/w_j0.c: Likewise.
1487 * math/w_j0f.c: Likewise.
1488 * math/w_j0l.c: Likewise.
1489 * math/w_j1.c: Likewise.
1490 * math/w_j1f.c: Likewise.
1491 * math/w_j1l.c: Likewise.
1492 * math/w_jn.c: Likewise.
1493 * math/w_jnf.c: Likewise.
1494 * math/w_log.c: Likewise.
1495 * math/w_logf.c: Likewise.
1496 * math/w_logl.c: Likewise.
1497 * math/w_log10.c: Likewise.
1498 * math/w_log10f.c: Likewise.
1499 * math/w_log10l.c: Likewise.
1500 * math/w_log2.c: Likewise.
1501 * math/w_log2f.c: Likewise.
1502 * math/w_log2l.c: Likewise.
1503 * math/w_pow.c: Likewise.
1504 * math/w_powf.c: Likewise.
1505 * math/w_powl.c: Likewise.
1506 * math/w_remainder.c: Likewise.
1507 * math/w_remainderf.c: Likewise.
1508 * math/w_remainderl.c: Likewise.
1509 * math/w_scalb.c: Likewise.
1510 * math/w_scalbf.c: Likewise.
1511 * math/w_scalbl.c: Likewise.
1512 * math/w_sqrt.c: Likewise.
1513 * math/w_sqrtf.c: Likewise.
1514 * math/w_sqrtl.c: Likewise.
1515 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
1516 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
1517 used.
1518 * math/math_private.h: Declare __kernel_standard_f.
1519 * math/w_cosh.c: Remove cruft and optimize a bit.
1520 * math/w_coshf.c: Likewise.
1521 * math/w_coshl.c: Likewise.
1522 * math/w_exp2.c: Likewise.
1523 * math/w_exp2f.c: Likewise.
1524 * math/w_exp2l.c: Likewise.
1525 * math/w_hypot.c: Likewise.
1526 * math/w_hypotf.c: Likewise.
1527 * math/w_hypotl.c: Likewise.
1528 * math/w_lgamma.c: Likewise.
1529 * math/w_lgamma_r.c: Likewise.
1530 * math/w_lgammaf.c: Likewise.
1531 * math/w_lgammaf_r.c: Likewise.
1532 * math/w_lgammal.c: Likewise.
1533 * math/w_lgammal_r.c: Likewise.
1534 * math/w_sinh.c: Likewise.
1535 * math/w_sinhf.c: Likewise.
1536 * math/w_sinhl.c: Likewise.
1537 * math/w_tgamma.c: Likewise.
1538 * math/w_tgammaf.c: Likewise.
1539 * math/w_tgammal.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1541 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1542 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
1543 Minor optimizations. Pretty printing. Remove cruft.
1544 * sysdeps/i386/fpu/e_acosf.S: Likewise.
1545 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1546 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1547 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1548 * sysdeps/i386/fpu/e_acosl.c: Likewise.
1549 * sysdeps/i386/fpu/e_asin.S: Likewise.
1550 * sysdeps/i386/fpu/e_asinf.S: Likewise.
1551 * sysdeps/i386/fpu/e_atan2.S: Likewise.
1552 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
1553 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
1554 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1555 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1556 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1557 * sysdeps/i386/fpu/e_exp10.S: Likewise.
1558 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
1559 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
1560 * sysdeps/i386/fpu/e_exp2.S: Likewise.
1561 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
1562 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
1563 * sysdeps/i386/fpu/e_fmod.S: Likewise.
1564 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
1565 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
1566 * sysdeps/i386/fpu/e_hypot.S: Likewise.
1567 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
1568 * sysdeps/i386/fpu/e_log.S: Likewise.
1569 * sysdeps/i386/fpu/e_log10.S: Likewise.
1570 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1571 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1572 * sysdeps/i386/fpu/e_log2.S: Likewise.
1573 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1574 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1575 * sysdeps/i386/fpu/e_logf.S: Likewise.
1576 * sysdeps/i386/fpu/e_logl.S: Likewise.
1577 * sysdeps/i386/fpu/e_pow.S: Likewise.
1578 * sysdeps/i386/fpu/e_powf.S: Likewise.
1579 * sysdeps/i386/fpu/e_powl.S: Likewise.
1580 * sysdeps/i386/fpu/e_remainder.S: Likewise.
1581 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
1582 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
1583 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1584 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1585 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1586 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
1587 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
1588 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1610 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1611 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1612 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1613 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1614 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1615 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1616 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1617 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1618 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1619 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1620 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1621 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1622 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1623 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1624 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1625 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1626 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1627 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1628 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1629 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1630 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1669 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
1672 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1674 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1675 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1680 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1681 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1682 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1683 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1684 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1685 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1686 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1687 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1688 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1689 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
1690 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
1691 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
1692 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
1693 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1694 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1695 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1696 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1697 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
1698 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1699 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
1700 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
1701 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
1702 (__isnanf): Likewise.
1703 (__isinf_ns): Likewise.
1704 (__isinf_nsf): Likewise.
1705 (__finite): Likewise.
1706 (__finitef): Likewise.
1707 (__ieee754_sqrt): Define as macro.
1708 (__ieee754_sqrtf): Define as macro.
1709 (__ieee754_sqrtl): Define as macro.
1710 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
1711 inlined copy.
1712 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
1713 __FINITE_MATH_ONLY__ consistent.
1714 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
1715
12cc2fcd
AS
17162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
1717
a843a204
AS
1718 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
1719 of rawmemchr.
1720
12cc2fcd
AS
1721 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
1722
c853acd5
UD
17232011-10-09 Ulrich Drepper <drepper@gmail.com>
1724
1725 * po/ja.po: Update from translation team.
1726
c658d255
RM
17272011-10-08 Roland McGrath <roland@hack.frob.com>
1728
110946e4
RM
1729 * locale/programs/locarchive.c (prepare_address_space): New function.
1730 (create_archive, enlarge_archive, open_archive): Use it.
1731
50604220
RM
1732 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
1733 inside [SHARED], where it is used.
1734
c658d255
RM
1735 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
1736
1737 * nss/getent.c (netgroup_keys): Remove unused variable.
1738 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1739
6a621eb7
UD
17402011-10-08 Ulrich Drepper <drepper@gmail.com>
1741
7edb55ce
UD
1742 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
1743 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
1744 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
1745 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
1746 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
1747 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
1748 * math/Makefile (libm-calls): Add s_isinf_ns.
1749 * math/divtc3.c: Use __isinf_nsl instead of isinf.
1750 * math/multc3.c: Likewise.
1751 * math/s_casin.c: Likewise.
1752 * math/s_casinf.c: Likewise.
1753 * math/s_casinl.c: Likewise.
1754 * math/s_ccos.c: Likewise.
1755 * math/s_ccosf.c: Likewise.
1756 * math/s_ccosl.c: Likewise.
1757 * math/s_ctan.c: Likewise.
1758 * math/s_ctanf.c: Likewise.
1759 * math/s_ctanh.c: Likewise.
1760 * math/s_ctanhf.c: Likewise.
1761 * math/s_ctanhl.c: Likewise.
1762 * math/s_ctanl.c: Likewise.
1763 * math/w_fmod.c: Likewise.
1764 * math/w_fmodf.c: Likewise.
1765 * math/w_fmodl.c: Likewise.
1766 * math/w_remainder.c: Likewise.
1767 * math/w_remainderf.c: Likewise.
1768 * math/w_remainderl.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
1770 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
1771 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
1772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
1773 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
1774 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
1775 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
1776 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
1777
187da0ae
UD
1778 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
1779 of the number.
1780 * stdio-common/printf_fphex.c: Likewise.
1781 * stdio-common/printf_size.c: Likewise.
1782
9277c064
UD
1783 * math/e_exp10.c: Include math_private.h using <...> not "...".
1784 * math/e_exp10f.c: Likewise.
1785 * math/e_exp10l.c: Likewise.
1786 * math/e_exp2l.c: Likewise.
1787 * math/e_j0l.c: Likewise.
1788 * math/e_j1l.c: Likewise.
1789 * math/e_jnl.c: Likewise.
1790 * math/e_lgammal_r.c: Likewise.
1791 * math/e_rem_pio2l.c: Likewise.
1792 * math/e_scalb.c: Likewise.
1793 * math/e_scalbf.c: Likewise.
1794 * math/e_scalbl.c: Likewise.
1795 * math/k_cosl.c: Likewise.
1796 * math/k_sinl.c: Likewise.
1797 * math/k_tanl.c: Likewise.
1798 * math/s_cacoshf.c: Likewise.
1799 * math/s_catan.c: Likewise.
1800 * math/s_catanf.c: Likewise.
1801 * math/s_catanh.c: Likewise.
1802 * math/s_catanhf.c: Likewise.
1803 * math/s_catanhl.c: Likewise.
1804 * math/s_catanl.c: Likewise.
1805 * math/s_ccosh.c: Likewise.
1806 * math/s_ccoshf.c: Likewise.
1807 * math/s_ccoshl.c: Likewise.
1808 * math/s_cexp.c: Likewise.
1809 * math/s_cexpf.c: Likewise.
1810 * math/s_cexpl.c: Likewise.
1811 * math/s_clog.c: Likewise.
1812 * math/s_clog10.c: Likewise.
1813 * math/s_clog10f.c: Likewise.
1814 * math/s_clog10l.c: Likewise.
1815 * math/s_clogf.c: Likewise.
1816 * math/s_clogl.c: Likewise.
1817 * math/s_csin.c: Likewise.
1818 * math/s_csinf.c: Likewise.
1819 * math/s_csinh.c: Likewise.
1820 * math/s_csinhf.c: Likewise.
1821 * math/s_csinhl.c: Likewise.
1822 * math/s_csinl.c: Likewise.
1823 * math/s_csqrt.c: Likewise.
1824 * math/s_csqrtf.c: Likewise.
1825 * math/s_csqrtl.c: Likewise.
1826 * math/s_ctan.c: Likewise.
1827 * math/s_ctanf.c: Likewise.
1828 * math/s_ctanh.c: Likewise.
1829 * math/s_ctanhf.c: Likewise.
1830 * math/s_ctanhl.c: Likewise.
1831 * math/s_ctanl.c: Likewise.
1832 * math/s_ldexp.c: Likewise.
1833 * math/s_ldexpf.c: Likewise.
1834 * math/s_ldexpl.c: Likewise.
1835 * math/s_significand.c: Likewise.
1836 * math/s_significandf.c: Likewise.
1837 * math/s_significandl.c: Likewise.
1838 * math/w_acos.c: Likewise.
1839 * math/w_acosf.c: Likewise.
1840 * math/w_acosh.c: Likewise.
1841 * math/w_acoshf.c: Likewise.
1842 * math/w_acoshl.c: Likewise.
1843 * math/w_acosl.c: Likewise.
1844 * math/w_asin.c: Likewise.
1845 * math/w_asinf.c: Likewise.
1846 * math/w_asinl.c: Likewise.
1847 * math/w_atan2.c: Likewise.
1848 * math/w_atan2f.c: Likewise.
1849 * math/w_atan2l.c: Likewise.
1850 * math/w_atanh.c: Likewise.
1851 * math/w_atanhf.c: Likewise.
1852 * math/w_atanhl.c: Likewise.
1853 * math/w_cosh.c: Likewise.
1854 * math/w_coshf.c: Likewise.
1855 * math/w_coshl.c: Likewise.
1856 * math/w_dremf.c: Likewise.
1857 * math/w_exp10.c: Likewise.
1858 * math/w_exp10f.c: Likewise.
1859 * math/w_exp10l.c: Likewise.
1860 * math/w_exp2.c: Likewise.
1861 * math/w_exp2f.c: Likewise.
1862 * math/w_fmod.c: Likewise.
1863 * math/w_fmodf.c: Likewise.
1864 * math/w_fmodl.c: Likewise.
1865 * math/w_hypot.c: Likewise.
1866 * math/w_hypotf.c: Likewise.
1867 * math/w_hypotl.c: Likewise.
1868 * math/w_j0.c: Likewise.
1869 * math/w_j0f.c: Likewise.
1870 * math/w_j0l.c: Likewise.
1871 * math/w_j1.c: Likewise.
1872 * math/w_j1f.c: Likewise.
1873 * math/w_j1l.c: Likewise.
1874 * math/w_jn.c: Likewise.
1875 * math/w_jnf.c: Likewise.
1876 * math/w_jnl.c: Likewise.
1877 * math/w_lgamma.c: Likewise.
1878 * math/w_lgamma_r.c: Likewise.
1879 * math/w_lgammaf.c: Likewise.
1880 * math/w_lgammaf_r.c: Likewise.
1881 * math/w_lgammal.c: Likewise.
1882 * math/w_lgammal_r.c: Likewise.
1883 * math/w_log.c: Likewise.
1884 * math/w_log10.c: Likewise.
1885 * math/w_log10f.c: Likewise.
1886 * math/w_log10l.c: Likewise.
1887 * math/w_log2.c: Likewise.
1888 * math/w_log2f.c: Likewise.
1889 * math/w_log2l.c: Likewise.
1890 * math/w_logf.c: Likewise.
1891 * math/w_logl.c: Likewise.
1892 * math/w_pow.c: Likewise.
1893 * math/w_powf.c: Likewise.
1894 * math/w_powl.c: Likewise.
1895 * math/w_remainder.c: Likewise.
1896 * math/w_remainderf.c: Likewise.
1897 * math/w_remainderl.c: Likewise.
1898 * math/w_scalb.c: Likewise.
1899 * math/w_scalbf.c: Likewise.
1900 * math/w_scalbl.c: Likewise.
1901 * math/w_sinh.c: Likewise.
1902 * math/w_sinhf.c: Likewise.
1903 * math/w_sinhl.c: Likewise.
1904 * math/w_sqrt.c: Likewise.
1905 * math/w_sqrtf.c: Likewise.
1906 * math/w_sqrtl.c: Likewise.
1907 * math/w_tgamma.c: Likewise.
1908 * math/w_tgammaf.c: Likewise.
1909 * math/w_tgammal.c: Likewise.
1910
6a621eb7
UD
1911 * po/ja.po: Update from translation team.
1912
bf582445
AJ
19132011-09-29 Andreas Jaeger <aj@suse.de>
1914
f9efbf3a
AJ
1915 [BZ #13179]
1916 * sunrpc/netname.c (netname2host): Fix logic.
1917
bf582445
AJ
1918 [BZ #6779]
1919 [BZ #6783]
1920 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
1921 correctly.
1922 * math/w_remainder.c (__remainder): Likewise.
1923 * math/w_remainderf.c (__remainderf): Likewise.
1924 * math/libm-test.inc (remainder_test): Add test cases.
1925
48693bea
AK
19262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1927
1928 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
1929 sdiv_qrnnd.
1930
42622229
LD
19312011-10-07 Ulrich Drepper <drepper@gmail.com>
1932
1933 * string/test-memcmp.c: Avoid unncessary #defines.
1934 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1935
093ecf92
LD
19362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1937
1938 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
1939 Use new sse2 version for core i3 - i7 as it's faster
1940 than sse42 version.
1941 (bit_Prefer_PMINUB_for_stringop): New.
1942 * sysdeps/x86_64/rawmemchr.S: Update.
1943 Replace with faster SSE2 version.
1944 * sysdeps/x86_64/memrchr.S: New file.
1945 * sysdeps/x86_64/memchr.S: Update.
1946 Replace with faster SSE2 version.
1947
fde56e5c
MP
19482011-09-12 Marek Polacek <mpolacek@redhat.com>
1949
1950 * elf/dl-load.c (lose): Add cast to avoid warning.
1951
21fd49a9
UD
19522011-10-07 Ulrich Drepper <drepper@gmail.com>
1953
5a06e643
UD
1954 * po/ca.po: Update from translation team.
1955
684ae515
UD
1956 * inet/getnetgrent_r.c: Hook up nscd.
1957 * nscd/Makefile (routines): Add nscd_netgroup.
1958 (nscd-modules): Add netgroupcache.
1959 (CFLAGS-netgroupcache.c): Define.
1960 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
1961 (cache_search): Add const to second parameter.
1962 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
1963 INNETGR.
1964 (dbs): Add netgrdb entry.
1965 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
1966 (verify_persistent_db): Handle netgrdb.
1967 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
1968 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
1969 GETFDNETGR.
1970 (netgroup_response_header): Define.
1971 (innetgroup_response_header): Define.
1972 (datahead): Add netgroup_response_header and innetgroup_response_header
1973 elements.
1974 * nscd/nscd.conf: Add entries for netgroup cache.
1975 * nscd/nscd.h (dbtype): Add netgrdb.
1976 (_PATH_NSCD_NETGROUP_DB): Define.
1977 (netgroup_iov_disabled): Declare.
1978 (xmalloc, xcalloc, xrealloc): Move declarations here.
1979 (cache_search): Adjust prototype.
1980 Add netgroup-related prototypes.
1981 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
1982 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
1983 (__nscd_innetgr): Declare.
1984 * nscd/selinux.c (perms): Use access_vector_t as element type and
1985 add netgroup-related initializers.
1986 * nscd/netgroupcache.c: New file.
1987 * nscd/nscd_netgroup.c: New file.
1988 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
1989 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
1990 For four parameters use innetgr.
1991 * nss/nss_files/files-init.c: Add definition and callback for netgr.
1992 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
1993 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
1994 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
1995
21fd49a9
UD
1996 * nscd/connections.c (register_traced_file): Don't register file
1997 for disabled databases.
1998
054c0457
UD
19992011-10-06 Ulrich Drepper <drepper@gmail.com>
2000
32b63198
UD
2001 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
2002
054c0457
UD
2003 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
2004 from tree and freeing node.
2005
64031225
JO
20062011-09-25 Jiri Olsa <jolsa@redhat.com>
2007
2008 * nss/nsswitch.c (__nss_database_lookup): Handle
2009 nss_parse_service_list out of memory case.
2010
0490345c
JO
20112011-09-15 Jiri Olsa <jolsa@redhat.com>
2012
2013 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
2014 out of memory case.
2015
3a62d00d
AS
20162011-10-04 Andreas Schwab <schwab@redhat.com>
2017
2018 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
2019 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
2020 pass it down.
2021 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
2022 elf_machine_rela, elf_machine_lazy_rel.
2023 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
2024 (ELF_DYNAMIC_DO_REL): Likewise.
2025 (ELF_DYNAMIC_DO_RELA): Likewise.
2026 (ELF_DYNAMIC_RELOCATE): Likewise.
2027 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
2028 to ELF_DYNAMIC_DO_REL.
2029 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
2030 (dl_main): In trace mode always set __RTLD_NOIFUNC.
2031 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
2032 elf_machine_rela.
2033 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
2034 skip_ifunc, don't call ifunc function if non-zero.
2035 (elf_machine_rela): Likewise.
2036 (elf_machine_lazy_rel): Likewise.
2037 (elf_machine_lazy_rela): Likewise.
2038 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
2039 (elf_machine_lazy_rel): Likewise.
2040 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2041 Likewise.
2042 (elf_machine_lazy_rel): Likewise.
2043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2044 Likewise.
2045 (elf_machine_lazy_rel): Likewise.
2046 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
2047 (elf_machine_lazy_rel): Likewise.
2048 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
2049 (elf_machine_lazy_rel): Likewise.
2050 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2051 (elf_machine_lazy_rel): Likewise.
2052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2053 (elf_machine_lazy_rel): Likewise.
2054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2055 (elf_machine_lazy_rel): Likewise.
2056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2057 (elf_machine_lazy_rel): Likewise.
2058
68577918
UD
20592011-09-28 Ulrich Drepper <drepper@gmail.com>
2060
2061 * nss/nss_files/files-init.c (_nss_files_init): Use static
2062 initialization for all the *_traced_file variables.
2063
68822d74
AS
20642011-09-28 Andreas Schwab <schwab@redhat.com>
2065
2066 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2067
2056100b
RM
20682011-09-27 Roland McGrath <roland@hack.frob.com>
2069
2070 [BZ #13226]
2071 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
2072
32c76b63
AS
20732011-09-27 Andreas Schwab <schwab@redhat.com>
2074
2075 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2076 Reread the line before reparsing it.
2077
bf972c9d
AS
20782011-09-26 Andreas Schwab <schwab@redhat.com>
2079
2080 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
2081
e057a1b5
JM
20822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
2083 Maxim Kuvyrkov <maxim@codesourcery.com>
2084 Joseph Myers <joseph@codesourcery.com>
2085
2086 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
2087 if needed for __stack_chk_guard.
2088
bc7e1c36
RM
20892011-09-19 Roland McGrath <roland@hack.frob.com>
2090
ecb1482f
RM
2091 * sysdeps/posix/spawni.c (script_execute): Always define it.
2092 It will be optimized away if unused.
2093 (maybe_script_execute): New function.
2094 (__spawni): Call it.
2095
bc7e1c36
RM
2096 * Makerules: Don't include tls.make.
2097 (config-tls): Always set to thread.
2098 * tls.make.c: File removed.
2099
1c3b002b
MF
21002011-09-19 Mike Frysinger <vapier@gentoo.org>
2101
2102 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
2103 * config.make.in (CPPFLAGS-config): New substituted variable.
2104
2840865d
UD
21052011-09-15 Ulrich Drepper <drepper@gmail.com>
2106
88738eb6
UD
2107 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
2108
cbf645a6 2109 [BZ #13192]
2840865d
UD
2110 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
2111 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
2112
b402e91a
RM
21132011-09-15 Roland McGrath <roland@hack.frob.com>
2114
2115 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
2116 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
2117 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2118 (CALL_FAIL): Likewise.
2119 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
2120 (CALL_FAIL): Macro removed.
2121 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
2122
4c1a1f71
UD
21232011-09-15 Ulrich Drepper <drepper@gmail.com>
2124
2125 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
2126 for __FINITE_MATH_ONLY__ == 1.
2127
edc121be
AS
21282011-09-15 Andreas Schwab <schwab@redhat.com>
2129
2130 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
2131 __ieee754_sqrt instead of sqrt.
2132 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
2133 __ieee754_sqrtf instead of sqrtf.
2134 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2135 __floorf instead of floorf.
2136 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
2137 __floorf, __truncf instead of floorf, truncf.
2138
cd205654
UD
21392011-09-14 Ulrich Drepper <drepper@gmail.com>
2140
ee4d0315
UD
2141 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
2142
cd205654
UD
2143 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
2144 __extern_always_inline.
2145 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
2146 32-bit.
2147
48b67d71
AS
21482011-09-14 Andreas Schwab <schwab@redhat.com>
2149
2150 * elf/rtld.c (dl_main): Also relocate in dependency order when
2151 doing symbol dependency testing.
2152
1ae12c75
AS
21532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
2154
2155 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2156 Always define `refsym'.
2157
995a80df
AS
21582011-09-13 Andreas Schwab <schwab@redhat.com>
2159
e529793b
AS
2160 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
2161 (__FD_ELT): Renamed from __FDELT.
2162 * misc/bits/select2.h (__FD_ELT): Likewise.
2163 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
2164 __FD_MASK instead of __FDELT, __FDMASK.
2165 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2166 Likewise.
2167 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2168 Likewise.
2169
52d4fef8
AS
2170 * elf/Makefile (gen-ldd): Fix pattern.
2171
995a80df
AS
2172 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
2173 (init_tls): Likewise.
2174
8682f8b0
UD
21752011-09-12 Ulrich Drepper <drepper@gmail.com>
2176
2177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
2178
de82006d
AS
21792011-09-12 Andreas Schwab <schwab@redhat.com>
2180
a7c8e6a1
AS
2181 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
2182 `struct cmsghdr *' instead of `void *'.
2183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
2184 Likewise.
2185
0f31fe77
AS
21862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2187
2188 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
2189 if non-absolute.
2190 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
2191 ldd_rewrite_script.
0f31fe77 2192
32b4c839
UD
21932011-09-11 Ulrich Drepper <drepper@gmail.com>
2194
83cd1420
UD
2195 * configure.in: Remove --with-tls option.
2196 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
2197 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
2198 out in case it is missing.
2199 * sysdeps/ia64/elf/configure.in: Likewise.
2200 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
2201 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
2202 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
2203 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
2204 * sysdeps/sh/elf/configure.in: Likewise.
2205 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
2206 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2207 * sysdeps/x86_64/elf/configure.in: Likewise.
2208 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
2209 * sysdeps/mach/hurd/tls.h: Likewise.
2210
633f745d
UD
2211 [BZ #13067]
2212 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
2213
f318beb8
UD
2214 [BZ #13090]
2215 * configure.in: Fix use of AC_INIT.
2216
32b4c839
UD
2217 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
2218
3ce1f295
UD
22192011-09-10 Ulrich Drepper <drepper@gmail.com>
2220
bb016596
UD
2221 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
2222 __set_errno.
8e58439c
UD
2223 * malloc/hooks.c: Likewise.
2224
02d46fc4
UD
2225 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
2226 variables statically.
2227 (narenas): Initialize.
2228 (list_lock): Initialize.
bb016596
UD
2229 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
2230 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
2231 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
2232 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
2233 Add initializers to main_arena and mp_.
2234 (malloc_state): Remove pagesize member. Change all users to use
2235 GLRO(dl_pagesize).
2236
2237 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
2238 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
2239 is always initialized.
2240
22a89187
UD
2241 * malloc/malloc.c: Removed unused configurations and dead code.
2242 * malloc/arena.c: Likewise.
2243 * malloc/hooks.c: Likewise.
02d46fc4 2244 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 2245
d063d164
UD
2246 * include/tls.h: Removed. USE___THREAD must always be defined.
2247 * bits/libc-tsd.h: Don't handle !USE___THREAD.
2248 * elf/dl-libc.c: Likewise.
2249 * elf/dl-tsd.c: Likewise.
2250 * include/errno.h: Likewise.
2251 * include/netdb.h: Likewise.
2252 * include/resolv.h: Likewise.
2253 * inet/herrno-loc.c: Likewise.
2254 * inet/herrno.c: Likewise.
2255 * malloc/arena.c: Likewise.
2256 * malloc/hooks.c: Likewise.
2257 * malloc/malloc.c: Likewise.
2258 * resolv/res-state.c: Likewise.
2259 * resolv/res_libc.c: Likewise.
2260 * sysdeps/i386/dl-machine.h: Likewise.
2261 * sysdeps/ia64/dl-machine.h: Likewise.
2262 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2263 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2264 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2265 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2266 * sysdeps/sh/dl-machine.h: Likewise.
2267 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2268 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2269 * sysdeps/unix/i386/sysdep.S: Likewise.
2270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2271 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2274 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2276 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2280 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2281 * sysdeps/x86_64/dl-machine.h: Likewise.
2282 * tls.make.c: Likewise.
2283
3ce1f295
UD
2284 * configure.in: Remove --with-__thread option. Make tests for
2285 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
2286 tls_model attribute fail if no support is available. Remove
2287 USE_IN_LIBIO.
2288 * Makeconfig: Adjust for dropped configure option. All features are
2289 now mandatory.
2290 * Makerules: Likewise.
2291 * Versions.def: Likewise.
2292 * argp/argp-fmtstream.c: Likewise.
2293 * argp/argp-fmtstream.h: Likewise.
2294 * argp/argp-help.c: Likewise.
2295 * assert/assert.c: Likewise.
2296 * config.h.in: Likewise.
2297 * config.make.in: Likewise.
2298 * configure: Likewise.
2299 * configure.in: Likewise.
2300 * csu/Versions: Likewise.
2301 * csu/init.c: Likewise.
2302 * elf/tst-audit2.c: Likewise.
2303 * elf/tst-tls10.c: Likewise.
2304 * elf/tst-tls10.h: Likewise.
2305 * elf/tst-tls11.c: Likewise.
2306 * elf/tst-tls12.c: Likewise.
2307 * elf/tst-tls14.c: Likewise.
2308 * elf/tst-tlsmod11.c: Likewise.
2309 * elf/tst-tlsmod12.c: Likewise.
2310 * elf/tst-tlsmod13.c: Likewise.
2311 * elf/tst-tlsmod13a.c: Likewise.
2312 * elf/tst-tlsmod14a.c: Likewise.
2313 * elf/tst-tlsmod15b.c: Likewise.
2314 * elf/tst-tlsmod16a.c: Likewise.
2315 * elf/tst-tlsmod16b.c: Likewise.
2316 * elf/tst-tlsmod7.c: Likewise.
2317 * elf/tst-tlsmod8.c: Likewise.
2318 * elf/tst-tlsmod9.c: Likewise.
2319 * gmon/gmon.c: Likewise.
2320 * grp/fgetgrent_r.c: Likewise.
2321 * grp/putgrent.c: Likewise.
2322 * hurd/fopenport.c: Likewise.
2323 * include/libc-symbols.h: Likewise.
2324 * include/tls.h: Likewise.
2325 * intl/gettextP.h: Likewise.
2326 * intl/loadinfo.h: Likewise.
2327 * locale/global-locale.c: Likewise.
2328 * locale/localeinfo.h: Likewise.
2329 * mach/devstream.c: Likewise.
2330 * malloc/arena.c: Likewise.
2331 * malloc/set-freeres.c: Likewise.
2332 * misc/err.c: Likewise.
2333 * misc/getttyent.c: Likewise.
2334 * misc/mntent_r.c: Likewise.
2335 * posix/getopt.c: Likewise.
2336 * posix/wordexp.c: Likewise.
2337 * pwd/fgetpwent_r.c: Likewise.
2338 * resolv/Versions: Likewise.
2339 * resolv/res_hconf.c: Likewise.
2340 * shadow/fgetspent_r.c: Likewise.
2341 * shadow/putspent.c: Likewise.
2342 * stdio-common/printf_fphex.c: Likewise.
2343 * stdio-common/tmpfile.c: Likewise.
2344 * stdlib/abort.c: Likewise.
2345 * stdlib/fmtmsg.c: Likewise.
2346 * sunrpc/auth_unix.c: Likewise.
2347 * sunrpc/clnt_perr.c: Likewise.
2348 * sunrpc/clnt_tcp.c: Likewise.
2349 * sunrpc/clnt_udp.c: Likewise.
2350 * sunrpc/clnt_unix.c: Likewise.
2351 * sunrpc/openchild.c: Likewise.
2352 * sunrpc/svc_simple.c: Likewise.
2353 * sunrpc/svc_tcp.c: Likewise.
2354 * sunrpc/svc_udp.c: Likewise.
2355 * sunrpc/svc_unix.c: Likewise.
2356 * sunrpc/xdr.c: Likewise.
2357 * sunrpc/xdr_array.c: Likewise.
2358 * sunrpc/xdr_rec.c: Likewise.
2359 * sunrpc/xdr_ref.c: Likewise.
2360 * sunrpc/xdr_stdio.c: Likewise.
2361
1248c1c4
PB
23622011-09-09 Ulrich Drepper <drepper@gmail.com>
2363
2364 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2365
23662011-07-03 Andreas Jaeger <aj@suse.de>
2367
2368 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
2369 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
2370 regenerate with gen-libm-tests.pl.
2371
23722010-05-12 Petr Baudis <pasky@suse.cz>
2373
2374 [BZ #11589]
2375 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
2376 around j0() zero points by switching to j1().
2377 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2378 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2381
f22e1074
UD
23822011-09-09 Ulrich Drepper <drepper@gmail.com>
2383
f19009c1
UD
2384 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
2385 instead of 0.
2386 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
2387 instead of 0. .
2388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2389 Patch in part by Pavel Roskin <proski@gnu.org>.
2390
3f8cc204
UD
2391 [BZ #13138]
2392 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
2393 realloc.
2394 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
2395 Free memory block if necessary.
2396
f22e1074
UD
2397 [BZ #12847]
2398 * libio/genops.c (INTDEF): For string streams the _lock pointer can
2399 be NULL. Don't lock in this case.
2400
0a2349f9
RM
24012011-09-09 Roland McGrath <roland@hack.frob.com>
2402
2403 * elf/elf.h (ELFOSABI_GNU): New macro.
2404 (ELFOSABI_LINUX): Define to that.
2405
f3cdd467
DZ
24062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
2407
2408 * string/strncat.c (strncat): Undef the symbol in case it has been
2409 defined in bits/string.h.
2410
74718d13
UD
24112011-09-09 Ulrich Drepper <drepper@gmail.com>
2412
633e9e0f
UD
2413 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
2414
0a2349f9 2415 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
2416 link map.
2417
f9924780
AJ
24182011-08-17 Andreas Jaeger <aj@suse.de>
2419
2420 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
2421
7f5517aa
PP
24222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2423 Ian Lance Taylor <iant@google.com>
2424
2425 * math/libm-test.inc (lround_test): New testcase.
2426 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
2427
762011fe
UD
24282011-09-08 Ulrich Drepper <drepper@gmail.com>
2429
92963737
UD
2430 * Makefile: Remove support for automatic cvs check-ins.
2431 * Makerules: Likewise.
2432 * config.make.in: Likewise.
2433 * configure.in: Likewise.
2434 * intl/Makefile: Likewise.
2435 * locale/Makefile: Likewise.
2436 * po/Makefile: Likewise.
2437 * posix/Makefile: Likewise.
2438 * sysdeps/gnu/Makefile: Likewise.
2439 * sysdeps/mach/hurd/Makefile: Likewise.
2440 * sysdeps/sparc/sparc32/Makefile: Likewise.
2441
b0727fd8
JS
2442 [BZ #13118]
2443 * posix/Makefile (bug-regex32-ENV): Define.
2444 Patch by John Stanley <jpsinthemix@verizon.net>.
2445
a0f33f99
UD
2446 * misc/Makefile (headers): Add bits/select2.h.
2447 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
2448 * misc/bits/select2.h: New file.
2449 * include/bits/select2.h: New file.
2450 * debug/Makefile (routines): Add fdelt_chk.
2451 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
2452 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
2453 FD_ISSET.
2454 * debug/fdelt_chk.c: New file.
2455
762011fe
UD
2456 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
2457 * wcsmbs/test-wmemcmp.c: Likewise.
2458 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 2459 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
2460
24612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2462
2463 * string/Makefile (strop-tests): Add memcmp.
2464 * string/test-wmemcmp.c: New file.
2465 * string/test-memcmp.c: Add wmemcmp support.
2466
7f513ec8
RM
24672011-09-08 Roland McGrath <roland@hack.frob.com>
2468
0442afb4
RM
2469 [BZ #13153]
2470 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
2471 2011-07-19 change.
2472
7f513ec8
RM
2473 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
2474 garbage value in a __mach_port_mod_refs call in the cases of the
2475 task-self and thread-self ports.
2476
a12b2239
ST
24772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2478
2479 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
2480
610f9ab4
AS
24812011-09-08 Andreas Schwab <schwab@redhat.com>
2482
7f513ec8 2483 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 2484
48882a1a
LD
24852011-09-07 Ulrich Drepper <drepper@gmail.com>
2486
b49865be
UD
2487 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
2488
fdc86bc9
UD
2489 * elf/dl-libc.c (dlerror_run): Pass back error code from
2490 dl_catch_error.
2491
c966526a
UD
2492 [BZ #13123]
2493 * elf/dl-load.c (lose): Free l_origin if it is valid.
2494
48882a1a
LD
2495 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
2496 names.
2497 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2498 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2499 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2500 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2501 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2502 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
2503
77a2a8b4
AZ
25042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2505
2506 * sysdeps/powerpc/fpu/e_hypot.c: New file.
2507 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
2508 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
2509 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
2510 * sysdeps/powerpc/fpu/k_cosf.c: New file.
2511 * sysdeps/powerpc/fpu/k_sinf.c: New file.
2512 * sysdeps/powerpc/fpu/s_cosf.c: New file.
2513 * sysdeps/powerpc/fpu/s_sinf.c: New file.
2514 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
2515 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
2516
24f579d8
AM
25172011-08-15 Alan Modra <amodra@gmail.com>
2518
2519 [BZ #13092]
2520 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
2521 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
2522 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
2523 ppc_mcount to static-only-routines.
2524 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
2525 __mcount_internal.
2526 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
2527 __mcount_internal with usual JUMPTARGET. Remove useless nop.
2528
3d4837df
UD
25292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
2530
2531 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
2532 for finite and infinity parameters.
2533
22700377
WS
25342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2535
2536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
2537 and add nop instructions for throughput optimization.
2538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2539
5025581e
WS
25402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
2541
2542 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
2543 aligned copy for power7 with vector-scalar instructions.
2544 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2545
08a300c9
L
25462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
2547
2548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
2549 AVX check.
2550
59178ef9
AS
25512011-09-07 Andreas Schwab <schwab@redhat.com>
2552
2553 [BZ #13144]
2554 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
2555 last change.
2556
e38ba7ab
UD
25572011-09-07 Ulrich Drepper <drepper@gmail.com>
2558
2559 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2560 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
2561 syscall wrapper around clock_gettime in __vdso_clock_gettime.
2562 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
2563 clock_gettime.
2564
d53a73ac
UD
25652011-09-06 Ulrich Drepper <drepper@gmail.com>
2566
fc8bffcc
UD
2567 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
2568 Forgot to demangle the pointer.
2569
ceaa0c5d
UD
2570 * sysdeps/i386/sysdep.h: Define atom_text_section.
2571 * sysdeps/x86_64/sysdep.h: Likewise.
2572 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
2573 section with atom_text_section.
2574 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2575 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2576 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2577 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
2578 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
2579
a77d3c17
UD
2580 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
2581 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
2582 already be defined. Change to take two parameters and don't assign
2583 result to variable. Adjust all users.
2584 Define INTERNAL_GETTIME if not already defined.
2585 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
2586 call.
2587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
2588 HAVE_CLOCK_GETTIME_VSYSCALL.
2589 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
2590
d53a73ac
UD
2591 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
2592 gettimeofday vsyscall, just use time.
2593
a8f84144
AS
25942011-09-06 Andreas Schwab <schwab@redhat.com>
2595
2596 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
2597 <errno.h>.
2598
ef606249
UD
25992011-09-06 Ulrich Drepper <drepper@gmail.com>
2600
2601 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
2602 syscall on x86-64.
2603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
2604 syscall.
2605 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2606 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
2607 syscall if possible.
2608
6585cb60
UD
26092011-09-05 Ulrich Drepper <drepper@gmail.com>
2610
2611 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
2612 e_ident. Don't pass to find_mapsXX.
2613 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
2614
a5f524e4
LD
26152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2616
2617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2618 strchr-sse2-no-bsf strrchr-sse2-no-bsf
2619 * sysdeps/x86_64/multiarch/strchr.S: Update.
2620 Check bit_slow_BSF bit.
2621 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2622 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
2623 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
2624
554881ef
UD
26252011-09-05 Ulrich Drepper <drepper@gmail.com>
2626
d96de963
UD
2627 [BZ #13134]
2628 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
2629 before glibc 2.15.
2630 (tryshell): Define.
2631 (__spawni): Change last parameter to be flag. Test
2632 SPAWN_XFLAGS_USE_PATH flag to use path or not.
2633 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
2634 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
2635 * posix/spawni.c: Likewise.
2636 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
2637 * posix/spawnp.c: Likewise. Change normal version to use
2638 SPAWN_XFLAGS_USE_PATH.
2639 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
2640 SPAWN_XFLAGS_TRY_SHELL.
2641
d48e5868
UD
2642 [BZ #13150]
2643 * posix/glob.h: Remove gcc 1.x support.
2644
554881ef
UD
2645 [BZ #13068]
2646 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
2647
693fb948
LD
26482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2649
2650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2651 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
2652 strrchr-sse2-bsf
2653 * sysdeps/i386/i686/multiarch/strchr.S: New file.
2654 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
2655 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
2656 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
2657 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
2658 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
2659
1b48c537
UD
26602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2661
49d42c37
UD
2662 * sysdeps/x86_64/wcscmp.S: New file.
2663
1b48c537
UD
2664 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
2665 wcscmp-c wcscmp-sse2
2666 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
2667 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
2668 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
2669 * wcsmbs/wcscmp.c: Allow renaming.
2670
15c95c5d
DM
26712011-09-05 David S. Miller <davem@davemloft.net>
2672
2673 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
2674 stack slot, rather than the struct return pointer slot.
2675 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
2676 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
2677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
2678 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
2679
2f0ad8f3
UD
26802011-09-05 Ulrich Drepper <drepper@gmail.com>
2681
d88ae418
UD
2682 * po/ja.po: Update from translation team.
2683
2f0ad8f3
UD
2684 [BZ #13144]
2685 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
2686 kernel in 64-bit binaries.
2687
5f4318d1
DM
26882011-09-01 David S. Miller <davem@davemloft.net>
2689
2690 * elf/elf.h (HWCAP_SPARC_*): Move to..
2691 * sysdeps/sparc/sysdep.h: this new file and add new values.
2692 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
2693 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
2694 _DL_HWCAP_COUNT to 24.
2695 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2696 entries.
2697 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
2698 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
2699 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
2700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
2701 instead of magic constants.
2702 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2703
3ba57516
DM
27042011-08-31 David S. Miller <davem@davemloft.net>
2705
2706 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
2707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
2708 Reimplement to do errno handling inline.
2709 (SYSCALL_ERROR_HANDLER): New macro.
2710 (__SYSCALL_STRING): Do not do errno handling in asm.
2711 (__CLONE_SYSCALL_STRING): Delete.
2712 (__INTERNAL_SYSCALL_STRING): Delete.
2713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
2714 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
2715 (PSEUDO): Reimplement to do errno handling inline.
2716 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
2717 (SYSCALL_ERROR_HANDLER): New macro.
2718 (__SYSCALL_STRING): Do not do errno handling in asm.
2719 (__CLONE_SYSCALL_STRING): Delete.
2720 (__INTERNAL_SYSCALL_STRING): Delete.
2721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
2722 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
2723 i386.
2724 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
2725 (inline_syscall*): Add 'err' argument.
2726 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
2727 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
2728 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
2729 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
2730
2731 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
2732 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2733
2bc17433
AS
27342011-08-30 Andreas Schwab <schwab@redhat.com>
2735
2736 * elf/rtld.c (dl_main): Relocate objects in dependency order.
2737
fbeb5f4d
JO
27382011-08-29 Jiri Olsa <jolsa@redhat.com>
2739
2740 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
2741 directive.
2742
ad69cc26
DM
27432011-08-24 David S. Miller <davem@davemloft.net>
2744
2745 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
2746
39dd69df
AS
27472011-08-24 Andreas Schwab <schwab@redhat.com>
2748
2749 * elf/Makefile: Add rules to build and run unload8 test.
2750 * elf/unload8.c: New file.
2751 * elf/unload8mod1.c: New file.
2752 * elf/unload8mod1x.c: New file.
2753 * elf/unload8mod2.c: New file.
2754 * elf/unload8mod3.c: New file.
2755
2756 * elf/dl-close.c (_dl_close_worker): Reset private search list if
2757 it wasn't used.
2758
2c0b250a
DM
27592011-08-23 David S. Miller <davem@davemloft.net>
2760
2761 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
2762 subtract stack bias.
2763 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
2764 %sp not %fp in calculations.
2765 (_JMPBUF_UNWINDS_ADJ): Likewise.
2766
22044b48
DM
2767 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
2768 (aio_suspend): Call it to force an exception region around the
2769 AIO_MISC_WAIT() invocation.
2770
2cae4995
AS
27712011-08-23 Andreas Schwab <schwab@redhat.com>
2772
2773 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
2774 backslash.
2775
873a772e
AJ
27762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
2777
2778 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
2779 protection macro.
2780 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
2781 and <dl-machine.h>.
2782 (Elf64_FuncDesc): Remove.
2783
25ad0df1
DM
27842011-08-22 David S. Miller <davem@davemloft.net>
2785
2786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
2787 sigaltstack check, add missing cfi directives.
2788 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
2789 missing cfi directives, and sigaltstack handling.
2790
e888bcbe
AS
27912011-08-16 Andreas Schwab <schwab@redhat.com>
2792
2793 [BZ #11724]
2794 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
2795 object is seen twice.
2796 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2797
2798 * elf/Makefile (distribute): Add tst-initorder2.c.
2799 (tests): Add tst-initorder2.
2800 (modules-names): Add tst-initorder2a tst-initorder2b
2801 tst-initorder2c tst-initorder2d. Add rules to build them.
2802 ($(objpfx)tst-initorder2.out): New rule.
2803 * elf/tst-initorder2.c: New file.
2804 * elf/tst-initorder2.exp: New file.
2805
87162f46
AS
28062011-08-22 Andreas Schwab <schwab@redhat.com>
2807
70538b7f
AS
2808 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
2809
f55ffe58
AS
2810 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
2811 dependencies back to end of function.
2812
87162f46
AS
2813 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2814 $(elfobjdir)/ld.so.
2815
91b392a4
UD
28162011-08-21 Ulrich Drepper <drepper@gmail.com>
2817
2818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
2819 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
2820 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
2821 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
2822 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
2823 of __vdso_gettimeofday.
2824 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
2825 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
2826 attribute_hidden.
2827 (_libc_vdso_platform_setup): Remove initialization of
2828 __vdso_gettimeofday and __vdso_time.
2829
5c43483f
UD
28302011-08-20 Ulrich Drepper <drepper@gmail.com>
2831
775a77e7
UD
2832 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
2833 and fgetc_unlocked.
2834 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
2835 getc_unlocked.
89f447ed 2836
49c74ba9
UD
2837 * elf/dl-open.c (add_to_global): Report additions to the global scope
2838 for LD_DEBUG=scopes.
2839 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 2840 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 2841
5c43483f
UD
2842 [BZ #13114]
2843 * stdio-common/Makefile (tests): Add bug24.
2844 * stdio-common/bug24.c: New file.
2845
a101b025
AJ
28462011-08-19 Andreas Jaeger <aj@suse.de>
2847
2848 [BZ #13114]
2849 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
2850 non-existant file when using close-on-exec mode.
2851
c88f1766
UD
28522011-08-20 Ulrich Drepper <drepper@gmail.com>
2853
0276a718
UD
2854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
2855 the very first instruction.
2856
c88f1766
UD
2857 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
2858 the CFI state in the end.
2859 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
2860 inclusion of dl-trampoline.h.
2861 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
2862
51ccffa0
AS
28632011-08-19 Andreas Schwab <schwab@redhat.com>
2864
94d7165f
AS
2865 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
2866 expectations for long double.
2867
51ccffa0
AS
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
2869 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
2870
fd708658 28712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
2872
2873 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
2874 artificual limit depends upon the system page size.
2875
44f0a71e
UD
28762011-08-17 Ulrich Drepper <drepper@gmail.com>
2877
2878 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
2879 * resolv/Makefile: Define CFLAGS-libresolv.
2880
8de79a24
AS
28812011-08-17 Andreas Schwab <schwab@redhat.com>
2882
2883 * nss/makedb.c (compute_tables): Make variables used in nested
2884 function static.
2885
27724598
UD
28862011-08-17 Ulrich Drepper <drepper@gmail.com>
2887
c5305d88
UD
2888 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
2889 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
2890 if buffer was too small.
2891
27724598
UD
2892 * elf/pldd.c (main): Attach to all threads in the process.
2893 Rewrite /proc handling to use *at functions.
2894
076fe015
UD
28952011-08-16 Ulrich Drepper <drepper@gmail.com>
2896
174baab3
UD
2897 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
2898 specifies first scope to show.
2899 (dl_open_worker): Update callers. Move printing scope of new
2900 object to before the relocation.
44f0a71e 2901 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
2902 * sysdeps/generic/ldsodefs.h: Update declaration.
2903
076fe015
UD
2904 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
2905 string for the scope number.
2906
a60df2c3
UD
29072011-08-14 Ulrich Drepper <drepper@gmail.com>
2908
2909 * nscd/servicescache.c (cache_addserv): Make sure written is always
2910 initialized.
2911
5e4287d1
RM
29122011-08-14 Roland McGrath <roland@hack.frob.com>
2913
85ae0589
RM
2914 * sysdeps/i386/i486/bits/atomic.h
2915 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
2916 statement expression, so as to suppress "set but not used" warning.
2917 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
2918
69f63097
RM
2919 * string/strncat.c (STRNCAT): Use prototype definition.
2920
675456ef
RM
2921 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
2922 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
2923 -Iprograms here.
2924 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
2925 (localedef-modules): Add localedef.
2926 (locale-modules): Add locale.
2927
5e4287d1
RM
2928 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
2929 * elf/rtld.c (dl_main): Invert order of assignment in last change,
2930 to avoid a warning.
2931
9c96ff23
DM
29322011-08-14 David S. Miller <davem@davemloft.net>
2933
2934 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
2935 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2936
f9ddf089
UD
29372011-08-13 Ulrich Drepper <drepper@gmail.com>
2938
44f0a71e 2939 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
2940 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
2941 * elf/rtld.c (dl_main): Set l_name of vDSO.
2942 Call _dl_show_scope when DL_DEBUG_SCOPES.
2943 (process_dl_debug): Recognize scopes flag and also set it for all.
2944 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
2945 Declare _dl_show_scope.
2946
1dc27704
UD
2947 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
2948 (do_dlopen): Pass caller_dlopen to dl_open.
2949 (__libc_dlopen_mode): Initialize caller_dlopen.
2950
f9ddf089
UD
2951 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
2952 of libc. Make tolower call locale-independent. Optimize a bit by
2953 using isdigit instead of isalnum.
2954 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
2955
9ac533d3
UD
29562011-08-12 Ulrich Drepper <drepper@gmail.com>
2957
2958 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
2959 was a dependency or dynamically loaded.
2960
89edf2e9
UD
29612011-08-11 Ulrich Drepper <drepper@gmail.com>
2962
8e999d29
UD
2963 * intl/l10nflist.c: Allow architecture-specific pop function.
2964 * sysdeps/x86_64/l10nflist.c: New file.
2965
89edf2e9
UD
2966 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
2967 classification.
2968
14d96785
AS
29692011-08-10 Andreas Schwab <schwab@redhat.com>
2970
2971 * include/dirent.h: Add libc_hidden_proto for scandirat and
2972 scandirat64. Don't declare __scandirat64.
2973 * dirent/scandirat.c: Add libc_hidden_def.
2974 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
2975 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
2976
6761ac04
DM
29772011-08-10 David S. Miller <davem@davemloft.net>
2978
2979 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
2980 enum.
2981 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2982 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2983 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2984
c55fbd1e
UD
29852011-08-09 Ulrich Drepper <drepper@gmail.com>
2986
2987 * Versions.def [libc]: Add GLIBC_2.15.
2988 * dirent/Makefile (routines): Add scandirat and scandirat64.
2989 * dirent/Versions [libc]: Export scandirat and scandirat64 for
2990 GLIBC_2.15.
2991 * dirent/dirent.h: Declare scandirat and scandirat64.
2992 * dirent/scandirat.c: New file.
2993 * dirent/scandirat64.c: New file.
2994 * sysdeps/wordsize-64/scandirat.c: New file.
2995 * sysdeps/wordsize-64/scandirat64.c: New file.
2996 * dirent/opendir.c: Define opendirat.
2997 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
2998 using scandirat.
2999 * dirent/scandir64.c: Adjust for scandir.c change.
3000 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
3001 __scandirat64, and __scandir_cancel_handler.
3002 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
3003 additional parameter and use openat instead of open (outside of ld.so).
3004 Add new __opendir as wrapper around __opendirat.
3005 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
3006 here without requiring old scandirat implementation.
3007
879165f2
UD
30082011-08-08 Ulrich Drepper <drepper@gmail.com>
3009
3010 * dirent/scandir.c (cancel_handler): Renamed to
3011 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
3012 defined. Adjust users.
3013 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
3014 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
3015
cb7e923b
UD
30162011-08-04 Ulrich Drepper <drepper@gmail.com>
3017
16292edd
UD
3018 * string/test-string.h (IMPL): Use __STRING to expand name and then
3019 stringify it.
3020
cb7e923b
UD
3021 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
3022 of cleanups.
3023
cff82933
LD
30242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3025
3026 * string/Makefile: Update.
3027 (strop-tests): Append strncat.
3028 * string/test-wcscmp.c: New file.
3029 New comprehensive test for wcscmp.
3030 * string/test-strcmp.c: Update.
3031 (WIDE): New define.
3032
9be9bfcc
AS
30332011-07-22 Andreas Schwab <schwab@redhat.com>
3034
3035 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
3036 line.
3037
2e96f1c7
AS
30382011-07-26 Andreas Schwab <schwab@redhat.com>
3039
3040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3041 encoding to ACE if AI_IDN.
3042
85188888
JJ
30432011-08-01 Jakub Jelinek <jakub@redhat.com>
3044
3045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
3046 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
3047
5fa16e9b
LD
30482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3049
3050 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
3051 Fix overflow bug in strncat.
3052 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3053
3054 * string/test-strncat.c: Update.
3055 Add new tests for checking overflow bugs.
3056
30572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3058
3059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3060 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
3061 * sysdeps/i386/i686/multiarch/strcat.S: New file.
3062 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
3063 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
3064 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
3065 * sysdeps/i386/i686/multiarch/strncat.S: New file.
3066 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
3067 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
3068
3069 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
3070 (USE_AS_STRCAT): Define.
3071 Add strcat and strncat support.
3072 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3073
8c1a459f
AS
30742011-07-25 Andreas Schwab <schwab@redhat.com>
3075
3076 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
3077 __n bigger than INT_MAX+1.
3078 (__strncmp_g): Likewise.
3079
bba33c28
UD
30802011-07-23 Ulrich Drepper <drepper@gmail.com>
3081
798be72d
UD
3082 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
3083 * libio/stido.h: Likewise.
3084
8accd4dc
UD
3085 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
3086 (AF_NFC): Define.
3087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
3088 (AF_NFC): Define.
3089
cbff0d96
UD
3090 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
3091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3092 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3093 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3095
9191c04a
UD
3096 [BZ #13021]
3097 * scripts/test-installation.pl: Don't expect libnss_test1 to be
3098 installed.
3099
bba33c28
UD
3100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
3101 typo.
3102 (_dl_x86_64_save_sse): Likewise.
3103
90f139dd
UD
31042011-07-22 Ulrich Drepper <drepper@gmail.com>
3105
1aae088a
UD
3106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
3107 OSXSAVE.
3108 (_dl_x86_64_save_sse): Likewise.
3109
8e2045f5
UD
3110 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
3111
90f139dd
UD
3112 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
3113
1d002f25
AS
31142011-07-21 Andreas Schwab <schwab@redhat.com>
3115
3116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
3117 change.
3118 (_dl_x86_64_save_sse): Use correct AVX check.
3119
21137f89
UD
31202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3121
3122 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
3123 bug in strncpy/strncat.
3124 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3125
a65c0b7a
UD
31262011-07-21 Ulrich Drepper <drepper@gmail.com>
3127
3128 * string/tester.c (test_strcat): Add tests for different alignments
3129 of source and destination.
3130 (test_strncat): Likewise.
3131
6986b98a
UD
31322011-07-20 Ulrich Drepper <drepper@gmail.com>
3133
90bb2039
UD
3134 [BZ #12852]
3135 * posix/glob.c (glob): Check passed in values before using them in
3136 expressions to avoid some overflows.
3137 (glob_in_dir): Likewise.
3138
5644ef54
UD
3139 [BZ #13007]
3140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
3141 check for AVX enablement so that we don't crash with old kernels and
3142 new hardware.
3143 * elf/tst-audit4.c: Add same checks here.
3144 * elf/tst-audit6.c: Likewise.
3145
3146 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 3147
bfc9dc9b
AS
31482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
3149
3150 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
3151
702e64bb
UD
31522011-07-20 Ulrich Drepper <drepper@gmail.com>
3153
3154 * po/cs.po: Update from translation team.
3155 * po/bg.po: Likewise.
3156
295e904f
MP
31572011-07-12 Marek Polacek <mpolacek@redhat.com>
3158
3159 * misc/sys/cdefs.h: Add support for const attribute.
3160 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
3161 to gnu_dev_{major,minor,makedev} functions.
3162
3ff94596
MP
31632011-07-20 Marek Polacek <mpolacek@redhat.com>
3164
3165 * intl/dcigettext.c (get_output_charset): Add missing bracket.
3166
28b59fca
AS
31672011-07-20 Andreas Schwab <schwab@redhat.com>
3168
3169 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
3170 strlen results.
3171
19df733e
AK
31722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3173
3174 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3175 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
3176 register in order to avoid conflicts with the soft frame pointer
3177 being held in r11 when necessary.
3178 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3179 (INTERNAL_VSYSCALL_NCS): Likewise.
3180
c8835729
MP
31812011-07-14 Marek Polacek <mpolacek@redhat.com>
3182
3183 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
3184 * elf/dl-fini.c (_dl_fini): Adjust caller.
3185 * elf/dl-close.c (_dl_close_worker): Likewise.
3186 * sysdeps/generic/ldsodefs.h: Adjust declaration.
3187
b902330c
MP
31882011-07-15 Marek Polacek <mpolacek@redhat.com>
3189
8991e135
MP
3190 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
3191 "aux_cache->nlibs < 0".
3192
b902330c
MP
3193 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
3194 in the reload-count case.
3195
99710781
LD
31962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3197
3198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3199 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
3200 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
3201 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
3202 * sysdeps/x86_64/multiarch/strcat.S: New file.
3203 * sysdeps/x86_64/multiarch/strncat.S: New file.
3204 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
3205 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
3206 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
3207 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
3208 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
3209 (USE_AS_STRCAT): Define.
3210 Add strcat and strncat support.
3211 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3212 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3213 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
3214 * string/strncat.c: Update.
3215 (USE_AS_STRNCAT): Define.
3216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3217 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
3218 and i7.
3219 * sysdeps/x86_64/multiarch/init-arch.h
3220 (bit_Prefer_PMINUB_for_stringop): New.
3221 (index_Prefer_PMINUB_for_stringop): Likewise.
3222 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
3223 bit_Prefer_PMINUB_for_stringop.
3224
7dc6bd90
UD
32252011-07-19 Ulrich Drepper <drepper@gmail.com>
3226
3227 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
3228 buffer64.
3229 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
3230 of casting of buffer.
3231 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
3232 buffer32 and buffer64.
3233 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
3234 writes instead of casting of buffer.
3235 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
3236 buffer32.
3237 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
3238 casting of buffer.
3239
e0e72284
AS
32402011-07-19 Andreas Schwab <schwab@redhat.com>
3241
3242 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
3243
feb1eb0b
UD
32442011-07-19 Ulrich Drepper <drepper@gmail.com>
3245
3246 * nscd/nscd.c (termination_handler): Don't do anything for a database
3247 if it has not yet been initialized.
3248
298711ff
UD
32492011-07-18 Ulrich Drepper <drepper@gmail.com>
3250
3251 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3252
32532011-07-15 Marek Polacek <mpolacek@redhat.com>
3254
3255 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3256
f9d68389
UD
32572011-07-18 Ulrich Drepper <drepper@gmail.com>
3258
3259 * po/nl.po: Update from translation team.
3260 * po/sv.po: Likewise.
3261
db290cf5
RM
32622011-07-16 Roland McGrath <roland@hack.frob.com>
3263
3264 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
3265 now disallowed by GCC.
5c550700 3266
fd5e21c7
RM
3267 * configure.in (use-default-link): Default to yes if a test -shared
3268 link meets our qualifications.
3269 * configure: Regenerated.
3270
5c550700
RM
3271 * config.make.in (output-format): New variable.
3272 * configure.in: Check for ld --print-output-format support.
3273 * configure: Regenerated.
3274 * Makerules ($(common-objpfx)format.lds)
3275 [$(output-format) != unknown]: Just use $(output-format),
3276 instead of the linker-script munging.
3277
9fa2c032
RM
32782011-07-14 Roland McGrath <roland@hack.frob.com>
3279
a6928d51
RM
3280 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
3281 of $(common-objpfx)shlib.lds.
3282 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
3283
661607b3
RM
3284 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
3285 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
3286
9fa2c032
RM
3287 * configure.in (-z relro check): Adjust test code to add a large
3288 writable data section after it.
3289 * configure: Regenerated.
3290
defe9061
RM
32912011-07-11 Roland McGrath <roland@hack.frob.com>
3292
3293 * configure.in (-z relro check): Fix test code to make the variable
3294 truly const.
3295 * configure: Regenerated.
3296
319b9ad4
UD
32972011-07-11 Ulrich Drepper <drepper@gmail.com>
3298
3299 * nscd/nscd.h (struct traced_file): Define.
3300 (struct database_dyn): Remove inotify_descr, reset_res, and filename
3301 elements. Add traced_files.
3302 (inotify_fd): Declare.
3303 (register_traced_file): Declare.
3304 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
3305 (inotify_fd): Export.
3306 (resolv_conf_descr): Remove.
3307 (nscd_init): Move inotify descriptor creation to main.
3308 Don't register files for notification here.
3309 (register_traced_file): New function.
3310 (invalidate_cache): Don't use reset_res to determine whether to call
3311 res_init, go through the list of registered files.
3312 (main_loop_poll): The inotify descriptors are now stored in the
3313 structures for the traced files.
3314 (main_loop_epoll): Likewise
3315 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
3316 to __nss_disable_nscd.
3317 * nscd/cache.c (prune_cache): There is no single inotify descriptor
3318 for a database anymore. Check the records for all the registered
3319 files instead.
3320 * nss/Makefile (libnss_files-routines): Add files-init.
3321 (libnss_db-routines): Add db-init.
3322 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
3323 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
3324 * nss/nss_db/db-init.c: New file.
3325 * nss/nss_files/files-init.c: New file.
3326 * nss/nsswitch.c (nss_load_library): New function. Broken out of
3327 __nss_lookup_function.
3328 (__nss_lookup_function): Call nss_load_library.
3329 (nss_load_all_libraries): New function.
3330 (__nss_disable_nscd): Take parameter with callback function for files
3331 to register. Set is_nscd. Load all the DSOs for the NSS modules
3332 used for the cached services.
3333 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
3334 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
3335 options for features to all the files in nscd.
3336
3337 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
3338
23bee3e8
RM
33392011-07-10 Roland McGrath <roland@hack.frob.com>
3340
3341 * csu/elf-init.c (__libc_csu_init): Comment typo.
3342
46a5b7f0
UD
33432011-07-09 Ulrich Drepper <drepper@gmail.com>
3344
3345 * po/pl.po: Update from translation team.
3346 * po/ja.po: Likewise.
3347 * po/ru.po: Likewise.
3348 * po/ko.po: Likewise.
3349 * po/fr.po: Likewise.
3350
d30cf5bb
RM
33512011-07-09 Roland McGrath <roland@hack.frob.com>
3352
113ddea4
RM
3353 * configure.in (.ctors/.dtors header and trailer check):
3354 Use an empirical test on a built program.
3355 * configure: Regenerated.
3356
574920b4
RM
3357 * configure.in (-z relro check): Use an empirical test on a built DSO.
3358 Detect, but do not require, on ia64.
3359 * configure: Regenerated.
3360
d30cf5bb
RM
3361 * configure.in (READELF): Find it with AC_CHECK_TOOL.
3362 Update tests that use readelf to use $READELF instead.
3363 * configure: Regenerated.
3364
8538fdb3
UD
33652011-07-08 Ulrich Drepper <drepper@gmail.com>
3366
3367 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
3368 if the result is not used.
3369
04d08991
AJ
33702011-07-05 Andreas Jaeger <aj@suse.de>
3371
3372 [BZ#9696]
3373 * stdlib/tst-strtod.c: Add testcase.
3374
de283087
AD
33752011-07-07 Ulrich Drepper <drepper@gmail.com>
3376
4e5f31c8 3377 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 3378 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
3379 The latter has a higher limit. Take additional parameter to pass to
3380 the new function.
3381 (__pathconf): Pass file to __statfs_link_max.
3382 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
3383 __statfs_link_max.
3384 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
3385 __statfs_link_max.
3386
de283087
AD
3387 [BZ #12868]
3388 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
3389 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3390 Handle Lustre.
3391 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
3392 (__statfs_filesize_max): Likewise.
3393 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
3394
c75fa153
AJ
33952011-07-05 Andreas Jaeger <aj@suse.de>
3396
3397 * resolv/res_comp.c (dn_skipname): Remove unused variable.
3398
1a544854
UD
33992011-07-06 Marek Polacek <mpolacek@redhat.com>
3400
3401 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
3402 `status' variable.
3403 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
3404 Likewise.
3405
6f0eec67
UD
34062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
3407
3408 * Makefile (strop-tests): Add strncat.
3409 * string/test-strncat.c: New file.
3410
aae30307
UD
34112011-06-30 Marek Polacek <mpolacek@redhat.com>
3412
3413 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
3414
c0cfb5eb
UD
34152011-06-21 Andreas Jaeger <aj@suse.de>
3416
3417 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
3418 Copy rule from iconvdata/Makefile.
3419
01636b21
UD
34202011-07-06 Ulrich Drepper <drepper@gmail.com>
3421
3422 [BZ #12922]
3423 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
3424 but no long options are defined, just return 'W'.
3425
9895c8bc
UD
34262011-06-22 Marek Polacek <mpolacek@redhat.com>
3427
3428 [BZ #9696]
3429 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
3430
5d4cf042
UD
34312011-07-06 Ulrich Drepper <drepper@gmail.com>
3432
3433 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
3434 netgroups to read.
960e5535 3435 (innetgr): Likewise.
5d4cf042 3436
751eb97e
RM
34372011-07-05 Roland McGrath <roland@hack.frob.com>
3438
3439 * config.make.in (install_root): Default to $(DESTDIR).
3440
f15f1e45
UD
34412011-07-05 Ulrich Drepper <drepper@gmail.com>
3442
3443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
3444
4e34ac6a
RM
34452011-07-02 Roland McGrath <roland@hack.frob.com>
3446
5e9b6af4
RM
3447 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
3448
84f9ea0f
RM
3449 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
3450 containing directory rather than embedding absolute directory names.
3451
ea5ee9f7
RM
3452 * scripts/check-local-headers.sh: Rewritten using awk.
3453 Match by word, not by line. Print error messages for matches.
3454 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
3455
1b74661a
RM
3456 * Makerules [shlib-lds-flags empty]:
3457 ($(common-objpfx)libc_pic.opts): New target.
3458 ($(common-objpfx)libc_pic.os.clean): New target.
3459 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
3460
3461 * config.make.in (OBJCOPY): New variable.
3462 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
3463 * configure: Regenerated.
3464
f781ef40
RM
3465 * config.make.in (use-default-link): New variable.
3466 * configure.in (use_default_link): Grok --with-default-link to set it.
3467 * configure: Regenerated.
3468 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
3469 (shlib-lds, shlib-lds-flags): Define to empty.
3470
2d4fa81e
RM
3471 * Makerules (shlib-lds): New variable.
3472 (shlib-lds-flags): New variable.
3473 (build-shlib, build-moduile, build-module-asneeded): Use it.
3474 ($(common-objpfx)libc.so): Use $(shlib-lds).
3475 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
3476 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
3477
31fffa6b
RM
3478 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
3479 DT_FLAGS/DT_FLAGS_1 with zero flags.
3480
4e34ac6a
RM
3481 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
3482 linker script munging.
3483
fcfc776b
UD
34842011-07-02 Ulrich Drepper <drepper@gmail.com>
3485
3486 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
3487 as 128-bit value.
3488 * crypt/sha512.c (sha512_process_block): Perform total addition using
3489 128-bit if possible.
3490 (__sha512_finish_ctx): Likewise.
3491 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
3492 as 64-bit value.
3493 * crypt/sha256.c (SWAP64): Define.
3494 (sha256_process_block): Perform total addition using 64-bit if
3495 possible.
3496 (__sha256_finish_ctx): Likewise.
3497
99231d9a
UD
34982011-07-01 Ulrich Drepper <drepper@gmail.com>
3499
3500 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
3501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3502 * nscd/hstcache.c (cache_addhst): Likewise.
3503 * nscd/grpcache.c (cache_addgr): Likewise.
3504 * nscd/aicache.c (addhstaiX): Likewise
3505 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
3506
445b4a53
TK
35072011-07-01 Thorsten Kukuk <kukuk@suse.de>
3508
3509 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
3510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3511 * nscd/hstcache.c (cache_addhst): Likewise.
3512 * nscd/grpcache.c (cache_addgr): Likewise.
3513 * nscd/aicache.c (addhstaiX): Likewise
3514
6d4d8e8e
AS
35152011-07-01 Andreas Schwab <schwab@redhat.com>
3516
3517 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
3518 domain only when needed.
3519
89f654c5
AS
35202011-06-30 Andreas Schwab <schwab@redhat.com>
3521
3522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
3523 is always restored.
3524
cf3b23ff
UD
35252011-06-29 Ulrich Drepper <drepper@gmail.com>
3526
3527 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
3528 are re-adding the entry.
3529 * nscd/servicescache.c (cache_addserv): Likewise.
3530
751626f9
AJ
35312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
3532
3533 * sysdeps/generic/dl-irel.h: fix protection against multiple
3534 inclusions.
3535 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
3536
9113ea1f
UD
35372011-06-28 Ulrich Drepper <drepper@gmail.com>
3538
5c0b8d90
UD
3539 [BZ #12935]
3540 * malloc/memusage.sh: Fix quoting in message.
3541 * debug/xtrace.sh: Likewise.
3542
9113ea1f
UD
3543 * configure.in: Remove support for --experimental-malloc option, make
3544 it the default.
3545 * config.make.in: Likewise.
3546 * malloc/Makefile: Likewise.
3547
a4172181
AS
35482011-06-27 Andreas Schwab <schwab@redhat.com>
3549
3550 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
3551 two-byte characters.
3552
78a7eee7
RM
35532011-06-27 Roland McGrath <roland@hack.frob.com>
3554
62bede13
RM
3555 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
3556 AC_CACHE_CHECK invocation.
3557 * configure: Regenerated.
3558
78a7eee7
RM
3559 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
3560
5ce33a62
UD
35612011-06-27 Ulrich Drepper <drepper@gmail.com>
3562
034807a9
UD
3563 [BZ #12350]
3564 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
3565 bit from old_res_options.
3566
4902da17
UD
3567 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
3568
5ce33a62
UD
3569 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
3570 value type for setfct.
3571
c2344f56
L
35722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
3573
3574 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
3575 __gettimeofday instead of gettimeofday.
3576
68468076
UD
35772011-06-26 Ulrich Drepper <drepper@gmail.com>
3578
3579 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
3580
acb0d739
L
35812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
3582
3583 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
3584
3585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
3586 info.
3587
8912479f
L
35882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
3589
3590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3591 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
3592 strcpy-sse2-unaligned strncpy-sse2-unaligned
3593 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
3594 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
3595 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
3596 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
3597 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
3598 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
3599 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
3600 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
3601 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
3602 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
3603 (STRCPY): Support SSE2 and SSSE3 versions.
3604
d5495a11
UD
36052011-06-24 Ulrich Drepper <drepper@gmail.com>
3606
3607 [BZ #12874]
3608 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
3609 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
3610 kernels which artificially limit size of requests.
3611
0b1cbaae
L
36122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
3613
3614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3615 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
3616 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
3617 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
3618 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
3619 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
3620 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
3621 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
3622 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
3623 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
3624 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
3625 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
3626 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
3627 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
3628 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
3629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3630 Enable unaligned load optimization for Intel Core i3, i5 and i7
3631 processors.
3632 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
3633 Define.
3634 (index_Fast_Unaligned_Load): Define.
3635 (HAS_FAST_UNALIGNED_LOAD): Define.
3636
07f494a0
MP
36372011-06-23 Marek Polacek <mpolacek@redhat.com>
3638
3639 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
3640
fa3fc0fe
UD
36412011-06-22 Ulrich Drepper <drepper@gmail.com>
3642
3643 [BZ #12907]
3644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
3645 until it is clear that the information is realy needed.
3646 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
3647
e12df166
AS
36482011-06-22 Andreas Schwab <schwab@redhat.com>
3649
3650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
3651
852eb34d
UD
36522011-06-22 Ulrich Drepper <drepper@gmail.com>
3653
84e2a551
UD
3654 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
3655 /sys/devices/system/cpu/online if it is usable.
3656
852eb34d
UD
3657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
3658 reading the information from the /proc filesystem to once a second.
3659
6e502e19
UD
36602011-06-21 Andreas Jaeger <aj@suse.de>
3661
3662 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
3663 NULL after inclusion of kernel headers.
3664
75d39ff2
UD
36652011-06-21 Ulrich Drepper <drepper@gmail.com>
3666
51f9aa6a
UD
3667 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
3668 calls to internal_setent.
3669
c0244a9d
UD
3670 [BZ #12885]
3671 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
3672 addresses using gethostbyname4_r ignore IPv4 addresses.
3673
c5e3c2ae
UD
3674 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
3675 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
3676
75d39ff2
UD
3677 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
3678
42675c6f
DM
36792011-06-20 David S. Miller <davem@davemloft.net>
3680
3681 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
3682 inclusions.
3683 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
3684
3685 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
3686 (elf_irel): Use it.
3687 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
3688 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
3689 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
3690 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
3691 * sysdeps/x86_64/dl-irel.h: Likewise.
3692
3693 * elf/dl-runtime.c: Use elf_ifunc_invoke.
3694 * elf/dl-sym.c: Likewise.
3695
57912a71
UD
36962011-06-15 Ulrich Drepper <drepper@gmail.com>
3697
3698 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
3699 need to dereference resplen2.
3700
ee22793d
AS
37012011-06-14 Andreas Schwab <schwab@redhat.com>
3702
3703 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
3704
a9e836b0
UD
37052011-06-15 Ulrich Drepper <drepper@gmail.com>
3706
77fb9117
UD
3707 * Makeconfig: Define vardbdir and inst_vardbdir.
3708 * nss/Makefile: Add rules to install db-Makefile.
3709
40c1b22c
UD
3710 * nss/nss_db/db-XXX.c: Cleanup.
3711
9f2da732
UD
3712 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
3713 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
3714 GLIBC_PRIVATE.
3715 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
3716 * nss/makedb.c: Implement -g option to specify that value strings
3717 are generated and should not be added to table iterated over for
3718 get*ent calls.
3719 * nss/nss_db/db-initgroups.c: New file.
3720
82e9a1f7
UD
3721 * nss/getent.c: Add support for initgroups lookups through getgrouplist
3722 interface.
3723
c41af17e
UD
3724 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
3725 (internal_getgrouplist): Adjust to name change.
3726 Update use_initgroups_entry if this is not the first call.
3727 * nss/databases.def: Add initgroups entry.
3728
a9e836b0
UD
3729 * nss/makedb.c (compute_tables): Check result of multiple hash table
3730 sizes to minimize maximum chain length.
3731
2666d441
UD
37322011-06-14 Ulrich Drepper <drepper@gmail.com>
3733
3734 * Versions.def: Add entry for libnss_db.
3735 * shlib-versions: Likewise.
3736 * nss/Makefile: Add rules to build libnss_db.
3737 * nss/Versions: Add libnss_db information. Organize libnss_files
3738 entries better.
3739 * nss/db-Makefile: Add gshadow support. Change rules for the new
3740 makedb progra. Some minor improvements to generate smaller files.
3741 * nss/nss_db/nss_db.h: Move NSS database header data structures to
3742 here from...
3743 * nss/makedb.c: ...here.
3744 Improve database format to be smaller and require less memory at
3745 runtime.
3746 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
3747 db anymore.
3748 * nss/nss_db/db-netgrp.c: Likewise.
3749 * nss/nss_db/db-open.c: Likewise.
3750 * nss/nss_files/flies-XXX.x: Adjust comments.
3751 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
3752 * nss/nss_files/files-grp.c: Likewise.
3753 * nss/nss_files/files-hosts.c: Likewise.
3754 * nss/nss_files/files-network.c: Likewise.
3755 * nss/nss_files/files-proto.c: Likewise.
3756 * nss/nss_files/files-pwd.c: Likewise.
3757 * nss/nss_files/files-rpc.c: Likewise.
3758 * nss/nss_files/files-service.c: Likewise.
3759 * nss/nss_files/files-sgrp.c: Likewise.
3760 * nss/nss_files/files-spwd.c: Likewise.
3761 * nss/nss_db/db-alias.c: Removed.
3762 * nss/nss_db/dummy-db.h: Removed.
3763
9ee76b5a
UD
37642011-06-02 Ulrich Drepper <drepper@gmail.com>
3765
3766 * nss/makedb.c: Rewritten to not use database library.
3767 * nss/Makefile: Update to build new makedb program.
3768
c71ca1f8
AJ
37692011-06-14 Andreas Jaeger <aj@suse.de>
3770
3771 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
3772 memset declaration.
3773
3154bfb8
UD
37742011-06-10 Andreas Schwab <schwab@redhat.com>
3775
3776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
3777 tmpbuf.
3778
b350afab
RM
37792011-06-10 Roland McGrath <roland@hack.frob.com>
3780
decd4e50
RM
3781 * Makerules (shlib.lds): Fail if the linker script comes out empty.
3782 * elf/Makefile ($(objpfx)ld.so): Likewise.
3783
5615eaf2
RM
3784 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
3785 Don't list ld.so twice in dependencies.
3786
3787 * posix/bug-regex31.c: Include <stdlib.h>.
3788
3789 * nscd/hstcache.c (cache_addhst): Remove unused variable.
3790
3791 * nis/nss_compat/compat-spwd.c
3792 (getspent_next_nss_netgr): Remove unused variable.
3793 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3794
3795 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
3796 nonmembers" output to use the right array.
3797
3798 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
3799
3800 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
3801
3802 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
3803 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
3804 * catgets/gencat.c (read_input_file): Likewise.
3805 * locale/programs/locarchive.c (enlarge_archive): Likewise.
3806
3807 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
3808 variable definition inside #if's controlling its use.
3809
3810 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
3811
3812 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
3813
3814 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
3815
3816 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
3817 unreachable code.
3818
3819 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
3820
b68e08db
RM
3821 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
3822 * configure: Regenerated.
3823
b350afab
RM
3824 * Makerules: Revert last change.
3825 * elf/Makefile: Likewise.
3826
28368601
RM
38272011-06-09 Roland McGrath <roland@hack.frob.com>
3828
3829 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
3830 * elf/Makefile ($(objpfx)librtld.os): Likewise.
3831 (reloc-link): Likewise.
3832
11988f8f
UD
38332011-06-09 Ulrich Drepper <drepper@gmail.com>
3834
3835 * elf/Makefile: Add rules to build pldd.
3836 * elf/pldd.c: New file.
3837 * elf/pldd-xx.c: New file.
3838
e80fab37
UD
38392011-06-07 Ulrich Drepper <drepper@gmail.com>
3840
3841 * version.h: Update for 2.15 development version.
3842
9b849836
DM
38432011-06-07 David S. Miller <davem@davemloft.net>
3844
3845 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
3846 ifuncs.
3847 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3848 elf_machine_lazy_rel): Likewise.
3849 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3851 elf_machine_lazy_rel): Likewise.
3852 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
3853 dl_hwcap via passed in argument.
3854 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
3855 Likewise.
3856
5a31b283
AK
38572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3858
3859 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
3860
069e52f8
RM
38612011-06-06 Roland McGrath <roland@hack.frob.com>
3862
3863 [BZ #12849]
3864 * manual/fdl-1.1.texi: New file, verbatim from:
3865 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
3866 * manual/lgpl-2.1.texi: New file, verbatim from:
3867 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
3868 * manual/Makefile (licenses): New variable, list those new file names.
3869 (texis): Use it.
3870 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
3871
3872 * manual/fdl.texi: File removed.
3873 * manual/lesser.texi: File removed.
3874 * manual/libc.texinfo (Copying, Documentation License):
3875 Use new @include file names, put @appendix directive before @include.
3876
f16846a5
JJ
38772011-06-04 Jakub Jelinek <jakub@redhat.com>
3878
3879 [BZ #12841]
3880 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
3881 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
3882 (mq_open): Add __NTH.
3883
3d29045b
L
38842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
3885
3886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3887 Assume Intel Core i3/i5/i7 processor if AVX is available.
3888
8c297311
UD
38892011-05-31 Ulrich Drepper <drepper@gmail.com>
3890
3891 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3892 typo.
3893
c8fc0c91
UD
38942011-05-31 Andreas Schwab <schwab@redhat.com>
3895
3896 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
3897 memory. Use alloca_account. Fix memory leak when retrying.
3898
5b27a807
UD
38992011-05-31 Ulrich Drepper <drepper@gmail.com>
3900
356f8bc6
UD
3901 * version.h (RELEASE): Bump for 2.14 release.
3902 * include/features.h (__GLIBC_MINOR__): Bump to 14.
3903
5b27a807
UD
3904 * config.make.in (RANLIB): Remove entry.
3905
01f16ab0
UD
39062011-05-30 Ulrich Drepper <drepper@gmail.com>
3907
41fce8bd
UD
3908 * po/Makefile (po-sed-cmd): Add ksh to extensions.
3909 (libc.pot): Work around missing support for .ksh extension in xgettext.
3910
4769ae77
UD
3911 [BZ #12684]
3912 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
3913 if both request failed.
3914 (send_dg): In case of server errors clear resplen or *resplen2.
3915
6b1e7d19
UD
3916 [BZ #12454]
3917 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
3918 when there are multiple maps.
3919 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
3920 (_dl_fini): Remove test here.
3921
01f16ab0
UD
3922 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
3923
b1ebd700
UD
39242011-05-29 Ulrich Drepper <drepper@gmail.com>
3925
7ae22829
UD
3926 [BZ #12350]
3927 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
3928 bit from old_res_options.
3929 (gaih_inet): Likewise.
3930
553149f6 3931 [BZ #11099]
18a84741 3932 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
3933 as signed.
3934
652ffab1
UD
3935 * resolv/res_init.c (res_setoptions): Make the code more compact.
3936
16985fd0
UD
3937 [BZ #11558]
3938 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
3939 set RES_USEVC.
3940
0464f746
UD
3941 [BZ #11634]
3942 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
3943
7d17596c
UD
3944 * malloc/malloc.h: Mark malloc hook variables as deprecated.
3945
cf6bbbd7
UD
3946 [BZ #11781]
3947 * malloc/malloc.h: Declare malloc hook variables as volatile.
3948
13f1ab36
UD
3949 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
3950 in last patch.
3951
b1ebd700
UD
3952 [BZ #11799]
3953 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 3954 raise in the comment.
80e2212d
UD
3955 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3956 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3957 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 3958
ce67228d
UD
39592011-05-28 Ulrich Drepper <drepper@gmail.com>
3960
8887a920
UD
3961 [BZ #12811]
3962 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
3963 grow the buffers more if it already has to be sufficient.
3964 (build_wcs_upper_buffer): Likewise.
3965 * posix/regexec.c (check_matching): Likewise.
3966 (clean_state_log_if_needed): Likewise.
3967 (extend_buffers): Don't enlarge buffers beyond size of the input
3968 buffer.
3969 Patches mostly by Emil Wojak <emil@wojak.eu>.
3970 * posix/bug-regex32.c: New file.
3971 * posix/Makefile (tests): Add bug-regex32.
3972
4f031072
UD
3973 * locale/findlocale.c (_nl_find_locale): Return right away if
3974 _nl_explode_name failed.
3975 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3976
d0478f0c
UD
3977 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
3978
de81b246
UD
3979 * debug/xtrace.sh: Unify messages.
3980 * malloc/memusage.sh: Likewise.
3981
c738465a
UD
3982 [BZ #12813]
3983 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
3984 time symbol from vDSO. Substitute with vsyscall if not available.
3985 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
3986 __vdso_time.
3987
f1f929d7
UD
3988 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
3989 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
3990 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
3991 Add sendmmsg and internal_sendmmsg.
3992 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
3993 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
3994 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
3995
ce67228d
UD
3996 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
3997 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
3998 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
3999
e57420c6
UD
40002011-05-27 Ulrich Drepper <drepper@gmail.com>
4001
a8509ca5
UD
4002 [BZ #12813]
4003 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
4004 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
4005 available.
4006 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
4007 __vdso_getcpu.
4008
e57420c6
UD
4009 [BZ #12814]
4010 * iconvdata/Makefile (tests): Add bug-iconv9.
4011 * iconvdata/bug-iconv9.c: New file.
4012
4d07db15
AS
40132011-05-27 Andreas Schwab <schwab@redhat.com>
4014
4015 [BZ #12814]
4016 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
4017
ea486f69
JJ
40182011-05-25 Jakub Jelinek <jakub@redhat.com>
4019
4020 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4021 (struct user_regs_struct): Change intcs field back to cs.
4022
6f038433
UD
40232011-05-25 Ulrich Drepper <drepper@gmail.com>
4024
4025 * po/ja.po: Update from translation team.
4026
67f86a25
UD
40272011-05-23 Ulrich Drepper <drepper@gmail.com>
4028
4029 [BZ #12795]
4030 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
4031 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
4032
def7fbd6
AS
40332011-05-20 Andreas Schwab <schwab@redhat.com>
4034
4035 * stdlib/longlong.h: Update from GCC.
4036
f50ef8f1
AS
40372011-05-23 Andreas Schwab <schwab@redhat.com>
4038
4039 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
4040 parameter name.
4041 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
4042 Add parameter name.
4043 (__sysconf): Pass it down.
4044
de7ce8f1
UD
40452011-05-22 Ulrich Drepper <drepper@gmail.com>
4046
f2962a71
UD
4047 [BZ #12671]
4048 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
4049 some situations.
4050 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4051 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
4052 add in in __libc_use_alloca calls. Adjust callers.
4053 (glob): Use malloc in some situations.
4054
de7ce8f1
UD
4055 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
4056 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
4057 pltexit.
4058
aec84f53
UD
40592011-05-21 Ulrich Drepper <drepper@gmail.com>
4060
05bb4a68
UD
4061 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
4062 and CLOCK_BOOTTIME_ALARM.
4063
7ea72f99
UD
4064 [BZ #12782]
4065 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
4066 is returned.
4067
7e4afad5
UD
4068 * string/_strerror.c (__strerror_r): Print negative errors as signed
4069 numbers.
4070
8e211fec
UD
4071 [BZ #12777]
4072 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
4073 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
4074 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
4075
f7d82dc9
UD
4076 * configure.in: Fix typo in redirection and correct removal of test
4077 files in two cases.
4078
cc9e536d
UD
4079 [BZ #12788]
4080 * locale/setlocale.c (new_composite_name): Fix test to check for
4081 identical name of all categories.
4082
aec84f53
UD
4083 [BZ #12792]
4084 * libio/filedoalloc.c (local_isatty): New function.
4085 (_IO_file_doallocate): Use local_isatty.
4086 * stdio-common/perror.c (perror): In case a new stream is used
4087 forward the stream error.
4088 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
4089 error flag.
4090
78e64fdc
RT
40912011-05-20 Ulrich Drepper <drepper@gmail.com>
4092
34a9094f
UD
4093 [BZ #11869]
4094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
4095 alloca.
4096 * include/alloca.h (extend_alloca_account): Define.
4097
78e64fdc
RT
4098 [BZ #11857]
4099 * posix/regex.h: Fix comments with documentation of user-accessible
4100 fields after compilation and describe correct free'ing of pattern
4101 after re_compile_pattern.
4102 Patch by Reuben Thomas <rrt@sc3d.org>.
4103
457bddfc
RA
41042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
4105
4106 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4107 and -mno-altivec to prevent the compiler from using Altivec and/or
4108 VSX instructions when the corresponding registers are not available.
4109
a4527b51
AS
41102011-05-19 Andreas Schwab <schwab@redhat.com>
4111
4112 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
4113
ed690b2f
UD
41142011-05-19 Ulrich Drepper <drepper@gmail.com>
4115
4116 * libio/freopen.c (freopen): Use __dup2, not dup2.
4117 * libio/freopen64.c (freopen64): Likewise.
4118
8db73634
L
41192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 [BZ #12775]
4122 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
4123 * math/Makefile (tests): Add test-powl.
4124 (CFLAGS-test-powl.c): Define.
4125 * math/test-powl.c: New file.
4126
0a197a9d
L
41272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
4130
ee30c380
UD
41312011-05-17 Ulrich Drepper <drepper@gmail.com>
4132
4133 [BZ #11837]
4134 * iconvdata/gb18030.c: Update to GB18020-2005.
4135
6ce75379
UD
41362011-05-16 Ulrich Drepper <drepper@gmail.com>
4137
a4b89fd8
AR
4138 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
4139 RE_SYNTAX_POSIX_AWK): Update to match recent development.
4140 Patch by Aharon Robbins <arnold@skeeve.com>.
4141
ea389b12
UD
4142 [BZ #11892]
4143 * stdlib/putenv.c (putenv): Don't always create copy of the variable
4144 on the stack.
4145
68a3f91f
UD
4146 [BZ #11895]
4147 * misc/pselect.c (__pselect): Handle timeout value errors hidden
4148 through underflows.
4149
15cc7dd1
UD
4150 [BZ #12766]
4151 * misc/error.c (error_at_line): Ensure file_name and old_file_name
4152 point to strings before performing equality test for error_one_per_line
4153 mode.
4154
f3799213
UD
4155 [BZ #11697]
4156 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
4157
d79a9c94
UD
4158 [BZ #11820]
4159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4160 (struct user_fpregs_struct): Avoid __uint*_t types.
4161
56e5eb46
UD
4162 [BZ #6420]
4163 * malloc/mtrace.c (tr_where): Add additional parameter to point to
4164 symbol info. Use it instead of calling _dl_addr locally.
4165 (lock_and_info): New function.
4166 (tr_freehook): Call lock_and_info and pass symbol info as additional
4167 parameter to tr_where.
4168 (tr_mallochook): Likewise.
4169 (tr_reallochook): Likewise.
4170 (tr_memalignhook): Likewise.
4171
6ce75379
UD
4172 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
4173 used and couldn't be at all thread-safe.
4174
f8a3b5bf
UD
41752011-05-15 Ulrich Drepper <drepper@gmail.com>
4176
94b7cc37
UD
4177 * libio/freopen.c (freopen): Don't close old file descriptor
4178 before the new one is opened. Instead dup the new file descriptor
4179 to the old one after the new stream is created.
4180 * libio/freopen64.c (freopen64): Likewise.
4181 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
4182 * libio/fileops.c (_IO_new_file_close_it): Handle new
4183 _IO_FLAGS2_NOCLOSE flag.
4184 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
4185 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
4186 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
4187 _IO_FLAGS2_NOCLOSE flag.
4188 * include/unistd.h: Add hidden_proto for dup3.
4189 Define __have_dup3.
4190 * io/dup3.c: Define hidden symbol.
4191 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
4192
bd25564e
UD
4193 [BZ #7101]
4194 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
4195 when an incomplete long option is used.
4196 * posix/tst-getopt_long1.c: New file.
4197 * posix/Makefile (tests): Add tst-getopt_long1.
4198
c84cfef4
UD
4199 [BZ #10138]
4200 * scripts/config.guess: Update from autoconf-2.68.
4201 * scripts/config.sub: Likewise.
4202
3b85df27
UD
4203 [BZ #10157]
4204 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
4205 tests into ...
4206 (has_cpuclock): ...this. New function.
4207 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
4208 macro here based on has_cpuclock code.
4209
15a856b1
UD
4210 [BZ #10149]
4211 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4212 First byte (not low byte) is now always NUL.
4213 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
4214
05f399e6
UD
4215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4216 Use non-cancelable interfaces.
4217
10a52685 4218 [BZ #9809]
94ecc67d
UD
4219 * locale/iso-639.def: Add entry for Sorani.
4220
f8a3b5bf
UD
4221 [BZ #11901]
4222 * include/stdlib.h: Move include protection to the right place.
4223 Define abort_msg_s. Declare __abort_msg with it.
4224 * stdlib/abort.c (__abort_msg): Adjust type.
4225 * assert/assert.c (__assert_fail_base): New function. Majority
4226 of code from __assert_fail. Allocate memory for __abort_msg with
4227 mmap.
4228 (__assert_fail): Now call __assert_fail_base.
4229 * assert/assert-perr.c: Remove bulk of implementation. Use
4230 __assert_fail_base.
4231 * include/assert.hL Declare __assert_fail_base.
4232 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
4233 mmap.
4234 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
4235
1af4e298
UD
42362011-05-14 Ulrich Drepper <drepper@gmail.com>
4237
f8a3b5bf 4238 [BZ #11952]
d26dfc60
MG
4239 [BZ #12453]
4240 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
4241 until all modules are registered in the DTV.
4242 * elf/Makefile: Add rules to build and run tst-tls19.
4243 * elf/tst-tls19.c: New file.
4244 * elf/tst-tls19mod1.c: New file.
4245 * elf/tst-tls19mod2.c: New file.
4246 * elf/tst-tls19mod3.c: New file.
4247 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
4248
2fc54d6f
UD
4249 [BZ #12083]
4250 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
4251 correctly.
4252
98d76b46
UD
4253 [BZ #12601]
4254 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
4255 two-byte sequence errors.
4256 * iconvdata/Makefile (tests): Add bug-iconv8.
4257 * iconvdata/bug-iconv8.c: New file.
4258
da3c19ef
UD
4259 [BZ #12626]
4260 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
4261 buf2 definition.
4262
ca408c15
UD
4263 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
4264
d6f67f7d
UD
4265 [BZ #12432]
4266 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
4267 (dummy_getcfa): New function.
4268 (init): Get _Unwind_GetCFA address, use dummy if not found.
4269 (backtrace_helper): In recursion check, also check whether CFA changes.
4270 (__backtrace): Completely initialize arg.
4271
1af4e298 4272 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
4273 storing incomplete byte sequence in state object. Avoid testing for
4274 guaranteed too small input if we know there is enough data available.
1af4e298 4275
da62f81b
AS
42762011-05-11 Andreas Schwab <schwab@redhat.com>
4277
4278 * Makeconfig (+link-pie): Indent.
4279 * Rules (binaries-pie): Define if $(have-fpie) and
4280 $(build-shared).
4281 (binaries-shared): Also filter out $(binaries-pie).
4282 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
4283 * nscd/Makefile (others-pie): Add nscd.
4284 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
4285 ($(objpfx)nscd): Remove command override.
4286 * login/Makefile (others-pie): Add pt_chown.
4287 ($(objpfx)pt_chown): Remove command override.
4288 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
4289 remove command overrides.
4290
fcabc0f8
UD
42912011-05-13 Ulrich Drepper <drepper@gmail.com>
4292
20030ae6
UD
4293 * libio/tst_putwc.c: Fix error messages.
4294
fcabc0f8
UD
4295 [BZ #12724]
4296 * libio/fileops.c (_IO_new_file_close_it): Always flush when
4297 currently writing and seek to current position when not.
4298 * libio/Makefile (tests): Add bug-fclose1.
4299 * libio/bug-fclose1.c: New file.
4300
320a5dc0
PB
43012011-05-12 Ulrich Drepper <drepper@gmail.com>
4302
4303 [BZ #12511]
4304 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
4305 don't set DF_1_NODELETE here.
4306 (do_lookup_x): When entering new entry test for copy relocation
4307 and if necessary set DF_1_NODELETE flag.
4308 * elf/tst-unique4.cc: New file.
4309 * elf/tst-unique4.h: New file.
4310 * elf/tst-unique4lib.cc: New file.
4311 * elf/Makefile: Add rules to build and run tst-unique4.
4312 Patch by Piotr Bury <pbury@goahead.com>.
4313
22836f52
UD
43142011-05-11 Ulrich Drepper <drepper@gmail.com>
4315
f574184a
UD
4316 [BZ #12052]
4317 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
4318
e1fb097f
UD
4319 [BZ #12625]
4320 * misc/mntent_r.c (addmntent): Flush the stream after the output
4321
22836f52
UD
4322 [BZ #12393]
4323 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
4324 (is_trusted_path_normalize): Skip initial colon. Append slash
4325 to empty buffer. Duplicate is_trusted_path code but allow
4326 constructed patch to be prefix.
4327 (is_dst): Allow $ORIGIN followed by /.
4328 (_dl_dst_substitute): Correct clearing of check_for_trusted.
4329 Correct testing of result of is_trusted_path_normalize
4330 (decompose_rpath): Fix warning.
4331
7b3b0b2a
UD
43322011-05-10 Ulrich Drepper <drepper@gmail.com>
4333
4334 [BZ #11257]
4335 * grp/initgroups.c (internal_getgrouplist): When we found the service
4336 list through the initgroups entry in nsswitch.conf do not always
4337 continue on a successful lookup. Don't always use the
eac80ce2 4338 __nss_group_database value if it is set.
7b3b0b2a
UD
4339 * nss/nsswitch.conf (initgroups): Change action for successful db
4340 lookup to continue for compatibility.
4341
2a81eaa5
UD
43422011-05-09 Ulrich Drepper <drepper@gmail.com>
4343
be97a69e
UD
4344 [BZ #11532]
4345 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
4346 and CP774 modules.
4347 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
4348 and CP774 modules.
4349 * iconvdata/tst-tables.sh: Likewise.
4350 * iconvdata/cp770.c: New file.
4351 * iconvdata/cp771.c: New file.
4352 * iconvdata/cp772.c: New file.
4353 * iconvdata/cp773.c: New file.
4354 * iconvdata/cp774.c: New file.
4355 * iconvdata/testdata/CP770: New file.
4356 * iconvdata/testdata/CP770..UTF8: New file.
4357 * iconvdata/testdata/CP771: New file.
4358 * iconvdata/testdata/CP771..UTF8: New file.
4359 * iconvdata/testdata/CP772: New file.
4360 * iconvdata/testdata/CP772..UTF8: New file.
4361 * iconvdata/testdata/CP773: New file.
4362 * iconvdata/testdata/CP773..UTF8: New file.
4363 * iconvdata/testdata/CP774: New file.
4364 * iconvdata/testdata/CP774..UTF8: New file.
4365
4366 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
4367 END CHARMAP line.
4368 * iconvdata/gen-8bit-gap.sh: Likewise.
4369 * iconvdata/gen-8bit.sh: Likewise.
4370
c1e9e399
UD
4371 * locale/iso-639.def: Add ary entry.
4372
24c55fb3 4373 [BZ #11258]
96b4b1b0
UD
4374 * locale/C-translit.h.in: Add U20A1 transliteration.
4375
bdc2f971
KB
4376 [BZ #12178]
4377 * locale/iso-639.def: Add wae entry.
4378 Patch by Kevin Bortis <bortis@translate-wae.ch>.
4379
2952b117
UD
4380 [BZ #12545]
4381 * locale/programs/localedef.c (construct_output_path): Use ssize_t
4382 for n.
4383
2a81eaa5
UD
4384 [BZ #12711]
4385 * locale/C-translit.h.in: Add entry for U20B9.
4386 Patch by pravin.d.s@gmail.com.
4387
28377d1b
UD
43882011-05-08 Ulrich Drepper <drepper@gmail.com>
4389
7fb90fb8
UD
4390 [BZ #12713]
4391 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
4392 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
4393 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
4394 in rtld. Use *stat64.
7fb90fb8 4395 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 4396 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 4397 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
4398 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
4399 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
4400 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
4401 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
4402 __fstatat64 macros.
7fb90fb8
UD
4403 * include/dirent.h: Add libc_hidden_proto for rewinddir.
4404 * dirent/rewinddir.c: Add libc_hidden_def.
4405 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 4406 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 4407
28377d1b
UD
4408 * include/dirent.h (__alloc_dir): Add flags parameter.
4409 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
4410 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
4411 __alloc_dir.
4412 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
4413 from fdopendir if O_CLOEXEC is already set.
4414
66bdbaa4
AM
44152011-03-15 Alan Modra <amodra@gmail.com>
4416
4417 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
4418 l_tls_firstbyte_offset non-zero. Save padding offset in
4419 l_tls_firstbyte_offset for later use.
4420 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
4421 freeing static tls block.
4422
95721191
JN
44232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
4424
4425 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
4426 where #ifdef was intended. The intent is to prevent ARG_MAX from
4427 being defined by the kernel headers.
4428
f87dfb1f
UD
44292011-05-07 Ulrich Drepper <drepper@gmail.com>
4430
4431 [BZ #12734]
4432 * resolv/resolv.h: Define RES_NOTLDQUERY.
4433 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
4434 no-tld-query and set RES_NOTLDQUERY.
4435 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
4436 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
4437 modern BIND to search name as TLD unless forbidden.
4438
47c3cd7a
UD
44392011-05-07 Petr Baudis <pasky@suse.cz>
4440 Ulrich Drepper <drepper@gmail.com>
4441
4442 [BZ #12393]
4443 * elf/dl-load.c (fillin_rpath): Move trusted path check...
4444 (is_trusted_path): ...to here.
c1e9ea35 4445 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 4446 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 4447 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 4448
8a35c912
PP
44492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4450
4451 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
4452 __BEGIN/__END_DECLS.
4453
acd41f47
UD
44542011-05-06 Ulrich Drepper <drepper@gmail.com>
4455
4456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
4457 NSS_STATUS_NOTFOUND if no record was found.
4458
597df647
AS
44592011-05-05 Andreas Schwab <schwab@redhat.com>
4460
4461 * sunrpc/Makefile (headers): Add rpc/netdb.h.
4462 (headers-not-in-tirpc): Remove rpc/netdb.h
4463 * resolv/netdb.h: Revert last change.
4464
b9af1301
PP
44652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4466
4467 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
4468 circular dependency between libgcc.a and libc.a.
4469
4e34d5f5
AS
44702011-05-05 Andreas Schwab <schwab@redhat.com>
4471
4472 * resolv/netdb.h: Don't include <rpc/netdb.h>.
4473 * nis/Makefile: Don't install rpcsvc/*.
4474 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
4475 instead of <rpc/types.h>.
4476 (MAXHOSTNAMELEN): Define.
4477
00ee369c
AS
44782011-05-03 Andreas Schwab <schwab@redhat.com>
4479
4480 * elf/ldconfig.c (add_dir): Don't crash on empty path.
4481
0b592a30
MB
44822011-04-28 Maciej Babinski <mbabinski@google.com>
4483
4484 [BZ #12714]
4485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
4486 gethostbyname4_r when IPv6 results are possible.
4487
6e04cbbe
UD
44882011-05-02 Ulrich Drepper <drepper@gmail.com>
4489
4490 [BZ #12723]
4491 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
4492 _PC_PIPE_BUF handling.
4493
e4ecafe0
BH
44942011-04-30 Bruno Haible <bruno@clisp.org>
4495
4496 [BZ #12717]
4497 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
4498 * resolv/netdb.h (getnameinfo): Change type of flags parameter
4499 to 'int'.
4500 * inet/getnameinfo.c (getnameinfo): Likewise.
4501
125ee683
UD
45022011-04-29 Ulrich Drepper <drepper@gmail.com>
4503
4504 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
4505 to groups setting in database lookup.
4506 * nss/nsswitch.conf: Add initgroups entry.
4507
b722481a
EB
45082011-04-22 Ulrich Drepper <drepper@gmail.com>
4509
4510 [BZ #12685]
4511 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
4512 mode string.
4513 Patch by Eric Blake <eblake@redhat.com>.
4514
4df46dbd
L
45152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 * sunrpc/Makefile (need-export-routines): Add svc_run.
4518 (routines): Remove svc_run.
4519 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
4520 * sunrpc/clnt_perr.c (clnt_perrno): Export.
4521 * sunrpc/svc_run.c (svc_run): Likewise.
4522 * sunrpc/svc_udp.c (svcudp_create): Likewise.
4523
e84142d2
UD
45242011-04-21 Ulrich Drepper <drepper@gmail.com>
4525
4526 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
4527 problem in reallocation in last patch.
4528
877175d8
UD
45292011-04-20 Ulrich Drepper <drepper@gmail.com>
4530
4531 * sunrpc/Makefile: Move inclusion of Rules.
4532
ab8eed78
UD
45332011-04-19 Ulrich Drepper <drepper@gmail.com>
4534
4535 * nss/nss_files/files-initgroups.c: New file.
4536 * nss/Makefile (libnss_files-routines): Add files-initgroups.
4537 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
4538 _nss_files_initgroups_dyn.
4539
e3d8f584
RS
45402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
4541
4542 * elf/elf.h (R_ARM_IRELATIVE): Define.
4543
af190f45
UD
45442011-04-19 Ulrich Drepper <drepper@gmail.com>
4545
4546 * po/ru.po: Update from translation team.
4547
53cf59ef
UD
45482011-04-17 Ulrich Drepper <drepper@gmail.com>
4549
4550 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
4551 dependencies.
4552
4c559bcd
MF
45532011-02-06 Mike Frysinger <vapier@gentoo.org>
4554
4555 [BZ #12653]
4556 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
4557 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
4558 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4561
4420675c
AS
45622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
4563
4564 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
4565 differing bytes.
4566 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4567 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4568 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4569
75ea32ab
UD
45702011-04-17 Ulrich Drepper <drepper@gmail.com>
4571
4572 [BZ #12420]
4573 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
4574 storing it.
4575 * stdlib/bug-getcontext.c: New file.
4576 * stdlib/Makefile: Add rules to build and run bug-getcontext.
4577
27390476
AK
45782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4579
4580 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
4581 instructions into .machine "z9-109".
4582 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4583 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4584
10442705
AK
45852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4586
4587 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
4588 between environment variables and auxiliary vector.
4589
7b57bfe5
UD
45902011-04-16 Ulrich Drepper <drepper@gmail.com>
4591
4592 * Makefile: Add rules to build linkobj/libc.so.
4593 * include/libc-symbols.h: Define libc_hidden_nolink.
4594 * include/rpc/auth.h: Mark functions which are to be hidden.
4595 * include/rpc/auth_des.h: Likewise.
4596 * include/rpc/auth_unix.h: Likewise.
4597 * include/rpc/clnt.h: Likewise.
4598 * include/rpc/des_crypt.h: Likewise.
4599 * include/rpc/key_prot.h: Likewise.
4600 * include/rpc/pmap_clnt.h: Likewise.
4601 * include/rpc/pmap_prot.h: Likewise.
4602 * include/rpc/pmap_rmt.h: Likewise.
4603 * include/rpc/rpc_msg.h: Likewise.
4604 * include/rpc/svc.h: Likewise.
4605 * include/rpc/svc_auth.h: Likewise.
4606 * include/rpc/xdr.h: Likewise.
4607 * nis/Makefile: Link all DSOs against linkobj/libc.so.
4608 * nss/Makefile: Likewise.
4609 * sunrpc/Makefile: Don't install headers. Build library with normal
4610 entry points. Don't build rpcinfo. Link RPC tests appropriately.
4611 * sunrpc/auth_des.c: Hide exported symbols by default, export some
4612 for the compat linking library. Remove use of INTDEF/INTUSE.
4613 * sunrpc/auth_none.c: Likewise.
4614 * sunrpc/auth_unix.c: Likewise.
4615 * sunrpc/authdes_prot.c: Likewise.
4616 * sunrpc/authuxprot.c: Likewise.
4617 * sunrpc/clnt_gen.c: Likewise.
4618 * sunrpc/clnt_perr.c: Likewise.
4619 * sunrpc/clnt_raw.c: Likewise.
4620 * sunrpc/clnt_simp.c: Likewise.
4621 * sunrpc/clnt_tcp.c: Likewise.
4622 * sunrpc/clnt_udp.c: Likewise.
4623 * sunrpc/clnt_unix.c: Likewise.
4624 * sunrpc/des_crypt.c: Likewise.
4625 * sunrpc/des_soft.c: Likewise.
4626 * sunrpc/get_myaddr.c: Likewise.
4627 * sunrpc/key_call.c: Likewise.
4628 * sunrpc/key_prot.c: Likewise.
4629 * sunrpc/netname.c: Likewise.
4630 * sunrpc/pm_getmaps.c: Likewise.
4631 * sunrpc/pm_getport.c: Likewise.
4632 * sunrpc/pmap_clnt.c: Likewise.
4633 * sunrpc/pmap_prot.c: Likewise.
4634 * sunrpc/pmap_prot2.c: Likewise.
4635 * sunrpc/pmap_rmt.c: Likewise.
4636 * sunrpc/publickey.c: Likewise.
4637 * sunrpc/rpc_cmsg.c: Likewise.
4638 * sunrpc/rpc_common.c: Likewise.
4639 * sunrpc/rpc_dtable.c: Likewise.
4640 * sunrpc/rpc_prot.c: Likewise.
4641 * sunrpc/rpc_thread.c: Likewise.
4642 * sunrpc/rtime.c: Likewise.
4643 * sunrpc/svc.c: Likewise.
4644 * sunrpc/svc_auth.c: Likewise.
4645 * sunrpc/svc_authux.c: Likewise.
4646 * sunrpc/svc_raw.c: Likewise.
4647 * sunrpc/svc_run.c: Likewise.
4648 * sunrpc/svc_simple.c: Likewise.
4649 * sunrpc/svc_tcp.c: Likewise.
4650 * sunrpc/svc_udp.c: Likewise.
4651 * sunrpc/svc_unix.c: Likewise.
4652 * sunrpc/svcauth_des.c: Likewise.
4653 * sunrpc/xcrypt.c: Likewise.
4654 * sunrpc/xdr.c: Likewise.
4655 * sunrpc/xdr_array.c: Likewise.
4656 * sunrpc/xdr_float.c: Likewise.
4657 * sunrpc/xdr_intXX_t.c: Likewise.
4658 * sunrpc/xdr_mem.c: Likewise.
4659 * sunrpc/xdr_rec.c: Likewise.
4660 * sunrpc/xdr_ref.c: Likewise.
4661 * sunrpc/xdr_sizeof.c: Likewise.
4662 * sunrpc/xdr_stdio.c: Likewise.
4663
e6c61494
UD
46642011-04-10 Ulrich Drepper <drepper@gmail.com>
4665
4666 [BZ #12650]
4667 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
4668 * sysdeps/ia64/dl-tls.h: Likewise.
4669 * sysdeps/powerpc/dl-tls.h: Likewise.
4670 * sysdeps/s390/dl-tls.h: Likewise.
4671 * sysdeps/sh/dl-tls.h: Likewise.
4672 * sysdeps/sparc/dl-tls.h: Likewise.
4673 * sysdeps/x86_64/dl-tls.h: Likewise.
4674 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
4675
34fe483e
AS
46762011-03-14 Andreas Schwab <schwab@redhat.com>
4677
4678 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
4679 rpath element also skip the following colon.
4680 (expand_dynamic_string_token): Add is_path parameter and pass
4681 down to DL_DST_REQUIRED and _dl_dst_substitute.
4682 (decompose_rpath): Call expand_dynamic_string_token with
4683 non-zero is_path. Ignore empty rpaths.
4684 (_dl_map_object_from_fd): Call expand_dynamic_string_token
4685 with zero is_path.
4686
f12a32e6
AS
46872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
4688
4689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4690 Make cancelable.
4691
38a7d692
UD
46922011-04-09 Ulrich Drepper <drepper@gmail.com>
4693
4694 [BZ #12655]
4695 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
4696 Patch by Filipe David Manana <fdmanana@apache.org>.
4697
e451d22b
AS
46982011-04-07 Andreas Schwab <schwab@redhat.com>
4699
4700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
4701 Maintain aligned stack.
4702 (CHECK_RSP): Remove unused macro.
4703
dedc7c7b
UD
47042011-04-03 Ulrich Drepper <drepper@gmail.com>
4705
4706 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
4707 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
4708
94521213
UD
47092011-04-02 Ulrich Drepper <drepper@gmail.com>
4710
4711 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
4712
8cb700c0 4713 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 4714
0354e355
L
47152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
4716
4717 [BZ #12518]
4718 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
4719 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
4720 * sysdeps/x86_64/memmove.c: New file.
4721 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
4722 (memcpy): Renamed to ...
4723 (__new_memcpy): This.
4724 (memcpy): Provide GLIBC_2_14 memcpy.
4725 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
4726 (memcpy): Provide GLIBC_2_2_5 memcpy.
4727
8593482f
UD
47282011-04-01 Ulrich Drepper <drepper@gmail.com>
4729
4730 [BZ #12631]
4731 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
4732
81a5726b
AS
47332011-03-30 Andreas Schwab <schwab@redhat.com>
4734
4735 * misc/syncfs.c: New file.
4736 * misc/Makefile (routines): Add syncfs.
4737 * posix/unistd.h: Declare syncfs.
4738 * sysdeps/unix/syscalls.list: Add syncfs.
4739
00e5419f
AS
47402011-04-01 Andreas Schwab <schwab@redhat.com>
4741
4742 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
4743 open_by_handle_at.
4744 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4747 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4749 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4750 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4751
748876bf
UD
47522011-04-01 Ulrich Drepper <drepper@gmail.com>
4753
658e451d
UD
4754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
4755 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4756 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
4757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4758 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4761
748876bf
UD
4762 * io/Makefile: Compile fallocate.c, fallocate64.c, and
4763 sync_file_range.c with -fexceptions.
4764 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
4765 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
4766 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4767 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4768 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4769 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
4771 sync_file_range as cancellation point
4772 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
4773 now a wrapper around __call_sync_file_range with cancellation handling.
4774 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
4775 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
4776 function name to __call_sync_file_range.
4777 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
4778 Add call_sync_file_range.
748876bf 4779
6e63d5e1
AS
47802011-04-01 Andreas Schwab <schwab@redhat.com>
4781
4782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 4783 bits/timex.h.
6e63d5e1 4784
46998f74
UD
47852011-04-01 Ulrich Drepper <drepper@gmail.com>
4786
4c1423ed
UD
4787 * iconv/iconv.h: Fix typo in comment.
4788 * io/fcntl.h: Likewise.
4789 * libio/stdio.h: Likewise.
4790 * posix/spawn.h: Likewise.
4791 * posix/unistd.h: Likewise.
4792 * stdlib/stdlib.h: Likewise.
4793 * time/time.h: Likewise.
4794 * wcsmbs/wchar.h: Likewise.
4795
158648c0
UD
4796 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
4797 open_by_handle): Add.
4798 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
4799 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
4800 Augment a few comments.
4801 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4806 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
4807 open_by_handle.
4808
46998f74
UD
4809 * io/fcntl.h (AT_EMPTY_PATH): Define.
4810
83fe108b
UD
48112011-03-30 Ulrich Drepper <drepper@gmail.com>
4812
4813 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
4814 * sysdeps/unix/sysv/linux/bits/time.h: New file.
4815 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
4816 to...
4817 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
4818 * Versions.def: Add GLIBC_2.14.
4819 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
4820 Export.
83fe108b 4821
bb242059
UD
48222011-03-22 Ulrich Drepper <drepper@gmail.com>
4823
4824 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
4825 round counter.
4826 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
4827
c97a1282
L
48282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
4829
4830 [BZ #12597]
4831 * string/test-strncmp.c (do_page_test): New function.
4832 (check2): Likewise.
4833 (test_main): Call check2.
4834 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
4835
2a115601
UD
48362011-03-20 Ulrich Drepper <drepper@gmail.com>
4837
4838 [BZ #12587]
4839 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
4840 Handle cache information in CPU leaf 4.
4841 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
4842
8126d904
UD
48432011-03-18 Ulrich Drepper <drepper@gmail.com>
4844
042c49c6 4845 [BZ #12583]
8126d904
UD
4846 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
4847 character representation.
4848 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
4849
ccfe366e
RA
48502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
4851
4852 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
4853 END(__isnan) to END(__isnanf) to match function entry point/label
4854 EALIGN(__isnanf,...).
4855
c6e13027
JJ
48562011-03-10 Jakub Jelinek <jakub@redhat.com>
4857
4858 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
4859
33f85a3f
UD
48602011-03-10 Ulrich Drepper <drepper@gmail.com>
4861
028478fa
UD
4862 [BZ #12510]
4863 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
4864 copy from the symbol referenced in the relocation to initialize the
4865 used variable.
4866 Patch by Piotr Bury <pbury@goahead.com>.
4867 * elf/Makefile: Add rules to build and tst-unique3.
4868 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
4869 * elf/tst-unique3.cc: New file.
4870 * elf/tst-unique3.h: New file.
4871 * elf/tst-unique3lib.cc: New file.
4872 * elf/tst-unique3lib2.cc: New file.
4873
33f85a3f
UD
4874 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
4875
03592fc7
MF
48762011-03-10 Mike Frysinger <vapier@gentoo.org>
4877
4878 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
4879 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
4880 to _start.
03592fc7 4881
6a5ee102
UD
48822011-03-06 Ulrich Drepper <drepper@gmail.com>
4883
4884 * elf/dl-load.c (_dl_map_object): If we are looking for the first
4885 to-be-loaded object along a path to loader is ld.so.
4886
7e4ba49c
HJ
48872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
4888 Ulrich Drepper <drepper@gmail.com>
4889
4890 * sysdeps/x86_64/memset.S: After aligning destination, code
4891 branches to different locations depending on the value of
4892 misalignment, when multiarch is enabled. Fix this.
4893
48942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
4895
4896 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
4897 Set _x86_64_preferred_memory_instruction for AMD processsors.
4898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4899 Set bit_Prefer_SSE_for_memop for AMD processors.
4900
13a804de
UD
49012011-03-04 Ulrich Drepper <drepper@gmail.com>
4902
4903 * libio/fmemopen.c (fmemopen): Optimize a bit.
4904
9d25c392
AS
49052011-03-03 Andreas Schwab <schwab@redhat.com>
4906
4907 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
4908
a5543c6a
RM
49092011-03-03 Roland McGrath <roland@redhat.com>
4910
4911 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
4912
012d35f7
DM
49132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
4914
7e4ba49c 4915 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
4916 __bzero_ultra1 instead of __memset_ultra1.
4917
4bff6e01
AS
49182011-02-23 Andreas Schwab <schwab@redhat.com>
4919 Ulrich Drepper <drepper@gmail.com>
4920
4921 [BZ #12509]
4922 * include/link.h (struct link_map): Add l_orig_initfini.
4923 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
4924 returning unsuccessfully.
4925 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
4926 close of a file loaded at startup, restore the original l_initfini
4927 list.
4928 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
4929 list, store the pointer.
4930 * elf/Makefile ($(objpfx)noload-mem): New rule.
4931 (noload-ENV): Define.
4932 (tests): Add $(objpfx)noload-mem.
4933 * elf/noload.c: Include <memcheck.h>.
4934 (main): Call mtrace. Close all opened handles.
4935
f2092faf
AS
49362011-02-17 Andreas Schwab <schwab@redhat.com>
4937
4938 [BZ #12454]
4939 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
4940 dependencies are missing.
4941
6c8a2e88
ST
49422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4943
f2092faf 4944 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
4945 Hurd needs munmap.
4946 * sysdeps/mach/hurd/ifreq.h: New file.
4947
84a42118
PB
49482011-01-27 Petr Baudis <pasky@suse.cz>
4949 Ulrich Drepper <drepper@gmail.com>
4950
071f805e 4951 [BZ 12445]#
84a42118
PB
4952 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
4953 to extend_alloca().
4954 * stdio-common/bug23.c: New file.
4955 * stdio-common/Makefile (tests): Add bug23.
4956
e23fe25b
AS
49572010-09-28 Andreas Schwab <schwab@redhat.com>
4958 Ulrich Drepper <drepper@gmail.com>
4959
4960 [BZ #12489]
4961 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
4962 before performing relro protection. At old place add assertion
4963 to make sure nothing changed.
4964
d3f02e10
NS
49652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
4966 Glauber de Oliveira Costa <glommer@gmail.com>
4967
4968 * elf/elf.h: Add new ARM TLS relocs.
4969
d55fd7a5
RA
49702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
4971
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4973 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
4974 cast from r3.
4975 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
4976 'tests' variable.
4977 * sysdeps/wordsize-64/tst-writev.c: New file.
4978
2206397e
RA
49792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
4980
4981 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
4982 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
4983 insns in _dl_start to prevent a TOC reference before relocs are
4984 resolved.
4985
e9433893
UD
49862011-02-15 Ulrich Drepper <drepper@gmail.com>
4987
4988 [BZ #12469]
4989 * Makeconfig: Remove RANLIB definition.
4990 * Makerules: Don't use RANLIB.
4991 * aclocal.m4: Remove ranlib test.
4992 * configure.in: No need to check for ranlib.
4993 * elf/rtld-Rules: Don't use RANLIB.
4994
f75286c6
ST
49952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4996
8e31c82d
ST
4997 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
4998 protection macro.
4999 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
5000 inclusion protection macro.
5001
f75286c6
ST
5002 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
5003 SIGRTMIN and SIGRTMAX and print information in that case only when
5004 SIGRTMIN is defined.
5005
c1d0e639
JJ
50062011-02-11 Jakub Jelinek <jakub@redhat.com>
5007
5008 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
5009 arginfo fn returning -1.
5010
5011 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
5012 and thousands string is zero terminated.
5013
edf9294e
AS
50142011-02-03 Andreas Schwab <schwab@redhat.com>
5015
5016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
5017 sysdeps/unix/sysv/linux/bits/socket.h.
5018
2b7e92df
ST
50192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5020
edf9294e
AS
5021 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
5022 (__CPU_COUNT): Remove old macros.
5023 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
5024 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
5025 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
5026 (__sched_cpualloc, __sched_cpufree): Add declarations.
5027
a4c7ea7b
UD
50282011-02-05 Ulrich Drepper <drepper@gmail.com>
5029
5030 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
5031 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
5032 * nscd/aicache.c (addhstaiX): Return timeout of added value.
5033 (readdhstai): Return value of addhstaiX call.
5034 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
5035 (addgrbyX): Return value returned by cache_addgr.
5036 (readdgrbyname): Return value returned by addgrbyX.
5037 (readdgrbygid): Likewise.
5038 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
5039 (addpwbyX): Return value returned by cache_addpw.
5040 (readdpwbyname): Return value returned by addhstbyX.
5041 (readdpwbyuid): Likewise.
5042 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
5043 (addservbyX): Return value returned by cache_addserv.
5044 (readdservbyname): Return value returned by addservbyX:
5045 (readdservbyport): Likewise.
5046 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
5047 (addhstbyX): Return value returned by cache_addhst.
5048 (readdhstbyname): Return value returned by addhstbyX.
5049 (readdhstbyaddr): Likewise.
5050 (readdhstbynamev6): Likewise.
5051 (readdhstbyaddrv6): Likewise.
5052 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
5053 (readdinitgroups): Return value returned by addinitgroupsX.
5054 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
5055 (prune_cache): Keep track of timeout value of re-added entries.
5056 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
5057 * nscd/nscd.h: Adjust prototypes of readd* functions.
5058
a0bf67cc
RM
50592011-02-04 Roland McGrath <roland@redhat.com>
5060
5061 * nis/nis_server.c (nis_servstate): Use the right name for 0.
5062 (nis_stats): Likewise.
5063 * nis/nis_modify.c (nis_modify): Likewise.
5064 * nis/nis_remove.c (nis_remove): Likewise.
5065 * nis/nis_add.c (nis_add): Likewise.
5066
5067 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
5068
5069 * posix/fnmatch_loop.c: Add some consts.
5070
5071 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
5072
435b95eb
L
50732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
5074
5075 [BZ #12460]
5076 * config.make.in (config-cflags-novzeroupper): Define.
5077 * configure.in: Substitute libc_cv_cc_novzeroupper.
5078 * elf/Makefile (AVX-CFLAGS): Define.
5079 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
5080 (CFLAGS-tst-auditmod4a.c): Likewise.
5081 (CFLAGS-tst-auditmod4b.c): Likewise.
5082 (CFLAGS-tst-auditmod6b.c): Likewise.
5083 (CFLAGS-tst-auditmod6c.c): Likewise.
5084 (CFLAGS-tst-auditmod7b.c): Likewise.
5085 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
5086
8517b15e
UD
50872011-02-02 Ulrich Drepper <drepper@gmail.com>
5088
5089 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
5090 function to the callback.
5091 Patch partly by Jiri Olsa <jolsa@redhat.com>.
5092
10a656fe
AS
50932011-02-02 Andreas Schwab <schwab@redhat.com>
5094
5095 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
5096 of errno.
5097
968dad0a
UD
50982011-01-19 Ulrich Drepper <drepper@gmail.com>
5099
9f94d2ea 5100 [BZ #11724]
968dad0a
UD
5101 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
5102 of constructors.
5103 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
5104 of destructors.
5105 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
5106
5107 [BZ #11724]
5108 * elf/Makefile: Add rules to build and run new test.
5109 * elf/tst-initorder.c: New file.
5110 * elf/tst-initorder.exp: New file.
5111 * elf/tst-initordera1.c: New file.
5112 * elf/tst-initordera2.c: New file.
5113 * elf/tst-initordera3.c: New file.
5114 * elf/tst-initordera4.c: New file.
5115 * elf/tst-initorderb1.c: New file.
5116 * elf/tst-initorderb2.c: New file.
5117 * elf/tst-order-a1.c: New file.
5118 * elf/tst-order-a2.c: New file.
5119 * elf/tst-order-a3.c: New file.
5120 * elf/tst-order-a4.c: New file.
5121 * elf/tst-order-b1.c: New file.
5122 * elf/tst-order-b2.c: New file.
5123 * elf/tst-order-main.c: New file.
5124 New test case by George Gensure <werkt0@gmail.com>.
5125
86e92359
UD
51262010-10-01 Andreas Schwab <schwab@redhat.com>
5127
5128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5129 decoding ACE if AI_CANONIDN.
5130
5d5732b0
UD
51312011-01-18 Ulrich Drepper <drepper@gmail.com>
5132
5133 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
5134
a77e8cbc
UD
51352011-01-17 Ulrich Drepper <drepper@gmail.com>
5136
6392473f
UD
5137 * version.h (RELEASE): Bump for 2.13 release.
5138 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
5139
620a0529
UD
5140 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
5141
18ba70a5
UD
5142 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
5143 MADV_NOHUGEPAGE.
32465c3e
UD
5144 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
5145 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5146 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5147 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5148 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5149 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5150
c0dafcf1
UD
5151 * posix/getconf.c: Update copyright year.
5152 * catgets/gencat.c: Likewise.
5153 * csu/version.c: Likewise.
5154 * debug/catchsegv.sh: Likewise.
5155 * debug/xtrace.sh: Likewise.
5156 * elf/ldconfig.c: Likewise.
5157 * elf/ldd.bash.in: Likewise.
5158 * elf/sprof.c (print_version): Likewise.
5159 * iconv/iconv_prog.c: Likewise.
5160 * iconv/iconvconfig.c: Likewise.
5161 * locale/programs/locale.c: Likewise.
5162 * locale/programs/localedef.c: Likewise.
5163 * malloc/memusage.sh: Likewise.
5164 * malloc/mtrace.pl: Likewise.
5165 * nscd/nscd.c (print_version): Likewise.
5166 * nss/getent.c: Likewise.
5167
a77e8cbc
UD
5168 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
5169 PF_CAIF, and PF_ALG.
5170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5171
77e8bddf
AS
51722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
5173
1f20b93a
AS
5174 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
5175 (modules-names): Use them.
5176 (ifunc-test-modules, ifunc-pie-tests): Define.
5177 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
5178 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
5179 (test-extras): Likewise.
5180 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
5181 $(compile-command.c).
5182 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
5183 (all-built-dso): Define.
5184 (check-textrel.out, check-execstack.out): Depend on it.
5185
77e8bddf
AS
5186 * configure.in: Don't override --enable-multi-arch.
5187
bc425b33
UD
51882011-01-15 Ulrich Drepper <drepper@gmail.com>
5189
5190 [BZ #6812]
5191 * nscd/hstcache.c (tryagain): Define.
5192 (cache_addhst): Return tryagain not notfound for temporary errors.
5193 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
5194 failed.
5195
794c3ad3
UD
51962011-01-14 Ulrich Drepper <drepper@gmail.com>
5197
70181fdd
UD
5198 [BZ #10563]
5199 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
5200 to make the syscall.
5201 * sysdeps/unix/sysv/linux/setgroups.c: New file.
5202
794c3ad3
UD
5203 [BZ #12378]
5204 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
5205 and fall back to matching as normal character if the string ends before
5206 the matching ']' is found. This is what POSIX requires.
5207 * posix/testfnm.c: Adjust test result.
5208 * posix/globtest.sh: Adjust test result. Add new test.
5209 * posix/tst-fnmatch.input: Likewise.
5210 * posix/tst-fnmatch2.c: Add new test.
5211
68dc9497
AS
52122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
5213
5214 * elf/Makefile (check-execstack): Revert last change. Depend on
5215 check-execstack.h.
5216 (check-execstack.h): New target.
5217 (generated): Add check-execstack.h.
5218 * elf/check-execstack.c: Include "check-execstack.h".
5219 (main): Revert last change.
5220 (handle_file): Return zero if GNU_STACK is absent and
5221 DEFAULT_STACK_PERMS doesn't include PF_X.
5222
451f001b
UD
52232011-01-13 Ulrich Drepper <drepper@gmail.com>
5224
cfa28e56
UD
5225 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
5226 in child fails because the descriptor is already closed.
8cf8ce17
UD
5227 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
5228 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
5229 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 5230
1086d70d
UD
5231 [BZ #12397]
5232 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
5233 syscall.
5234
451f001b
UD
5235 [BZ #10484]
5236 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
5237 temporary buffer used to handle multi lookups locally.
a85b5cb4 5238 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 5239
08769175
UD
52402011-01-12 Ulrich Drepper <drepper@gmail.com>
5241
5242 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
5243 loader is ld.so.
5244
5e49c52e
UD
52452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
5246
5247 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
5248 alignment for SSE2.
5249
60522a5f
UD
52502011-01-12 Ulrich Drepper <drepper@gmail.com>
5251
5252 [BZ #12394]
5253 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
5254 characters. When rounding increased number of integer digits recompute
5255 number of groups.
5256 * stdio-common/tst-grouping.c: New file.
5257 * stdio-common/Makefile: Add rules to build and run tst-grouping.
5258
f257bbd7
UD
52592011-01-09 Ulrich Drepper <drepper@gmail.com>
5260
5261 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
5262 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
5263
5264 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
5265 void.
5266 * bits/select.h: Likewise.
5267
fa9c15cb
UD
52682011-01-08 Ulrich Drepper <drepper@gmail.com>
5269
5270 * po/ja.po: Update from translation team.
5271
16c2895f
DM
52722011-01-04 David S. Miller <davem@sunset.davemloft.net>
5273
5274 [BZ #11155]
5275 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
5276 implementation just like for lxstat, fxstatat, et al.
5277
2543fef2
JM
52782010-12-27 Jim Meyering <meyering@redhat.com>
5279
5280 [BZ #12348]
5281 * posix/regexec.c (build_trtable): Return failure indication upon
5282 calloc failure. Otherwise, re_search_internal could infloop on OOM.
5283
98727dbe
UD
52842010-12-25 Ulrich Drepper <drepper@gmail.com>
5285
5bd6dc5c
UD
5286 [BZ #12201]
5287 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
5288 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
5289 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
5290 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
5291
97983464
UD
5292 [BZ #12207]
5293 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
5294
98727dbe
UD
5295 [BZ #12204]
5296 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
5297 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
5298
4a531bb0
L
52992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
5300
5301 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
5302 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
5303 script has SORT_BY_INIT_PRIORITY.
5304 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
5305 NO_CTORS_DTORS_SECTIONS is defined.
5306 * elf/soinit.c: Likewise.
5307 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
5308 NO_CTORS_DTORS_SECTIONS is defined.
5309 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5310 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
5311 * sysdeps/sh/init-first.c: Likewise.
5312 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5313
07eb4b71
UD
53142010-12-24 Ulrich Drepper <drepper@gmail.com>
5315
5316 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
5317 always use the slow path.
5318
30950a5f
RA
53192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
5320
5321 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
5322 similar rule which adds the sysdep directories to the header search in
5323 order to pick up the correct platform stackinfo.h.
5324 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
5325 perform test if it is, otherwise return successfully without testing.
5326 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
5327 DEFAULT_STACK_PERMS define in stackinfo.h.
5328 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
5329 defined in stackinfo.h.
5330 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
5331 DEFAULT_STACK_PERMS defined in stackinfo.h.
5332 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
5333 * sysdeps/ia64/stackinfo.h: Likewise.
5334 * sysdeps/s390/stackinfo.h: Likewise.
5335 * sysdeps/sh/stackinfo.h: Likewise.
5336 * sysdeps/sparc/stackinfo.h: Likewise.
5337 * sysdeps/x86_64/stackinfo.h: Likewise.
5338 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
5339 PF_X for powerpc64. Retain PF_X for powerpc32.
5340
db753e2c
UD
53412010-12-19 Ulrich Drepper <drepper@gmail.com>
5342
14b697f7
UD
5343 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
5344 accurately.
db753e2c
UD
5345 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
5346 GETDENTS_64BIT_ALIGNED.
5347
28300719
UD
53482010-12-14 Ulrich Drepper <dreper@gmail.com>
5349
14b697f7 5350 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 5351
4f197237
AS
53522010-12-10 Andreas Schwab <schwab@redhat.com>
5353
dbb0472f
AS
5354 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
5355 _GNU_SOURCE.
5356
4f197237
AS
5357 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
5358 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
5359 Remove __restrict.
5360 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
5361 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
5362
fb88ac72
UD
53632010-12-09 Ulrich Drepper <drepper@gmail.com>
5364
5365 [BZ #11655]
5366 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
5367 are initialized.
5368
42acbb92
JJ
53692010-12-09 Jakub Jelinek <jakub@redhat.com>
5370
5371 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
5372
c038d98d
UD
53732010-12-03 Ulrich Drepper <drepper@gmail.com>
5374
5375 * po/it.po: Update from translation team.
5376
3a4a2499
L
53772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
5378
5379 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
5380 unused codes.
5381
1e24cf6e
UD
53822010-11-30 Ulrich Drepper <drepper@gmail.com>
5383
5384 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
5385
a7690819
AS
53862010-11-24 Andreas Schwab <schwab@redhat.com>
5387
5388 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
5389 specially.
5390 (gaih_getanswer_slice): Likewise.
5391
3bf8d1b1
JJ
53922010-10-20 Jakub Jelinek <jakub@redhat.com>
5393
5394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
5395
6db52fbb
PB
53962010-05-31 Petr Baudis <pasky@suse.cz>
5397
5398 [BZ #11149]
5399 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
5400 silently even in the chroot mode.
5401
eaca7569
UD
54022010-11-22 Ulrich Drepper <drepper@gmail.com>
5403
5404 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
5405 last patch a bit. Pretty printing
5406
3056dcdb
UD
54072010-05-31 Petr Baudis <pasky@suse.cz>
5408
5409 [BZ #10085]
5410 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
5411 initialization of skip_initgroups_dyn.
5412
cf7c9078
UD
54132010-11-19 Ulrich Drepper <drepper@gmail.com>
5414
5415 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
5416 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5417
a1fb5e3e
UD
54182010-11-16 Ulrich Drepper <drepper@gmail.com>
5419
5420 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
5421
3540d66b
AS
54222010-11-11 Andreas Schwab <schwab@redhat.com>
5423
5424 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
5425 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
5426 (tst-fnmatch-ENV): Set MALLOC_TRACE.
5427 ($(objpfx)tst-fnmatch-mem): New rule.
5428 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
5429 * posix/tst-fnmatch.c (main): Call mtrace.
5430
13b69574
L
54312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
5432
5433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5434 Support Intel processor model 6 and model 0x2c.
5435
da93d214
LM
54362010-11-10 Luis Machado <luisgpm@br.ibm.com>
5437
5438 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
5439 signed comparison.
5440
8ca52c6e
L
54412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
5442
5443 [BZ #12205]
5444 * string/test-strncasecmp.c (check_result): New function.
5445 (do_one_test): Use it.
5446 (check1): New function.
5447 (test_main): Use it.
5448 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
5449 Support strcasecmp and strncasecmp.
5450
69da074d
UD
54512010-11-08 Ulrich Drepper <drepper@gmail.com>
5452
5453 [BZ #12194]
5454 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
5455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5456
ff02d528
L
54572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
5458
5459 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
5460 IFUNC support.
5461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5462 memset-x86-64.
5463 * sysdeps/x86_64/multiarch/bzero.S: New file.
5464 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
5465 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
5466 * sysdeps/x86_64/multiarch/memset.S: New file.
5467 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
5468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5469 Set bit_Prefer_SSE_for_memop for Intel processors.
5470 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
5471 Define.
5472 (index_Prefer_SSE_for_memop): Define.
5473 (HAS_PREFER_SSE_FOR_MEMOP): Define.
5474
344d0b54
LM
54752010-11-04 Luis Machado <luisgpm@br.ibm.com>
5476
5477 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
5478 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
5479
c0dde15b
UD
54802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
5481
5482 [BZ #12191]
5483 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5484 (__x86_64_raw_data_cache_size_half): Likewise.
5485 (__x86_64_raw_shared_cache_size): Likewise.
5486 (__x86_64_raw_shared_cache_size_half): Likewise.
5487
5488 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5489 (__x86_64_raw_data_cache_size_half): Likewise.
5490 (__x86_64_raw_shared_cache_size): Likewise.
5491 (__x86_64_raw_shared_cache_size_half): Likewise.
5492 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
5493 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
5494 and __x86_64_raw_shared_cache_size_half. Round
5495 __x86_64_data_cache_size_half, __x86_64_data_cache_size
5496 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
5497 to multiple of 256 bytes.
5498
0e516e0e
MS
54992010-11-03 Ulrich Drepper <drepper@gmail.com>
5500
5501 [BZ #12167]
5502 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
5503 of inacessible symlinks. Verify result of symlink before returning it.
5504 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5505 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
5506
0e012e87
ER
55072010-10-28 Erich Ritz <erichritz@gmail.com>
5508
5509 * math/math.h (isinf): Fix typo in comment.
5510
de0ff7bc
UD
55112010-11-01 Ulrich Drepper <drepper@gmail.com>
5512
5513 * po/da.po: Update from translation team.
5514
fa41c84d
UD
55152010-10-26 Ulrich Drepper <drepper@gmail.com>
5516
5517 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
5518 is added to the list.
5519
f0967738
AK
55202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5521 Ulrich Drepper <drepper@gmail.com>
5522
5523 * elf/dl-object.c (_dl_new_object): Don't append the new object to
5524 the global list here. Move code to...
5525 (_dl_add_to_namespace_list): ...here. New function.
5526 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
5527 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
5528 * elf/dl-load.c (lose): Don't remove the element from the list.
5529 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
5530 (_dl_map_object): Likewise.
5531
55322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
5533
5534 [BZ #12159]
5535 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
5536 into all bytes of SSE register.
5537 Patch by Richard Li <richardpku@gmail.com>.
5538
f0967738 55392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
5540
5541 [BZ #12140]
5542 * malloc/malloc.c (_int_free): Fill correct number of bytes when
5543 perturbing.
5544
d0b9e94f
MB
55452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
5546
5547 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
5548 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
5549 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
5550 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
5552 submachine.
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
5554
8e9f92e9
AS
55552010-10-22 Andreas Schwab <schwab@redhat.com>
5556
5557 * include/dlfcn.h (__RTLD_SECURE): Define.
5558 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
5559 mode & __RTLD_SECURE instead.
5560 (open_path): Rename preloaded parameter to secure.
5561 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
5562 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
5563 * elf/dl-deps.c (openaux): Likewise.
5564 * elf/rtld.c (struct map_args): Remove is_preloaded.
5565 (map_doit): Don't use it.
5566 (dl_main): Likewise.
5567 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
5568 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
5569
bc96fbda
AS
55702010-09-09 Andreas Schwab <schwab@redhat.com>
5571
5572 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
5573 (sysd-rules-targets): Remove duplicates.
5574 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
5575 rtld-%.$o dependency.
5576
22cd1c9b
AS
55772010-10-18 Andreas Schwab <schwab@redhat.com>
5578
5579 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
5580 _dl_map_object do it.
5581
18edac48
UD
55822010-10-19 Ulrich Drepper <drepper@gmail.com>
5583
5584 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
5585 fast fma builtins, define the macros in the C99 standard.
5586 (FP_FAST_FMAF): Likewise.
5587 (FP_FAST_FMAL): Likewise.
5588 * sysdeps/x86_64/bits/mathdef.h: Likewise.
5589
5590 * bits/mathdef.h: Update copyright year.
5591 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5592
d2050124
MM
55932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
5594
5595 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
5596 builtins, define the macros in the C99 standard.
5597 (FP_FAST_FMAF): Likewise.
5598 (FP_FAST_FMAL): Likewise.
5599 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
5600 multiply/add.
5601 (FP_FAST_FMAF): Likewise.
5602
475facd1
JJ
56032010-10-15 Jakub Jelinek <jakub@redhat.com>
5604
5605 [BZ #3268]
5606 * math/libm-test.inc (fma_test): Some new testcases.
5607 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
5608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
5609 y and infinite z. Do multiplication by C already in long double.
5610 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
5611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
5612 y and infinite z. Do bitwise or of inexact bit into u.d.
5613 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
5614 * sysdeps/i386/fpu/s_fmaf.S: Removed.
5615 * sysdeps/i386/fpu/s_fma.S: Removed.
5616 * sysdeps/i386/fpu/s_fmal.S: Removed.
5617
7c08a05c
JJ
56182010-10-16 Jakub Jelinek <jakub@redhat.com>
5619
5620 [BZ #3268]
5621 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
5622 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
5623 computation is not scheduled after fetestexcept. Fix value
5624 of minimum denormal long double.
5625
f3f7372d
JJ
56262010-10-14 Jakub Jelinek <jakub@redhat.com>
5627
5628 [BZ #3268]
5629 * math/libm-test.inc (fma_test): Add some more tests.
5630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
5631 correctly.
5632
14d43591
AS
56332010-10-15 Andreas Schwab <schwab@redhat.com>
5634
5635 * scripts/data/localplt-s390-linux-gnu.data: New file.
5636 * scripts/data/localplt-s390x-linux-gnu.data: New file.
5637
5e908464
JJ
56382010-10-13 Jakub Jelinek <jakub@redhat.com>
5639
5640 [BZ #3268]
5641 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
5642 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
5643 instead of dbl-64.
5644 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
5645 inlines.
5646 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
5647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
5648 if one of x and y is very large and the other is subnormal.
5649 * sysdeps/s390/fpu/s_fmaf.c: New file.
5650 * sysdeps/s390/fpu/s_fma.c: New file.
5651 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
5652 * sysdeps/powerpc/fpu/s_fma.S: New file.
5653 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
5654 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
5655 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
5656
56572010-10-12 Jakub Jelinek <jakub@redhat.com>
5658
5659 [BZ #3268]
5660 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
5661 fma tests.
5662 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
5663 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
5664 * sysdeps/i386/i686/multiarch/s_fma.c: Include
5665 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
5666 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
5667 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
5669
b833d51f
UD
56702010-10-12 Ulrich Drepper <drepper@redhat.com>
5671
5672 [BZ #12078]
5673 * posix/regcomp.c (parse_branch): One more memory leak plugged.
5674 * posix/bug-regex31.input: Add test case.
5675
1751705d
UD
56762010-10-11 Ulrich Drepper <drepper@gmail.com>
5677
e9b9cbf5
UD
5678 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
5679 * posix/bug-regex31.input: New file.
5680
5681 [BZ #12078]
5682 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
5683 (parse_sub_exp): Fix last change, use postorder.
5684
ef06edbe
UD
5685 * posix/bug-regex31.c: New file.
5686 * posix/Makefile: Add rules to build and run bug-regex31.
5687
a129c80d
UD
5688 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
5689
5690 [BZ #12078]
5691 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
5692
b76b818e
UD
5693 [BZ #12108]
5694 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
5695 to have entries in sys_siglist.
5696
1751705d
UD
5697 [BZ #12093]
5698 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
5699 be NULL.
5700
9ff8d36f
JJ
57012010-10-07 Jakub Jelinek <jakub@redhat.com>
5702
5703 [BZ #3268]
5704 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
5705 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
5706 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
5707 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
5708 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5709 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
5710 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
5711 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
5712 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
5713 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
5714 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
5715 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
5716 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5717 * math/ftestexcept.c (fetestexcept): Likewise.
5718 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
5719 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5720 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5721 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
5722 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
5723 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
5724 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5725
af325969
UD
57262010-10-11 Ulrich Drepper <drepper@gmail.com>
5727
c579b202 5728 [BZ #12107]
af325969
UD
5729 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
5730 newline.
5731
67a67b95
UD
57322010-10-06 Ulrich Drepper <drepper@gmail.com>
5733
5734 * string/bug-strstr1.c: New file.
5735 * string/Makefile: Add rules to build and run bug-strstr1.
5736
5fb308bc
EB
57372010-10-05 Eric Blake <eblake@redhat.com>
5738
5739 [BZ #12092]
5740 * string/str-two-way.h (two_way_long_needle): Always clear memory
5741 when skipping input due to the shift table.
5742
45db99c7
UD
57432010-10-03 Ulrich Drepper <drepper@gmail.com>
5744
3b111893
UD
5745 [BZ #12005]
5746 * malloc/mcheck.c: Handle large requests.
5747
45db99c7
UD
5748 [BZ #12077]
5749 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
5750 for strncmp and strncasecmp.
5751 * string/stratcliff.c: Add tests for strcmp and strncmp.
5752 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
5753
cf7a1eb8
NI
57542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5755
5756 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
5757 __set_fpscr.
5758
6484ba5e
AJ
57592010-09-30 Andreas Jaeger <aj@suse.de>
5760
5761 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
5762 (CGROUP_SUPER_MAGIC): Define.
5763 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5764 Handle btrfs and cgroup file systems.
5765 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5766 Likewise.
5767
91c42559
LM
57682010-09-27 Luis Machado <luisgpm@br.ibm.com>
5769
5770 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
5771 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
5772
87a97932
AK
57732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5774
5775 [BZ #12067]
5776 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
5777 trying to locate the ELF header.
5778
c21cc9bc
AS
57792010-09-27 Andreas Schwab <schwab@redhat.com>
5780
5781 [BZ #11611]
5782 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
5783 Mask out sign-bit copies when constructing f_fsid.
5784
315970f6
PB
57852010-09-24 Petr Baudis <pasky@suse.cz>
5786
5787 * debug/stack_chk_fail_local.c: Add missing licence exception.
5788 * debug/warning-nop.c: Likewise.
5789
1ac7a2c7
JM
57902010-09-15 Joseph Myers <joseph@codesourcery.com>
5791
5792 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
5793 implementing getdents64 using getdents syscall, set d_type if
5794 __ASSUME_GETDENTS32_D_TYPE.
5795
56801c50
AS
57962010-09-16 Andreas Schwab <schwab@redhat.com>
5797
5798 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
5799 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
5800
dda51327
UD
58012010-09-21 Ulrich Drepper <drepper@redhat.com>
5802
5803 [BZ #12037]
5804 * posix/unistd.h: Undo change of feature selection for ftruncate from
5805 2010-01-11.
5806
8ffcee4a
UD
58072010-09-20 Ulrich Drepper <drepper@redhat.com>
5808
a545ecd9 5809 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
5810 detection.
5811
e24f0a8b
AS
58122010-09-20 Andreas Schwab <schwab@redhat.com>
5813
5814 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
5815 fanotify_mark.
5816 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5817
7291c56f
AS
58182010-09-14 Andreas Schwab <schwab@redhat.com>
5819
5820 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
5821 variables after CHECK_SP call.
5822 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
5823
bc5fb037
AS
58242010-09-13 Andreas Schwab <schwab@redhat.com>
5825 Ulrich Drepper <drepper@redhat.com>
5826
5827 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
5828 re-relocationg ld.so.
5829 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
5830 _dl_init_paths call.
5831 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
5832 here anymore.
5833
e66e7419
UD
58342010-09-14 Ulrich Drepper <drepper@redhat.com>
5835
5836 * resolv/res_init.c (__res_vinit): Count the default server we added.
5837
c044aa75
CLT
58382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
5839 Ulrich Drepper <drepper@redhat.com>
5840
5841 [BZ #11968]
5842 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5843 (____longjmp_chk): Use %ebx for saving value across system call.
5844 Add unwind info.
5845
32cf4069
AS
58462010-09-06 Andreas Schwab <schwab@redhat.com>
5847
5848 * manual/Makefile: Don't mix pattern rules with normal rules.
5849
817328ee
AS
58502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
5851
5852 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
5853 operation.
5854 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5855 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5856 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5857 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5859 Likewise.
5860
29fddf61
UD
58612010-09-04 Ulrich Drepper <drepper@redhat.com>
5862
5863 [BZ #11979]
5864 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
5865 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
5866
0959ffc9
UD
58672010-09-02 Ulrich Drepper <drepper@redhat.com>
5868
5869 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
5870 * sysdeps/x86_64/addmul_1.S: Likewise.
5871 * sysdeps/x86_64/lshift.S: Likewise.
5872 * sysdeps/x86_64/mul_1.S: Likewise.
5873 * sysdeps/x86_64/rshift.S: Likewise.
5874 * sysdeps/x86_64/sub_n.S: Likewise.
5875 * sysdeps/x86_64/submul_1.S: Likewise.
5876
ece29840
ST
58772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5878
0959ffc9
UD
5879 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
5880 Define __sched_param instead of SCHED_* and sched_param when
ece29840 5881 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 5882 * bits/sched.h [__need_schedparam]
ece29840 5883 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
5884 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
5885 (__defined_schedparam): Define to 1.
ece29840
ST
5886 (__sched_param): New structure, identical to sched_param.
5887 (__need_schedparam): Undefine.
5888
e53a31fe
MF
58892010-08-31 Mike Frysinger <vapier@gentoo.org>
5890
fdc0c10d
MF
5891 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
5892 (epoll_create1): Declare.
5893
e53a31fe
MF
5894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
5895
a726d796
AS
58962010-08-31 Andreas Schwab <schwab@redhat.com>
5897
5898 [BZ #7066]
5899 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
5900 shifting retval into place.
5901
2f3e3dc7
UD
59022010-09-01 Ulrich Drepper <drepper@redhat.com>
5903
f2933da9
UD
5904 * nis/rpcsvc/nis.h: Update copyright notice.
5905 * nis/rpcsvc/nis.x: Likewise.
5906 * nis/rpcsvc/nis_callback.h: Likewise.
5907 * nis/rpcsvc/nis_callback.x: Likewise.
5908 * nis/rpcsvc/nis_object.x: Likewise.
5909 * nis/rpcsvc/nis_tags.h: Likewise.
5910 * nis/rpcsvc/yp.h: Likewise.
5911 * nis/rpcsvc/yp.x: Likewise.
5912 * nis/rpcsvc/ypupd.h: Likewise.
5913 * nis/yp_xdr.c: Likewise.
5914 * nis/ypupdate_xdr.c: Likewise.
5915
2f3e3dc7
UD
5916 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
5917 mainly the body of pmap_getport. Add parameters to specify timeouts.
5918 (pmap_getport): Use __libc_rpc_getport.
5919 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
5920 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
5921 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
5922
f3dcc2f9
AS
59232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
5924
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
5926 fanotify_mark.
5927
6d34eb5b
RM
59282010-08-27 Roland McGrath <roland@redhat.com>
5929
5930 * sysdeps/i386/i686/multiarch/Makefile
5931 (CFLAGS-varshift.c): New variable.
5932
9ea3de11
UD
59332010-08-27 Ulrich Drepper <drepper@redhat.com>
5934
c96d23fc
UD
5935 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
5936 * sysdeps/i386/i686/multiarch/varshift.c: New file.
5937
9ea3de11
UD
5938 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
5939
5940 * sysdeps/x86_64/strlen.S: Minimal code improvement.
5941
623aac7f
L
59422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
5943
5944 * sysdeps/x86_64/strlen.S: Unroll the loop.
5945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5946 strlen-sse2 strlen-sse2-bsf.
5947 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
5948 __strlen_no_bsf if bit_Slow_BSF is set.
5949 (__strlen_sse42): Removed.
5950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
5951 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
5952
8b2b7715
RM
59532010-08-25 Roland McGrath <roland@redhat.com>
5954
5955 * sysdeps/x86_64/multiarch/varshift.S: File removed.
5956 * sysdeps/x86_64/multiarch/varshift.c: New file.
5957 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
5958 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
5959 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
5960 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5961
e73015f2
L
59622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
5963
5964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5965 strlen-sse2 strlen-sse2-bsf.
5966 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
5967 __strlen_sse2_bsf if bit_Slow_BSF is unset.
5968 (__strlen_sse2): Removed.
5969 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
5970 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
5971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5972 bit_Slow_BSF for Atom.
5973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
5974 (index_Slow_BSF): Define.
5975 (HAS_SLOW_BSF): Define.
5976
df24a73e
UD
59772010-08-25 Ulrich Drepper <drepper@redhat.com>
5978
5979 [BZ #10851]
5980 * resolv/res_init.c (__res_vinit): When no server address at all
5981 is given default to loopback.
5982
f2ac4868
RM
59832010-08-24 Roland McGrath <roland@redhat.com>
5984
09055553
RM
5985 * configure.in: Remove config-name.h generation.
5986 * configure: Regenerated.
5987 * config-name.in: File removed.
5988 * scripts/config-uname.sh: New file.
5989 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
5990 ($(objdir)config-name.h): New target.
5991
f2ac4868
RM
5992 * sunrpc/rpc_parse.h: Avoid nested comment.
5993
73f27d5e
RH
59942010-08-24 Richard Henderson <rth@redhat.com>
5995 Ulrich Drepper <drepper@redhat.com>
5996 H.J. Lu <hongjiu.lu@intel.com>
5997
5998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
5999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
6000 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
6001 Replace _mm_srli_si128 with __m128i_shift_right. Replace
6002 _mm_alignr_epi8 with _mm_loadu_si128.
6003 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
6004 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
6005 (__m128i_shift_right): Removed.
6006 * sysdeps/i386/i686/multiarch/varshift.h: New file.
6007 * sysdeps/i386/i686/multiarch/varshift.S: New file.
6008 * sysdeps/x86_64/multiarch/varshift.h: New file.
6009 * sysdeps/x86_64/multiarch/varshift.S: New file.
6010
84b9230c
MF
60112010-08-21 Mike Frysinger <vapier@gentoo.org>
6012
6013 * configure.in: Move assembler checks to before sysdep dir checking.
6014
9bbd0ddc
PB
60152010-08-20 Petr Baudis <pasky@suse.cz>
6016
6017 * LICENSES: Sync the sunrpc license.
6018
9da4bb31
UD
60192010-08-19 Ulrich Drepper <drepper@redhat.com>
6020
a7ab6ec8
UD
6021 * sunrpc/auth_des.c: Update copyright notice once again.
6022 * sunrpc/auth_none.c: Likewise.
6023 * sunrpc/auth_unix.c: Likewise.
6024 * sunrpc/authdes_prot.c: Likewise.
6025 * sunrpc/authuxprot.c: Likewise.
6026 * sunrpc/bindrsvprt.c: Likewise.
6027 * sunrpc/clnt_gen.c: Likewise.
6028 * sunrpc/clnt_perr.c: Likewise.
6029 * sunrpc/clnt_raw.c: Likewise.
6030 * sunrpc/clnt_simp.c: Likewise.
6031 * sunrpc/clnt_tcp.c: Likewise.
6032 * sunrpc/clnt_udp.c: Likewise.
6033 * sunrpc/clnt_unix.c: Likewise.
6034 * sunrpc/des_crypt.c: Likewise.
6035 * sunrpc/des_soft.c: Likewise.
6036 * sunrpc/get_myaddr.c: Likewise.
6037 * sunrpc/getrpcport.c: Likewise.
6038 * sunrpc/key_call.c: Likewise.
6039 * sunrpc/key_prot.c: Likewise.
6040 * sunrpc/openchild.c: Likewise.
6041 * sunrpc/pm_getmaps.c: Likewise.
6042 * sunrpc/pm_getport.c: Likewise.
6043 * sunrpc/pmap_clnt.c: Likewise.
6044 * sunrpc/pmap_prot.c: Likewise.
6045 * sunrpc/pmap_prot2.c: Likewise.
6046 * sunrpc/pmap_rmt.c: Likewise.
6047 * sunrpc/rpc/auth.h: Likewise.
6048 * sunrpc/rpc/auth_unix.h: Likewise.
6049 * sunrpc/rpc/clnt.h: Likewise.
6050 * sunrpc/rpc/des_crypt.h: Likewise.
6051 * sunrpc/rpc/key_prot.h: Likewise.
6052 * sunrpc/rpc/netdb.h: Likewise.
6053 * sunrpc/rpc/pmap_clnt.h: Likewise.
6054 * sunrpc/rpc/pmap_prot.h: Likewise.
6055 * sunrpc/rpc/pmap_rmt.h: Likewise.
6056 * sunrpc/rpc/rpc.h: Likewise.
6057 * sunrpc/rpc/rpc_des.h: Likewise.
6058 * sunrpc/rpc/rpc_msg.h: Likewise.
6059 * sunrpc/rpc/svc.h: Likewise.
6060 * sunrpc/rpc/svc_auth.h: Likewise.
6061 * sunrpc/rpc/types.h: Likewise.
6062 * sunrpc/rpc/xdr.h: Likewise.
6063 * sunrpc/rpc_clntout.c: Likewise.
6064 * sunrpc/rpc_cmsg.c: Likewise.
6065 * sunrpc/rpc_common.c: Likewise.
6066 * sunrpc/rpc_cout.c: Likewise.
6067 * sunrpc/rpc_dtable.c: Likewise.
6068 * sunrpc/rpc_hout.c: Likewise.
6069 * sunrpc/rpc_main.c: Likewise.
6070 * sunrpc/rpc_parse.c: Likewise.
6071 * sunrpc/rpc_parse.h: Likewise.
6072 * sunrpc/rpc_prot.c: Likewise.
6073 * sunrpc/rpc_sample.c: Likewise.
6074 * sunrpc/rpc_scan.c: Likewise.
6075 * sunrpc/rpc_scan.h: Likewise.
6076 * sunrpc/rpc_svcout.c: Likewise.
6077 * sunrpc/rpc_tblout.c: Likewise.
6078 * sunrpc/rpc_util.c: Likewise.
6079 * sunrpc/rpc_util.h: Likewise.
6080 * sunrpc/rpcinfo.c: Likewise.
6081 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
6082 * sunrpc/rpcsvc/key_prot.x: Likewise.
6083 * sunrpc/rpcsvc/klm_prot.x: Likewise.
6084 * sunrpc/rpcsvc/mount.x: Likewise.
6085 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
6086 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
6087 * sunrpc/rpcsvc/rex.x: Likewise.
6088 * sunrpc/rpcsvc/rstat.x: Likewise.
6089 * sunrpc/rpcsvc/rusers.x: Likewise.
6090 * sunrpc/rpcsvc/sm_inter.x: Likewise.
6091 * sunrpc/rpcsvc/spray.x: Likewise.
6092 * sunrpc/rpcsvc/yppasswd.x: Likewise.
6093 * sunrpc/rtime.c: Likewise.
6094 * sunrpc/svc.c: Likewise.
6095 * sunrpc/svc_auth.c: Likewise.
6096 * sunrpc/svc_authux.c: Likewise.
6097 * sunrpc/svc_raw.c: Likewise.
6098 * sunrpc/svc_run.c: Likewise.
6099 * sunrpc/svc_simple.c: Likewise.
6100 * sunrpc/svc_tcp.c: Likewise.
6101 * sunrpc/svc_udp.c: Likewise.
6102 * sunrpc/svc_unix.c: Likewise.
6103 * sunrpc/svcauth_des.c: Likewise.
6104 * sunrpc/xcrypt.c: Likewise.
6105 * sunrpc/xdr.c: Likewise.
6106 * sunrpc/xdr_array.c: Likewise.
6107 * sunrpc/xdr_float.c: Likewise.
6108 * sunrpc/xdr_mem.c: Likewise.
6109 * sunrpc/xdr_rec.c: Likewise.
6110 * sunrpc/xdr_ref.c: Likewise.
6111 * sunrpc/xdr_sizeof.c: Likewise.
6112 * sunrpc/xdr_stdio.c: Likewise.
6113
9da4bb31
UD
6114 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
6115 handling.
6116
bdaa77bc
AS
61172010-08-19 Andreas Schwab <schwab@redhat.com>
6118
6119 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
6120
fe2f79db
LM
61212010-08-19 Luis Machado <luisgpm@br.ibm.com>
6122
6123 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
6124 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
6125 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
6126 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
6127 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
6128 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
6129 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
6130 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
6131 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
6132 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
6133 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
6134 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
6135 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
6136 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
6137
b9b42ee0
AB
61382010-07-26 Anton Blanchard <anton@samba.org>
6139
6140 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
6141 * malloc/arena.c (heap_trim): Likewise.
6142
1c06ba31
UD
61432010-08-16 Ulrich Drepper <drepper@redhat.com>
6144
6145 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
6146 here. Not...
6147 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
6148 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
6149
f8392f40
L
61502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
6151
6152 * sysdeps/i386/elf/Makefile: New file.
6153
3162f12e
AS
61542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6155
6156 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
6157 from fanotify_init.
6158 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6160
28c90b2c
UD
61612010-08-15 Ulrich Drepper <drepper@redhat.com>
6162
6163 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
6164 of strncasecmp_l.
1feccb6c 6165 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 6166
ca6bb004
UD
61672010-08-14 Ulrich Drepper <drepper@redhat.com>
6168
e9f82e0d
UD
6169 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6170 strncase_l-nonascii.
6171 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6172 Add strncase_l-ssse3.
6173 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
6174 * sysdeps/x86_64/strcmp.S: Likewise.
6175 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
6176 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
6177 * sysdeps/x86_64/strncase.S: New file.
6178 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
6179 * sysdeps/x86_64/strncase_l.S: New file.
6180 * string/Makefile (strop-tests): Add strncasecmp.
6181 * string/test-strncasecmp.c: New file.
6182
6183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
6184 warning.
6185
ca6bb004
UD
6186 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
6187 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
6188
052fa7b3
AS
61892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6190
6191 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
6192
962dba78
UD
61932010-08-12 Ulrich Drepper <drepper@redhat.com>
6194
6195 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
6196 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6197 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6198
bebff237
AM
61992010-05-01 Alan Modra <amodra@gmail.com>
6200
6201 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
6202 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
6203 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
6204 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
6205 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
6206 tidying. Don't tail-call __sigjmp_save for static lib.
6207 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
6208 save location.
6209 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
6210 (CALL_MCOUNT): Add eh info, and nop after bl.
6211 (TAIL_CALL_SYSCALL_ERROR): New macro.
6212 (PSEUDO_RET): Use it.
6213 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6214 Correct save location of integer regs and cr.
6215 (_dl_profile_resolve): Correct cr save location. Delete nops
6216 after bl when SHARED. Reduce cfi size a little by better
6217 placement of cfi directives.
6218 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
6219 make a stack frame. Instead use parm save area as a temp.
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
6221 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
6222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6223 Don't make a stack frame for parent, use parm save area.
6224 Increase child stack frame to 112 bytes. Don't save unused reg,
6225 and adjust reg usage. Set up cfi on error recovery and
6226 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6228 (__makecontext): Add dummy nop after jump to exit.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
6230 Use correct parm save area and cr save, reduce stack frame.
6231 Correct cfi for possible PSEUDO_RET frame setup.
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
6233 Branch to local label emitted by PSEUDO_RET rather than
6234 __syscall_error.
6235
02637374
AS
62362010-08-12 Andreas Schwab <schwab@redhat.com>
6237
6238 [BZ #11904]
6239 * locale/programs/locale.c (print_assignment): New function.
6240 (show_locale_vars): Use it.
6241
c3e2f19b
UD
62422010-08-11 Ulrich Drepper <drepper@redhat.com>
6243
3cdaa6ad
UD
6244 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
6245 field.
6246 (struct statfs64): Likewise.
6247 (_STATFS_F_FLAGS): Define.
6248 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
6249 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6250 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
6251 (ST_VALID): Define locally.
6252 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
6253 __statvfs_getflags, use the provided value.
6254 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6255 __ASSUME_STATFS_F_FLAGS.
6256
754f7da3
UD
6257 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
6258
10b3bedc
UD
6259 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
6260 Add sys/fanotify.h.
6261 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
6262 fanotify_mask for GLIBC_2.13.
6263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
6264 fanotify_init and fanotify_mark.
6265 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6266 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
6267
c08fb0d7
UD
6268 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
6269 Add prlimit.
6270 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
6271 prlimit64 for GLIBC_2.13.
6272 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
6273 prlimit64.
6274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
6275 syscall.
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6277 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6278 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
6279 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
6280 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
6281 add prlimit alias.
6282 * sysdeps/unix/sysv/linux/prlimit.c: New file.
6283
15bac72b
UD
6284 [BZ #11903]
6285 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
6286 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
6287
c3e2f19b
UD
6288 * nss/Makefile: Add rules to build and run tst-nss-test1.
6289 * shlib-versions: Add entry for libnss_test1.
6290 * nss/nss_test1.c: New file.
6291 * nss/tst-nss-test1.c: New file.
6292
6293 * nss/nsswitch.c (__nss_database_custom): Define new variable.
6294 (__nss_configure_lookup): Set appropriate entry in
6295 __nss_configure_lookup to true.
6296 * nss/nsswitch.h: Define enum with indeces of databases in
6297 databases and __nss_database_custom arrays. Declare
6298 __nss_database_custom.
6299 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
6300 to avoid using nscd when custom rules are installed.
6301 * nss/getXXbyYY_r.c: Likewise.
6302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6303
6304 * nss/nss_files/files-parse.c: Whitespace fixes.
6305
f15ce4d8
UD
63062010-08-09 Ulrich Drepper <drepper@redhat.com>
6307
6308 [BZ #11883]
6309 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
6310 * posix/fnmatch_loop.c: Likewise.
6311
d22e4cc9
AK
63122010-07-17 Andi Kleen <ak@linux.intel.com>
6313
6314 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
6315 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
6316 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
6317 * Versions.def [GLIBC_2.13]: Add.
6318
805bc17d
UD
63192010-08-06 Ulrich Drepper <drepper@redhat.com>
6320
6321 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6322 Also fail if tpwd after pwuid call is NULL.
6323
5a42321d
ST
63242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6325
6326 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
6327 when converting to ms.
6328
fd3ebeda
ST
63292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6330
6331 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
6332 EOPNOTSUPP errors with ENOTTY.
6333 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
6334 EOPNOTSUPP errors with ENOTTY.
6335
73507d3a
UD
63362010-07-31 Ulrich Drepper <drepper@redhat.com>
6337
6338 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6339 Add strcasecmp_l-ssse3.
6340 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
6341 strcasecmp.
6342 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
6343 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
6344 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
6345
fe36dd02
UD
63462010-07-30 Ulrich Drepper <drepper@redhat.com>
6347
66f6765a
UD
6348 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
6349
42e08a54
UD
6350 * string/Makefile (strop-tests): Add strcasecmp.
6351 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6352 strcasecmp_l-nonascii.
6353 (gen-as-const-headers): Add locale-defines.sym.
6354 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
6355 * sysdeps/x86_64/strcasecmp.S: New file.
6356 * sysdeps/x86_64/strcasecmp_l.S: New file.
6357 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
6358 * sysdeps/x86_64/locale-defines.sym: New file.
6359 * string/test-strcasecmp.c: New file.
6360
fe36dd02
UD
6361 * string/test-strcasestr.c: Test both ends of the range of characters.
6362 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
6363
48cbc0d6
RM
63642010-07-29 Roland McGrath <roland@redhat.com>
6365
76e6d6bc 6366 [BZ #11856]
48cbc0d6
RM
6367 * manual/locale.texi (Yes-or-No Questions): Fix example code.
6368
880113d9
UD
63692010-07-27 Ulrich Drepper <drepper@redhat.com>
6370
6371 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
6372 for ld.so.
6373
deb9cabb
AS
63742010-07-27 Andreas Schwab <schwab@redhat.com>
6375
6376 * manual/memory.texi (Malloc Tunable Parameters): Document
6377 M_PERTURB.
6378
1c7570ff
RM
63792010-07-26 Roland McGrath <roland@redhat.com>
6380
6381 [BZ #11840]
6382 * configure.in (-fgnu89-inline check): Set and substitute
6383 gnu89_inline, not libc_cv_gnu89_inline.
6384 * configure: Regenerated.
6385 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
6386
24fb0f88
UD
63872010-07-26 Ulrich Drepper <drepper@redhat.com>
6388
6389 * string/test-strnlen.c: New file.
6390 * string/Makefile (strop-tests): Add strnlen.
6391 * string/tester.c (test_strnlen): Add a few more test cases.
6392 * string/tst-strlen.c: Better error reporting.
6393
6394 * sysdeps/x86_64/strnlen.S: New file.
6395
8e96b93a
UD
63962010-07-24 Ulrich Drepper <drepper@redhat.com>
6397
6398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
6399 lower-latency instructions.
6400
dbc676d4
UD
64012010-07-23 Ulrich Drepper <drepper@redhat.com>
6402
6403 * string/test-strcasestr.c: New file.
6404 * string/test-strstr.c: New file.
6405 * string/Makefile (strop-tests): Add strstr and strcasestr.
6406 * string/str-two-way.h: Don't undefine MAX.
6407 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
6408
f6a31e0e
AS
64092010-07-21 Andreas Schwab <schwab@redhat.com>
6410
6411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6412 strcasestr-nonascii.
6413 (CFLAGS-strcasestr-nonascii.c): Define.
6414 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
6415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
6416 Remove unused attribute.
6417
5dbc3b6c
RM
64182010-07-20 Roland McGrath <roland@redhat.com>
6419
6420 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
6421 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
6422 ld.so.cache was broken. With it, there is no way to disable dsocaps
6423 like LD_HWCAP_MASK can disable hwcaps.
6424
23d101d8
EPM
64252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6426
6427 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
6428
cc9f2e47
UD
64292010-07-16 Ulrich Drepper <drepper@redhat.com>
6430
6431 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
6432 call in strcasestr.
6433 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
6434 __strcasestr_sse42_nonascii.
6435 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
6436 strcasestr-nonascii.c.
6437 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
6438
77c1b069
LM
64392010-06-15 Luis Machado <luisgpm@br.ibm.com>
6440
6441 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
6442 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
6443 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
6444 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
6445
440566c3
UD
64462010-07-09 Ulrich Drepper <drepper@redhat.com>
6447
6448 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
6449 fcntl.
6450
5be9d05d
AS
64512010-07-06 Andreas Schwab <schwab@redhat.com>
6452
c30b7ee2 6453 [BZ #11577]
5be9d05d
AS
6454 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
6455 dl_signal_cerror.
6456
8a492a67
UD
64572010-07-06 Ulrich Drepper <drepper@redhat.com>
6458
6459 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
6460 _PC_PIPE_BUF using F_GETPIPE_SZ.
6461
713df3d5
RM
64622010-07-05 Roland McGrath <roland@redhat.com>
6463
6464 * manual/arith.texi (Rounding Functions): Fix rint description
6465 implicit in round description.
6466
702e8f14
UD
64672010-07-02 Ulrich Drepper <drepper@redhat.com>
6468
6469 * elf/Makefile: Fix linking for a few tests to make recent linker
6470 happy.
6471
52ed8be9
AS
64722010-06-30 Andreas Schwab <schwab@redhat.com>
6473
6474 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6475 $(common-objpfx)libc_nonshared.a.
6476
f47c9a11
LM
64772010-06-21 Luis Machado <luisgpm@br.ibm.com>
6478
6479 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
6480 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
6481 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6482 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6483 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
6484 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
6485 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6486 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
6488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
6495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
6497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
6501 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
6502 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
6503 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
6504 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
6505 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
6506 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
6507 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
6508 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
6509 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
6510 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
6511 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
6512 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
6527
6fb8cbcb
L
65282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
6529
6530 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
6531 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
6532 * string/memmove.c (memmove): Renamed to ...
6533 (MEMMOVE): ...this. Default to memmove.
6534 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
6535 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
6536 (END_CHK): Define.
6537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6538 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
6539 mempcpy-ssse3-back memmove-ssse3-back.
6540 * sysdeps/x86_64/multiarch/bcopy.S: New file .
6541 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
6542 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
6543 * sysdeps/x86_64/multiarch/memcpy.S: New file.
6544 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
6545 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
6546 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
6547 * sysdeps/x86_64/multiarch/memmove.c: New file.
6548 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
6549 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
6550 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
6551 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
6552 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
6553 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
6554 Define.
6555 (index_Fast_Copy_Backward): Define.
6556 (HAS_ARCH_FEATURE): Define.
6557 (HAS_FAST_REP_STRING): Define.
6558 (HAS_FAST_COPY_BACKWARD): Define.
6559
4e733bac 65602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
6561
6562 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6563 Restore proper fallback handling.
6564
63c4ed22
UD
65652010-06-19 Ulrich Drepper <drepper@redhat.com>
6566
ac2b484c
UD
6567 [BZ #11701]
6568 * posix/group_member.c (__group_member): Correct checking loop.
6569
63c4ed22
UD
6570 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
6571 OOM in getpwuid_r correctly. Return error number when the caller
6572 should return, otherwise -1.
6573 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
6574 call returning > 0 value.
6575 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
6576
765ade4b
AS
65772010-06-07 Andreas Schwab <schwab@redhat.com>
6578
6579 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
6580 libc_nonshared.a from targets in modules-names.
6581
80da2e09
KS
65822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
6583
6584 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
6585 requires it.
6586
158db122
LM
65872010-06-10 Luis Machado <luisgpm@br.ibm.com>
6588
6589 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
6590 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
6591 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
6592 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
6593
caa78cf8
AS
65942010-06-02 Andreas Schwab <schwab@redhat.com>
6595
6596 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
6597
b2ef2c01
UD
65982010-06-14 Ulrich Drepper <drepper@redhat.com>
6599
6600 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
6601 and F_GETPIPE_SZ.
6602 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6603 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6607 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
6608
fbd643b6
RM
66092010-06-14 Roland McGrath <roland@redhat.com>
6610
6611 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
6612
f32f2869
JJ
66132010-06-07 Jakub Jelinek <jakub@redhat.com>
6614
6615 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
6616 __REDIRECT followed by __THROW.
6617 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
6618 * posix/getopt.h (getopt): Likewise.
6619
2a50c078
EPM
66202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6621
6622 * hurd/lookup-at.c (__file_name_lookup_at): Accept
6623 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
6624 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
6625 in AT_FLAGS.
6626 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
6627 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
6628
eb5ad2eb
LM
66292010-05-28 Luis Machado <luisgpm@br.ibm.com>
6630
6631 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
6632
3c88fe1e
L
66332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
6634
6635 [BZ #11640]
6636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6637 Properly check family and model.
6638
d2f73151
TY
66392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
6640
6641 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
6642
ebd2e13d
LM
66432010-05-24 Luis Machado <luisgpm@br.ibm.com>
6644
6645 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
6646
b32b8b45
UD
66472010-05-21 Ulrich Drepper <drepper@redhat.com>
6648
6649 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
6650 symbol reference.
6651
9acbe24d
AS
66522010-05-19 Andreas Schwab <schwab@redhat.com>
6653
6654 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
6655 symbol reference.
6656
f0ccf6ea
AS
66572010-05-21 Andreas Schwab <schwab@redhat.com>
6658
3d04ff3a
AS
6659 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
6660 and internal_recvmmsg.
6661 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
6662 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
6663 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
6664 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
6665
f0ccf6ea
AS
6666 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
6667 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6668 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6669
5b08ac57
AS
66702010-05-20 Andreas Schwab <schwab@redhat.com>
6671
6672 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
6673
4828935d
LM
66742010-05-17 Luis Machado <luisgpm@br.ibm.com>
6675
6676 POWER7 optimizations.
6677 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
6678 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
6679
373d545e
UD
66802010-05-19 Ulrich Drepper <drepper@redhat.com>
6681
6682 * version.h: Update for 2.13 development version.
6683
21a2b1ae
AS
66842010-05-12 Andrew Stubbs <ams@codesourcery.com>
6685
6686 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
6687 exceptions. Return 0.
6688
3f7dcb2b
RM
66892010-05-07 Roland McGrath <roland@redhat.com>
6690
6691 * elf/ldconfig.c (main): Add a const.
6692
5f24d53a 66932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 6694
a160f8d8
UD
6695 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
6696 (args_options): Add no-idn option.
6697 (ahosts_keys_int): Add idn_flags to ai_flags.
6698 (parse_option): Handle 'i' option to clear idn_flags.
6699
5f24d53a
UD
6700 * malloc/malloc.c (_int_free): Possible race in the most recently
6701 added check. Only act on the data if no current modification
6702 happened.
265bb1ce
UD
6703
6704See ChangeLog.17 for earlier changes.