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