aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-07-05 21:08:56 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-07-05 21:08:56 -0400
commit9bcc527d2ca52d54058ac1f98ba5ddc99d053a4a (patch)
tree3b2c4d82ff8acb2500bc1852b4a5e139170249f4 /tools
parent2fda7cbb234a2966599d1de135f55aece69220c6 (diff)
downloadseabios-hppa-9bcc527d2ca52d54058ac1f98ba5ddc99d053a4a.zip
seabios-hppa-9bcc527d2ca52d54058ac1f98ba5ddc99d053a4a.tar.gz
seabios-hppa-9bcc527d2ca52d54058ac1f98ba5ddc99d053a4a.tar.bz2
Ensure proper alignment of subsections.
Also, do a better job of halting build on a failure in checkrom.py
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkrom.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/checkrom.py b/tools/checkrom.py
index 6eda341..032783b 100755
--- a/tools/checkrom.py
+++ b/tools/checkrom.py
@@ -17,8 +17,11 @@ def main():
except:
pass
- if syms['code16_start'] != syms['_code32_code16_start']:
- print "Error! 16bit code moved during linking"
+ c16s = syms['code16_start']
+ c32s = syms['_code32_code16_start']
+ if c16s != c32s:
+ print "Error! 16bit code moved during linking (0x%x vs 0x%x)" % (
+ c32s, c16s)
sys.exit(1)
size16 = syms['code16_end'] - syms['code16_start']