libgloss/
* arm/Makefile.in: Include _exit.c in BSPs. Add rdimon-ram.ld.
Build linker scripts instead of spec files for rdimon and rdpmon.
Pass CRT0 ad BSP to arm.sc.
* arm/_exit.c: New file.
* arm/arm.sc: Add STARTUP, GROUP and SEARCH_DIR. Remove defaults
for ROM and RAM.
* arm/crt0.S: Give Thumb-2 symbols function type.
Skip generic Arm init code for Thumb-2.
Add _nmi_isr and _fault_isr.
* arm/libcfunc.c (do_AngelSWI): Remove.
* arm/swi.h (do_AngelSWI): New function.
* arm/syscalls.c (do_AngelSWI): Remove.
(_exit): Remove.
(isatty): New function.
* arm/crt0.S: Copied from newlib and it now also sets up stacks for
FIQ and IRQ mode, plus calls hardware_init_hook() and
software_init_hook() if present.
* arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
from newlib.
* arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
librdpmon.a, librdimon.a - support file for "bare" setup, as well
as "RDP" and "RDI" monitors.
* arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
with above mentioned support libs and startfiles.