summaryrefslogtreecommitdiffstats
path: root/libgloss/arm/crt0.S
Commit message (Collapse)AuthorAgeFilesLines
* Fixed semihosting for ARM when heapinfo not provided by debugger.David Hoover2016-04-211-1/+3
|
* Make macro checks ARMv8-M baseline proofThomas Preud'homme2016-01-281-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libgloss: * arm/Makefile.in: Add newlib/libc/machine/arm to the include path if newlib is present. * arm/arm.h: Include acle-compat.h. (THUMB_V7_V6M): Rename to ... (PREFER_THUMB): This. Use ACLE macros __ARM_ARCH_ISA_ARM instead of __ARM_ARCH_6M__ to decide whether to define it. (THUMB1_ONLY): Define for Thumb-1 only targets. (THUMB_V7M_V6M): Rename to ... (THUMB_VXM): This. Defined based on __ARM_ARCH_ISA_ARM, excluding ARMv7. * arm/crt0.S: Use THUMB1_ONLY rather than __ARM_ARCH_6M__, !__ARM_ARCH_ISA_ARM rather than THUMB_V7M_V6M for fp enabling, and PREFER_THUMB rather than THUMB_V7_V6M. Rename other occurences of THUMB_V7M_V6M to THUMB_VXM. * arm/linux-crt0.c: Likewise. * arm/redboot-crt0.S: Likewise. * arm/swi.h: Likewise. * arm/trap.S: Likewise. newlib: * libc/machine/arm/memcpy-stub.c: Use ACLE macros __ARM_ARCH_ISA_THUMB and __ARM_ARCH_ISA_ARM to check for Thumb-2 only targets rather than __ARM_ARCH and __ARM_ARCH_PROFILE. * libc/machine/arm/memcpy.S: Likewise. * libc/machine/arm/setjmp.S: Likewise for Thumb-1 only target and include acle-compat.h. * libc/machine/arm/strcmp.S: Likewise for Thumb-1 and Thumb-2 only target and include acle-compat.h. * libc/sys/arm/arm.h: Include acle-compat.h. (THUMB_V7_V6M): Rename to ... (PREFER_THUMB): This. Use ACLE macro __ARM_ARCH_ISA_ARM instead of __ARM_ARCH_6M__ to decide whether to define it. (THUMB1_ONLY): Define for Thumb-1 only targets. (THUMB_V7M_V6M): Rename to ... (THUMB_VXM): This. Defined based on __ARM_ARCH_ISA_ARM, excluding ARMv7. * libc/sys/arm/crt0.S: Use PREFER_THUMB rather than THUMB_V7_V6M and rename THUMB_V7M_V6M into THUMB_VXM. * libc/sys/arm/swi.h: Likewise.
* * arm/crt0.S: Initialise __heap_limit when ARM_RDI_MONITOR is defined.Corinna Vinschen2015-02-171-0/+5
| | | | | * arm/syscalls.c: define __heap_limit global symbol. * arm/syscalls.c (_sbrk): Honour __heap_limit.
* 2013-10-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>Richard Earnshaw2013-10-141-0/+7
| | | | | | * arm/cpu-init/rdimon-aem.S: Disable for M class cores. * arm/crt0.S: Don't call _rdimon_hw_init_hook for non-A class cores. * arm/cpu-init/Makefile.in (CPU_INIT_OBJS): Use CFLAGS.
* 2013-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>Richard Earnshaw2013-09-201-0/+6
| | | | | | | | | | | | | | | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Greta Yorsh <greta.yorsh@arm.com> * arm/Makefile.in: Add support for cpu-init directory and add elf-aprofile-ve.specs. * arm/configure.in: Likewise. * arm/configure: Regenerate. * arm/cpu-init: New directory. * arm/cpu-init/Makefile.in: New file. * arm/cpu-init/rdimon-aem.S: Likewise. * arm/crt0.S: Call _rdimon_init_hook * arm/elf-aprofile-ve.specs: New file.
* * aarch64/crt0.S: Remove 'start'.Corinna Vinschen2013-08-121-1/+0
| | | | | * arm/crt0.S: Ditto. * arm/redboot-crt0.S: Ditto.
* 2013-07-02 Joey Ye <joey.ye@arm.com>Jeff Johnston2013-07-021-1/+17
| | | | | * arm/crt0.S (_mainCRTStartup): Weak reference to atexit and _fini when lite exit is enabled.
* 2011-12-13 Richard Earnshaw <rearnsha@arm.com>Jeff Johnston2011-12-131-7/+31
| | | | | | | | Thomas Klein <th.r.klein@web.de> * arm/crt0.S: Manually set the target architecture when compiling for Thumb1 on EABI targets. Avoid v6-only Thumb-1 MOV instruction.
* * arm/crt0.s: Support 0 heap base response from HeapInfo syscall.Nick Clifton2011-09-291-0/+13
|
* * arm/arm.h (HAVE_CALL_INDIRECT): Define.Nick Clifton2011-09-291-12/+12
| | | | | * arm/crt0.S (indirect_call): New macro. Encodes indirect function calls. Does not use blx for pre-armv5 targets.
* * arm/crt0.S: Support armv6-m processors in libgloss.Nick Clifton2011-07-131-32/+78
| | | | | | | | * arm/swi.h: Likewise. * arm/trap.S: Likewise. * arm/redboot-crt0.S: Likewise. * arm/linux-crt0.c: Likewise. * arm/arm.h: New.
* 2008-10-06 Bill Tompkins <bill+newlib@key-square.com>Jeff Johnston2008-10-061-0/+9
| | | | | * arm/crt0.S: Fix calling hardware_init_hook() or software_init_hook() under thumb and thumb2.
* * libc/machine/arm/setjmp.S: Fix thumb2 support.Nick Clifton2008-04-251-1/+8
| | | | | * arm/crt0.S: Allow assembly under ARMv7 ISA. Support for initializing stack pointers for interrupt modes is still pending.
* 2007-08-13 Carlos O'Donell <carlos@codesourcery.com>Jeff Johnston2007-08-131-4/+0
| | | | | * arm/crt0.S: Remove '.set' for __stack, hardware_init_hook, and software_init_hook.
* 2006-02-07 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-02-071-11/+27
| | | | | | | | * arm/crt0.S: Add Thumb-2 startup code. * arm/redboot-crt0.S: Ditto. * arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn. * arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define. * arm/trap.S: Disable for Thumb-2.
* 2005-07-19 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-07-191-0/+7
| | | | * arm/crt0.S: Ensure doubleword stack alignment.
* 2005-01-07 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-01-071-0/+6
| | | | | * arm/crt0.S: Call __libc_{init,fini}_array instead of _init/_fini if they exist.
* 2004-11-26 Paul Brook <paul@codesourcery.com>Jeff Johnston2004-11-261-0/+9
| | | | * arm/crt0.S (_start): Add .cantunwind annotation.
* 2004-06-09 Toralf Lund <toralf@procaptura.com>Jeff Johnston2004-06-091-0/+359
* 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.