]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix quoting in some installed shell scripts
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9113ea1f
UD
12011-06-28 Ulrich Drepper <drepper@gmail.com>
2
5c0b8d90
UD
3 [BZ #12935]
4 * malloc/memusage.sh: Fix quoting in message.
5 * debug/xtrace.sh: Likewise.
6
9113ea1f
UD
7 * configure.in: Remove support for --experimental-malloc option, make
8 it the default.
9 * config.make.in: Likewise.
10 * malloc/Makefile: Likewise.
11
a4172181
AS
122011-06-27 Andreas Schwab <schwab@redhat.com>
13
14 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15 two-byte characters.
16
78a7eee7
RM
172011-06-27 Roland McGrath <roland@hack.frob.com>
18
62bede13
RM
19 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20 AC_CACHE_CHECK invocation.
21 * configure: Regenerated.
22
78a7eee7
RM
23 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24
5ce33a62
UD
252011-06-27 Ulrich Drepper <drepper@gmail.com>
26
034807a9
UD
27 [BZ #12350]
28 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29 bit from old_res_options.
30
4902da17
UD
31 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32
5ce33a62
UD
33 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34 value type for setfct.
35
c2344f56
L
362011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37
38 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39 __gettimeofday instead of gettimeofday.
40
68468076
UD
412011-06-26 Ulrich Drepper <drepper@gmail.com>
42
43 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44
acb0d739
L
452011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46
47 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48
49 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50 info.
51
8912479f
L
522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53
54 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56 strcpy-sse2-unaligned strncpy-sse2-unaligned
57 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
64 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
65 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
66 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67 (STRCPY): Support SSE2 and SSSE3 versions.
68
d5495a11
UD
692011-06-24 Ulrich Drepper <drepper@gmail.com>
70
71 [BZ #12874]
72 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74 kernels which artificially limit size of requests.
75
0b1cbaae
L
762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
77
78 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
81 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
83 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
85 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
88 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
90 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
92 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94 Enable unaligned load optimization for Intel Core i3, i5 and i7
95 processors.
96 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
97 Define.
98 (index_Fast_Unaligned_Load): Define.
99 (HAS_FAST_UNALIGNED_LOAD): Define.
100
07f494a0
MP
1012011-06-23 Marek Polacek <mpolacek@redhat.com>
102
103 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
104
fa3fc0fe
UD
1052011-06-22 Ulrich Drepper <drepper@gmail.com>
106
107 [BZ #12907]
108 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
109 until it is clear that the information is realy needed.
110 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
111
e12df166
AS
1122011-06-22 Andreas Schwab <schwab@redhat.com>
113
114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
115
852eb34d
UD
1162011-06-22 Ulrich Drepper <drepper@gmail.com>
117
84e2a551
UD
118 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
119 /sys/devices/system/cpu/online if it is usable.
120
852eb34d
UD
121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
122 reading the information from the /proc filesystem to once a second.
123
6e502e19
UD
1242011-06-21 Andreas Jaeger <aj@suse.de>
125
126 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
127 NULL after inclusion of kernel headers.
128
75d39ff2
UD
1292011-06-21 Ulrich Drepper <drepper@gmail.com>
130
51f9aa6a
UD
131 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
132 calls to internal_setent.
133
c0244a9d
UD
134 [BZ #12885]
135 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
136 addresses using gethostbyname4_r ignore IPv4 addresses.
137
c5e3c2ae
UD
138 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
139 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
140
75d39ff2
UD
141 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
142
42675c6f
DM
1432011-06-20 David S. Miller <davem@davemloft.net>
144
145 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
146 inclusions.
147 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
148
149 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
150 (elf_irel): Use it.
151 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
152 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
153 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
154 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
155 * sysdeps/x86_64/dl-irel.h: Likewise.
156
157 * elf/dl-runtime.c: Use elf_ifunc_invoke.
158 * elf/dl-sym.c: Likewise.
159
57912a71
UD
1602011-06-15 Ulrich Drepper <drepper@gmail.com>
161
162 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
163 need to dereference resplen2.
164
ee22793d
AS
1652011-06-14 Andreas Schwab <schwab@redhat.com>
166
167 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
168
a9e836b0
UD
1692011-06-15 Ulrich Drepper <drepper@gmail.com>
170
77fb9117
UD
171 * Makeconfig: Define vardbdir and inst_vardbdir.
172 * nss/Makefile: Add rules to install db-Makefile.
173
40c1b22c
UD
174 * nss/nss_db/db-XXX.c: Cleanup.
175
9f2da732
UD
176 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
177 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
178 GLIBC_PRIVATE.
179 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
180 * nss/makedb.c: Implement -g option to specify that value strings
181 are generated and should not be added to table iterated over for
182 get*ent calls.
183 * nss/nss_db/db-initgroups.c: New file.
184
82e9a1f7
UD
185 * nss/getent.c: Add support for initgroups lookups through getgrouplist
186 interface.
187
c41af17e
UD
188 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
189 (internal_getgrouplist): Adjust to name change.
190 Update use_initgroups_entry if this is not the first call.
191 * nss/databases.def: Add initgroups entry.
192
a9e836b0
UD
193 * nss/makedb.c (compute_tables): Check result of multiple hash table
194 sizes to minimize maximum chain length.
195
2666d441
UD
1962011-06-14 Ulrich Drepper <drepper@gmail.com>
197
198 * Versions.def: Add entry for libnss_db.
199 * shlib-versions: Likewise.
200 * nss/Makefile: Add rules to build libnss_db.
201 * nss/Versions: Add libnss_db information. Organize libnss_files
202 entries better.
203 * nss/db-Makefile: Add gshadow support. Change rules for the new
204 makedb progra. Some minor improvements to generate smaller files.
205 * nss/nss_db/nss_db.h: Move NSS database header data structures to
206 here from...
207 * nss/makedb.c: ...here.
208 Improve database format to be smaller and require less memory at
209 runtime.
210 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
211 db anymore.
212 * nss/nss_db/db-netgrp.c: Likewise.
213 * nss/nss_db/db-open.c: Likewise.
214 * nss/nss_files/flies-XXX.x: Adjust comments.
215 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
216 * nss/nss_files/files-grp.c: Likewise.
217 * nss/nss_files/files-hosts.c: Likewise.
218 * nss/nss_files/files-network.c: Likewise.
219 * nss/nss_files/files-proto.c: Likewise.
220 * nss/nss_files/files-pwd.c: Likewise.
221 * nss/nss_files/files-rpc.c: Likewise.
222 * nss/nss_files/files-service.c: Likewise.
223 * nss/nss_files/files-sgrp.c: Likewise.
224 * nss/nss_files/files-spwd.c: Likewise.
225 * nss/nss_db/db-alias.c: Removed.
226 * nss/nss_db/dummy-db.h: Removed.
227
9ee76b5a
UD
2282011-06-02 Ulrich Drepper <drepper@gmail.com>
229
230 * nss/makedb.c: Rewritten to not use database library.
231 * nss/Makefile: Update to build new makedb program.
232
c71ca1f8
AJ
2332011-06-14 Andreas Jaeger <aj@suse.de>
234
235 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
236 memset declaration.
237
3154bfb8
UD
2382011-06-10 Andreas Schwab <schwab@redhat.com>
239
240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
241 tmpbuf.
242
b350afab
RM
2432011-06-10 Roland McGrath <roland@hack.frob.com>
244
decd4e50
RM
245 * Makerules (shlib.lds): Fail if the linker script comes out empty.
246 * elf/Makefile ($(objpfx)ld.so): Likewise.
247
5615eaf2
RM
248 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
249 Don't list ld.so twice in dependencies.
250
251 * posix/bug-regex31.c: Include <stdlib.h>.
252
253 * nscd/hstcache.c (cache_addhst): Remove unused variable.
254
255 * nis/nss_compat/compat-spwd.c
256 (getspent_next_nss_netgr): Remove unused variable.
257 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
258
259 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
260 nonmembers" output to use the right array.
261
262 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
263
264 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
265
266 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
267 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
268 * catgets/gencat.c (read_input_file): Likewise.
269 * locale/programs/locarchive.c (enlarge_archive): Likewise.
270
271 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
272 variable definition inside #if's controlling its use.
273
274 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
275
276 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
277
278 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
279
280 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
281 unreachable code.
282
283 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
284
b68e08db
RM
285 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
286 * configure: Regenerated.
287
b350afab
RM
288 * Makerules: Revert last change.
289 * elf/Makefile: Likewise.
290
28368601
RM
2912011-06-09 Roland McGrath <roland@hack.frob.com>
292
293 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
294 * elf/Makefile ($(objpfx)librtld.os): Likewise.
295 (reloc-link): Likewise.
296
11988f8f
UD
2972011-06-09 Ulrich Drepper <drepper@gmail.com>
298
299 * elf/Makefile: Add rules to build pldd.
300 * elf/pldd.c: New file.
301 * elf/pldd-xx.c: New file.
302
e80fab37
UD
3032011-06-07 Ulrich Drepper <drepper@gmail.com>
304
305 * version.h: Update for 2.15 development version.
306
9b849836
DM
3072011-06-07 David S. Miller <davem@davemloft.net>
308
309 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
310 ifuncs.
311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
312 elf_machine_lazy_rel): Likewise.
313 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
314 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
315 elf_machine_lazy_rel): Likewise.
316 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
317 dl_hwcap via passed in argument.
318 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
319 Likewise.
320
5a31b283
AK
3212011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
322
323 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
324
069e52f8
RM
3252011-06-06 Roland McGrath <roland@hack.frob.com>
326
327 [BZ #12849]
328 * manual/fdl-1.1.texi: New file, verbatim from:
329 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
330 * manual/lgpl-2.1.texi: New file, verbatim from:
331 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
332 * manual/Makefile (licenses): New variable, list those new file names.
333 (texis): Use it.
334 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
335
336 * manual/fdl.texi: File removed.
337 * manual/lesser.texi: File removed.
338 * manual/libc.texinfo (Copying, Documentation License):
339 Use new @include file names, put @appendix directive before @include.
340
f16846a5
JJ
3412011-06-04 Jakub Jelinek <jakub@redhat.com>
342
343 [BZ #12841]
344 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
345 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
346 (mq_open): Add __NTH.
347
3d29045b
L
3482011-06-02 H.J. Lu <hongjiu.lu@intel.com>
349
350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
351 Assume Intel Core i3/i5/i7 processor if AVX is available.
352
8c297311
UD
3532011-05-31 Ulrich Drepper <drepper@gmail.com>
354
355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
356 typo.
357
c8fc0c91
UD
3582011-05-31 Andreas Schwab <schwab@redhat.com>
359
360 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
361 memory. Use alloca_account. Fix memory leak when retrying.
362
5b27a807
UD
3632011-05-31 Ulrich Drepper <drepper@gmail.com>
364
356f8bc6
UD
365 * version.h (RELEASE): Bump for 2.14 release.
366 * include/features.h (__GLIBC_MINOR__): Bump to 14.
367
5b27a807
UD
368 * config.make.in (RANLIB): Remove entry.
369
01f16ab0
UD
3702011-05-30 Ulrich Drepper <drepper@gmail.com>
371
41fce8bd
UD
372 * po/Makefile (po-sed-cmd): Add ksh to extensions.
373 (libc.pot): Work around missing support for .ksh extension in xgettext.
374
4769ae77
UD
375 [BZ #12684]
376 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
377 if both request failed.
378 (send_dg): In case of server errors clear resplen or *resplen2.
379
6b1e7d19
UD
380 [BZ #12454]
381 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
382 when there are multiple maps.
383 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
384 (_dl_fini): Remove test here.
385
01f16ab0
UD
386 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
387
b1ebd700
UD
3882011-05-29 Ulrich Drepper <drepper@gmail.com>
389
7ae22829
UD
390 [BZ #12350]
391 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
392 bit from old_res_options.
393 (gaih_inet): Likewise.
394
553149f6 395 [BZ #11099]
18a84741 396 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
397 as signed.
398
652ffab1
UD
399 * resolv/res_init.c (res_setoptions): Make the code more compact.
400
16985fd0
UD
401 [BZ #11558]
402 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
403 set RES_USEVC.
404
0464f746
UD
405 [BZ #11634]
406 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
407
7d17596c
UD
408 * malloc/malloc.h: Mark malloc hook variables as deprecated.
409
cf6bbbd7
UD
410 [BZ #11781]
411 * malloc/malloc.h: Declare malloc hook variables as volatile.
412
13f1ab36
UD
413 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
414 in last patch.
415
b1ebd700
UD
416 [BZ #11799]
417 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 418 raise in the comment.
80e2212d
UD
419 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
420 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
421 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 422
ce67228d
UD
4232011-05-28 Ulrich Drepper <drepper@gmail.com>
424
8887a920
UD
425 [BZ #12811]
426 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
427 grow the buffers more if it already has to be sufficient.
428 (build_wcs_upper_buffer): Likewise.
429 * posix/regexec.c (check_matching): Likewise.
430 (clean_state_log_if_needed): Likewise.
431 (extend_buffers): Don't enlarge buffers beyond size of the input
432 buffer.
433 Patches mostly by Emil Wojak <emil@wojak.eu>.
434 * posix/bug-regex32.c: New file.
435 * posix/Makefile (tests): Add bug-regex32.
436
4f031072
UD
437 * locale/findlocale.c (_nl_find_locale): Return right away if
438 _nl_explode_name failed.
439 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
440
d0478f0c
UD
441 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
442
de81b246
UD
443 * debug/xtrace.sh: Unify messages.
444 * malloc/memusage.sh: Likewise.
445
c738465a
UD
446 [BZ #12813]
447 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
448 time symbol from vDSO. Substitute with vsyscall if not available.
449 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
450 __vdso_time.
451
f1f929d7
UD
452 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
453 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
454 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
455 Add sendmmsg and internal_sendmmsg.
456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
457 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
458 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
459
ce67228d
UD
460 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
461 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
462 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
463
e57420c6
UD
4642011-05-27 Ulrich Drepper <drepper@gmail.com>
465
a8509ca5
UD
466 [BZ #12813]
467 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
468 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
469 available.
470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
471 __vdso_getcpu.
472
e57420c6
UD
473 [BZ #12814]
474 * iconvdata/Makefile (tests): Add bug-iconv9.
475 * iconvdata/bug-iconv9.c: New file.
476
4d07db15
AS
4772011-05-27 Andreas Schwab <schwab@redhat.com>
478
479 [BZ #12814]
480 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
481
ea486f69
JJ
4822011-05-25 Jakub Jelinek <jakub@redhat.com>
483
484 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
485 (struct user_regs_struct): Change intcs field back to cs.
486
6f038433
UD
4872011-05-25 Ulrich Drepper <drepper@gmail.com>
488
489 * po/ja.po: Update from translation team.
490
67f86a25
UD
4912011-05-23 Ulrich Drepper <drepper@gmail.com>
492
493 [BZ #12795]
494 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
495 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
496
def7fbd6
AS
4972011-05-20 Andreas Schwab <schwab@redhat.com>
498
499 * stdlib/longlong.h: Update from GCC.
500
f50ef8f1
AS
5012011-05-23 Andreas Schwab <schwab@redhat.com>
502
503 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
504 parameter name.
505 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
506 Add parameter name.
507 (__sysconf): Pass it down.
508
de7ce8f1
UD
5092011-05-22 Ulrich Drepper <drepper@gmail.com>
510
f2962a71
UD
511 [BZ #12671]
512 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
513 some situations.
514 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
515 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
516 add in in __libc_use_alloca calls. Adjust callers.
517 (glob): Use malloc in some situations.
518
de7ce8f1
UD
519 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
520 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
521 pltexit.
522
aec84f53
UD
5232011-05-21 Ulrich Drepper <drepper@gmail.com>
524
05bb4a68
UD
525 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
526 and CLOCK_BOOTTIME_ALARM.
527
7ea72f99
UD
528 [BZ #12782]
529 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
530 is returned.
531
7e4afad5
UD
532 * string/_strerror.c (__strerror_r): Print negative errors as signed
533 numbers.
534
8e211fec
UD
535 [BZ #12777]
536 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
537 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
538 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
539
f7d82dc9
UD
540 * configure.in: Fix typo in redirection and correct removal of test
541 files in two cases.
542
cc9e536d
UD
543 [BZ #12788]
544 * locale/setlocale.c (new_composite_name): Fix test to check for
545 identical name of all categories.
546
aec84f53
UD
547 [BZ #12792]
548 * libio/filedoalloc.c (local_isatty): New function.
549 (_IO_file_doallocate): Use local_isatty.
550 * stdio-common/perror.c (perror): In case a new stream is used
551 forward the stream error.
552 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
553 error flag.
554
78e64fdc
RT
5552011-05-20 Ulrich Drepper <drepper@gmail.com>
556
34a9094f
UD
557 [BZ #11869]
558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
559 alloca.
560 * include/alloca.h (extend_alloca_account): Define.
561
78e64fdc
RT
562 [BZ #11857]
563 * posix/regex.h: Fix comments with documentation of user-accessible
564 fields after compilation and describe correct free'ing of pattern
565 after re_compile_pattern.
566 Patch by Reuben Thomas <rrt@sc3d.org>.
567
457bddfc
RA
5682011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
569
570 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
571 and -mno-altivec to prevent the compiler from using Altivec and/or
572 VSX instructions when the corresponding registers are not available.
573
a4527b51
AS
5742011-05-19 Andreas Schwab <schwab@redhat.com>
575
576 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
577
ed690b2f
UD
5782011-05-19 Ulrich Drepper <drepper@gmail.com>
579
580 * libio/freopen.c (freopen): Use __dup2, not dup2.
581 * libio/freopen64.c (freopen64): Likewise.
582
8db73634
L
5832011-05-17 H.J. Lu <hongjiu.lu@intel.com>
584
585 [BZ #12775]
586 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
587 * math/Makefile (tests): Add test-powl.
588 (CFLAGS-test-powl.c): Define.
589 * math/test-powl.c: New file.
590
0a197a9d
L
5912011-05-16 H.J. Lu <hongjiu.lu@intel.com>
592
593 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
594
ee30c380
UD
5952011-05-17 Ulrich Drepper <drepper@gmail.com>
596
597 [BZ #11837]
598 * iconvdata/gb18030.c: Update to GB18020-2005.
599
6ce75379
UD
6002011-05-16 Ulrich Drepper <drepper@gmail.com>
601
a4b89fd8
AR
602 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
603 RE_SYNTAX_POSIX_AWK): Update to match recent development.
604 Patch by Aharon Robbins <arnold@skeeve.com>.
605
ea389b12
UD
606 [BZ #11892]
607 * stdlib/putenv.c (putenv): Don't always create copy of the variable
608 on the stack.
609
68a3f91f
UD
610 [BZ #11895]
611 * misc/pselect.c (__pselect): Handle timeout value errors hidden
612 through underflows.
613
15cc7dd1
UD
614 [BZ #12766]
615 * misc/error.c (error_at_line): Ensure file_name and old_file_name
616 point to strings before performing equality test for error_one_per_line
617 mode.
618
f3799213
UD
619 [BZ #11697]
620 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
621
d79a9c94
UD
622 [BZ #11820]
623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
624 (struct user_fpregs_struct): Avoid __uint*_t types.
625
56e5eb46
UD
626 [BZ #6420]
627 * malloc/mtrace.c (tr_where): Add additional parameter to point to
628 symbol info. Use it instead of calling _dl_addr locally.
629 (lock_and_info): New function.
630 (tr_freehook): Call lock_and_info and pass symbol info as additional
631 parameter to tr_where.
632 (tr_mallochook): Likewise.
633 (tr_reallochook): Likewise.
634 (tr_memalignhook): Likewise.
635
6ce75379
UD
636 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
637 used and couldn't be at all thread-safe.
638
f8a3b5bf
UD
6392011-05-15 Ulrich Drepper <drepper@gmail.com>
640
94b7cc37
UD
641 * libio/freopen.c (freopen): Don't close old file descriptor
642 before the new one is opened. Instead dup the new file descriptor
643 to the old one after the new stream is created.
644 * libio/freopen64.c (freopen64): Likewise.
645 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
646 * libio/fileops.c (_IO_new_file_close_it): Handle new
647 _IO_FLAGS2_NOCLOSE flag.
648 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
649 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
650 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
651 _IO_FLAGS2_NOCLOSE flag.
652 * include/unistd.h: Add hidden_proto for dup3.
653 Define __have_dup3.
654 * io/dup3.c: Define hidden symbol.
655 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
656
bd25564e
UD
657 [BZ #7101]
658 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
659 when an incomplete long option is used.
660 * posix/tst-getopt_long1.c: New file.
661 * posix/Makefile (tests): Add tst-getopt_long1.
662
c84cfef4
UD
663 [BZ #10138]
664 * scripts/config.guess: Update from autoconf-2.68.
665 * scripts/config.sub: Likewise.
666
3b85df27
UD
667 [BZ #10157]
668 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
669 tests into ...
670 (has_cpuclock): ...this. New function.
671 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
672 macro here based on has_cpuclock code.
673
15a856b1
UD
674 [BZ #10149]
675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
676 First byte (not low byte) is now always NUL.
677 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
678
05f399e6
UD
679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
680 Use non-cancelable interfaces.
681
10a52685 682 [BZ #9809]
94ecc67d
UD
683 * locale/iso-639.def: Add entry for Sorani.
684
f8a3b5bf
UD
685 [BZ #11901]
686 * include/stdlib.h: Move include protection to the right place.
687 Define abort_msg_s. Declare __abort_msg with it.
688 * stdlib/abort.c (__abort_msg): Adjust type.
689 * assert/assert.c (__assert_fail_base): New function. Majority
690 of code from __assert_fail. Allocate memory for __abort_msg with
691 mmap.
692 (__assert_fail): Now call __assert_fail_base.
693 * assert/assert-perr.c: Remove bulk of implementation. Use
694 __assert_fail_base.
695 * include/assert.hL Declare __assert_fail_base.
696 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
697 mmap.
698 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
699
1af4e298
UD
7002011-05-14 Ulrich Drepper <drepper@gmail.com>
701
f8a3b5bf 702 [BZ #11952]
d26dfc60
MG
703 [BZ #12453]
704 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
705 until all modules are registered in the DTV.
706 * elf/Makefile: Add rules to build and run tst-tls19.
707 * elf/tst-tls19.c: New file.
708 * elf/tst-tls19mod1.c: New file.
709 * elf/tst-tls19mod2.c: New file.
710 * elf/tst-tls19mod3.c: New file.
711 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
712
2fc54d6f
UD
713 [BZ #12083]
714 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
715 correctly.
716
98d76b46
UD
717 [BZ #12601]
718 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
719 two-byte sequence errors.
720 * iconvdata/Makefile (tests): Add bug-iconv8.
721 * iconvdata/bug-iconv8.c: New file.
722
da3c19ef
UD
723 [BZ #12626]
724 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
725 buf2 definition.
726
ca408c15
UD
727 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
728
d6f67f7d
UD
729 [BZ #12432]
730 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
731 (dummy_getcfa): New function.
732 (init): Get _Unwind_GetCFA address, use dummy if not found.
733 (backtrace_helper): In recursion check, also check whether CFA changes.
734 (__backtrace): Completely initialize arg.
735
1af4e298 736 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
737 storing incomplete byte sequence in state object. Avoid testing for
738 guaranteed too small input if we know there is enough data available.
1af4e298 739
da62f81b
AS
7402011-05-11 Andreas Schwab <schwab@redhat.com>
741
742 * Makeconfig (+link-pie): Indent.
743 * Rules (binaries-pie): Define if $(have-fpie) and
744 $(build-shared).
745 (binaries-shared): Also filter out $(binaries-pie).
746 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
747 * nscd/Makefile (others-pie): Add nscd.
748 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
749 ($(objpfx)nscd): Remove command override.
750 * login/Makefile (others-pie): Add pt_chown.
751 ($(objpfx)pt_chown): Remove command override.
752 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
753 remove command overrides.
754
fcabc0f8
UD
7552011-05-13 Ulrich Drepper <drepper@gmail.com>
756
20030ae6
UD
757 * libio/tst_putwc.c: Fix error messages.
758
fcabc0f8
UD
759 [BZ #12724]
760 * libio/fileops.c (_IO_new_file_close_it): Always flush when
761 currently writing and seek to current position when not.
762 * libio/Makefile (tests): Add bug-fclose1.
763 * libio/bug-fclose1.c: New file.
764
320a5dc0
PB
7652011-05-12 Ulrich Drepper <drepper@gmail.com>
766
767 [BZ #12511]
768 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
769 don't set DF_1_NODELETE here.
770 (do_lookup_x): When entering new entry test for copy relocation
771 and if necessary set DF_1_NODELETE flag.
772 * elf/tst-unique4.cc: New file.
773 * elf/tst-unique4.h: New file.
774 * elf/tst-unique4lib.cc: New file.
775 * elf/Makefile: Add rules to build and run tst-unique4.
776 Patch by Piotr Bury <pbury@goahead.com>.
777
22836f52
UD
7782011-05-11 Ulrich Drepper <drepper@gmail.com>
779
f574184a
UD
780 [BZ #12052]
781 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
782
e1fb097f
UD
783 [BZ #12625]
784 * misc/mntent_r.c (addmntent): Flush the stream after the output
785
22836f52
UD
786 [BZ #12393]
787 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
788 (is_trusted_path_normalize): Skip initial colon. Append slash
789 to empty buffer. Duplicate is_trusted_path code but allow
790 constructed patch to be prefix.
791 (is_dst): Allow $ORIGIN followed by /.
792 (_dl_dst_substitute): Correct clearing of check_for_trusted.
793 Correct testing of result of is_trusted_path_normalize
794 (decompose_rpath): Fix warning.
795
7b3b0b2a
UD
7962011-05-10 Ulrich Drepper <drepper@gmail.com>
797
798 [BZ #11257]
799 * grp/initgroups.c (internal_getgrouplist): When we found the service
800 list through the initgroups entry in nsswitch.conf do not always
801 continue on a successful lookup. Don't always use the
eac80ce2 802 __nss_group_database value if it is set.
7b3b0b2a
UD
803 * nss/nsswitch.conf (initgroups): Change action for successful db
804 lookup to continue for compatibility.
805
2a81eaa5
UD
8062011-05-09 Ulrich Drepper <drepper@gmail.com>
807
be97a69e
UD
808 [BZ #11532]
809 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
810 and CP774 modules.
811 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
812 and CP774 modules.
813 * iconvdata/tst-tables.sh: Likewise.
814 * iconvdata/cp770.c: New file.
815 * iconvdata/cp771.c: New file.
816 * iconvdata/cp772.c: New file.
817 * iconvdata/cp773.c: New file.
818 * iconvdata/cp774.c: New file.
819 * iconvdata/testdata/CP770: New file.
820 * iconvdata/testdata/CP770..UTF8: New file.
821 * iconvdata/testdata/CP771: New file.
822 * iconvdata/testdata/CP771..UTF8: New file.
823 * iconvdata/testdata/CP772: New file.
824 * iconvdata/testdata/CP772..UTF8: New file.
825 * iconvdata/testdata/CP773: New file.
826 * iconvdata/testdata/CP773..UTF8: New file.
827 * iconvdata/testdata/CP774: New file.
828 * iconvdata/testdata/CP774..UTF8: New file.
829
830 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
831 END CHARMAP line.
832 * iconvdata/gen-8bit-gap.sh: Likewise.
833 * iconvdata/gen-8bit.sh: Likewise.
834
c1e9e399
UD
835 * locale/iso-639.def: Add ary entry.
836
24c55fb3 837 [BZ #11258]
96b4b1b0
UD
838 * locale/C-translit.h.in: Add U20A1 transliteration.
839
bdc2f971
KB
840 [BZ #12178]
841 * locale/iso-639.def: Add wae entry.
842 Patch by Kevin Bortis <bortis@translate-wae.ch>.
843
2952b117
UD
844 [BZ #12545]
845 * locale/programs/localedef.c (construct_output_path): Use ssize_t
846 for n.
847
2a81eaa5
UD
848 [BZ #12711]
849 * locale/C-translit.h.in: Add entry for U20B9.
850 Patch by pravin.d.s@gmail.com.
851
28377d1b
UD
8522011-05-08 Ulrich Drepper <drepper@gmail.com>
853
7fb90fb8
UD
854 [BZ #12713]
855 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
856 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
857 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
858 in rtld. Use *stat64.
7fb90fb8 859 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 860 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 861 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
862 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
863 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
864 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
865 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
866 __fstatat64 macros.
7fb90fb8
UD
867 * include/dirent.h: Add libc_hidden_proto for rewinddir.
868 * dirent/rewinddir.c: Add libc_hidden_def.
869 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 870 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 871
28377d1b
UD
872 * include/dirent.h (__alloc_dir): Add flags parameter.
873 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
874 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
875 __alloc_dir.
876 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
877 from fdopendir if O_CLOEXEC is already set.
878
66bdbaa4
AM
8792011-03-15 Alan Modra <amodra@gmail.com>
880
881 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
882 l_tls_firstbyte_offset non-zero. Save padding offset in
883 l_tls_firstbyte_offset for later use.
884 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
885 freeing static tls block.
886
95721191
JN
8872011-03-05 Jonathan Nieder <jrnieder@gmail.com>
888
889 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
890 where #ifdef was intended. The intent is to prevent ARG_MAX from
891 being defined by the kernel headers.
892
f87dfb1f
UD
8932011-05-07 Ulrich Drepper <drepper@gmail.com>
894
895 [BZ #12734]
896 * resolv/resolv.h: Define RES_NOTLDQUERY.
897 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
898 no-tld-query and set RES_NOTLDQUERY.
899 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
900 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
901 modern BIND to search name as TLD unless forbidden.
902
47c3cd7a
UD
9032011-05-07 Petr Baudis <pasky@suse.cz>
904 Ulrich Drepper <drepper@gmail.com>
905
906 [BZ #12393]
907 * elf/dl-load.c (fillin_rpath): Move trusted path check...
908 (is_trusted_path): ...to here.
c1e9ea35 909 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 910 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 911 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 912
8a35c912
PP
9132011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
914
915 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
916 __BEGIN/__END_DECLS.
917
acd41f47
UD
9182011-05-06 Ulrich Drepper <drepper@gmail.com>
919
920 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
921 NSS_STATUS_NOTFOUND if no record was found.
922
597df647
AS
9232011-05-05 Andreas Schwab <schwab@redhat.com>
924
925 * sunrpc/Makefile (headers): Add rpc/netdb.h.
926 (headers-not-in-tirpc): Remove rpc/netdb.h
927 * resolv/netdb.h: Revert last change.
928
b9af1301
PP
9292011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
930
931 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
932 circular dependency between libgcc.a and libc.a.
933
4e34d5f5
AS
9342011-05-05 Andreas Schwab <schwab@redhat.com>
935
936 * resolv/netdb.h: Don't include <rpc/netdb.h>.
937 * nis/Makefile: Don't install rpcsvc/*.
938 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
939 instead of <rpc/types.h>.
940 (MAXHOSTNAMELEN): Define.
941
00ee369c
AS
9422011-05-03 Andreas Schwab <schwab@redhat.com>
943
944 * elf/ldconfig.c (add_dir): Don't crash on empty path.
945
0b592a30
MB
9462011-04-28 Maciej Babinski <mbabinski@google.com>
947
948 [BZ #12714]
949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
950 gethostbyname4_r when IPv6 results are possible.
951
6e04cbbe
UD
9522011-05-02 Ulrich Drepper <drepper@gmail.com>
953
954 [BZ #12723]
955 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
956 _PC_PIPE_BUF handling.
957
e4ecafe0
BH
9582011-04-30 Bruno Haible <bruno@clisp.org>
959
960 [BZ #12717]
961 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
962 * resolv/netdb.h (getnameinfo): Change type of flags parameter
963 to 'int'.
964 * inet/getnameinfo.c (getnameinfo): Likewise.
965
125ee683
UD
9662011-04-29 Ulrich Drepper <drepper@gmail.com>
967
968 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
969 to groups setting in database lookup.
970 * nss/nsswitch.conf: Add initgroups entry.
971
b722481a
EB
9722011-04-22 Ulrich Drepper <drepper@gmail.com>
973
974 [BZ #12685]
975 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
976 mode string.
977 Patch by Eric Blake <eblake@redhat.com>.
978
4df46dbd
L
9792011-04-20 H.J. Lu <hongjiu.lu@intel.com>
980
981 * sunrpc/Makefile (need-export-routines): Add svc_run.
982 (routines): Remove svc_run.
983 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
984 * sunrpc/clnt_perr.c (clnt_perrno): Export.
985 * sunrpc/svc_run.c (svc_run): Likewise.
986 * sunrpc/svc_udp.c (svcudp_create): Likewise.
987
e84142d2
UD
9882011-04-21 Ulrich Drepper <drepper@gmail.com>
989
990 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
991 problem in reallocation in last patch.
992
877175d8
UD
9932011-04-20 Ulrich Drepper <drepper@gmail.com>
994
995 * sunrpc/Makefile: Move inclusion of Rules.
996
ab8eed78
UD
9972011-04-19 Ulrich Drepper <drepper@gmail.com>
998
999 * nss/nss_files/files-initgroups.c: New file.
1000 * nss/Makefile (libnss_files-routines): Add files-initgroups.
1001 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
1002 _nss_files_initgroups_dyn.
1003
e3d8f584
RS
10042011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
1005
1006 * elf/elf.h (R_ARM_IRELATIVE): Define.
1007
af190f45
UD
10082011-04-19 Ulrich Drepper <drepper@gmail.com>
1009
1010 * po/ru.po: Update from translation team.
1011
53cf59ef
UD
10122011-04-17 Ulrich Drepper <drepper@gmail.com>
1013
1014 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
1015 dependencies.
1016
4c559bcd
MF
10172011-02-06 Mike Frysinger <vapier@gentoo.org>
1018
1019 [BZ #12653]
1020 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
1021 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
1022 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1023 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1024 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1025
4420675c
AS
10262011-03-28 Andreas Schwab <schwab@linux-m68k.org>
1027
1028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
1029 differing bytes.
1030 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1031 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1033
75ea32ab
UD
10342011-04-17 Ulrich Drepper <drepper@gmail.com>
1035
1036 [BZ #12420]
1037 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
1038 storing it.
1039 * stdlib/bug-getcontext.c: New file.
1040 * stdlib/Makefile: Add rules to build and run bug-getcontext.
1041
27390476
AK
10422011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1043
1044 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
1045 instructions into .machine "z9-109".
1046 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1047 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1048
10442705
AK
10492011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1050
1051 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
1052 between environment variables and auxiliary vector.
1053
7b57bfe5
UD
10542011-04-16 Ulrich Drepper <drepper@gmail.com>
1055
1056 * Makefile: Add rules to build linkobj/libc.so.
1057 * include/libc-symbols.h: Define libc_hidden_nolink.
1058 * include/rpc/auth.h: Mark functions which are to be hidden.
1059 * include/rpc/auth_des.h: Likewise.
1060 * include/rpc/auth_unix.h: Likewise.
1061 * include/rpc/clnt.h: Likewise.
1062 * include/rpc/des_crypt.h: Likewise.
1063 * include/rpc/key_prot.h: Likewise.
1064 * include/rpc/pmap_clnt.h: Likewise.
1065 * include/rpc/pmap_prot.h: Likewise.
1066 * include/rpc/pmap_rmt.h: Likewise.
1067 * include/rpc/rpc_msg.h: Likewise.
1068 * include/rpc/svc.h: Likewise.
1069 * include/rpc/svc_auth.h: Likewise.
1070 * include/rpc/xdr.h: Likewise.
1071 * nis/Makefile: Link all DSOs against linkobj/libc.so.
1072 * nss/Makefile: Likewise.
1073 * sunrpc/Makefile: Don't install headers. Build library with normal
1074 entry points. Don't build rpcinfo. Link RPC tests appropriately.
1075 * sunrpc/auth_des.c: Hide exported symbols by default, export some
1076 for the compat linking library. Remove use of INTDEF/INTUSE.
1077 * sunrpc/auth_none.c: Likewise.
1078 * sunrpc/auth_unix.c: Likewise.
1079 * sunrpc/authdes_prot.c: Likewise.
1080 * sunrpc/authuxprot.c: Likewise.
1081 * sunrpc/clnt_gen.c: Likewise.
1082 * sunrpc/clnt_perr.c: Likewise.
1083 * sunrpc/clnt_raw.c: Likewise.
1084 * sunrpc/clnt_simp.c: Likewise.
1085 * sunrpc/clnt_tcp.c: Likewise.
1086 * sunrpc/clnt_udp.c: Likewise.
1087 * sunrpc/clnt_unix.c: Likewise.
1088 * sunrpc/des_crypt.c: Likewise.
1089 * sunrpc/des_soft.c: Likewise.
1090 * sunrpc/get_myaddr.c: Likewise.
1091 * sunrpc/key_call.c: Likewise.
1092 * sunrpc/key_prot.c: Likewise.
1093 * sunrpc/netname.c: Likewise.
1094 * sunrpc/pm_getmaps.c: Likewise.
1095 * sunrpc/pm_getport.c: Likewise.
1096 * sunrpc/pmap_clnt.c: Likewise.
1097 * sunrpc/pmap_prot.c: Likewise.
1098 * sunrpc/pmap_prot2.c: Likewise.
1099 * sunrpc/pmap_rmt.c: Likewise.
1100 * sunrpc/publickey.c: Likewise.
1101 * sunrpc/rpc_cmsg.c: Likewise.
1102 * sunrpc/rpc_common.c: Likewise.
1103 * sunrpc/rpc_dtable.c: Likewise.
1104 * sunrpc/rpc_prot.c: Likewise.
1105 * sunrpc/rpc_thread.c: Likewise.
1106 * sunrpc/rtime.c: Likewise.
1107 * sunrpc/svc.c: Likewise.
1108 * sunrpc/svc_auth.c: Likewise.
1109 * sunrpc/svc_authux.c: Likewise.
1110 * sunrpc/svc_raw.c: Likewise.
1111 * sunrpc/svc_run.c: Likewise.
1112 * sunrpc/svc_simple.c: Likewise.
1113 * sunrpc/svc_tcp.c: Likewise.
1114 * sunrpc/svc_udp.c: Likewise.
1115 * sunrpc/svc_unix.c: Likewise.
1116 * sunrpc/svcauth_des.c: Likewise.
1117 * sunrpc/xcrypt.c: Likewise.
1118 * sunrpc/xdr.c: Likewise.
1119 * sunrpc/xdr_array.c: Likewise.
1120 * sunrpc/xdr_float.c: Likewise.
1121 * sunrpc/xdr_intXX_t.c: Likewise.
1122 * sunrpc/xdr_mem.c: Likewise.
1123 * sunrpc/xdr_rec.c: Likewise.
1124 * sunrpc/xdr_ref.c: Likewise.
1125 * sunrpc/xdr_sizeof.c: Likewise.
1126 * sunrpc/xdr_stdio.c: Likewise.
1127
e6c61494
UD
11282011-04-10 Ulrich Drepper <drepper@gmail.com>
1129
1130 [BZ #12650]
1131 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
1132 * sysdeps/ia64/dl-tls.h: Likewise.
1133 * sysdeps/powerpc/dl-tls.h: Likewise.
1134 * sysdeps/s390/dl-tls.h: Likewise.
1135 * sysdeps/sh/dl-tls.h: Likewise.
1136 * sysdeps/sparc/dl-tls.h: Likewise.
1137 * sysdeps/x86_64/dl-tls.h: Likewise.
1138 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
1139
34fe483e
AS
11402011-03-14 Andreas Schwab <schwab@redhat.com>
1141
1142 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
1143 rpath element also skip the following colon.
1144 (expand_dynamic_string_token): Add is_path parameter and pass
1145 down to DL_DST_REQUIRED and _dl_dst_substitute.
1146 (decompose_rpath): Call expand_dynamic_string_token with
1147 non-zero is_path. Ignore empty rpaths.
1148 (_dl_map_object_from_fd): Call expand_dynamic_string_token
1149 with zero is_path.
1150
f12a32e6
AS
11512011-04-08 Andreas Schwab <schwab@linux-m68k.org>
1152
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1154 Make cancelable.
1155
38a7d692
UD
11562011-04-09 Ulrich Drepper <drepper@gmail.com>
1157
1158 [BZ #12655]
1159 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
1160 Patch by Filipe David Manana <fdmanana@apache.org>.
1161
e451d22b
AS
11622011-04-07 Andreas Schwab <schwab@redhat.com>
1163
1164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
1165 Maintain aligned stack.
1166 (CHECK_RSP): Remove unused macro.
1167
dedc7c7b
UD
11682011-04-03 Ulrich Drepper <drepper@gmail.com>
1169
1170 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
1171 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
1172
94521213
UD
11732011-04-02 Ulrich Drepper <drepper@gmail.com>
1174
1175 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
1176
8cb700c0 1177 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 1178
0354e355
L
11792011-03-26 H.J. Lu <hongjiu.lu@intel.com>
1180
1181 [BZ #12518]
1182 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
1183 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
1184 * sysdeps/x86_64/memmove.c: New file.
1185 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
1186 (memcpy): Renamed to ...
1187 (__new_memcpy): This.
1188 (memcpy): Provide GLIBC_2_14 memcpy.
1189 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
1190 (memcpy): Provide GLIBC_2_2_5 memcpy.
1191
8593482f
UD
11922011-04-01 Ulrich Drepper <drepper@gmail.com>
1193
1194 [BZ #12631]
1195 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
1196
81a5726b
AS
11972011-03-30 Andreas Schwab <schwab@redhat.com>
1198
1199 * misc/syncfs.c: New file.
1200 * misc/Makefile (routines): Add syncfs.
1201 * posix/unistd.h: Declare syncfs.
1202 * sysdeps/unix/syscalls.list: Add syncfs.
1203
00e5419f
AS
12042011-04-01 Andreas Schwab <schwab@redhat.com>
1205
1206 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
1207 open_by_handle_at.
1208 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1209 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1210 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1211 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1213 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1215
748876bf
UD
12162011-04-01 Ulrich Drepper <drepper@gmail.com>
1217
658e451d
UD
1218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
1219 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1220 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1222 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1225
748876bf
UD
1226 * io/Makefile: Compile fallocate.c, fallocate64.c, and
1227 sync_file_range.c with -fexceptions.
1228 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
1229 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
1230 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1231 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1232 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1233 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
1235 sync_file_range as cancellation point
1236 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
1237 now a wrapper around __call_sync_file_range with cancellation handling.
1238 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
1239 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
1240 function name to __call_sync_file_range.
1241 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
1242 Add call_sync_file_range.
748876bf 1243
6e63d5e1
AS
12442011-04-01 Andreas Schwab <schwab@redhat.com>
1245
1246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 1247 bits/timex.h.
6e63d5e1 1248
46998f74
UD
12492011-04-01 Ulrich Drepper <drepper@gmail.com>
1250
4c1423ed
UD
1251 * iconv/iconv.h: Fix typo in comment.
1252 * io/fcntl.h: Likewise.
1253 * libio/stdio.h: Likewise.
1254 * posix/spawn.h: Likewise.
1255 * posix/unistd.h: Likewise.
1256 * stdlib/stdlib.h: Likewise.
1257 * time/time.h: Likewise.
1258 * wcsmbs/wchar.h: Likewise.
1259
158648c0
UD
1260 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
1261 open_by_handle): Add.
1262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
1263 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
1264 Augment a few comments.
1265 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1269 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1270 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
1271 open_by_handle.
1272
46998f74
UD
1273 * io/fcntl.h (AT_EMPTY_PATH): Define.
1274
83fe108b
UD
12752011-03-30 Ulrich Drepper <drepper@gmail.com>
1276
1277 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
1278 * sysdeps/unix/sysv/linux/bits/time.h: New file.
1279 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
1280 to...
1281 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
1282 * Versions.def: Add GLIBC_2.14.
1283 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
1284 Export.
83fe108b 1285
bb242059
UD
12862011-03-22 Ulrich Drepper <drepper@gmail.com>
1287
1288 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
1289 round counter.
1290 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
1291
c97a1282
L
12922011-03-20 H.J. Lu <hongjiu.lu@intel.com>
1293
1294 [BZ #12597]
1295 * string/test-strncmp.c (do_page_test): New function.
1296 (check2): Likewise.
1297 (test_main): Call check2.
1298 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
1299
2a115601
UD
13002011-03-20 Ulrich Drepper <drepper@gmail.com>
1301
1302 [BZ #12587]
1303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
1304 Handle cache information in CPU leaf 4.
1305 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
1306
8126d904
UD
13072011-03-18 Ulrich Drepper <drepper@gmail.com>
1308
042c49c6 1309 [BZ #12583]
8126d904
UD
1310 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
1311 character representation.
1312 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
1313
ccfe366e
RA
13142011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
1315
1316 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
1317 END(__isnan) to END(__isnanf) to match function entry point/label
1318 EALIGN(__isnanf,...).
1319
c6e13027
JJ
13202011-03-10 Jakub Jelinek <jakub@redhat.com>
1321
1322 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
1323
33f85a3f
UD
13242011-03-10 Ulrich Drepper <drepper@gmail.com>
1325
028478fa
UD
1326 [BZ #12510]
1327 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
1328 copy from the symbol referenced in the relocation to initialize the
1329 used variable.
1330 Patch by Piotr Bury <pbury@goahead.com>.
1331 * elf/Makefile: Add rules to build and tst-unique3.
1332 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
1333 * elf/tst-unique3.cc: New file.
1334 * elf/tst-unique3.h: New file.
1335 * elf/tst-unique3lib.cc: New file.
1336 * elf/tst-unique3lib2.cc: New file.
1337
33f85a3f
UD
1338 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
1339
03592fc7
MF
13402011-03-10 Mike Frysinger <vapier@gentoo.org>
1341
1342 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
1343 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
1344 to _start.
03592fc7 1345
6a5ee102
UD
13462011-03-06 Ulrich Drepper <drepper@gmail.com>
1347
1348 * elf/dl-load.c (_dl_map_object): If we are looking for the first
1349 to-be-loaded object along a path to loader is ld.so.
1350
7e4ba49c
HJ
13512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
1352 Ulrich Drepper <drepper@gmail.com>
1353
1354 * sysdeps/x86_64/memset.S: After aligning destination, code
1355 branches to different locations depending on the value of
1356 misalignment, when multiarch is enabled. Fix this.
1357
13582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
1359
1360 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
1361 Set _x86_64_preferred_memory_instruction for AMD processsors.
1362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1363 Set bit_Prefer_SSE_for_memop for AMD processors.
1364
13a804de
UD
13652011-03-04 Ulrich Drepper <drepper@gmail.com>
1366
1367 * libio/fmemopen.c (fmemopen): Optimize a bit.
1368
9d25c392
AS
13692011-03-03 Andreas Schwab <schwab@redhat.com>
1370
1371 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
1372
a5543c6a
RM
13732011-03-03 Roland McGrath <roland@redhat.com>
1374
1375 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
1376
012d35f7
DM
13772011-02-28 Aurelien Jarno <aurelien@aurel32.net>
1378
7e4ba49c 1379 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
1380 __bzero_ultra1 instead of __memset_ultra1.
1381
4bff6e01
AS
13822011-02-23 Andreas Schwab <schwab@redhat.com>
1383 Ulrich Drepper <drepper@gmail.com>
1384
1385 [BZ #12509]
1386 * include/link.h (struct link_map): Add l_orig_initfini.
1387 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
1388 returning unsuccessfully.
1389 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
1390 close of a file loaded at startup, restore the original l_initfini
1391 list.
1392 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
1393 list, store the pointer.
1394 * elf/Makefile ($(objpfx)noload-mem): New rule.
1395 (noload-ENV): Define.
1396 (tests): Add $(objpfx)noload-mem.
1397 * elf/noload.c: Include <memcheck.h>.
1398 (main): Call mtrace. Close all opened handles.
1399
f2092faf
AS
14002011-02-17 Andreas Schwab <schwab@redhat.com>
1401
1402 [BZ #12454]
1403 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
1404 dependencies are missing.
1405
6c8a2e88
ST
14062011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1407
f2092faf 1408 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
1409 Hurd needs munmap.
1410 * sysdeps/mach/hurd/ifreq.h: New file.
1411
84a42118
PB
14122011-01-27 Petr Baudis <pasky@suse.cz>
1413 Ulrich Drepper <drepper@gmail.com>
1414
071f805e 1415 [BZ 12445]#
84a42118
PB
1416 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
1417 to extend_alloca().
1418 * stdio-common/bug23.c: New file.
1419 * stdio-common/Makefile (tests): Add bug23.
1420
e23fe25b
AS
14212010-09-28 Andreas Schwab <schwab@redhat.com>
1422 Ulrich Drepper <drepper@gmail.com>
1423
1424 [BZ #12489]
1425 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
1426 before performing relro protection. At old place add assertion
1427 to make sure nothing changed.
1428
d3f02e10
NS
14292011-02-17 Nathan Sidwell <nathan@codesourcery.com>
1430 Glauber de Oliveira Costa <glommer@gmail.com>
1431
1432 * elf/elf.h: Add new ARM TLS relocs.
1433
d55fd7a5
RA
14342011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
1435
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1437 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
1438 cast from r3.
1439 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
1440 'tests' variable.
1441 * sysdeps/wordsize-64/tst-writev.c: New file.
1442
2206397e
RA
14432011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
1444
1445 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
1446 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
1447 insns in _dl_start to prevent a TOC reference before relocs are
1448 resolved.
1449
e9433893
UD
14502011-02-15 Ulrich Drepper <drepper@gmail.com>
1451
1452 [BZ #12469]
1453 * Makeconfig: Remove RANLIB definition.
1454 * Makerules: Don't use RANLIB.
1455 * aclocal.m4: Remove ranlib test.
1456 * configure.in: No need to check for ranlib.
1457 * elf/rtld-Rules: Don't use RANLIB.
1458
f75286c6
ST
14592011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1460
8e31c82d
ST
1461 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
1462 protection macro.
1463 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
1464 inclusion protection macro.
1465
f75286c6
ST
1466 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
1467 SIGRTMIN and SIGRTMAX and print information in that case only when
1468 SIGRTMIN is defined.
1469
c1d0e639
JJ
14702011-02-11 Jakub Jelinek <jakub@redhat.com>
1471
1472 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
1473 arginfo fn returning -1.
1474
1475 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
1476 and thousands string is zero terminated.
1477
edf9294e
AS
14782011-02-03 Andreas Schwab <schwab@redhat.com>
1479
1480 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
1481 sysdeps/unix/sysv/linux/bits/socket.h.
1482
2b7e92df
ST
14832011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1484
edf9294e
AS
1485 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
1486 (__CPU_COUNT): Remove old macros.
1487 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
1488 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
1489 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
1490 (__sched_cpualloc, __sched_cpufree): Add declarations.
1491
a4c7ea7b
UD
14922011-02-05 Ulrich Drepper <drepper@gmail.com>
1493
1494 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
1495 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
1496 * nscd/aicache.c (addhstaiX): Return timeout of added value.
1497 (readdhstai): Return value of addhstaiX call.
1498 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
1499 (addgrbyX): Return value returned by cache_addgr.
1500 (readdgrbyname): Return value returned by addgrbyX.
1501 (readdgrbygid): Likewise.
1502 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
1503 (addpwbyX): Return value returned by cache_addpw.
1504 (readdpwbyname): Return value returned by addhstbyX.
1505 (readdpwbyuid): Likewise.
1506 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
1507 (addservbyX): Return value returned by cache_addserv.
1508 (readdservbyname): Return value returned by addservbyX:
1509 (readdservbyport): Likewise.
1510 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
1511 (addhstbyX): Return value returned by cache_addhst.
1512 (readdhstbyname): Return value returned by addhstbyX.
1513 (readdhstbyaddr): Likewise.
1514 (readdhstbynamev6): Likewise.
1515 (readdhstbyaddrv6): Likewise.
1516 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
1517 (readdinitgroups): Return value returned by addinitgroupsX.
1518 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
1519 (prune_cache): Keep track of timeout value of re-added entries.
1520 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
1521 * nscd/nscd.h: Adjust prototypes of readd* functions.
1522
a0bf67cc
RM
15232011-02-04 Roland McGrath <roland@redhat.com>
1524
1525 * nis/nis_server.c (nis_servstate): Use the right name for 0.
1526 (nis_stats): Likewise.
1527 * nis/nis_modify.c (nis_modify): Likewise.
1528 * nis/nis_remove.c (nis_remove): Likewise.
1529 * nis/nis_add.c (nis_add): Likewise.
1530
1531 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
1532
1533 * posix/fnmatch_loop.c: Add some consts.
1534
1535 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
1536
435b95eb
L
15372011-02-02 H.J. Lu <hongjiu.lu@intel.com>
1538
1539 [BZ #12460]
1540 * config.make.in (config-cflags-novzeroupper): Define.
1541 * configure.in: Substitute libc_cv_cc_novzeroupper.
1542 * elf/Makefile (AVX-CFLAGS): Define.
1543 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
1544 (CFLAGS-tst-auditmod4a.c): Likewise.
1545 (CFLAGS-tst-auditmod4b.c): Likewise.
1546 (CFLAGS-tst-auditmod6b.c): Likewise.
1547 (CFLAGS-tst-auditmod6c.c): Likewise.
1548 (CFLAGS-tst-auditmod7b.c): Likewise.
1549 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
1550
8517b15e
UD
15512011-02-02 Ulrich Drepper <drepper@gmail.com>
1552
1553 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
1554 function to the callback.
1555 Patch partly by Jiri Olsa <jolsa@redhat.com>.
1556
10a656fe
AS
15572011-02-02 Andreas Schwab <schwab@redhat.com>
1558
1559 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
1560 of errno.
1561
968dad0a
UD
15622011-01-19 Ulrich Drepper <drepper@gmail.com>
1563
9f94d2ea 1564 [BZ #11724]
968dad0a
UD
1565 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
1566 of constructors.
1567 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
1568 of destructors.
1569 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
1570
1571 [BZ #11724]
1572 * elf/Makefile: Add rules to build and run new test.
1573 * elf/tst-initorder.c: New file.
1574 * elf/tst-initorder.exp: New file.
1575 * elf/tst-initordera1.c: New file.
1576 * elf/tst-initordera2.c: New file.
1577 * elf/tst-initordera3.c: New file.
1578 * elf/tst-initordera4.c: New file.
1579 * elf/tst-initorderb1.c: New file.
1580 * elf/tst-initorderb2.c: New file.
1581 * elf/tst-order-a1.c: New file.
1582 * elf/tst-order-a2.c: New file.
1583 * elf/tst-order-a3.c: New file.
1584 * elf/tst-order-a4.c: New file.
1585 * elf/tst-order-b1.c: New file.
1586 * elf/tst-order-b2.c: New file.
1587 * elf/tst-order-main.c: New file.
1588 New test case by George Gensure <werkt0@gmail.com>.
1589
86e92359
UD
15902010-10-01 Andreas Schwab <schwab@redhat.com>
1591
1592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
1593 decoding ACE if AI_CANONIDN.
1594
5d5732b0
UD
15952011-01-18 Ulrich Drepper <drepper@gmail.com>
1596
1597 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
1598
a77e8cbc
UD
15992011-01-17 Ulrich Drepper <drepper@gmail.com>
1600
6392473f
UD
1601 * version.h (RELEASE): Bump for 2.13 release.
1602 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
1603
620a0529
UD
1604 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
1605
18ba70a5
UD
1606 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
1607 MADV_NOHUGEPAGE.
32465c3e
UD
1608 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1610 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1611 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1612 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1613 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1614
c0dafcf1
UD
1615 * posix/getconf.c: Update copyright year.
1616 * catgets/gencat.c: Likewise.
1617 * csu/version.c: Likewise.
1618 * debug/catchsegv.sh: Likewise.
1619 * debug/xtrace.sh: Likewise.
1620 * elf/ldconfig.c: Likewise.
1621 * elf/ldd.bash.in: Likewise.
1622 * elf/sprof.c (print_version): Likewise.
1623 * iconv/iconv_prog.c: Likewise.
1624 * iconv/iconvconfig.c: Likewise.
1625 * locale/programs/locale.c: Likewise.
1626 * locale/programs/localedef.c: Likewise.
1627 * malloc/memusage.sh: Likewise.
1628 * malloc/mtrace.pl: Likewise.
1629 * nscd/nscd.c (print_version): Likewise.
1630 * nss/getent.c: Likewise.
1631
a77e8cbc
UD
1632 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
1633 PF_CAIF, and PF_ALG.
1634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1635
77e8bddf
AS
16362011-01-16 Andreas Schwab <schwab@linux-m68k.org>
1637
1f20b93a
AS
1638 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
1639 (modules-names): Use them.
1640 (ifunc-test-modules, ifunc-pie-tests): Define.
1641 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
1642 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
1643 (test-extras): Likewise.
1644 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
1645 $(compile-command.c).
1646 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
1647 (all-built-dso): Define.
1648 (check-textrel.out, check-execstack.out): Depend on it.
1649
77e8bddf
AS
1650 * configure.in: Don't override --enable-multi-arch.
1651
bc425b33
UD
16522011-01-15 Ulrich Drepper <drepper@gmail.com>
1653
1654 [BZ #6812]
1655 * nscd/hstcache.c (tryagain): Define.
1656 (cache_addhst): Return tryagain not notfound for temporary errors.
1657 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
1658 failed.
1659
794c3ad3
UD
16602011-01-14 Ulrich Drepper <drepper@gmail.com>
1661
70181fdd
UD
1662 [BZ #10563]
1663 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
1664 to make the syscall.
1665 * sysdeps/unix/sysv/linux/setgroups.c: New file.
1666
794c3ad3
UD
1667 [BZ #12378]
1668 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
1669 and fall back to matching as normal character if the string ends before
1670 the matching ']' is found. This is what POSIX requires.
1671 * posix/testfnm.c: Adjust test result.
1672 * posix/globtest.sh: Adjust test result. Add new test.
1673 * posix/tst-fnmatch.input: Likewise.
1674 * posix/tst-fnmatch2.c: Add new test.
1675
68dc9497
AS
16762010-12-28 Andreas Schwab <schwab@linux-m68k.org>
1677
1678 * elf/Makefile (check-execstack): Revert last change. Depend on
1679 check-execstack.h.
1680 (check-execstack.h): New target.
1681 (generated): Add check-execstack.h.
1682 * elf/check-execstack.c: Include "check-execstack.h".
1683 (main): Revert last change.
1684 (handle_file): Return zero if GNU_STACK is absent and
1685 DEFAULT_STACK_PERMS doesn't include PF_X.
1686
451f001b
UD
16872011-01-13 Ulrich Drepper <drepper@gmail.com>
1688
cfa28e56
UD
1689 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
1690 in child fails because the descriptor is already closed.
8cf8ce17
UD
1691 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
1692 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
1693 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 1694
1086d70d
UD
1695 [BZ #12397]
1696 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
1697 syscall.
1698
451f001b
UD
1699 [BZ #10484]
1700 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
1701 temporary buffer used to handle multi lookups locally.
a85b5cb4 1702 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 1703
08769175
UD
17042011-01-12 Ulrich Drepper <drepper@gmail.com>
1705
1706 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
1707 loader is ld.so.
1708
5e49c52e
UD
17092011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
1710
1711 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
1712 alignment for SSE2.
1713
60522a5f
UD
17142011-01-12 Ulrich Drepper <drepper@gmail.com>
1715
1716 [BZ #12394]
1717 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
1718 characters. When rounding increased number of integer digits recompute
1719 number of groups.
1720 * stdio-common/tst-grouping.c: New file.
1721 * stdio-common/Makefile: Add rules to build and run tst-grouping.
1722
f257bbd7
UD
17232011-01-09 Ulrich Drepper <drepper@gmail.com>
1724
1725 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
1726 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
1727
1728 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
1729 void.
1730 * bits/select.h: Likewise.
1731
fa9c15cb
UD
17322011-01-08 Ulrich Drepper <drepper@gmail.com>
1733
1734 * po/ja.po: Update from translation team.
1735
16c2895f
DM
17362011-01-04 David S. Miller <davem@sunset.davemloft.net>
1737
1738 [BZ #11155]
1739 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
1740 implementation just like for lxstat, fxstatat, et al.
1741
2543fef2
JM
17422010-12-27 Jim Meyering <meyering@redhat.com>
1743
1744 [BZ #12348]
1745 * posix/regexec.c (build_trtable): Return failure indication upon
1746 calloc failure. Otherwise, re_search_internal could infloop on OOM.
1747
98727dbe
UD
17482010-12-25 Ulrich Drepper <drepper@gmail.com>
1749
5bd6dc5c
UD
1750 [BZ #12201]
1751 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
1752 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
1753 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
1754 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
1755
97983464
UD
1756 [BZ #12207]
1757 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
1758
98727dbe
UD
1759 [BZ #12204]
1760 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
1761 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
1762
4a531bb0
L
17632010-12-15 H.J. Lu <hongjiu.lu@intel.com>
1764
1765 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
1766 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
1767 script has SORT_BY_INIT_PRIORITY.
1768 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
1769 NO_CTORS_DTORS_SECTIONS is defined.
1770 * elf/soinit.c: Likewise.
1771 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
1772 NO_CTORS_DTORS_SECTIONS is defined.
1773 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1774 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
1775 * sysdeps/sh/init-first.c: Likewise.
1776 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1777
07eb4b71
UD
17782010-12-24 Ulrich Drepper <drepper@gmail.com>
1779
1780 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
1781 always use the slow path.
1782
30950a5f
RA
17832010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
1784
1785 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
1786 similar rule which adds the sysdep directories to the header search in
1787 order to pick up the correct platform stackinfo.h.
1788 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
1789 perform test if it is, otherwise return successfully without testing.
1790 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
1791 DEFAULT_STACK_PERMS define in stackinfo.h.
1792 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
1793 defined in stackinfo.h.
1794 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
1795 DEFAULT_STACK_PERMS defined in stackinfo.h.
1796 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1797 * sysdeps/ia64/stackinfo.h: Likewise.
1798 * sysdeps/s390/stackinfo.h: Likewise.
1799 * sysdeps/sh/stackinfo.h: Likewise.
1800 * sysdeps/sparc/stackinfo.h: Likewise.
1801 * sysdeps/x86_64/stackinfo.h: Likewise.
1802 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
1803 PF_X for powerpc64. Retain PF_X for powerpc32.
1804
db753e2c
UD
18052010-12-19 Ulrich Drepper <drepper@gmail.com>
1806
14b697f7
UD
1807 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
1808 accurately.
db753e2c
UD
1809 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
1810 GETDENTS_64BIT_ALIGNED.
1811
28300719
UD
18122010-12-14 Ulrich Drepper <dreper@gmail.com>
1813
14b697f7 1814 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 1815
4f197237
AS
18162010-12-10 Andreas Schwab <schwab@redhat.com>
1817
dbb0472f
AS
1818 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
1819 _GNU_SOURCE.
1820
4f197237
AS
1821 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
1822 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
1823 Remove __restrict.
1824 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
1825 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
1826
fb88ac72
UD
18272010-12-09 Ulrich Drepper <drepper@gmail.com>
1828
1829 [BZ #11655]
1830 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
1831 are initialized.
1832
42acbb92
JJ
18332010-12-09 Jakub Jelinek <jakub@redhat.com>
1834
1835 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
1836
c038d98d
UD
18372010-12-03 Ulrich Drepper <drepper@gmail.com>
1838
1839 * po/it.po: Update from translation team.
1840
3a4a2499
L
18412010-12-01 H.J. Lu <hongjiu.lu@intel.com>
1842
1843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
1844 unused codes.
1845
1e24cf6e
UD
18462010-11-30 Ulrich Drepper <drepper@gmail.com>
1847
1848 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
1849
a7690819
AS
18502010-11-24 Andreas Schwab <schwab@redhat.com>
1851
1852 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
1853 specially.
1854 (gaih_getanswer_slice): Likewise.
1855
3bf8d1b1
JJ
18562010-10-20 Jakub Jelinek <jakub@redhat.com>
1857
1858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
1859
6db52fbb
PB
18602010-05-31 Petr Baudis <pasky@suse.cz>
1861
1862 [BZ #11149]
1863 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
1864 silently even in the chroot mode.
1865
eaca7569
UD
18662010-11-22 Ulrich Drepper <drepper@gmail.com>
1867
1868 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
1869 last patch a bit. Pretty printing
1870
3056dcdb
UD
18712010-05-31 Petr Baudis <pasky@suse.cz>
1872
1873 [BZ #10085]
1874 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
1875 initialization of skip_initgroups_dyn.
1876
cf7c9078
UD
18772010-11-19 Ulrich Drepper <drepper@gmail.com>
1878
1879 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
1880 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1881
a1fb5e3e
UD
18822010-11-16 Ulrich Drepper <drepper@gmail.com>
1883
1884 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
1885
3540d66b
AS
18862010-11-11 Andreas Schwab <schwab@redhat.com>
1887
1888 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
1889 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
1890 (tst-fnmatch-ENV): Set MALLOC_TRACE.
1891 ($(objpfx)tst-fnmatch-mem): New rule.
1892 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
1893 * posix/tst-fnmatch.c (main): Call mtrace.
1894
13b69574
L
18952010-11-11 H.J. Lu <hongjiu.lu@intel.com>
1896
1897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1898 Support Intel processor model 6 and model 0x2c.
1899
da93d214
LM
19002010-11-10 Luis Machado <luisgpm@br.ibm.com>
1901
1902 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
1903 signed comparison.
1904
8ca52c6e
L
19052010-11-09 H.J. Lu <hongjiu.lu@intel.com>
1906
1907 [BZ #12205]
1908 * string/test-strncasecmp.c (check_result): New function.
1909 (do_one_test): Use it.
1910 (check1): New function.
1911 (test_main): Use it.
1912 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
1913 Support strcasecmp and strncasecmp.
1914
69da074d
UD
19152010-11-08 Ulrich Drepper <drepper@gmail.com>
1916
1917 [BZ #12194]
1918 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
1919 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1920
ff02d528
L
19212010-11-07 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
1924 IFUNC support.
1925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1926 memset-x86-64.
1927 * sysdeps/x86_64/multiarch/bzero.S: New file.
1928 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
1929 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
1930 * sysdeps/x86_64/multiarch/memset.S: New file.
1931 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
1932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1933 Set bit_Prefer_SSE_for_memop for Intel processors.
1934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
1935 Define.
1936 (index_Prefer_SSE_for_memop): Define.
1937 (HAS_PREFER_SSE_FOR_MEMOP): Define.
1938
344d0b54
LM
19392010-11-04 Luis Machado <luisgpm@br.ibm.com>
1940
1941 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
1942 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
1943
c0dde15b
UD
19442010-11-03 H.J. Lu <hongjiu.lu@intel.com>
1945
1946 [BZ #12191]
1947 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1948 (__x86_64_raw_data_cache_size_half): Likewise.
1949 (__x86_64_raw_shared_cache_size): Likewise.
1950 (__x86_64_raw_shared_cache_size_half): Likewise.
1951
1952 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1953 (__x86_64_raw_data_cache_size_half): Likewise.
1954 (__x86_64_raw_shared_cache_size): Likewise.
1955 (__x86_64_raw_shared_cache_size_half): Likewise.
1956 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
1957 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
1958 and __x86_64_raw_shared_cache_size_half. Round
1959 __x86_64_data_cache_size_half, __x86_64_data_cache_size
1960 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
1961 to multiple of 256 bytes.
1962
0e516e0e
MS
19632010-11-03 Ulrich Drepper <drepper@gmail.com>
1964
1965 [BZ #12167]
1966 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
1967 of inacessible symlinks. Verify result of symlink before returning it.
1968 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1969 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
1970
0e012e87
ER
19712010-10-28 Erich Ritz <erichritz@gmail.com>
1972
1973 * math/math.h (isinf): Fix typo in comment.
1974
de0ff7bc
UD
19752010-11-01 Ulrich Drepper <drepper@gmail.com>
1976
1977 * po/da.po: Update from translation team.
1978
fa41c84d
UD
19792010-10-26 Ulrich Drepper <drepper@gmail.com>
1980
1981 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
1982 is added to the list.
1983
f0967738
AK
19842010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1985 Ulrich Drepper <drepper@gmail.com>
1986
1987 * elf/dl-object.c (_dl_new_object): Don't append the new object to
1988 the global list here. Move code to...
1989 (_dl_add_to_namespace_list): ...here. New function.
1990 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
1991 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
1992 * elf/dl-load.c (lose): Don't remove the element from the list.
1993 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
1994 (_dl_map_object): Likewise.
1995
19962010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
1997
1998 [BZ #12159]
1999 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
2000 into all bytes of SSE register.
2001 Patch by Richard Li <richardpku@gmail.com>.
2002
f0967738 20032010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
2004
2005 [BZ #12140]
2006 * malloc/malloc.c (_int_free): Fill correct number of bytes when
2007 perturbing.
2008
d0b9e94f
MB
20092010-10-20 Michael B. Brutman <brutman@us.ibm.com>
2010
2011 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
2012 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
2013 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
2014 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
2016 submachine.
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
2018
8e9f92e9
AS
20192010-10-22 Andreas Schwab <schwab@redhat.com>
2020
2021 * include/dlfcn.h (__RTLD_SECURE): Define.
2022 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
2023 mode & __RTLD_SECURE instead.
2024 (open_path): Rename preloaded parameter to secure.
2025 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
2026 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
2027 * elf/dl-deps.c (openaux): Likewise.
2028 * elf/rtld.c (struct map_args): Remove is_preloaded.
2029 (map_doit): Don't use it.
2030 (dl_main): Likewise.
2031 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
2032 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
2033
bc96fbda
AS
20342010-09-09 Andreas Schwab <schwab@redhat.com>
2035
2036 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
2037 (sysd-rules-targets): Remove duplicates.
2038 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
2039 rtld-%.$o dependency.
2040
22cd1c9b
AS
20412010-10-18 Andreas Schwab <schwab@redhat.com>
2042
2043 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
2044 _dl_map_object do it.
2045
18edac48
UD
20462010-10-19 Ulrich Drepper <drepper@gmail.com>
2047
2048 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
2049 fast fma builtins, define the macros in the C99 standard.
2050 (FP_FAST_FMAF): Likewise.
2051 (FP_FAST_FMAL): Likewise.
2052 * sysdeps/x86_64/bits/mathdef.h: Likewise.
2053
2054 * bits/mathdef.h: Update copyright year.
2055 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2056
d2050124
MM
20572010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
2058
2059 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
2060 builtins, define the macros in the C99 standard.
2061 (FP_FAST_FMAF): Likewise.
2062 (FP_FAST_FMAL): Likewise.
2063 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
2064 multiply/add.
2065 (FP_FAST_FMAF): Likewise.
2066
475facd1
JJ
20672010-10-15 Jakub Jelinek <jakub@redhat.com>
2068
2069 [BZ #3268]
2070 * math/libm-test.inc (fma_test): Some new testcases.
2071 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
2072 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
2073 y and infinite z. Do multiplication by C already in long double.
2074 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
2075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
2076 y and infinite z. Do bitwise or of inexact bit into u.d.
2077 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
2078 * sysdeps/i386/fpu/s_fmaf.S: Removed.
2079 * sysdeps/i386/fpu/s_fma.S: Removed.
2080 * sysdeps/i386/fpu/s_fmal.S: Removed.
2081
7c08a05c
JJ
20822010-10-16 Jakub Jelinek <jakub@redhat.com>
2083
2084 [BZ #3268]
2085 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
2086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
2087 computation is not scheduled after fetestexcept. Fix value
2088 of minimum denormal long double.
2089
f3f7372d
JJ
20902010-10-14 Jakub Jelinek <jakub@redhat.com>
2091
2092 [BZ #3268]
2093 * math/libm-test.inc (fma_test): Add some more tests.
2094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
2095 correctly.
2096
14d43591
AS
20972010-10-15 Andreas Schwab <schwab@redhat.com>
2098
2099 * scripts/data/localplt-s390-linux-gnu.data: New file.
2100 * scripts/data/localplt-s390x-linux-gnu.data: New file.
2101
5e908464
JJ
21022010-10-13 Jakub Jelinek <jakub@redhat.com>
2103
2104 [BZ #3268]
2105 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
2106 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
2107 instead of dbl-64.
2108 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
2109 inlines.
2110 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
2111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
2112 if one of x and y is very large and the other is subnormal.
2113 * sysdeps/s390/fpu/s_fmaf.c: New file.
2114 * sysdeps/s390/fpu/s_fma.c: New file.
2115 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
2116 * sysdeps/powerpc/fpu/s_fma.S: New file.
2117 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
2118 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
2119 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
2120
21212010-10-12 Jakub Jelinek <jakub@redhat.com>
2122
2123 [BZ #3268]
2124 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
2125 fma tests.
2126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
2127 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
2128 * sysdeps/i386/i686/multiarch/s_fma.c: Include
2129 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
2130 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
2131 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
2133
b833d51f
UD
21342010-10-12 Ulrich Drepper <drepper@redhat.com>
2135
2136 [BZ #12078]
2137 * posix/regcomp.c (parse_branch): One more memory leak plugged.
2138 * posix/bug-regex31.input: Add test case.
2139
1751705d
UD
21402010-10-11 Ulrich Drepper <drepper@gmail.com>
2141
e9b9cbf5
UD
2142 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
2143 * posix/bug-regex31.input: New file.
2144
2145 [BZ #12078]
2146 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
2147 (parse_sub_exp): Fix last change, use postorder.
2148
ef06edbe
UD
2149 * posix/bug-regex31.c: New file.
2150 * posix/Makefile: Add rules to build and run bug-regex31.
2151
a129c80d
UD
2152 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
2153
2154 [BZ #12078]
2155 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
2156
b76b818e
UD
2157 [BZ #12108]
2158 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
2159 to have entries in sys_siglist.
2160
1751705d
UD
2161 [BZ #12093]
2162 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
2163 be NULL.
2164
9ff8d36f
JJ
21652010-10-07 Jakub Jelinek <jakub@redhat.com>
2166
2167 [BZ #3268]
2168 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
2169 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
2170 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
2171 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
2172 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2173 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
2174 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
2175 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
2176 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
2177 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
2178 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
2179 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
2180 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2181 * math/ftestexcept.c (fetestexcept): Likewise.
2182 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
2183 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2184 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2185 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
2186 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
2187 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
2188 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2189
af325969
UD
21902010-10-11 Ulrich Drepper <drepper@gmail.com>
2191
c579b202 2192 [BZ #12107]
af325969
UD
2193 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
2194 newline.
2195
67a67b95
UD
21962010-10-06 Ulrich Drepper <drepper@gmail.com>
2197
2198 * string/bug-strstr1.c: New file.
2199 * string/Makefile: Add rules to build and run bug-strstr1.
2200
5fb308bc
EB
22012010-10-05 Eric Blake <eblake@redhat.com>
2202
2203 [BZ #12092]
2204 * string/str-two-way.h (two_way_long_needle): Always clear memory
2205 when skipping input due to the shift table.
2206
45db99c7
UD
22072010-10-03 Ulrich Drepper <drepper@gmail.com>
2208
3b111893
UD
2209 [BZ #12005]
2210 * malloc/mcheck.c: Handle large requests.
2211
45db99c7
UD
2212 [BZ #12077]
2213 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
2214 for strncmp and strncasecmp.
2215 * string/stratcliff.c: Add tests for strcmp and strncmp.
2216 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
2217
cf7a1eb8
NI
22182010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2219
2220 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
2221 __set_fpscr.
2222
6484ba5e
AJ
22232010-09-30 Andreas Jaeger <aj@suse.de>
2224
2225 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
2226 (CGROUP_SUPER_MAGIC): Define.
2227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2228 Handle btrfs and cgroup file systems.
2229 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2230 Likewise.
2231
91c42559
LM
22322010-09-27 Luis Machado <luisgpm@br.ibm.com>
2233
2234 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
2235 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
2236
87a97932
AK
22372010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2238
2239 [BZ #12067]
2240 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
2241 trying to locate the ELF header.
2242
c21cc9bc
AS
22432010-09-27 Andreas Schwab <schwab@redhat.com>
2244
2245 [BZ #11611]
2246 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
2247 Mask out sign-bit copies when constructing f_fsid.
2248
315970f6
PB
22492010-09-24 Petr Baudis <pasky@suse.cz>
2250
2251 * debug/stack_chk_fail_local.c: Add missing licence exception.
2252 * debug/warning-nop.c: Likewise.
2253
1ac7a2c7
JM
22542010-09-15 Joseph Myers <joseph@codesourcery.com>
2255
2256 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
2257 implementing getdents64 using getdents syscall, set d_type if
2258 __ASSUME_GETDENTS32_D_TYPE.
2259
56801c50
AS
22602010-09-16 Andreas Schwab <schwab@redhat.com>
2261
2262 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
2263 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
2264
dda51327
UD
22652010-09-21 Ulrich Drepper <drepper@redhat.com>
2266
2267 [BZ #12037]
2268 * posix/unistd.h: Undo change of feature selection for ftruncate from
2269 2010-01-11.
2270
8ffcee4a
UD
22712010-09-20 Ulrich Drepper <drepper@redhat.com>
2272
a545ecd9 2273 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
2274 detection.
2275
e24f0a8b
AS
22762010-09-20 Andreas Schwab <schwab@redhat.com>
2277
2278 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2279 fanotify_mark.
2280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2281
7291c56f
AS
22822010-09-14 Andreas Schwab <schwab@redhat.com>
2283
2284 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
2285 variables after CHECK_SP call.
2286 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
2287
bc5fb037
AS
22882010-09-13 Andreas Schwab <schwab@redhat.com>
2289 Ulrich Drepper <drepper@redhat.com>
2290
2291 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
2292 re-relocationg ld.so.
2293 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
2294 _dl_init_paths call.
2295 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
2296 here anymore.
2297
e66e7419
UD
22982010-09-14 Ulrich Drepper <drepper@redhat.com>
2299
2300 * resolv/res_init.c (__res_vinit): Count the default server we added.
2301
c044aa75
CLT
23022010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
2303 Ulrich Drepper <drepper@redhat.com>
2304
2305 [BZ #11968]
2306 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2307 (____longjmp_chk): Use %ebx for saving value across system call.
2308 Add unwind info.
2309
32cf4069
AS
23102010-09-06 Andreas Schwab <schwab@redhat.com>
2311
2312 * manual/Makefile: Don't mix pattern rules with normal rules.
2313
817328ee
AS
23142010-09-05 Andreas Schwab <schwab@linux-m68k.org>
2315
2316 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
2317 operation.
2318 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2319 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2320 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2321 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2322 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2323 Likewise.
2324
29fddf61
UD
23252010-09-04 Ulrich Drepper <drepper@redhat.com>
2326
2327 [BZ #11979]
2328 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
2329 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
2330
0959ffc9
UD
23312010-09-02 Ulrich Drepper <drepper@redhat.com>
2332
2333 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
2334 * sysdeps/x86_64/addmul_1.S: Likewise.
2335 * sysdeps/x86_64/lshift.S: Likewise.
2336 * sysdeps/x86_64/mul_1.S: Likewise.
2337 * sysdeps/x86_64/rshift.S: Likewise.
2338 * sysdeps/x86_64/sub_n.S: Likewise.
2339 * sysdeps/x86_64/submul_1.S: Likewise.
2340
ece29840
ST
23412010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2342
0959ffc9
UD
2343 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
2344 Define __sched_param instead of SCHED_* and sched_param when
ece29840 2345 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 2346 * bits/sched.h [__need_schedparam]
ece29840 2347 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
2348 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
2349 (__defined_schedparam): Define to 1.
ece29840
ST
2350 (__sched_param): New structure, identical to sched_param.
2351 (__need_schedparam): Undefine.
2352
e53a31fe
MF
23532010-08-31 Mike Frysinger <vapier@gentoo.org>
2354
fdc0c10d
MF
2355 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
2356 (epoll_create1): Declare.
2357
e53a31fe
MF
2358 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
2359
a726d796
AS
23602010-08-31 Andreas Schwab <schwab@redhat.com>
2361
2362 [BZ #7066]
2363 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
2364 shifting retval into place.
2365
2f3e3dc7
UD
23662010-09-01 Ulrich Drepper <drepper@redhat.com>
2367
f2933da9
UD
2368 * nis/rpcsvc/nis.h: Update copyright notice.
2369 * nis/rpcsvc/nis.x: Likewise.
2370 * nis/rpcsvc/nis_callback.h: Likewise.
2371 * nis/rpcsvc/nis_callback.x: Likewise.
2372 * nis/rpcsvc/nis_object.x: Likewise.
2373 * nis/rpcsvc/nis_tags.h: Likewise.
2374 * nis/rpcsvc/yp.h: Likewise.
2375 * nis/rpcsvc/yp.x: Likewise.
2376 * nis/rpcsvc/ypupd.h: Likewise.
2377 * nis/yp_xdr.c: Likewise.
2378 * nis/ypupdate_xdr.c: Likewise.
2379
2f3e3dc7
UD
2380 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
2381 mainly the body of pmap_getport. Add parameters to specify timeouts.
2382 (pmap_getport): Use __libc_rpc_getport.
2383 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
2384 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
2385 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
2386
f3dcc2f9
AS
23872010-08-31 Andreas Schwab <schwab@linux-m68k.org>
2388
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
2390 fanotify_mark.
2391
6d34eb5b
RM
23922010-08-27 Roland McGrath <roland@redhat.com>
2393
2394 * sysdeps/i386/i686/multiarch/Makefile
2395 (CFLAGS-varshift.c): New variable.
2396
9ea3de11
UD
23972010-08-27 Ulrich Drepper <drepper@redhat.com>
2398
c96d23fc
UD
2399 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
2400 * sysdeps/i386/i686/multiarch/varshift.c: New file.
2401
9ea3de11
UD
2402 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
2403
2404 * sysdeps/x86_64/strlen.S: Minimal code improvement.
2405
623aac7f
L
24062010-08-26 H.J. Lu <hongjiu.lu@intel.com>
2407
2408 * sysdeps/x86_64/strlen.S: Unroll the loop.
2409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2410 strlen-sse2 strlen-sse2-bsf.
2411 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
2412 __strlen_no_bsf if bit_Slow_BSF is set.
2413 (__strlen_sse42): Removed.
2414 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
2415 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
2416
8b2b7715
RM
24172010-08-25 Roland McGrath <roland@redhat.com>
2418
2419 * sysdeps/x86_64/multiarch/varshift.S: File removed.
2420 * sysdeps/x86_64/multiarch/varshift.c: New file.
2421 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
2422 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
2423 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
2424 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2425
e73015f2
L
24262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
2427
2428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2429 strlen-sse2 strlen-sse2-bsf.
2430 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
2431 __strlen_sse2_bsf if bit_Slow_BSF is unset.
2432 (__strlen_sse2): Removed.
2433 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
2434 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
2435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2436 bit_Slow_BSF for Atom.
2437 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
2438 (index_Slow_BSF): Define.
2439 (HAS_SLOW_BSF): Define.
2440
df24a73e
UD
24412010-08-25 Ulrich Drepper <drepper@redhat.com>
2442
2443 [BZ #10851]
2444 * resolv/res_init.c (__res_vinit): When no server address at all
2445 is given default to loopback.
2446
f2ac4868
RM
24472010-08-24 Roland McGrath <roland@redhat.com>
2448
09055553
RM
2449 * configure.in: Remove config-name.h generation.
2450 * configure: Regenerated.
2451 * config-name.in: File removed.
2452 * scripts/config-uname.sh: New file.
2453 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
2454 ($(objdir)config-name.h): New target.
2455
f2ac4868
RM
2456 * sunrpc/rpc_parse.h: Avoid nested comment.
2457
73f27d5e
RH
24582010-08-24 Richard Henderson <rth@redhat.com>
2459 Ulrich Drepper <drepper@redhat.com>
2460 H.J. Lu <hongjiu.lu@intel.com>
2461
2462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
2463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
2464 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
2465 Replace _mm_srli_si128 with __m128i_shift_right. Replace
2466 _mm_alignr_epi8 with _mm_loadu_si128.
2467 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
2468 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
2469 (__m128i_shift_right): Removed.
2470 * sysdeps/i386/i686/multiarch/varshift.h: New file.
2471 * sysdeps/i386/i686/multiarch/varshift.S: New file.
2472 * sysdeps/x86_64/multiarch/varshift.h: New file.
2473 * sysdeps/x86_64/multiarch/varshift.S: New file.
2474
84b9230c
MF
24752010-08-21 Mike Frysinger <vapier@gentoo.org>
2476
2477 * configure.in: Move assembler checks to before sysdep dir checking.
2478
9bbd0ddc
PB
24792010-08-20 Petr Baudis <pasky@suse.cz>
2480
2481 * LICENSES: Sync the sunrpc license.
2482
9da4bb31
UD
24832010-08-19 Ulrich Drepper <drepper@redhat.com>
2484
a7ab6ec8
UD
2485 * sunrpc/auth_des.c: Update copyright notice once again.
2486 * sunrpc/auth_none.c: Likewise.
2487 * sunrpc/auth_unix.c: Likewise.
2488 * sunrpc/authdes_prot.c: Likewise.
2489 * sunrpc/authuxprot.c: Likewise.
2490 * sunrpc/bindrsvprt.c: Likewise.
2491 * sunrpc/clnt_gen.c: Likewise.
2492 * sunrpc/clnt_perr.c: Likewise.
2493 * sunrpc/clnt_raw.c: Likewise.
2494 * sunrpc/clnt_simp.c: Likewise.
2495 * sunrpc/clnt_tcp.c: Likewise.
2496 * sunrpc/clnt_udp.c: Likewise.
2497 * sunrpc/clnt_unix.c: Likewise.
2498 * sunrpc/des_crypt.c: Likewise.
2499 * sunrpc/des_soft.c: Likewise.
2500 * sunrpc/get_myaddr.c: Likewise.
2501 * sunrpc/getrpcport.c: Likewise.
2502 * sunrpc/key_call.c: Likewise.
2503 * sunrpc/key_prot.c: Likewise.
2504 * sunrpc/openchild.c: Likewise.
2505 * sunrpc/pm_getmaps.c: Likewise.
2506 * sunrpc/pm_getport.c: Likewise.
2507 * sunrpc/pmap_clnt.c: Likewise.
2508 * sunrpc/pmap_prot.c: Likewise.
2509 * sunrpc/pmap_prot2.c: Likewise.
2510 * sunrpc/pmap_rmt.c: Likewise.
2511 * sunrpc/rpc/auth.h: Likewise.
2512 * sunrpc/rpc/auth_unix.h: Likewise.
2513 * sunrpc/rpc/clnt.h: Likewise.
2514 * sunrpc/rpc/des_crypt.h: Likewise.
2515 * sunrpc/rpc/key_prot.h: Likewise.
2516 * sunrpc/rpc/netdb.h: Likewise.
2517 * sunrpc/rpc/pmap_clnt.h: Likewise.
2518 * sunrpc/rpc/pmap_prot.h: Likewise.
2519 * sunrpc/rpc/pmap_rmt.h: Likewise.
2520 * sunrpc/rpc/rpc.h: Likewise.
2521 * sunrpc/rpc/rpc_des.h: Likewise.
2522 * sunrpc/rpc/rpc_msg.h: Likewise.
2523 * sunrpc/rpc/svc.h: Likewise.
2524 * sunrpc/rpc/svc_auth.h: Likewise.
2525 * sunrpc/rpc/types.h: Likewise.
2526 * sunrpc/rpc/xdr.h: Likewise.
2527 * sunrpc/rpc_clntout.c: Likewise.
2528 * sunrpc/rpc_cmsg.c: Likewise.
2529 * sunrpc/rpc_common.c: Likewise.
2530 * sunrpc/rpc_cout.c: Likewise.
2531 * sunrpc/rpc_dtable.c: Likewise.
2532 * sunrpc/rpc_hout.c: Likewise.
2533 * sunrpc/rpc_main.c: Likewise.
2534 * sunrpc/rpc_parse.c: Likewise.
2535 * sunrpc/rpc_parse.h: Likewise.
2536 * sunrpc/rpc_prot.c: Likewise.
2537 * sunrpc/rpc_sample.c: Likewise.
2538 * sunrpc/rpc_scan.c: Likewise.
2539 * sunrpc/rpc_scan.h: Likewise.
2540 * sunrpc/rpc_svcout.c: Likewise.
2541 * sunrpc/rpc_tblout.c: Likewise.
2542 * sunrpc/rpc_util.c: Likewise.
2543 * sunrpc/rpc_util.h: Likewise.
2544 * sunrpc/rpcinfo.c: Likewise.
2545 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
2546 * sunrpc/rpcsvc/key_prot.x: Likewise.
2547 * sunrpc/rpcsvc/klm_prot.x: Likewise.
2548 * sunrpc/rpcsvc/mount.x: Likewise.
2549 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
2550 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
2551 * sunrpc/rpcsvc/rex.x: Likewise.
2552 * sunrpc/rpcsvc/rstat.x: Likewise.
2553 * sunrpc/rpcsvc/rusers.x: Likewise.
2554 * sunrpc/rpcsvc/sm_inter.x: Likewise.
2555 * sunrpc/rpcsvc/spray.x: Likewise.
2556 * sunrpc/rpcsvc/yppasswd.x: Likewise.
2557 * sunrpc/rtime.c: Likewise.
2558 * sunrpc/svc.c: Likewise.
2559 * sunrpc/svc_auth.c: Likewise.
2560 * sunrpc/svc_authux.c: Likewise.
2561 * sunrpc/svc_raw.c: Likewise.
2562 * sunrpc/svc_run.c: Likewise.
2563 * sunrpc/svc_simple.c: Likewise.
2564 * sunrpc/svc_tcp.c: Likewise.
2565 * sunrpc/svc_udp.c: Likewise.
2566 * sunrpc/svc_unix.c: Likewise.
2567 * sunrpc/svcauth_des.c: Likewise.
2568 * sunrpc/xcrypt.c: Likewise.
2569 * sunrpc/xdr.c: Likewise.
2570 * sunrpc/xdr_array.c: Likewise.
2571 * sunrpc/xdr_float.c: Likewise.
2572 * sunrpc/xdr_mem.c: Likewise.
2573 * sunrpc/xdr_rec.c: Likewise.
2574 * sunrpc/xdr_ref.c: Likewise.
2575 * sunrpc/xdr_sizeof.c: Likewise.
2576 * sunrpc/xdr_stdio.c: Likewise.
2577
9da4bb31
UD
2578 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
2579 handling.
2580
bdaa77bc
AS
25812010-08-19 Andreas Schwab <schwab@redhat.com>
2582
2583 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
2584
fe2f79db
LM
25852010-08-19 Luis Machado <luisgpm@br.ibm.com>
2586
2587 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
2588 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
2589 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
2590 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
2591 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
2592 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
2593 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
2594 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
2595 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
2596 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
2597 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
2598 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
2599 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
2600 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
2601
b9b42ee0
AB
26022010-07-26 Anton Blanchard <anton@samba.org>
2603
2604 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
2605 * malloc/arena.c (heap_trim): Likewise.
2606
1c06ba31
UD
26072010-08-16 Ulrich Drepper <drepper@redhat.com>
2608
2609 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
2610 here. Not...
2611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
2612 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
2613
f8392f40
L
26142010-08-12 H.J. Lu <hongjiu.lu@intel.com>
2615
2616 * sysdeps/i386/elf/Makefile: New file.
2617
3162f12e
AS
26182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2619
2620 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
2621 from fanotify_init.
2622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2623 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2624
28c90b2c
UD
26252010-08-15 Ulrich Drepper <drepper@redhat.com>
2626
2627 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
2628 of strncasecmp_l.
1feccb6c 2629 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 2630
ca6bb004
UD
26312010-08-14 Ulrich Drepper <drepper@redhat.com>
2632
e9f82e0d
UD
2633 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2634 strncase_l-nonascii.
2635 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2636 Add strncase_l-ssse3.
2637 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
2638 * sysdeps/x86_64/strcmp.S: Likewise.
2639 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
2640 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
2641 * sysdeps/x86_64/strncase.S: New file.
2642 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
2643 * sysdeps/x86_64/strncase_l.S: New file.
2644 * string/Makefile (strop-tests): Add strncasecmp.
2645 * string/test-strncasecmp.c: New file.
2646
2647 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
2648 warning.
2649
ca6bb004
UD
2650 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
2651 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
2652
052fa7b3
AS
26532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2654
2655 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
2656
962dba78
UD
26572010-08-12 Ulrich Drepper <drepper@redhat.com>
2658
2659 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
2660 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2661 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2662
bebff237
AM
26632010-05-01 Alan Modra <amodra@gmail.com>
2664
2665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
2666 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
2667 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
2668 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
2669 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
2670 tidying. Don't tail-call __sigjmp_save for static lib.
2671 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
2672 save location.
2673 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
2674 (CALL_MCOUNT): Add eh info, and nop after bl.
2675 (TAIL_CALL_SYSCALL_ERROR): New macro.
2676 (PSEUDO_RET): Use it.
2677 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2678 Correct save location of integer regs and cr.
2679 (_dl_profile_resolve): Correct cr save location. Delete nops
2680 after bl when SHARED. Reduce cfi size a little by better
2681 placement of cfi directives.
2682 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
2683 make a stack frame. Instead use parm save area as a temp.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
2685 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2687 Don't make a stack frame for parent, use parm save area.
2688 Increase child stack frame to 112 bytes. Don't save unused reg,
2689 and adjust reg usage. Set up cfi on error recovery and
2690 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2692 (__makecontext): Add dummy nop after jump to exit.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
2694 Use correct parm save area and cr save, reduce stack frame.
2695 Correct cfi for possible PSEUDO_RET frame setup.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
2697 Branch to local label emitted by PSEUDO_RET rather than
2698 __syscall_error.
2699
02637374
AS
27002010-08-12 Andreas Schwab <schwab@redhat.com>
2701
2702 [BZ #11904]
2703 * locale/programs/locale.c (print_assignment): New function.
2704 (show_locale_vars): Use it.
2705
c3e2f19b
UD
27062010-08-11 Ulrich Drepper <drepper@redhat.com>
2707
3cdaa6ad
UD
2708 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
2709 field.
2710 (struct statfs64): Likewise.
2711 (_STATFS_F_FLAGS): Define.
2712 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
2713 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2714 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
2715 (ST_VALID): Define locally.
2716 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
2717 __statvfs_getflags, use the provided value.
2718 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2719 __ASSUME_STATFS_F_FLAGS.
2720
754f7da3
UD
2721 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
2722
10b3bedc
UD
2723 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2724 Add sys/fanotify.h.
2725 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
2726 fanotify_mask for GLIBC_2.13.
2727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
2728 fanotify_init and fanotify_mark.
2729 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2730 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
2731
c08fb0d7
UD
2732 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
2733 Add prlimit.
2734 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
2735 prlimit64 for GLIBC_2.13.
2736 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
2737 prlimit64.
2738 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
2739 syscall.
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
2741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2742 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
2743 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
2744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
2745 add prlimit alias.
2746 * sysdeps/unix/sysv/linux/prlimit.c: New file.
2747
15bac72b
UD
2748 [BZ #11903]
2749 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
2750 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
2751
c3e2f19b
UD
2752 * nss/Makefile: Add rules to build and run tst-nss-test1.
2753 * shlib-versions: Add entry for libnss_test1.
2754 * nss/nss_test1.c: New file.
2755 * nss/tst-nss-test1.c: New file.
2756
2757 * nss/nsswitch.c (__nss_database_custom): Define new variable.
2758 (__nss_configure_lookup): Set appropriate entry in
2759 __nss_configure_lookup to true.
2760 * nss/nsswitch.h: Define enum with indeces of databases in
2761 databases and __nss_database_custom arrays. Declare
2762 __nss_database_custom.
2763 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
2764 to avoid using nscd when custom rules are installed.
2765 * nss/getXXbyYY_r.c: Likewise.
2766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2767
2768 * nss/nss_files/files-parse.c: Whitespace fixes.
2769
f15ce4d8
UD
27702010-08-09 Ulrich Drepper <drepper@redhat.com>
2771
2772 [BZ #11883]
2773 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
2774 * posix/fnmatch_loop.c: Likewise.
2775
d22e4cc9
AK
27762010-07-17 Andi Kleen <ak@linux.intel.com>
2777
2778 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
2779 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
2780 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
2781 * Versions.def [GLIBC_2.13]: Add.
2782
805bc17d
UD
27832010-08-06 Ulrich Drepper <drepper@redhat.com>
2784
2785 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2786 Also fail if tpwd after pwuid call is NULL.
2787
5a42321d
ST
27882010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
2789
2790 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
2791 when converting to ms.
2792
fd3ebeda
ST
27932010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2794
2795 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
2796 EOPNOTSUPP errors with ENOTTY.
2797 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
2798 EOPNOTSUPP errors with ENOTTY.
2799
73507d3a
UD
28002010-07-31 Ulrich Drepper <drepper@redhat.com>
2801
2802 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2803 Add strcasecmp_l-ssse3.
2804 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
2805 strcasecmp.
2806 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
2807 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
2808 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
2809
fe36dd02
UD
28102010-07-30 Ulrich Drepper <drepper@redhat.com>
2811
66f6765a
UD
2812 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
2813
42e08a54
UD
2814 * string/Makefile (strop-tests): Add strcasecmp.
2815 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2816 strcasecmp_l-nonascii.
2817 (gen-as-const-headers): Add locale-defines.sym.
2818 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
2819 * sysdeps/x86_64/strcasecmp.S: New file.
2820 * sysdeps/x86_64/strcasecmp_l.S: New file.
2821 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
2822 * sysdeps/x86_64/locale-defines.sym: New file.
2823 * string/test-strcasecmp.c: New file.
2824
fe36dd02
UD
2825 * string/test-strcasestr.c: Test both ends of the range of characters.
2826 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
2827
48cbc0d6
RM
28282010-07-29 Roland McGrath <roland@redhat.com>
2829
76e6d6bc 2830 [BZ #11856]
48cbc0d6
RM
2831 * manual/locale.texi (Yes-or-No Questions): Fix example code.
2832
880113d9
UD
28332010-07-27 Ulrich Drepper <drepper@redhat.com>
2834
2835 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
2836 for ld.so.
2837
deb9cabb
AS
28382010-07-27 Andreas Schwab <schwab@redhat.com>
2839
2840 * manual/memory.texi (Malloc Tunable Parameters): Document
2841 M_PERTURB.
2842
1c7570ff
RM
28432010-07-26 Roland McGrath <roland@redhat.com>
2844
2845 [BZ #11840]
2846 * configure.in (-fgnu89-inline check): Set and substitute
2847 gnu89_inline, not libc_cv_gnu89_inline.
2848 * configure: Regenerated.
2849 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
2850
24fb0f88
UD
28512010-07-26 Ulrich Drepper <drepper@redhat.com>
2852
2853 * string/test-strnlen.c: New file.
2854 * string/Makefile (strop-tests): Add strnlen.
2855 * string/tester.c (test_strnlen): Add a few more test cases.
2856 * string/tst-strlen.c: Better error reporting.
2857
2858 * sysdeps/x86_64/strnlen.S: New file.
2859
8e96b93a
UD
28602010-07-24 Ulrich Drepper <drepper@redhat.com>
2861
2862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
2863 lower-latency instructions.
2864
dbc676d4
UD
28652010-07-23 Ulrich Drepper <drepper@redhat.com>
2866
2867 * string/test-strcasestr.c: New file.
2868 * string/test-strstr.c: New file.
2869 * string/Makefile (strop-tests): Add strstr and strcasestr.
2870 * string/str-two-way.h: Don't undefine MAX.
2871 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
2872
f6a31e0e
AS
28732010-07-21 Andreas Schwab <schwab@redhat.com>
2874
2875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2876 strcasestr-nonascii.
2877 (CFLAGS-strcasestr-nonascii.c): Define.
2878 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
2879 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
2880 Remove unused attribute.
2881
5dbc3b6c
RM
28822010-07-20 Roland McGrath <roland@redhat.com>
2883
2884 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
2885 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
2886 ld.so.cache was broken. With it, there is no way to disable dsocaps
2887 like LD_HWCAP_MASK can disable hwcaps.
2888
23d101d8
EPM
28892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2890
2891 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
2892
cc9f2e47
UD
28932010-07-16 Ulrich Drepper <drepper@redhat.com>
2894
2895 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
2896 call in strcasestr.
2897 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
2898 __strcasestr_sse42_nonascii.
2899 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
2900 strcasestr-nonascii.c.
2901 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
2902
77c1b069
LM
29032010-06-15 Luis Machado <luisgpm@br.ibm.com>
2904
2905 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
2906 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
2907 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
2908 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
2909
440566c3
UD
29102010-07-09 Ulrich Drepper <drepper@redhat.com>
2911
2912 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
2913 fcntl.
2914
5be9d05d
AS
29152010-07-06 Andreas Schwab <schwab@redhat.com>
2916
c30b7ee2 2917 [BZ #11577]
5be9d05d
AS
2918 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
2919 dl_signal_cerror.
2920
8a492a67
UD
29212010-07-06 Ulrich Drepper <drepper@redhat.com>
2922
2923 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
2924 _PC_PIPE_BUF using F_GETPIPE_SZ.
2925
713df3d5
RM
29262010-07-05 Roland McGrath <roland@redhat.com>
2927
2928 * manual/arith.texi (Rounding Functions): Fix rint description
2929 implicit in round description.
2930
702e8f14
UD
29312010-07-02 Ulrich Drepper <drepper@redhat.com>
2932
2933 * elf/Makefile: Fix linking for a few tests to make recent linker
2934 happy.
2935
52ed8be9
AS
29362010-06-30 Andreas Schwab <schwab@redhat.com>
2937
2938 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2939 $(common-objpfx)libc_nonshared.a.
2940
f47c9a11
LM
29412010-06-21 Luis Machado <luisgpm@br.ibm.com>
2942
2943 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
2944 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
2945 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2946 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2947 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
2948 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
2949 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2950 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
2954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
2956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
2960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
2961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
2963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
2965 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
2966 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
2967 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
2968 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
2969 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
2970 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
2971 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
2972 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
2973 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
2974 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
2975 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
2976 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
2978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
2980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
2981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
2982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
2983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
2985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
2987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
2988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
2989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
2990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
2991
6fb8cbcb
L
29922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
2995 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
2996 * string/memmove.c (memmove): Renamed to ...
2997 (MEMMOVE): ...this. Default to memmove.
2998 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
2999 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
3000 (END_CHK): Define.
3001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3002 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
3003 mempcpy-ssse3-back memmove-ssse3-back.
3004 * sysdeps/x86_64/multiarch/bcopy.S: New file .
3005 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
3006 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
3007 * sysdeps/x86_64/multiarch/memcpy.S: New file.
3008 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
3009 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
3010 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
3011 * sysdeps/x86_64/multiarch/memmove.c: New file.
3012 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
3013 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
3014 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
3015 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
3016 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
3017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
3018 Define.
3019 (index_Fast_Copy_Backward): Define.
3020 (HAS_ARCH_FEATURE): Define.
3021 (HAS_FAST_REP_STRING): Define.
3022 (HAS_FAST_COPY_BACKWARD): Define.
3023
4e733bac 30242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
3025
3026 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3027 Restore proper fallback handling.
3028
63c4ed22
UD
30292010-06-19 Ulrich Drepper <drepper@redhat.com>
3030
ac2b484c
UD
3031 [BZ #11701]
3032 * posix/group_member.c (__group_member): Correct checking loop.
3033
63c4ed22
UD
3034 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
3035 OOM in getpwuid_r correctly. Return error number when the caller
3036 should return, otherwise -1.
3037 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
3038 call returning > 0 value.
3039 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
3040
765ade4b
AS
30412010-06-07 Andreas Schwab <schwab@redhat.com>
3042
3043 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
3044 libc_nonshared.a from targets in modules-names.
3045
80da2e09
KS
30462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
3047
3048 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
3049 requires it.
3050
158db122
LM
30512010-06-10 Luis Machado <luisgpm@br.ibm.com>
3052
3053 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
3054 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
3055 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
3056 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
3057
caa78cf8
AS
30582010-06-02 Andreas Schwab <schwab@redhat.com>
3059
3060 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
3061
b2ef2c01
UD
30622010-06-14 Ulrich Drepper <drepper@redhat.com>
3063
3064 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
3065 and F_GETPIPE_SZ.
3066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3067 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
3072
fbd643b6
RM
30732010-06-14 Roland McGrath <roland@redhat.com>
3074
3075 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
3076
f32f2869
JJ
30772010-06-07 Jakub Jelinek <jakub@redhat.com>
3078
3079 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
3080 __REDIRECT followed by __THROW.
3081 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
3082 * posix/getopt.h (getopt): Likewise.
3083
2a50c078
EPM
30842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
3085
3086 * hurd/lookup-at.c (__file_name_lookup_at): Accept
3087 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
3088 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
3089 in AT_FLAGS.
3090 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
3091 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
3092
eb5ad2eb
LM
30932010-05-28 Luis Machado <luisgpm@br.ibm.com>
3094
3095 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
3096
3c88fe1e
L
30972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
3098
3099 [BZ #11640]
3100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3101 Properly check family and model.
3102
d2f73151
TY
31032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
3104
3105 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
3106
ebd2e13d
LM
31072010-05-24 Luis Machado <luisgpm@br.ibm.com>
3108
3109 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
3110
b32b8b45
UD
31112010-05-21 Ulrich Drepper <drepper@redhat.com>
3112
3113 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
3114 symbol reference.
3115
9acbe24d
AS
31162010-05-19 Andreas Schwab <schwab@redhat.com>
3117
3118 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
3119 symbol reference.
3120
f0ccf6ea
AS
31212010-05-21 Andreas Schwab <schwab@redhat.com>
3122
3d04ff3a
AS
3123 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
3124 and internal_recvmmsg.
3125 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
3126 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
3127 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
3128 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
3129
f0ccf6ea
AS
3130 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
3131 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3132 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3133
5b08ac57
AS
31342010-05-20 Andreas Schwab <schwab@redhat.com>
3135
3136 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
3137
4828935d
LM
31382010-05-17 Luis Machado <luisgpm@br.ibm.com>
3139
3140 POWER7 optimizations.
3141 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
3142 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
3143
373d545e
UD
31442010-05-19 Ulrich Drepper <drepper@redhat.com>
3145
3146 * version.h: Update for 2.13 development version.
3147
21a2b1ae
AS
31482010-05-12 Andrew Stubbs <ams@codesourcery.com>
3149
3150 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
3151 exceptions. Return 0.
3152
3f7dcb2b
RM
31532010-05-07 Roland McGrath <roland@redhat.com>
3154
3155 * elf/ldconfig.c (main): Add a const.
3156
5f24d53a 31572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 3158
a160f8d8
UD
3159 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
3160 (args_options): Add no-idn option.
3161 (ahosts_keys_int): Add idn_flags to ai_flags.
3162 (parse_option): Handle 'i' option to clear idn_flags.
3163
5f24d53a
UD
3164 * malloc/malloc.c (_int_free): Possible race in the most recently
3165 added check. Only act on the data if no current modification
3166 happened.
265bb1ce
UD
3167
3168See ChangeLog.17 for earlier changes.