diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-12-29 20:42:40 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-12-29 20:42:40 -0500 |
commit | 92f95b0fecca029a0c4dd81203e6b42f60c4a382 (patch) | |
tree | 63a9bb2ff504decebbfd73d3a41d22d7c7aaf4be /Makefile | |
parent | c659fdedadce1566308675d0c44537ade0eb12a2 (diff) |
Add more linker protections around variables accessed from 16bit mode.
Rename VAR16 to VAR16_32 -- that macro supports accesses from both
16bit and 32bit mode.
Introduce a new macro VAR16 that must be present on all global
variables accessed from 16bit mode.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ endif $(OUT)%.proc.16.s: $(OUT)%.16.s @echo " Moving data sections to text in $@" - $(Q)sed 's/\t\.section\t\.rodata.*// ; s/\t\.data//' < $< > $@ + $(Q)sed 's/^\t\.section\t\.\(ro\)\?data.*// ; s/^\t\.data$$//' < $< > $@ $(OUT)%.16.s: %.c @echo " Compiling to assembler $@" |