summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-03 19:43:04 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-03 19:43:04 +0000
commit0bc380eb0b6738e18ede2f2b131bbddc318a3f78 (patch)
tree319cb8895a97487cc9db49183e3c58c4c07c2e04 /libobjc
parent02f2bf614bfd9707ad11eb453793e9e4b683fceb (diff)
downloadlinaro-gcc-0bc380eb0b6738e18ede2f2b131bbddc318a3f78.tar.gz
linaro-gcc-0bc380eb0b6738e18ede2f2b131bbddc318a3f78.tar.bz2
linaro-gcc-0bc380eb0b6738e18ede2f2b131bbddc318a3f78.zip
In libobjc/:
2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com> * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h. * objc/deprecated/objc_object_alloc.h: Removed. * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h. * objects.c (_objc_object_alloc, _objc_object_dispose, _objc_object_copy): Removed. * libobjc.def (__objc_object_alloc, __objc_object_copy, __objc_object_dispose): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174617 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog10
-rw-r--r--libobjc/Makefile.in1
-rw-r--r--libobjc/libobjc.def3
-rw-r--r--libobjc/objc/deprecated/objc_object_alloc.h8
-rw-r--r--libobjc/objc/objc-api.h2
-rw-r--r--libobjc/objects.c5
6 files changed, 10 insertions, 19 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index b53796d2606..7ebea349cec 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,5 +1,15 @@
2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
+ * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
+ * objc/deprecated/objc_object_alloc.h: Removed.
+ * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
+ * objects.c (_objc_object_alloc, _objc_object_dispose,
+ _objc_object_copy): Removed.
+ * libobjc.def (__objc_object_alloc, __objc_object_copy,
+ __objc_object_dispose): Removed.
+
+2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
+
* Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
* objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
* objc/deprecated/METHOD_NULL.h: Removed.
diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in
index 8601653a57a..71a974171e0 100644
--- a/libobjc/Makefile.in
+++ b/libobjc/Makefile.in
@@ -132,7 +132,6 @@ OBJC_DEPRECATED_H = \
Protocol.h \
objc_get_uninstalled_dtable.h \
objc_msg_sendv.h \
- objc_object_alloc.h \
struct_objc_category.h \
struct_objc_class.h \
struct_objc_ivar.h \
diff --git a/libobjc/libobjc.def b/libobjc/libobjc.def
index b825e4e3831..8a295c824f7 100644
--- a/libobjc/libobjc.def
+++ b/libobjc/libobjc.def
@@ -48,9 +48,6 @@ objc_thread_remove
__objc_class_name_Object
__objc_class_name_Protocol
__objc_class_name_NXConstantString
-__objc_object_alloc
-__objc_object_copy
-__objc_object_dispose
class_create_instance
object_copy
object_dispose
diff --git a/libobjc/objc/deprecated/objc_object_alloc.h b/libobjc/objc/deprecated/objc_object_alloc.h
deleted file mode 100644
index f6336ca8efa..00000000000
--- a/libobjc/objc/deprecated/objc_object_alloc.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/* These functions are deprecated and currently ignored. */
-/*
-** Hook functions for allocating, copying and disposing of instances
-*/
-objc_EXPORT id (*_objc_object_alloc)(Class _class);
-objc_EXPORT id (*_objc_object_copy)(id object);
-objc_EXPORT id (*_objc_object_dispose)(id object);
-
diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h
index 10a0e6194c1..bda614f6573 100644
--- a/libobjc/objc/objc-api.h
+++ b/libobjc/objc/objc-api.h
@@ -191,8 +191,6 @@ objc_EXPORT Class (*_objc_lookup_class)(const char *name);
*/
objc_EXPORT void (*_objc_load_callback)(Class _class, Category* category);
-#include "deprecated/objc_object_alloc.h"
-
/*
Standard functions for memory allocation and disposal. Users should
use these functions in their ObjC programs so that they work so that
diff --git a/libobjc/objects.c b/libobjc/objects.c
index 1c69456a630..bcfb25bd604 100644
--- a/libobjc/objects.c
+++ b/libobjc/objects.c
@@ -123,8 +123,3 @@ object_setClass (id object, Class class_)
}
}
-/* Hook functions for memory allocation and disposal. Deprecated and
- currently unused. */
-id (*_objc_object_alloc) (Class) = 0;
-id (*_objc_object_dispose) (id) = 0;
-id (*_objc_object_copy) (id) = 0;