|
From: <sv...@va...> - 2009-01-22 13:44:07
|
Author: tom
Date: 2009-01-22 13:44:03 +0000 (Thu, 22 Jan 2009)
New Revision: 9022
Log:
Removed unused round_Addr_upwards function.
Modified:
trunk/coregrind/m_debuginfo/readelf.c
Modified: trunk/coregrind/m_debuginfo/readelf.c
===================================================================
--- trunk/coregrind/m_debuginfo/readelf.c 2009-01-22 13:40:12 UTC (rev 9021)
+++ trunk/coregrind/m_debuginfo/readelf.c 2009-01-22 13:44:03 UTC (rev 9022)
@@ -956,16 +956,7 @@
return (void*)( ((UChar*)base) + idx * scale );
}
-static Addr round_Addr_upwards ( Addr a, UInt align )
-{
- if (align > 0) {
- vg_assert(-1 != VG_(log2)(align));
- a = VG_ROUNDUP(a, align);
- }
- return a;
-}
-
/* Find the file offset corresponding to SVMA by using the program
headers. This is taken from binutils-2.17/binutils/readelf.c
offset_from_vma(). */
|