Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37583321
en ru br
ALT Linux repos
S:1.16.2-alt1

Group :: Emulators
RPM: seabios

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-skip-flags-when-parse-objdump-section.patch
Download


diff --git a/scripts/layoutrom.py b/scripts/layoutrom.py
index 6616721..4f655dc 100755
--- a/scripts/layoutrom.py
+++ b/scripts/layoutrom.py
@@ -564,7 +564,7 @@ def parseObjDump(file, fileid):
 
         if state == 'section':
             try:
-                idx, name, size, vma, lma, fileoff, align = line.split()
+                idx, name, size, vma, lma, fileoff, align, *_flags = line.split()
                 if align[:3] != '2**':
                     continue
                 section = Section()
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin