summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/crt1.S
AgeCommit message (Collapse)Author
2010-07-21arm/crt1.S: Avoid dependency on PC+4 or PC+8Khem Raj
* fix a problem with Thumb PIE binaries, where the GOT was located incorrectly because of an offset 8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2008-11-25- Fix thumb2 PIE (Joseph S. Myers)Bernhard Reutner-Fischer
This patch fixes position-independent executables (PIEs) for Thumb-2. In Thumb assembly, instructions reading pc give a value 4 greater than the address of the instruction, rather than 8 greater as in ARM mode, so the offset to the GOT needs to have the right offset. (The Thumb-1 code already gets this right; it's the code shared by ARM and Thumb-2 that needs fixing.)
2008-03-26Paul Brook writes:Bernhard Reutner-Fischer
The attached patch adds support for compiling arm uClibc as pure Thumb code. This is needed because some recent ARM codes do not implement traditional ARM mode. Specifically: * Cortex-M1 - An extremely minimal FPGA based core that only implements Thumb-1 (aka ARMv6-M). * Cortex-M3 - A Thumb-2 only ARMv7-M core. Most of uClibc already builds in Thumb mode, all that is left are a handful of assembly bits. Tested on arm-uclinuxeabi.
2007-01-28Paul Brook writes:Mike Frysinger
The patch below tweaks the ARM nommu startup code so that doubleword stack alignment is preserved. This is required on EABI targets.
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-01-14fix loading of argc/argv for arm/nommuMike Frysinger
2005-11-10sync with glibcMike Frysinger
2005-10-05merge additional license cruft from glibcMike Frysinger
2005-09-29Add .type _init/_fini unconditionally to arm/crt1.SPeter S. Mazinger
2005-09-28arm/crt1.S needs features.h and the weak _init/_fini independently of ↵Peter S. Mazinger
__PIC__. Add these weaks to mips/crt1.S as well.
2005-09-18declare _init/_fini weak if UCLIBC_CTOR_DTOR is not definedMike Frysinger
2005-06-26Oops.Joakim Tjernlund
2005-06-25Change L_Scrt1 to __PIC__Joakim Tjernlund
2005-06-25Hopefully fix PIE apps.Joakim Tjernlund
2005-06-10Based on start.S from debian's glibc, this gets arm workingEric Andersen
properly with the new ABI
2005-06-10oops. I'd left some junk in thereEric Andersen
2005-06-10rework arm crt1 properly this time aroundEric Andersen
2005-06-10Dunno yet if I got this right or not, but it now at leastEric Andersen
has a chance of perhaps working...