|
From: <sv...@va...> - 2008-01-08 00:36:14
|
Author: sewardj
Date: 2008-01-08 00:36:15 +0000 (Tue, 08 Jan 2008)
New Revision: 7321
Log:
ppc64-linux specific followup to r7320.
Modified:
branches/DATASYMS/coregrind/m_debuginfo/readelf.c
Modified: branches/DATASYMS/coregrind/m_debuginfo/readelf.c
===================================================================
--- branches/DATASYMS/coregrind/m_debuginfo/readelf.c 2008-01-08 00:09:03 UTC (rev 7320)
+++ branches/DATASYMS/coregrind/m_debuginfo/readelf.c 2008-01-08 00:36:15 UTC (rev 7321)
@@ -237,9 +237,9 @@
if (!plausible
&& ELFXX_ST_TYPE(sym->st_info) == STT_NOTYPE
&& sym->st_size > 0
- && si->opd_start_avma != 0
- && sym_addr >= si->opd_start_avma
- && sym_addr < si->opd_start_avma + si->opd_size)
+ && di->opd_avma != 0
+ && sym_addr >= di->opd_avma
+ && sym_addr < di->opd_avma + di->opd_size)
plausible = True;
# endif
@@ -350,7 +350,7 @@
/* Here's yet another ppc64-linux hack. Get rid of leading dot if
the symbol is outside .opd. */
# if defined(VGP_ppc64_linux)
- if (si->opd_avma != 0
+ if (di->opd_avma != 0
&& !is_in_opd
&& sym_name[0] == '.') {
vg_assert(!(*from_opd_out));
|