[PATCH] Drop -rdynamic from deleted-lib.so link step

Mark Wielaard mark@klomp.org
Sat Aug 19 08:11:00 GMT 2017


On Fri, Aug 18, 2017 at 03:17:38PM +0200, Ulf Hermann wrote:
> -rdynamic is meant for ELF objects that need to export internal
> symbols to libraries they link to, but deleted-lib.so does not link to
> anything else and doesn't have any internal symbols.
> 
> Note that the "deleted" test program does link to deleted-lib.so, but
> deleted-lib.so being a shared object, will automatically export the
> (non-hidden) "libfunc" symbol anyway.

Applied, libfunc is indeed the only relevant symbol in this case.

Thanks,

Mark



More information about the Elfutils-devel mailing list