script-type test fails on ARM

Kirill A. Shutemov kirill@shutemov.name
Mon Mar 22 22:18:00 GMT 2010


I've got problem with script-type test on ARM:

$ readelf -s tmpdir/script-type

Symbol table '.symtab' contains 13 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 00000000     0 SECTION LOCAL  DEFAULT    1
     2: 00000000     0 SECTION LOCAL  DEFAULT    2
     3: 00000000     0 NOTYPE  LOCAL  DEFAULT    1 $a
     4: 00000010     0 NOTYPE  LOCAL  DEFAULT    1 $d
     5: 00000014     0 NOTYPE  LOCAL  DEFAULT    1 $a
     6: 00000020     0 NOTYPE  LOCAL  DEFAULT    1 $t
     7: 00000010     0 OBJECT  GLOBAL DEFAULT    1 bar_o
     8: 00000021     0 FUNC    GLOBAL DEFAULT    1 bar_t
     9: 00000000     0 FUNC    GLOBAL DEFAULT    1 foo_a
    10: 00000021     0 FUNC    GLOBAL DEFAULT    1 foo_t
    11: 00000010     0 OBJECT  GLOBAL DEFAULT    1 foo_o
    12: 00000000     0 FUNC    GLOBAL DEFAULT    1 bar_a

So, there is one extra line with $a comparing to script-type.sym.
It's binutils-2.20.51-2010-03-22.

Any ideas how to fix it?



More information about the Binutils mailing list