projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff3651a
)
Fixup bios.bin.elf building on other versions of ld.
author
Kevin O'Connor
<kevin@koconnor.net>
Fri, 20 Jun 2008 04:14:19 +0000
(
00:14
-0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Fri, 20 Jun 2008 04:14:19 +0000
(
00:14
-0400)
Should use -Tdata instead of -Ttext.
tools/buildrom.py
patch
|
blob
|
history
diff --git
a/tools/buildrom.py
b/tools/buildrom.py
index 7d48cb587cdf7126842fece9b8cf601a051145a7..d9a490ddd8f27519c8715e639fb3a9c6e63e2811 100755
(executable)
--- a/
tools/buildrom.py
+++ b/
tools/buildrom.py
@@
-81,7
+81,7
@@
def main():
# Build elf file with 32bit entry point
os.system(
- "ld -melf_i386 -e %s -T
text
0xf0000 -b binary %s -o %s" % (
+ "ld -melf_i386 -e %s -T
data
0xf0000 -b binary %s -o %s" % (
int(o32['OFFSET_post32'], 16), OUT, OUT+".elf"))
if __name__ == '__main__':