Merging NList MCC 0.119 into the main branch.
[AROS.git] / workbench / classes / zune / nlist / include / shellstart.c
blobc641d38df4871b6b5cd07a82795f0eac4fa7f84d
1 /***************************************************************************
3 NList.mcc - New List MUI Custom Class
4 Registered MUI class, Serial Number: 1d51 0x9d510030 to 0x9d5100A0
5 0x9d5100C0 to 0x9d5100FF
7 Copyright (C) 1996-2001 by Gilles Masson
8 Copyright (C) 2001-2014 NList Open Source Team
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 NList classes Support Site: http://www.sf.net/projects/nlist-classes
22 $Id$
24 ***************************************************************************/
27 * The system (and compiler) rely on a symbol named _start which marks
28 * the beginning of execution of an ELF file. To prevent others from
29 * executing this library, and to keep the compiler/linker happy, we
30 * define an empty _start symbol here.
32 * On the classic system (pre-AmigaOS4) this was usually done by
33 * moveq #0,d0
34 * rts
38 #if defined(__amigaos3__)
39 asm(".text\n\
40 .even\n\
41 .globl _start\n\
42 _start:\n\
43 moveq #20,d0\n\
44 rts");
45 #else
46 LONG _start(void)
48 return RETURN_FAIL;
50 #endif