Commit a8e376d0 authored by Ben Avison's avatar Ben Avison
Browse files

Linked with -rmf -base rather than -bin -base, so we don't have to use the...

Linked with -rmf -base rather than -bin -base, so we don't have to use the 26-bit only truncate program.

Changed to use gawk instead of awk.
parent 53029b4c
......@@ -238,7 +238,7 @@ linkmap: ${OBJS} ${LIBS}
${LD} -map -o null:x ${OBJS} ${LIBS} > map.linked
map:
${LD} -map -bin -base 0 -o null: ${OBJS} ${LIBS} > map.base0
${LD} -map -rmf -base 0 -o null: ${OBJS} ${LIBS} > map.base0
clean_all:
-Access ${INSTDIR}.!Boot rw/rw
......@@ -272,9 +272,7 @@ ${ROM_MODULE}: oz.ModuleWrap ${OBJSZ} ${ROMSTUBS}
# final link for ROM Image (using given base address)
rom_link:
${LD} -o linked.${COMPONENT} -bin -base ${ADDRESS} ${ROM_MODULE} ${ABSSYM} \
-map > map.${COMPONENT}
truncate map.${COMPONENT} linked.${COMPONENT}
${LD} -o linked.${COMPONENT} -rmf -base ${ADDRESS} ${ROM_MODULE} ${ABSSYM}
${CP} linked.${COMPONENT} ${LINKDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: rom_link complete
......@@ -285,7 +283,7 @@ s.ModuleWrap: ${WRAPPER}
${CP} ${WRAPPER} $@ ${CPFLAGS}
${MSGS}: ${LDIR}.Messages awk.Version
awk -f awk.Version ${LDIR}.Messages > $@
GNU.gawk -f awk.Version ${LDIR}.Messages > $@
s.ResFiles: asm.ResFiles
${CP} asm.ResFiles $@ ${CPFLAGS}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment