]> git.saurik.com Git - apple/objc4.git/blob - runtime/Messengers.subproj/objc-msg.s
objc4-208.tar.gz
[apple/objc4.git] / runtime / Messengers.subproj / objc-msg.s
1 /*
2 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
7 * Reserved. This file contains Original Code and/or Modifications of
8 * Original Code as defined in and that are subject to the Apple Public
9 * Source License Version 1.1 (the "License"). You may not use this file
10 * except in compliance with the License. Please obtain a copy of the
11 * License at http://www.apple.com/publicsource and read it before using
12 * this file.
13 *
14 * The Original Code and all software distributed under the License are
15 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
16 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
17 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE OR NON- INFRINGEMENT. Please see the
19 * License for the specific language governing rights and limitations
20 * under the License.
21 *
22 * @APPLE_LICENSE_HEADER_END@
23 */
24 /*
25 * Copyright 1988-1996 NeXT Software, Inc.
26 *
27 * objc-msg.s
28 *
29 * 31-Dec-96 Umesh Vaishampayan (umeshv@NeXT.com)
30 * Added support for ppc. cleaned m98k and m88k stuff.
31 */
32
33 #import "../objc-config.h"
34
35 #if defined (m68k)
36 #if defined(OBJC_COLLECTING_CACHE)
37 #include "objc-msg-m68k-nolock.s"
38 #else
39 #include "objc-msg-m68k-lock.s"
40 #endif
41
42 #elif defined (WIN32)
43 #include "objc-msg-i386-nextpdo-winnt3.5.s"
44
45 #elif defined (__i386__) || defined (i386)
46 #include "objc-msg-i386.s"
47
48 #elif defined (hppa)
49 #if defined(NeXT_PDO)
50 #if defined(NSBUILDINGHPUXSHLIB)
51 #include "objc-msg-hppa-pdo-pic.s"
52 #else
53 #include "objc-msg-hppa-pdo.s"
54 #endif
55 #elif defined(OBJC_COLLECTING_CACHE)
56 #include "objc-msg-hppa-nolock.s"
57 #else
58 #include "objc-msg-hppa-lock.s"
59 #endif
60
61 #elif defined (sparc)
62 #if defined(NeXT_PDO)
63 #include "objc-msg-sparc-pdo.s"
64 #else
65 #include "objc-msg-sparc.s"
66 #endif
67
68 #elif defined (__ppc__) || defined(ppc)
69 #include "objc-msg-ppc.s"
70
71 #else
72 #error Architecture not supported
73 #endif