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