R_386_32 relocations with sym-value=0 ?

Ian Lance Taylor iant@google.com
Sat Aug 21 18:50:00 GMT 2010


Nils Asmussen <nils@script-solution.de> writes:

> readelf lists the following
> relocation for that symbol:
>  Offset     Info    Type            Sym.Value  Sym. Name
> 0001a06c  00009301 R_386_32          00000000   _ZTVN10__cxxabiv120__s
>
> I guess, that can't be correct. Because it would mean that its placed at
> the beginning of the shared library, i.e. the ELF-header.

The symbol is presumably undefined, and expected to come from the
executable or another shared library.  You will have to look at the
readelf -s output to see for sure.

I doubt this issue has anything to do with exception unwinding.  This
symbol is for a virtual table, not anything to do with exceptions.

Ian



More information about the Binutils mailing list