This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR ld/20828: Move symbol version processing ahead of GC symbol sweep
On Wed, Feb 15, 2017 at 04:38:46PM +0000, Maciej W. Rozycki wrote:
> ... I can't reproduce this...
valgrind reports uninitialized writes, so some luck is involved in
getting the test to fail.
If I put MALLOC_PERTURB_=1 in my environment then the test passes but
readelf -s --wide tmpdir/rdynamic-1 shows:
Symbol table '.dynsym' contains 18 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.2.5 (2)
2: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
3: 0000000000601024 0 NOTYPE GLOBAL DEFAULT 25 _edata
4: 0000000000601020 0 NOTYPE GLOBAL DEFAULT 25 __data_start
5: fefefefefefefefe 0xfefefefefefefefe <processor specific>: 14 <processor specific>: 15 HIDDEN [<other>: fc] bad section index[65278] <corrupt>
6: 0000000000601028 0 NOTYPE GLOBAL DEFAULT 26 _end
7: 0000000000601020 0 NOTYPE WEAK DEFAULT 25 data_start
8: 00000000004007e0 4 OBJECT GLOBAL DEFAULT 16 _IO_stdin_used
9: 0000000000400760 101 FUNC GLOBAL DEFAULT 14 __libc_csu_init
10: 0000000000400650 42 FUNC GLOBAL DEFAULT 14 _start
11: 0000000000601024 0 NOTYPE GLOBAL DEFAULT 26 __bss_start
12: 0000000000400640 3 FUNC GLOBAL DEFAULT 14 main
13: fefefefefefefefe 0xfefefefefefefefe <processor specific>: 14 <processor specific>: 15 HIDDEN [<other>: fc] bad section index[65278] <corrupt>
14: 00000000004005f0 0 FUNC GLOBAL DEFAULT 11 _init
15: 00000000004007d0 2 FUNC GLOBAL DEFAULT 14 __libc_csu_fini
16: 00000000004007d4 0 FUNC GLOBAL DEFAULT 15 _fini
17: 0000000000400750 2 FUNC GLOBAL DEFAULT 14 rdynamic
--
Alan Modra
Australia Development Lab, IBM