aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-06-20 00:14:19 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-06-20 00:14:19 -0400
commit6b7dcb36e45f5551bd44c9086f625dd300de7891 (patch)
tree3d71ee60acb8a1f7d3ff9c2efc80d2bbcf9fba1b
parentff3651a2da21a316f9cf64c0dd881b0d8abc48ad (diff)
downloadseabios-6b7dcb36e45f5551bd44c9086f625dd300de7891.tar.gz
Fixup bios.bin.elf building on other versions of ld.
Should use -Tdata instead of -Ttext.
-rwxr-xr-xtools/buildrom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildrom.py b/tools/buildrom.py
index 7d48cb58..d9a490dd 100755
--- 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 -Ttext 0xf0000 -b binary %s -o %s" % (
+ "ld -melf_i386 -e %s -Tdata 0xf0000 -b binary %s -o %s" % (
int(o32['OFFSET_post32'], 16), OUT, OUT+".elf"))
if __name__ == '__main__':