Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LD_PROFILE and shared libs without PLTREL section

159 views
Skip to first unread message

hob

unread,
Jul 6, 2006, 6:13:19 AM7/6/06
to
Profiling of shared libraries fail if _any_ shared library linket does
not contain the PLTREL section (even the ones not being profiled).

For example, I get:

./collectives: profiler found no PLTREL in object /usr/lib64/libmpga.so

The library here has no PLTREL section and only a text segment of 6
bytes with no need for procedure linkage (hence no PLTREL section?).

The libraries in question are out of my control, so I am unable to
rebuild them.

Q1: Is this behavoiur resonable when the shared library I am profiling
contains the PLTREL section?

Q2: Is this behavoiur resonable given that I am not profiling the
library missing the PLTREL section and that this library have no use
for it?

Q3: Is there any way to add the PLTREL section to an existing shared
library?

Thanks, Håkon

0 new messages