1/* 2 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de> 3 * economic rights: Technische Universität Dresden (Germany) 4 * This file is part of TUD:OS and distributed under the terms of the 5 * GNU Lesser General Public License 2.1. 6 * Please see the COPYING-LGPL-2.1 file for details. 7 */ 8/* -*- c -*- */ 9 10/*#include <l4/sys/compiler.h>*/ 11 12.macro enter_kdebug 13/* mov lr, pc */ 14 bla #-0x00000020-8 15 b 1f 16 .ascii " crtx " 17 .byte 0 18 .align 4 19 1: 20.endm 21 22.section .text.init, "ax" 23.type _start, @function 24.globl _start 25_start: 26 lwz %r3, 4(%r1) 27 mr %r4, %r1 28 bl __main 291: 30 b 1b 31 32.section ".data" 33 .global __dso_handle 34__dso_handle: 35 .long 0 36 37