From a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 21 Oct 2008 07:00:00 -0700 Subject: Initial Contribution --- linker/arch/arm/begin.S | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 linker/arch/arm/begin.S (limited to 'linker/arch/arm/begin.S') diff --git a/linker/arch/arm/begin.S b/linker/arch/arm/begin.S new file mode 100644 index 0000000..f9b3bac --- /dev/null +++ b/linker/arch/arm/begin.S @@ -0,0 +1,17 @@ + .text + .align 4 + .type _start,#function + .globl _start + +_start: + mov r0, sp + mov r1, #0 + bl __linker_init + + /* linker init returns the _entry address in the main image */ + mov pc, r0 + + .section .ctors, "wa" + .globl __CTOR_LIST__ +__CTOR_LIST__: + .long -1 -- cgit v1.1