|
From: <sv...@va...> - 2009-01-22 16:53:32
|
Author: tom
Date: 2009-01-22 16:53:25 +0000 (Thu, 22 Jan 2009)
New Revision: 9026
Log:
Don't worry about an unmapped, zero sized, bss segment. Bug #181594.
Modified:
trunk/coregrind/m_debuginfo/readelf.c
Modified: trunk/coregrind/m_debuginfo/readelf.c
===================================================================
--- trunk/coregrind/m_debuginfo/readelf.c 2009-01-22 15:08:53 UTC (rev 9025)
+++ trunk/coregrind/m_debuginfo/readelf.c 2009-01-22 16:53:25 UTC (rev 9026)
@@ -1460,7 +1460,7 @@
}
} else
- if ((!inrw) && (!inrx) && size > 0 && !di->bss_present) {
+ if ((!inrw) && (!inrx) && size >= 0 && !di->bss_present) {
/* File contains a .bss, but it didn't get mapped. Ignore. */
di->bss_present = False;
di->bss_svma = 0;
|