OSDN Git Service

Make -fdata-sections work for AVR port.
[pf3gnuchains/gcc-fork.git] / gcc / stub-objc.c
1 /* Stub functions for Objective-C and Objective-C++ routines
2    that are called from within the C and C++ front-ends,
3    respectively.
4    Copyright (C) 1991, 1995, 1997, 1998,
5    1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
6
7 This file is part of GCC.
8
9 GCC is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free
11 Software Foundation; either version 2, or (at your option) any later
12 version.
13
14 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
17 for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING.  If not, write to the Free
21 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 02111-1307, USA.  */
23
24 #include "config.h"
25 #include "system.h"
26 #include "coretypes.h"
27 #include "tree.h"
28 #include "c-common.h"
29
30 tree
31 objc_is_class_name (tree ARG_UNUSED (arg))
32 {
33   return 0;
34 }
35
36 tree
37 objc_is_object_ptr (tree ARG_UNUSED (arg))
38 {
39   return 0;
40 }
41
42 tree
43 objc_lookup_ivar (tree ARG_UNUSED (arg))
44 {
45   return 0;
46 }
47
48 void
49 objc_check_decl (tree ARG_UNUSED (decl))
50 {
51 }
52    
53 int
54 objc_is_reserved_word (tree ARG_UNUSED (ident))
55 {
56   return 0;
57 }
58
59 int
60 objc_comptypes (tree ARG_UNUSED (lhs), tree ARG_UNUSED (rhs),
61                 int ARG_UNUSED (reflexive))
62
63   return -1;
64 }
65
66 tree
67 objc_message_selector (void)
68
69   return 0;
70 }
71
72 void
73 objc_clear_super_receiver (void)
74 {
75 }
76
77 int
78 objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
79 {
80   return 1;
81 }