objc PATCH: add missing functions to libobjc/libobjc.def

Nicola Pero nicola@brainstorm.co.uk
Fri Sep 20 02:43:00 GMT 2002


GNUstep's libobjc has quite a maintained and updated libobjc.def - GCC's
one seems old in comparison - I'd like to merge the differences to get
GCC's one up to date (and reduce the differences).

I'm not sure that the libobjc shipped with GCC compiles properly on
Windows :-) I don't have such a system, but from the GNUstep howtos I
think on windows people normally replace the libobjc.a which is installed
by GCC with gnustep's libobjc (because gnustep's one compiles properly as
a DLL on windows).  It would be quite nice if this step wasn't required
... if the libobjc shipped with gcc would compile nicely as a proper DLL.

So, I suppose this patch is a first start ... libobjc.def is supposed to
contain the list of useful functions to expose, and some are missing, so
here is a patch adding them.

Thu Sep 12 13:05:33 2002  Nicola Pero  <n.pero@mi.flashnet.it>

        * libobjc.def (__objc_runtime_mutex, __objc_is_multi_threaded,
        __objc_runtime_threads_alive, objc_set_thread_callback,
        objc_condition_allocate, objc_condition_deallocate,
        objc_condition_wait, objc_condition_broadcast,
        objc_condition_signal, objc_set_error_handler): Added.

Index: libobjc.def
===================================================================
RCS file: /cvs/gcc/gcc/libobjc/libobjc.def,v
retrieving revision 1.3
diff -u -r1.3 libobjc.def
--- libobjc.def 15 Mar 2001 02:18:09 -0000      1.3
+++ libobjc.def 20 Sep 2002 09:26:01 -0000
@@ -60,6 +60,15 @@
 __objc_init_selector_tables
 __objc_register_selectors_from_class
 __sel_register_typed_name
+__objc_runtime_mutex
+__objc_is_multi_threaded
+__objc_runtime_threads_alive
+objc_set_thread_callback
+objc_condition_allocate
+objc_condition_deallocate
+objc_condition_wait
+objc_condition_broadcast
+objc_condition_signal
 sel_get_any_typed_uid
 sel_get_any_uid
 sel_get_name
@@ -161,3 +170,4 @@
 hash_next
 hash_remove
 hash_value_for_key
+objc_set_error_handler




More information about the Gcc-patches mailing list