arch/cpu.resource: remove dead code
[AROS.git] / workbench / classes / zune / texteditor / include / shellstart.c
blob121f652f6a243fc8564f620c01d3f6f429768d2a
1 /***************************************************************************
3 TextEditor.mcc - Textediting MUI Custom Class
4 Copyright (C) 1997-2000 Allan Odgaard
5 Copyright (C) 2005-2014 TextEditor.mcc Open Source Team
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
17 TextEditor class Support Site: http://www.sf.net/projects/texteditor-mcc
19 $Id$
21 ***************************************************************************/
24 * The system (and compiler) rely on a symbol named _start which marks
25 * the beginning of execution of an ELF file. To prevent others from
26 * executing this library, and to keep the compiler/linker happy, we
27 * define an empty _start symbol here.
29 * On the classic system (pre-AmigaOS4) this was usually done by
30 * moveq #0,d0
31 * rts
35 #if defined(__amigaos3__)
36 asm(".text\n\
37 .even\n\
38 .globl _start\n\
39 _start:\n\
40 moveq #20,d0\n\
41 rts");
42 #else
43 LONG _start(void)
45 return RETURN_FAIL;
47 #endif