/* * This file is subject to the terms and conditions of the GNU General Public * License 2. See the file "COPYING-GPL-2" in the main directory of this * archive for more details. * * Copyright (C) 2013 Imagination Technologies Ltd. * Author: Yann Le Du */ #include .section .text.init, "ax" .type __start, @function .globl __start .set noreorder __start: SETUP_GPX($0) SETUP_GPX64($25, $0) PTR_LA $29, crt0_stack_high PTR_LA $25, init PTR_SUBU $29, (NARGSAVE * SZREG) jalr $25 nop 1: b 1b .section ".bss", "aw" .align 12 .global crt0_stack_low crt0_stack_low: .space 4096 .global crt0_stack_high crt0_stack_high: