OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check if GCC uses assembler cfi support
[pf3gnuchains/gcc-fork.git]
/
libobjc
/
linking.m
diff --git
a/libobjc/linking.m
b/libobjc/linking.m
index
fa31bdf
..
cf28e56
100644
(file)
--- a/
libobjc/linking.m
+++ b/
libobjc/linking.m
@@
-1,5
+1,5
@@
/* Force linking of classes required by Objective C runtime.
/* Force linking of classes required by Objective C runtime.
- Copyright (C) 1997, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2009
, 2010
Free Software Foundation, Inc.
Contributed by Ovidiu Predescu (ovidiu@net-community.com).
This file is part of GCC.
Contributed by Ovidiu Predescu (ovidiu@net-community.com).
This file is part of GCC.
@@
-23,17
+23,14
@@
a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-
+#include "objc-private/common.h"
#include <objc/Object.h>
#include <objc/Object.h>
-#include <objc/NXConstStr.h>
-
-/* Generate references to Object and NXConstanstString classes since they are
- needed by the runtime system to run correctly. */
+/* Generate references to Object class since it is needed by the
+ runtime system to run correctly. */
void __objc_linking (void)
{
void __objc_linking (void)
{
- [Object name];
- [NXConstantString name];
+ [Object class];
}
}