From 33a768dabc3aa508253feb7a8ae8679c0943ae73 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 22 Jan 2009 13:44:03 +0000 Subject: [PATCH] Removed unused round_Addr_upwards function. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9022 --- coregrind/m_debuginfo/readelf.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/coregrind/m_debuginfo/readelf.c b/coregrind/m_debuginfo/readelf.c index 9d5a644429..57a8bde1f2 100644 --- a/coregrind/m_debuginfo/readelf.c +++ b/coregrind/m_debuginfo/readelf.c @@ -956,15 +956,6 @@ static void* INDEX_BIS ( void* base, Word idx, Word scale ) { 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 -- 2.47.3