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