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