fcc: Fix link of start code
authorAlan Cox <alan@linux.intel.com>
Sun, 7 Dec 2014 14:32:31 +0000 (14:32 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 7 Dec 2014 14:32:31 +0000 (14:32 +0000)
From: Will Sowerbutts <will@sowerbutts.com>

crt0.s has lost the 0x100 bytes of space at the start of the executable
image. Attached patch to fcc corrects the link address.

Library/tools/fcc.c

index 844de34..966d535 100644 (file)
@@ -289,7 +289,7 @@ static void build_command(void)
     add_argument("--no-std-crt0");
     add_argument("--nostdlib");
     add_argument("--code-loc");
-    add_argument("0x0");
+    add_argument("0x100");
     add_argument("--data-loc");
     add_argument("0x0");
   }