summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/arm/crt0.S
Commit message (Collapse)AuthorAgeFilesLines
* Make macro checks ARMv8-M baseline proofThomas Preud'homme2016-01-281-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * libc/sys/arm/crt0.S: Remove 'start'.Corinna Vinschen2013-08-121-1/+0
|
* 2011-12-13 Richard Earnshaw <rearnsha@arm.com>Jeff Johnston2011-12-131-8/+36
| | | | | | | | | Thomas Klein <th.r.klein@web.de> * libc/sys/arm/crt0.S: Manually set the target architecture when compiling for Thumb1 on EABI targets. Don't use SWI on M-profile cores. Avoid v6-only Thumb-1 MOV instruction.
* oops - fix typo in previous delta.Nick Clifton2011-10-111-11/+390
|
* oops - omitted from previous delta.Nick Clifton2011-10-111-248/+31
|
* 2006-02-07 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-02-071-11/+27
| | | | | | | | * libc/machine/arm/setjmp.S: Add Thumb-2 support. * libc/sys/arm/crt0.S: Add Thumb-2 startup code. * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn. * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define. * libc/sys/arm/trap.S: Disable for Thumb-2.
* 2005-07-19 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-07-191-0/+7
| | | | * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
* 2005-01-07 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-01-071-0/+6
| | | | | | | | | | | * configure.in: Add test for .init_array. * configure: Regenerate. * newlib.hin: Add HAVE_INITFINI_ARRAY. * libc/misc/Makefile.am: Add init.c * libc/misc/Makefile.in: Regenerate. * libc/misc/init.c: New file. * libc/sys/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
| | | | * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
* Fix bugs in previous deltaNick Clifton2002-11-181-8/+6
|
* Add NULL to end of argv array.Nick Clifton2002-11-181-0/+7
|
* * Various formatting and whitespace changes.Thomas Fitzsimmons2002-04-301-1/+1
|
* For __USES_INITFINI__ preserve the argument vector before calling theNick Clifton2001-12-051-0/+4
| | | | initialisation functions.
* Add __stack_base__Anthony Green2001-11-131-1/+2
|
* oops omitted in previous deltaNick Clifton2001-09-181-14/+26
|
* Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>Jeff Johnston2000-06-281-0/+1
| | | | | * libc/sys/arm/crt0.S (.LC30): Added missing length parameter to argument list for AngelSWI_Reason_GetCmdLine.
* import newlib-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+244