Fix potential build failure due to text16 section being too large.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 19 Dec 2009 16:03:40 +0000 (11:03 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 19 Dec 2009 16:03:40 +0000 (11:03 -0500)
commit2ceeec9d56ffc93b12cbd01b7e303251b1c0361a
tree153d7b086c00c505f2428d1b0257662789b970c1
parenta2195e41da89f5785bc679e0ca9859a7567391c6
Fix potential build failure due to text16 section being too large.

A relative PC jump can't exceed 32K, but .text16 can be bigger than 32K.
Separate out .text16 into data sections (.data16) and code (.text16).
Place text and fixed sections together at end of f-segment.
This reduces 16bit text size to ~28K which fixes build errors for now.
src/rombios.lds.S
src/rombios16.lds.S
tools/checkrom.py
tools/layoutrom.py