diff --git a/oprofile-0.9.4.diff b/oprofile-0.9.4.diff index 1b703e0..d569503 100644 --- a/oprofile-0.9.4.diff +++ b/oprofile-0.9.4.diff @@ -70,6 +70,18 @@ libopagent_la_LIBADD = $(BFD_LIBS) # Do not increment the major version for this library except to +--- libutil++/bfd_support.cpp ++++ libutil++/bfd_support.cpp +@@ -364,6 +364,9 @@ bool interesting_symbol(asymbol * sym) + if (!strcmp("gcc2_compiled.", sym->name)) + return false; + ++ if (sym->flags & BSF_SECTION_SYM) ++ return false; ++ + return true; + } + --- libutil++/file_manip.cpp +++ libutil++/file_manip.cpp @@ -44,7 +44,7 @@ bool copy_file(string const & source, st diff --git a/oprofile.changes b/oprofile.changes index 53059ee..c32c580 100644 --- a/oprofile.changes +++ b/oprofile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 23 17:06:54 CEST 2008 - schwab@suse.de + +- Ignore section symbols. + ------------------------------------------------------------------- Tue Oct 21 15:27:26 CEST 2008 - schwab@suse.de diff --git a/oprofile.spec b/oprofile.spec index 8d21038..ec4f579 100644 --- a/oprofile.spec +++ b/oprofile.spec @@ -25,7 +25,7 @@ Group: Development/Tools/Other AutoReqProv: on PreReq: /usr/sbin/groupadd /usr/sbin/useradd Version: 0.9.4 -Release: 46 +Release: 47 Summary: System-Wide Profiler for Linux Systems BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{version}.tar.gz @@ -146,6 +146,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libopagent.so %changelog +* Thu Oct 23 2008 schwab@suse.de +- Ignore section symbols. * Tue Oct 21 2008 schwab@suse.de - Fix jvm agent libs. * Fri Jul 18 2008 schwab@suse.de