* arm/crt0.S: Support armv6-m processors in libgloss.

* arm/swi.h: Likewise.
	* arm/trap.S: Likewise.
	* arm/redboot-crt0.S: Likewise.
	* arm/linux-crt0.c: Likewise.
	* arm/arm.h: New.
This commit is contained in:
Nick Clifton
2011-07-13 15:06:21 +00:00
parent 1d15e018c7
commit 415e1ecce4
7 changed files with 163 additions and 45 deletions

View File

@ -8,10 +8,11 @@
#include <stdlib.h>
#include <unistd.h>
#include "arm.h"
static int _main(int argc, char *argv[]) __attribute__((noreturn));
#if __thumb__ && !__thumb2__
#if defined(__thumb__) && !defined(THUMB_V7_V6M)
asm("\n"
".code 32\n"
".global _start\n"