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