forked from lattera/glibc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.17
15228 lines (11582 loc) · 537 KB
/
ChangeLog.17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2010-05-04 Andreas Schwab <[email protected]>
* posix/regexec.c (find_collation_sequence_value): Fix skipping
the wide char sequence of the collating element.
2010-05-05 Ulrich Drepper <[email protected]>
[BZ #11571]
* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
too small buffers according to the standard.
* sysdeps/unix/sysv/linux/kernel-features.h: Alpha doesn't have to be
handled here anymore.
Patch mostly by Matt Turner <[email protected]>.
2010-05-03 Ulrich Drepper <[email protected]>
* version.h (VERSION): Bump for 2.12 release.
* include/features.h (__GLIBC_MINOR__): Bump to 12.
[BZ #11149]
* elf/ldconfig.c (search_dir): Fix handling of symlinks in chroot.
* elf/chroot_canon.c (chroot_canon): Use xmalloc and xrealloc.
* elf/ldconfig.c (parse_conf_include): Don't fall back to
directories named in config file outside the chroot.
2010-02-02 Andreas Schwab <[email protected]>
* sysdeps/generic/ldsodefs.h (struct rtld_global): Add
_dl_load_write_lock.
* elf/rtld.c (_rtld_global): Initialize it.
* elf/dl-support.c (_dl_load_write_lock): Define .
* elf/dl-close.c (_dl_close_worker): Lock GL(dl_load_write_lock)
when modifying the list of loaded objects.
* elf/dl-load.c (lose): Likewise.
* elf/dl-object.c (_dl_new_object): Likewise.
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Lock
GL(dl_load_write_lock) instead of GL(dl_load_lock).
2010-05-03 Ulrich Drepper <[email protected]>
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Remove unnecessary
assignment.
2010-05-02 Ulrich Drepper <[email protected]>
* misc/mntent_r.c (encode_name): The slow loop handles newlines so we
should recognize them as an abort condition.
Patch by Jan Lieskovsky <[email protected]>.
2010-04-25 Bruno Haible <[email protected]>
[BZ #11538]
* sysdeps/unix/bsd/ptsname.c (__ptsname_r): Use __ttyname_r's return
value instead of errno.
* sysdeps/unix/getlogin.c (getlogin): Likewise.
[BZ #11537]
* sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Upon failure, return
errno, not -1.
2010-04-24 Emilio Pozuelo Monfort <[email protected]>
* hurd/lookup-at.c (__file_name_lookup_at): Fix error return value.
2010-04-22 Ulrich Drepper <[email protected]>
* po/vi.po: Update from translation team.
2010-04-21 Ulrich Drepper <[email protected]>
* po/bg.po: Update from translation team.
2010-04-19 Roland McGrath <[email protected]>
* elf/Makefile ($(objpfx)noload): Depend on libdl.so.
* Makeconfig (as-needed, no-as-needed): New variables.
(link-libc): Add ld.so inside --as-needed.
* stdio-common/tst-fmemopen.c (TEST_FILE): Macro removed.
(main): Take arguments. Construct test file name from ARGV[0].
2010-04-15 H.J. Lu <[email protected]>
* string/test-strncmp.c (check_result): New function.
(do_one_test): Use it.
(check1): New function.
(test_main): Use it.
* sysdeps/i386/i686/multiarch/strcmp-sse4.S (crosspage): Properly
update source and destination.
* sysdeps/i386/i686/multiarch/strcmp-ssse3.S (gobble_ashr_12):
Properly check and update counter.
2010-04-14 H.J. Lu <[email protected]>
* sysdeps/x86_64/elf/configure.in: Move AVX test to ....
* sysdeps/i386/configure.in: ...here.
* sysdeps/i386/i686/multiarch/Makefile (libm-sysdep_routines): Define.
(CFLAGS-s_fma-fma.c): Define.
(CFLAGS-s_fmaf-fma.c): Define.
* sysdeps/i386/i686/multiarch/Versions: New file.
* sysdeps/i386/i686/multiarch/s_fma-fma.c: New file.
* sysdeps/i386/i686/multiarch/s_fma.c: New file.
* sysdeps/i386/i686/multiarch/s_fmaf-fma.c: New file.
* sysdeps/i386/i686/multiarch/s_fmaf.c: New file.
* sysdeps/x86_64/multiarch/memcmp-sse4.S: Check
DATA_CACHE_SIZE_HALF instead of SHARED_CACHE_SIZE_HALF.
2010-04-14 Andreas Schwab <[email protected]>
* elf/dl-version.c (_dl_check_map_versions): Avoid index overflow
when dependencies are missing.
2010-04-14 H.J. Lu <[email protected]>
* sysdeps/x86_64/multiarch/memcmp-sse4.S: Optimized for unaligned
data.
2010-04-12 H.J. Lu <[email protected]>
* sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
memcmp-sse4.
* sysdeps/x86_64/multiarch/memcmp-sse4.S: New file.
* sysdeps/x86_64/multiarch/memcmp.S: New file.
* sysdeps/x86_64/multiarch/rtld-memcmp.c: New file.
2010-04-13 Ulrich Drepper <[email protected]>
* sysdeps/x86_64/multiarch/init-arch.h: Pretty printing.
Add SSE 4.1 macros.
2010-04-10 Matt Fleming <[email protected]>
* elf/elf.h: Add SH specific ELF header flags.
2010-04-13 Andreas Schwab <[email protected]>
* sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Fix setup of
overflow area.
* sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise.
2010-04-12 Andreas Schwab <[email protected]>
* stdlib/tst-makecontext3.c (main): Initialize ucontext_t objects
only with getcontext. Test for unimplemented makecontext by
checking errno.
2010-04-09 Ulrich Drepper <[email protected]>
* nscd/aicache.c (addhstaiX): Correct passing memory to address
list to gethostbyname4_r functions.
* resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Optimize
copying of h_name.
2010-04-09 Roland McGrath <[email protected]>
* Makerules ($(common-objpfx)libc-abis.h): Depend on libc-abis.stamp.
($(common-objpfx)libc-abis.stamp): New target, rule moved from
libc-abis.h target. Use a stamp file to avoid repeating no-op
move-if-change on every run.
* posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`.
2010-04-08 Ulrich Drepper <[email protected]>
[BZ #10915]
* nscd/nscd_stat.c (struct statdata): Add reload_count field.
(send_stats): Fill in reload_count.
(receive_print_stats): Print reload_count.
* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): When
reading the loginuid file use a buffer which is always large enough.
NUL-terminate the string.
* malloc/malloc.c (_int_malloc): Return NULL if printing error message
returns.
2010-04-07 Andreas Schwab <[email protected]>
* sysdeps/unix/sysv/linux/i386/fallocate.c: Set errno on error.
* sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2010-04-08 Andreas Jaeger <[email protected]>
[BZ #10401]
* math/s_cprojl.c (__cprojl): Fix implementation to follow C99
standard.
* math/s_cprojf.c (__cprojf): Likewise.
* math/s_cproj.c (__cproj): Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
* math/libm-test.inc (cproj_test): Fix test.
2010-04-08 Roland McGrath <[email protected]>
* Makerules (libc-abis): Variable removed.
($(common-objpfx)libc-abis.h): Depend on Makerules too.
Use automatic variables in commands.
Depend on first libc-abis from $(sysdirs) or $(..).
2010-04-07 Ulrich Drepper <[email protected]>
* posix/bug-getopt1.c: New file.
* posix/bug-getopt2.c: New file.
* posix/bug-getopt3.c: New file.
* posix/bug-getopt4.c: New file.
* posix/bug-getopt5.c: New file.
2009-12-01 Eric Blake <[email protected]>
[BZ #11039]
* posix/getopt.c (_getopt_internal_r): Skip optional - or + before
checking lead byte of optstring for :.
[BZ #11040]
* posix/getopt.c (_getopt_internal_r): Reject '-;' as short
option, since it conflicts with "W;" optstring extension.
2009-12-02 Eric Blake <[email protected]>
[BZ #11041]
* posix/getopt.c (_getopt_internal_r): Handle '-Wfoo' identically
to '--foo', with optional argument or non-ambiguous prefix.
2010-04-07 Ulrich Drepper <[email protected]>
[BZ #11134]
* nis/libnsl.h (NSS_FLAG_ADJUNCT_AS_SHADOW): Define.
* nis/nss: Document new ADJUNCT_AS_SHADOW variable.
* nis/nss-default.c: Handle ADJUNCT_AS_SHADOW variable.
* nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Minor cleanups.
(internal_nis_getpwent_r): Don't fill in password from adjunct table
if NSS_FLAG_ADJUNCT_AS_SHADOW is set.
(_nss_nis_getpwnam_r): Likewise.
(_nss_nis_getpwuid_r): Likewise.
* nis/nss_nis/nis-spwd.c (ent_adjunct_used): New global variable.
(_nss_nis_setspent): Also reset ent_adjunct_used.
(internal_nis_getspent_r): If new_start is set and shadow.byname table
does not exist and NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get
passwd.adjunct.byname table. If new_start is not set get next entry
from the initially used table. Synthesize shadow.byname table if
necessary by adding two empty fields.
(_nss_nis_getspnam_r): If shadow.byname table does not exist and
NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get passwd.adjunct.byname
table and synthesize shadow.byname table.
2010-04-06 H.J. Lu <[email protected]>
* Makerules (libc-abis): Add $(..) to libc-abis.
2010-04-06 Joseph Myers <[email protected]>
* Makerules (libc-abis): Fix search for libc-abis in add-ons.
2010-04-05 Thomas Schwinge <[email protected]>
* sysdeps/gnu/unwind-resume.c: New, moved from nptl/sysdeps/pthread/.
* sysdeps/gnu/rt-unwind-resume.c: Likewise.
* sysdeps/gnu/Makefile: Add sections for csu and rt subdirs to
build unwind-resume code, previously in nptl/sysdeps/pthread/Makefile.
2010-04-05 Roland McGrath <[email protected]>
* elf/dl-cache.c (_dl_load_cache_lookup): Obey dl_hwcap_mask.
* elf/dl-support.c (_dl_hwcap_mask): New variable.
* elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.
2010-03-30 Paul Pluzhnikov <[email protected]>
* Makeconfig: Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS.
2010-03-30 Joseph Myers <[email protected]>
* elf/elf.h (ELFOSABI_ARM_AEABI): Define.
2010-04-05 Ulrich Drepper <[email protected]>
* po/nl.po: Update from translation team.
[BZ #11010]
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Handle
timeouts from servers.
[BZ #11149]
* elf/ldconfig.c (main): Respect chroot setting when looking for
the aux cache.
2010-04-04 Ulrich Drepper <[email protected]>
[BZ #11043]
* posix/getopt.c (_getopt_internal_r): Fix arguments printed in error
messages.
[BZ #11070]
* resolv/netdb.h: Declare iruserok and iruserok_af.
* argp/Makefile: Add rules to build and run bug-argp2.
* argp/bug-argp2.c: New file.
2010-02-05 Sergey Poznyakoff <[email protected]>
[BZ #11254]
* argp/argp-parse.c (convert_options): Fix improper use of `|'
between character values.
2010-04-04 Ulrich Drepper <[email protected]>
[BZ #11276]
* sysdeps/posix/remove.c (IS_NO_DIRECTORY_ERROR): Define.
(remove): Use IS_NO_DIRECTORY_ERROR to check for file being no
directory.
* sysdeps/unix/sysv/linux/remove.c: New file.
* conform/data/sys/stat.h-data: Fix testing of S_IS* macros.
[BZ #11279]
* io/sys/stat.h: Always define S_ISSOCK for XPG6 and up.
[BZ #11287]
* csu/Makefile ($(objpfx)version-info.h): Handle newer kernel headers
which don't define UTS_RELEASE.
2010-04-04 H.J. Lu <[email protected]>
Ulrich Drepper <[email protected]>
[BZ #11292]
* sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Allow
concurrent initialization and use of __cpu_features.
2010-04-04 Ulrich Drepper <[email protected]>
* sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add tag to
the enum.
2010-04-03 Ulrich Drepper <[email protected]>
[BZ #11333]
* sysdeps/unix/readdir_r.c (__READDIR_R): Add support for platforms
which include unnecessary padding in d_reclen.
* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Select work-around for
unnecessary padding.
[BZ #11387]
* sysdeps/unix/sysv/linux/ifaddrs.c (map_newlin): Don't abort on
unknown interface, return -1.
(getifaddrs_internal): Rename from getifaddrs. Handle errors in
map_newlink be returning -EAGAIN.
(getifaddrs): If -EAGAIN is returned from getifaddrs_internal try
again.
2010-03-25 Ryan S. Arnold <[email protected]>
* sysdeps/unix/sysv/linux/getsysstats.c (next_line): Remove
redundant and incorrect else block which overwrites current line
with the partial next line.
2010-04-03 Ulrich Drepper <[email protected]>
[BZ #11438]
* posix/gai.conf: Document problems with IPv4 site-local addresses and
NATs.
[BZ #11449]
* crypt/crypt_util.c (__init_des_r): Add memory barrier before setting
small_tables_initialized.
* malloc/malloc.c (_int_free): Add one more sanity check for fastbins.
* malloc/malloc.c (set_max_fast): Fix computation of the value.
2010-03-30 David S. Miller <[email protected]>
* sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Fix
MMAP2_PAGE_SHIFT test.
2010-03-29 Ulrich Drepper <[email protected]>
* sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_WAITFORONE.
2010-03-28 Thomas Schwinge <[email protected]>
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Adapt to auxv
changes in the generic code.
* elf/rtld.c (dl_main): Conditionalize the code that dereferences auxv
to [HAVE_AUX_VECTOR].
2010-03-27 Ulrich Drepper <[email protected]>
* sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): If
__ASSUME_AT_PAGESIZE we can rely on the value being set.
* include/wchar.h: Undefine __need_mbstate_t and __need_wint_t
unconditionally in the end.
* posix/glob.c (glob): Initialize oldcount early, too.
2010-03-26 Ulrich Drepper <[email protected]>
* sysdeps/unix/sysv/linux/i386/fcntl.c: Define miss_F_GETOWN_EX
only if needed.
Patch mostly by Paul Pluzhnikov <[email protected]>.
2010-03-26 Richard Henderson <[email protected]>
* sysdeps/generic/ldsodefs.h (_dl_random): Mark attribute_relro;
* stdio-common/psiginfo.c (psiginfo): Fix printf format
warning for si_band.
* locale/setlocale.c (free_category): Finish renaming
struct locale_data to __locale_data.
* csu/gmon-start.c (ENTRY_POINT, etext): Declare as char[], not void.
* elf/dl-sysdep.c (_end): Likewise.
* sysdeps/unix/sysv/dl-sysdep.c (frob_brk): Likewise with locally
declared _end, and associated variables.
2010-03-26 Ulrich Drepper <[email protected]>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't assume success always
means aborting the loop over the NSS methods.
2010-03-25 Andreas Schwab <[email protected]>
[BZ #11001]
* sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before
each action.
2010-03-26 Ulrich Drepper <[email protected]>
* malloc/malloc.c: Remove stale reference to website.
2010-03-24 Ulrich Drepper <[email protected]>
[BZ #11389]
* bits/time.h: Define CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and
CLOCK_MONOTONIC_COARSE.
* sysdeps/unix/sysv/linux/clock_getres.c: Handle CLOCK_MONOTONIC_RAW,
CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE.
* sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
* sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2010-03-25 Andreas Schwab <[email protected]>
* sysdeps/posix/cuserid.c: Fix typo.
2010-03-16 Chris Demetriou <[email protected]>
[BZ #11394]
* locale/programs/simple-hash.c: Include inttypes.h.
(hashval_t): Defined to be uint32_t.
* locale/programs/simple_hash.h: Include inttypes.h.
(compute_hashval): Change return type to uint32_t.
2010-03-24 Ulrich Drepper <[email protected]>
* sysdeps/unix/sysv/linux/getlogin_r.c: New file.
* sysdeps/unix/sysv/linux/getlogin.c: New file.
* sysdeps/unix/getlogin_r.c: Allow compiling getlogin as static
function.
* sysdeps/unix/getlogin.c: Likewise. Move name variable to toplevel.
* include/unistd.h: Declare __getlogin_r_loginuid.
[BZ #11397]
* sysdeps/posix/cuserid.c (cuserid): Make sure the returned string
is NUL terminated.
Patch by Jonathan Geisler <[email protected]>.
* sysdeps/unix/sysv/linux/mmap64.c: Allow variable shift values.
2010-03-24 H.J. Lu <[email protected]>
* sysdeps/x86_64/multiarch/strpbrk-c.c: Define only if SHARED
is defined.
2010-03-22 H.J. Lu <[email protected]>
* string/test-memcmp.c (check_result): New function.
(do_one_test): Use it.
(check1): New function.
(test_main): Use it.
2010-03-24 Ulrich Drepper <[email protected]>
* posix/tst-gnuglob.c: Add tests with empty patterns. For this
rewrite the tests to add support for failing glob calls.
Some other minor cleanups.
* posix/bug-glob3.c: New file.
* posix/Makefile (tests): Add bug-glob3.
2010-03-24 Ulrich Drepper <[email protected]>
Andreas Schwab <[email protected]>
* posix/glob.c (glob): Clean up gl_pathc and gl_pathv earlier.
If pattern is "" bail out early
2010-03-23 Jakub Jelinek <[email protected]>
* elf/dl-lookup.c (do_lookup_x): If tab->entries is NULL,
but tab->size != 0, just unlock and goto success, without
allocating anything or entering anything into the hash table.
(_dl_debug_bindings): Temporarily set tab->entries to NULL
around do_lookup_x in undef_map->l_local_scope[0]. If
undef_map->l_symbolic_in_local_scope, lookup also in
symbolic_searchlist of following libraries in l_local_scope
that have DT_SYMBOLIC set.
* elf/dl-deps.c (_dl_map_object_deps): Compute
l_symbolic_in_local_scope.
* include/link.h (struct link_map): Add l_symbolic_in_local_scope
bitfield.
2010-03-24 Ulrich Drepper <[email protected]>
[BZ #11410]
* wctype/wctype.h: Use <wchar.h> to get the wint_t definition.
* wcsmbs/wchar.h: Correct preprocessor directive indentation. Move
C++ prototype handling to a better place.
2010-03-18 Ulrich Drepper <[email protected]>
* elf/dl-load.c (open_verify): Extend expected to the full size of the
e_ident array. When loading, check that the fields in e_ident we don't
know are zero to allow future extensions.
2010-03-18 H.J. Lu <[email protected]>
* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Update %xmm3
when exit from loop.
2010-03-16 Andreas Schwab <[email protected]>
* resolv/res_send.c (__libc_res_nsend): Fix printing of server
address in debug statement.
(send_dg): Pass correct buffer pointer to DprintQ.
2010-03-17 Ulrich Drepper <[email protected]>
* libc-abis: Add a few more entries.
2010-03-16 Ulrich Drepper <[email protected]>
* elf/dl-load.c (VALID_ELF_ABIVERSION): Add additional osabi parameter.
Not used here.
(open_verify): Modify for extended VALID_ELF_ABIVERSION macro
interface.
* sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Add
additional osabi parameter. Only acceept nonzero ABI versions if osabi
is Linux.
Fix includes.
(expected2): Don't explicitly initialize EI_ABIVERSION byte.
* sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Update
definition to follow generic code.
2010-03-15 Ulrich Drepper <[email protected]>
* posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* debug/catchsegv.sh: Likewise.
* Makerules: Add rule for libc-abis.h.
* csu/version.c: Use LIBC_ABIS_STRING string if available.
* elf/dl-load.c (VALID_ELF_ABIVERSION): Check using LIBC_ABI_MAX.
(open_verify): Only check EI_ABIVERSION bytes using VALID_ELF_HEADER.
Add extra call to VALID_ELF_ABIVERSION.
2010-03-12 Ulrich Drepper <[email protected]>
* sysdeps/unix/sysv/linux/sys/mount.h (UMOUNT_NOFOLLOW): Define.
2010-03-12 Andreas Schwab <[email protected]>
* elf/dl-dst.h: Include "trusted-dirs.h".
(DL_DST_REQUIRED): Take $LIB into account.
2010-03-11 Roland McGrath <[email protected]>
* elf/elf.h (R_X86_64_GOT64, R_X86_64_GOTPCREL64): New macros.
(R_X86_64_GOTPC64, R_X86_64_GOTPLT64, R_X86_64_PLTOFF64): New macros.
2010-03-10 Luis Machado <[email protected]>
* sysdeps/powerpc/powerpc64/power7/memcpy.S: New file.
* sysdeps/powerpc/powerpc32/power7/memcpy.S: New file.
2010-03-09 David S. Miller <[email protected]>
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handling
of R_SPARC_TLS_LE_* needs to use 32-bit loads and stores, not
64-bit ones.
* sysdeps/sparc/sparc32/memcpy.S: Fix build.
* sysdeps/sparc/sparc32/strlen.S: Optimize.
* sysdeps/sparc/sparc64/strlen.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/strlen.S (ASI_PNF, ASI_BLK_P,
XCC): Delete definitions, not needed.
2010-03-07 Ulrich Drepper <[email protected]>
* sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
Little follow-up patch from last change.
2010-03-06 Ulrich Drepper <[email protected]>
* sysdeps/unix/sysv/linux/internal_statvfs.c: Handle ext4 and logfs.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Add entry for logfs.
2010-02-18 Yann Droneaud <[email protected]>
* resolv/res_send.c: Fixed DEBUG statements.
Moved tmpbuf declaration to block beginning and
updated pointer names used in multiple DprintQ() calls
2010-02-18 H.J. Lu <[email protected]>
* config.make.in (config-asflags-i686): Define.
* configure.in: Substitute libc_cv_as_i686.
* sysdeps/i386/configure.in: Check if assembler supports -mtune=i686.
* sysdeps/i386/i686/Makefile (CFLAGS-.oX): Add -Wa,-mtune=i686
if assembler supports -mtune=i686.
(ASFLAGS-.oX): Likewise.
2010-03-04 Ulrich Drepper <[email protected]>
* elf/elf.h (R_X86_64_SIZE32): Define.
(R_X86_64_SIZE64): Define.
2010-03-02 Richard Guenther <[email protected]>
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): R_X86_64_PC32
is sign-extending.
2010-03-03 Ulrich Drepper <[email protected]>
* sysdeps/unix/sysv/linux/bits/in.h: Add a few more definitions from
the kernel headers.
2010-03-04 David S. Miller <[email protected]>
* sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry.
* sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Delete.
* sysdeps/sparc/sparc32/udiv_qrnnd.S: Delete.
2010-03-03 David S. Miller <[email protected]>
* math/math_private.h (INSERT_WORDS64): Fix argument order.
2010-03-03 Aurelien Jarno <[email protected]>
* sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: New file.
2010-03-03 David S. Miller <[email protected]>
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_lazy_rel): Must
pass '1' for 't' argument to sparc_fixup_plt.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_lazy_rel):
Likewise.
* sysdeps/sparc/sparc32/dl-plt.h (OPCODE_BA_PT): Define.
(sparc_fixup_plt): Document 't' argument. Enable branch
optimization and use v9 branches when possible. Explain why we
cannot unconditionally patch the branch into the first PLT
instruction.
* sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Document 't'
argument. Use v9 branches when possible. Explain why we can in
fact unconditionally use a branch in the first PLT instruction
here.
2010-02-28 Roland McGrath <[email protected]>
* elf/elf.h (NT_X86_XSTATE): New macro.
2010-02-25 David S. Miller <[email protected]>
* sysdeps/sparc/sparc64/Makefile: Add align-cpy rule.
* sysdeps/sparc/sparc64/align-cpy.S: New.
* sysdeps/sparc/sparc64/memcpy.S (__align_cpy_1, __align_cpy_2,
__align_cpy_4, __align_cpy_8, __align_cpy_16): Remove.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S (__align_cpy_1,
__align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16):
Remove.
* sysdeps/sparc/sparc64/sparcv9v/memcpy.S (__align_cpy_1,
__align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16):
Remove.
* sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (__align_cpy_1,
__align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16):
Remove.
* sysdeps/sparc/sparc32/bcopy.c: Delete.
* sysdeps/sparc/sparc32/memmove.c: Delete.
* sysdeps/sparc/sparc32/sparcv9/bcopy.c: Delete.
* sysdeps/sparc/sparc32/sparcv9/memmove.c: Delete.
* sysdeps/sparc/sparc64/bcopy.c: Delete.
* sysdeps/sparc/sparc64/memmove.c: Delete.
* sysdeps/sparc/sparc64/memcopy.h: New.
* sysdeps/sparc/sparc32/memcpy.S (bcopy, memmove): Remove.
* sysdeps/sparc/sparc64/memcpy.S (bcopy, memmove): Likewise.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S (bcopy, memmove): Likewise.
* sysdeps/sparc/sparc64/sparcv9v/memcpy.S (bcopy, memmove): Likewise.
* sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (bcopy, memmove): Likewise.
* sysdeps/sparc/elf/rtld-global-offsets.sym: New file.
* sysdeps/sparc/Makefile (csu): Add rtld-global-offsets.sym to
gen-as-const-headers.
* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: New file.
* sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: Move to...
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra3.S: ...here.
* sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: Move to...
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara1.S: ...here.
* sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: Move to...
* sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara1.S: ...here.
* sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: Move to...
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara2.S: ...here.
* sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: Removed.
* sysdeps/sparc/sparc64/multiarch/Makefile: New file.
* sysdeps/sparc/sparc64/sparcv9v/memcpy.S: Move to...
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: ...here.
* sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Move to...
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: ...here.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Move to...
* sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: ...here.
* sysdeps/sparc/sparc64/sparcv9v/memset.S: Move to...
* sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: ...here.
* sysdeps/sparc/sparc64/sparcv9v2/memset.S: Removed.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: New file.
* sysdeps/sparc/sparc64/multiarch/memset.S: New file.
2010-02-20 H.J. Lu <[email protected]>
[BZ #11332]
* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Use cfi_remember_state
and cfi_restore_state only if USE_AS_STRNCMP is defined.
2010-02-24 Ulrich Drepper <[email protected]>
* sysdeps/x86_64/Implies: Add ieee754/dbl-64/wordsize-64 entry.
2010-02-24 H.J. Lu <[email protected]>
* sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
(bk_write_less32bytes_2): Renamed to ...
(bk_write_less48bytes): This.
Use unsigned conditional jumps.
Correct unwind info.
Use add/sub instead of lea if possible.
(shl_0_gobble_cache_loop_tail): Removed.
(large_page): Properly adjust ECX.
* sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Use unsigned
conditional jumps.
Correct unwind info.
* sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Remove redundant
punpcklbw.
Use unsigned conditional jumps.
(128bytesormore_nt): Renamed to ...
(128bytesormore_endof_L1): This.
Use add instead of lea if possible.
Correct unwind info.
* sysdeps/i386/i686/multiarch/memset-sse2.S: Remove redundant
punpcklbw.
Use unsigned conditional jumps.
Use add instead of lea if possible.
Correct unwind info.
2010-02-24 Ulrich Drepper <[email protected]>
[BZ #11319]
* libio/iovdprintf.c (_IO_vdprintf): Explicitly flush stream before
undoing the stream because _IO_FINISH doesn't report failures.
[BZ #5553]
* malloc/malloc.c (public_vALLOc): Set ar_ptr when trying main_arena.
(public_pVALLOc): Likewise.
Patch by Petr Baudis.
2010-02-22 Jim Meyering <[email protected]>
* manual/math.texi (BSD Random): Fix a typo: s/are/is/
* manual/charset.texi: Adjust grammar.
* manual/errno.texi (Error Messages): Fix doubled-words and typos.
* manual/charset.texi (Selecting the Conversion): Likewise.
* manual/getopt.texi (Getopt Long Options): Likewise.
* manual/memory.texi (Resizing the Data Segment): Likewise.
* manual/message.texi (GUI program problems): Likewise.
* manual/resource.texi (CPU Affinity): Likewise.
* manual/stdio.texi (Streams and Threads): Likewise.
* manual/time.texi (High Accuracy Clock): Likewise.
2009-02-20 David S. Miller <[email protected]>
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
Adjust rela->r_offset by l->l_addr when rewriting PLT.
* sysdeps/sparc/sparc64/memchr.S: Use unsigned branch on greater to
test end of buffer.
* sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
(__makecontext): Adjust arg counter properly when copying arg
stack slots.
2009-02-20 Joseph Myers <[email protected]>
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
Adjust rela->r_offset by l->l_addr when rewriting PLT.
2010-02-19 Carl Fredrik Hammar <[email protected]>
* hurd/hurdioctl.c (tiocsctty): Call `do_tiocsctty' instead of
non-existent `tiocsctty_port'.
2010-02-16 H.J. Lu <[email protected]>
* sysdeps/i386/i686/multiarch/memcmp.S (memcmp): Use CPUID_OFFSET
instead of FEATURE_OFFSET.
* sysdeps/i386/i686/multiarch/strcmp.S (strcmp): Likewise.
* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Add alignnments.
Fix one unwind info problem.
* sysdeps/i386/i686/multiarch/memcmp-ssse3.S (less1bytes): Add CFI_POP.
* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Simplify unwind info.
2010-02-17 H.J. Lu <[email protected]>
Ulrich Drepper <[email protected]>
* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Fix typo in unwind info.
Clean up a bit.
2010-02-17 Carl Fredrik Hammar <[email protected]>
* hurd/hurdioctl.c (tiocsctty): Only get FD ports, do work in...
(tiocsctty_port): ...this new function.
* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Cast to
`ioctl_handler_t'.
2010-02-15 Ulrich Drepper <[email protected]>
* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Fix unwind info.
* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Don't fall through to
undefined code.
2010-02-12 H.J. Lu <[email protected]>
* sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
strcmp-ssse3, strcmp-sse4, strncmp-c, strncmp-ssse3, strncmp-sse4,
memcmp-c, memcmp-ssse3, and memcmp-sse4.
* sysdeps/i386/i686/multiarch/memcmp-sse4.S: New file.
* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: New file.
* sysdeps/i386/i686/multiarch/memcmp.S: New file.
* sysdeps/i386/i686/multiarch/strcmp-sse4.S: New file.
* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: New file.
* sysdeps/i386/i686/multiarch/strcmp.S: New file.
* sysdeps/i386/i686/multiarch/strncmp-c.c: New file.
* sysdeps/i386/i686/multiarch/strncmp-sse4.S: New file.
* sysdeps/i386/i686/multiarch/strncmp-ssse3.S: New file.
* sysdeps/i386/i686/multiarch/strncmp.S: New file.
2010-02-12 Luis Machado <[email protected]>
* sysdeps/powerpc/powerpc32/dl-machine.h: Removed old PPC_REL16 check.
* sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/memset.S: Likewise.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
* sysdeps/powerpc/powerpc32/configure.in: Fail if R_PPC_REL16
is not supported.
* sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
* sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2010-02-12 Alan Modra <[email protected]>
* elf/tls-macros.h [__powerpc__] (__TLS_CALL_CLOBBERS): Remove r3.
Define and use for __powerpc64__ too.
[__powerpc__] (TLS_LD): Add r3 to clobbers.
[__powerpc__] (TLS_GD): Set asm output. Make __result r3 reg.
[__powerpc64__] (TLS_GD): Make __result r3 reg.
[__powerpc64__] (TLS_IE): Relax output constraint.
2010-02-11 Andreas Krebbel <[email protected]>
* sysdeps/s390/s390-64/utf8-utf16-z9.c: Disable hardware
instructions cu21 and cu24. Add well-formedness checking
parameter and adjust the software implementation.
* sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2010-02-10 Ulrich Drepper <[email protected]>
[BZ #11271]
* io/ftw.c (ftw_startup): Close descriptor for initial directory
after changing back to it.
2010-02-05 David S. Miller <[email protected]>
* elf/elf.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle new
ifunc relocs.
(elf_machine_lazy_rel): Likewise.
(sparc_fixup_plt): Pull out to...
* sysdeps/sparc/sparc32/dl-plt.h: ...here.
* sysdeps/sparc/sparc32/dl-irel.h: New file.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle new
ifunc relocs.
(elf_machine_lazy_rel): Likewise.
(sparc64_fixup_plt): Pull out to...
* sysdeps/sparc/sparc64/dl-plt.h: ...here.
* sysdeps/sparc/sparc64/dl-irel.h: New file.
2010-02-09 Maxim Kuvyrkov <[email protected]>
* elf/elf.h: Define m68k TLS relocations.
2010-02-10 Luis Machado <[email protected]>
* sysdeps/powerpc/powerpc64/power7/Implies: Removed.
* sysdeps/powerpc/powerpc64/power7/fpu/Implies: Removed.
* sysdeps/powerpc/powerpc32/power7/Implies: Removed.
* sysdeps/powerpc/powerpc32/power7/fpu/Implies: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Add
64-bit power7 fpu path.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Add
32-bit power7 fpu math.
2010-02-09 Ulrich Drepper <[email protected]>
* sysdeps/i386/rshift.S: More compact unwind information.
* sysdeps/i386/lshift.S: Fix unwind information.
2010-02-08 Luis Machado <[email protected]>
* sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: New file.