[SeaBIOS] [PATCH 01/10] build: Remove unused function getSectionsStart() from layoutrom.py.
Kevin O'Connor
kevin at koconnor.net
Wed Jun 11 21:20:11 CEST 2014
Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
scripts/layoutrom.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/scripts/layoutrom.py b/scripts/layoutrom.py
index b325406..28e7d0c 100755
--- a/scripts/layoutrom.py
+++ b/scripts/layoutrom.py
@@ -343,11 +343,6 @@ def getRelocs(sections, type=None, category=None, notcategory=None):
out.append(section.finalloc + reloc.offset)
return out
-# Return the start address and minimum alignment for a set of sections
-def getSectionsStart(sections, defaddr=0):
- return min([section.finalloc for section in sections
- if section.finalloc is not None] or [defaddr])
-
# Output the linker scripts for all required sections.
def writeLinkerScripts(li, out16, out32seg, out32flat):
# Write 16bit linker script
--
1.9.3
More information about the SeaBIOS
mailing list