Symbol table '.dynsym' contains entries with LOCAL visibility and type SECTION

William Tambe tambewilliam@gmail.com
Fri Mar 27 01:51:46 GMT 2020


On Thu, Mar 26, 2020 at 8:51 PM William Tambe <tambewilliam@gmail.com> wrote:
>
> What could be the reason that entries with LOCAL visibility and type
> SECTION are showing in the symbol table '.dynsym' as shown below ?
> What could be done to prevent that ?

Please, note that this is a custom binutils port for which we are
implementing shared-library support.
We are missing something that is causing entries with LOCAL visibility
and type SECTION to show in the symbol table '.dynsym' .

What could be done to prevent such behavior ?

>
> Symbol table '.dynsym' contains 14 entries:
>    Num:    Value  Size Type    Bind   Vis      Ndx Name
>      0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND
>      1: 000001f4     0 SECTION LOCAL  DEFAULT    5
>      2: 00000216     0 SECTION LOCAL  DEFAULT    6
>      3: 000003cc     0 SECTION LOCAL  DEFAULT    7
>      4: 000013e8     0 SECTION LOCAL  DEFAULT    8
>      5: 000013ec     0 SECTION LOCAL  DEFAULT    9
>      6: 000013f4     0 SECTION LOCAL  DEFAULT   10
>      7: 00001484     0 SECTION LOCAL  DEFAULT   12
>      8: 0000149c     0 SECTION LOCAL  DEFAULT   14
>      9: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND foo2
>     10: 000001f4     0 FUNC    GLOBAL DEFAULT    5 _init
>     11: 000003cc     0 FUNC    GLOBAL DEFAULT    7 _fini
>     12: 00000364    42 FUNC    GLOBAL DEFAULT    6 func
>     13: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND foo



More information about the Binutils mailing list