From 0e10329876bd28e8b1e3e9b5645084c97d10b3ae Mon Sep 17 00:00:00 2001 From: David Given Date: Thu, 29 Dec 2016 17:11:53 +0000 Subject: [PATCH] Fix an issue throughout where B couldn't be built by ackprogram due to symbol laziness. --- plat/cpm/descr | 1 + plat/linux386/descr | 1 + plat/linux68k/descr | 1 + plat/linuxppc/descr | 1 + plat/osx386/descr | 1 + plat/osxppc/descr | 3 ++- plat/pc86/descr | 1 + plat/qemuppc/descr | 1 + plat/rpi/descr | 1 + 9 files changed, 10 insertions(+), 1 deletion(-) diff --git a/plat/cpm/descr b/plat/cpm/descr index d178b46c5..d084f89ea 100644 --- a/plat/cpm/descr +++ b/plat/cpm/descr @@ -60,6 +60,7 @@ name led mapflag -i SEPID=-b1:0 mapflag -fp FLOATS={EM}/{ILIB}fp args {ALIGN} {SEPID?} \ + ({RTS}:.b=-u _i_main) \ (.e:{HEAD}={PLATFORMDIR}/boot.o) \ ({RTS}:.ocm.bas.b={PLATFORMDIR}/c-ansi.o) \ ({RTS}:.c={PLATFORMDIR}/c-ansi.o) \ diff --git a/plat/linux386/descr b/plat/linux386/descr index 7dbeec738..1888e4182 100644 --- a/plat/linux386/descr +++ b/plat/linux386/descr @@ -56,6 +56,7 @@ name led mapflag -l* LNAME={PLATFORMDIR}/lib* mapflag -fp FLOATS={EM}/{LIB}fp args {ALIGN} {SEPID?} \ + ({RTS}:.b=-u _i_main) \ (.e:{HEAD}={PLATFORMDIR}/boot.o) \ ({RTS}:.ocm.bas.b={PLATFORMDIR}/c-ansi.o) \ ({RTS}:.c={PLATFORMDIR}/c-ansi.o) \ diff --git a/plat/linux68k/descr b/plat/linux68k/descr index 5fbe16a38..1e3b6a5bd 100644 --- a/plat/linux68k/descr +++ b/plat/linux68k/descr @@ -56,6 +56,7 @@ name led mapflag -l* LNAME={PLATFORMDIR}/lib* mapflag -fp FLOATS={EM}/{LIB}fp args {ALIGN} {SEPID?} \ + ({RTS}:.b=-u _i_main) \ (.e:{HEAD}={PLATFORMDIR}/boot.o) \ ({RTS}:.ocm.bas.b={PLATFORMDIR}/c-ansi.o) \ ({RTS}:.c={PLATFORMDIR}/c-ansi.o) \ diff --git a/plat/linuxppc/descr b/plat/linuxppc/descr index 51121278d..ced1de4b1 100644 --- a/plat/linuxppc/descr +++ b/plat/linuxppc/descr @@ -62,6 +62,7 @@ name led mapflag -l* LNAME={PLATFORMDIR}/lib* mapflag -fp FLOATS={EM}/{LIB}fp args {ALIGN} {SEPID?} \ + ({RTS}:.b=-u _i_main) \ (.e:{HEAD}={PLATFORMDIR}/boot.o) \ ({RTS}:.ocm.bas.b={PLATFORMDIR}/c-ansi.o) \ ({RTS}:.c={PLATFORMDIR}/c-ansi.o) \ diff --git a/plat/osx386/descr b/plat/osx386/descr index 45595e252..afe46c588 100644 --- a/plat/osx386/descr +++ b/plat/osx386/descr @@ -54,6 +54,7 @@ name led mapflag -l* LNAME={PLATFORMDIR}/lib* mapflag -fp FLOATS={EM}/{LIB}fp args {ALIGN} {SEPID?} \ + ({RTS}:.b=-u _i_main) \ (.e:{HEAD}={PLATFORMDIR}/boot.o) \ ({RTS}:.ocm.bas.b.c={PLATFORMDIR}/c-ansi.o) \ ({RTS}:.mod={PLATFORMDIR}/modula2.o) \ diff --git a/plat/osxppc/descr b/plat/osxppc/descr index 7fde17035..5f416c44c 100644 --- a/plat/osxppc/descr +++ b/plat/osxppc/descr @@ -59,8 +59,9 @@ name led mapflag -l* LNAME={PLATFORMDIR}/lib* mapflag -fp FLOATS={EM}/{LIB}fp args {ALIGN} {SEPID?} \ + ({RTS}:.b=-u _i_main) \ (.e:{HEAD}={PLATFORMDIR}/boot.o) \ - ({RTS}:.ocm.bas.c={PLATFORMDIR}/c-ansi.o) \ + ({RTS}:.ocm.bas.b.c={PLATFORMDIR}/c-ansi.o) \ ({RTS}:.mod={PLATFORMDIR}/modula2.o) \ ({RTS}:.p={PLATFORMDIR}/pascal.o) \ -o > < \ diff --git a/plat/pc86/descr b/plat/pc86/descr index 578ac292c..6a0db9e19 100644 --- a/plat/pc86/descr +++ b/plat/pc86/descr @@ -52,6 +52,7 @@ name led mapflag -i SEPID=-b1:0 mapflag -fp FLOATS={EM}/{ILIB}fp args {ALIGN} {SEPID?} \ + ({RTS}:.b=-u _i_main) \ (.e:{HEAD}={PLATFORMDIR}/boot.o) \ ({RTS}:.ocm.bas.b={PLATFORMDIR}/c-ansi.o) \ ({RTS}:.c={PLATFORMDIR}/c-ansi.o) \ diff --git a/plat/qemuppc/descr b/plat/qemuppc/descr index 2027b613c..f5191b249 100644 --- a/plat/qemuppc/descr +++ b/plat/qemuppc/descr @@ -62,6 +62,7 @@ name led mapflag -l* LNAME={PLATFORMDIR}/lib* mapflag -fp FLOATS={EM}/{LIB}fp args {ALIGN} {SEPID?} \ + ({RTS}:.b=-u _i_main) \ (.e:{HEAD}={PLATFORMDIR}/boot.o) \ ({RTS}:.ocm.bas.b={PLATFORMDIR}/c-ansi.o) \ ({RTS}:.c={PLATFORMDIR}/c-ansi.o) \ diff --git a/plat/rpi/descr b/plat/rpi/descr index 76c3f4707..43d3256a3 100644 --- a/plat/rpi/descr +++ b/plat/rpi/descr @@ -51,6 +51,7 @@ name led mapflag -i SEPID=-b1:0 mapflag -fp FLOATS={EM}/{ILIB}fp args {ALIGN} {SEPID?} \ + ({RTS}:.b=-u _i_main) \ (.e:{HEAD}={PLATFORMDIR}/boot.o) \ ({RTS}:.ocm.bas.b={PLATFORMDIR}/c-ansi.o) \ ({RTS}:.c={PLATFORMDIR}/c-ansi.o) \