!RunImage and enable-ff8 extensions

Theo Markettos theo at markettos.org.uk
Fri Oct 4 05:53:07 PDT 2002


The default filename from drlink when enable-ff8 is turned on should be
!RunImage,ff8 rather than !RunImage.  This patch fixes it:

--- riscos-aof/drlink/drlmain.c 1 Apr 2002 10:10:47 -0000       1.1.2.5
+++ riscos-aof/drlink/drlmain.c 4 Oct 2002 12:47:48 -0000
@@ -17,6 +17,8 @@
 #include "filehdr.h"
 #include "procdefs.h"
+#include "sdk-config.h"
+
 #ifdef TARGET_RISCOS
 #include <kernel.h>
 #endif
@@ -742,7 +744,11 @@
   default:
     break;
   }
+#if defined(CROSS_COMPILE) && defined(ENABLE_FILETYPE_FF8)
+  if (imagename==NIL) imagename = "!RunImage,ff8";
+#else
   if (imagename==NIL) imagename = "!RunImage";
+#endif
   opt_verbose = opt_verbose && !opt_quiet;
   return ok;
 }


-- 
Theo Markettos                 theo at markettos.org.uk
Liphook, Hampshire, UK         theom at chiark.greenend.org.uk
                               http://www.markettos.org.uk/




More information about the gcc mailing list