mirror of git://gcc.gnu.org/git/gcc.git
archive.c, [...]: Include hash.h.
2005-06-07 David Ayers <d.ayers@inode.at> * archive.c, init.c, selector.c: Include hash.h. * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c, init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c: Include Objective-C headers with quotes and objc/ directory prefix. From-SVN: r100723
This commit is contained in:
parent
a4233c29b7
commit
348a344520
|
@ -1,3 +1,14 @@
|
||||||
|
2005-06-07 David Ayers <d.ayers@inode.at>
|
||||||
|
|
||||||
|
* archive.c, init.c, selector.c: Include hash.h.
|
||||||
|
* archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
|
||||||
|
init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
|
||||||
|
sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
|
||||||
|
thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
|
||||||
|
thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
|
||||||
|
Include Objective-C headers with quotes and objc/ directory
|
||||||
|
prefix.
|
||||||
|
|
||||||
2005-05-19 Richard Henderson <rth@redhat.com>
|
2005-05-19 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* exception.c: Revert last change.
|
* exception.c: Revert last change.
|
||||||
|
|
|
@ -25,9 +25,9 @@ Boston, MA 02111-1307, USA. */
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include "tconfig.h"
|
#include "tconfig.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
#include "typedstream.h"
|
#include "objc/typedstream.h"
|
||||||
#include "encoding.h"
|
#include "objc/encoding.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
extern int fflush (FILE *);
|
extern int fflush (FILE *);
|
||||||
|
|
|
@ -88,12 +88,12 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
classes from the table - and the difficult thing with lock-free data
|
classes from the table - and the difficult thing with lock-free data
|
||||||
structures is freeing data when is removed from the structures. */
|
structures is freeing data when is removed from the structures. */
|
||||||
|
|
||||||
#include "runtime.h" /* the kitchen sink */
|
#include "objc/runtime.h" /* the kitchen sink */
|
||||||
#include "sarray.h"
|
#include "objc/sarray.h"
|
||||||
|
|
||||||
#include <objc/objc.h>
|
#include "objc/objc.h"
|
||||||
#include <objc/objc-api.h>
|
#include "objc/objc-api.h"
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
|
|
||||||
/* We use a table which maps a class name to the corresponding class
|
/* We use a table which maps a class name to the corresponding class
|
||||||
* pointer. The first part of this file defines this table, and
|
* pointer. The first part of this file defines this table, and
|
||||||
|
|
|
@ -32,8 +32,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
#include "tconfig.h"
|
#include "tconfig.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "objc-api.h"
|
#include "objc/objc-api.h"
|
||||||
#include "encoding.h"
|
#include "objc/encoding.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#undef MAX
|
#undef MAX
|
||||||
|
|
|
@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
the executable file might be covered by the GNU General Public License. */
|
the executable file might be covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include "tconfig.h"
|
#include "tconfig.h"
|
||||||
#include "objc.h"
|
#include "objc/objc.h"
|
||||||
#include "encoding.h"
|
#include "objc/encoding.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -26,9 +26,9 @@ Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
|
|
||||||
#include "hash.h"
|
#include "objc/hash.h"
|
||||||
|
|
||||||
#include "runtime.h" /* for DEBUG_PRINTF */
|
#include "objc/runtime.h" /* for DEBUG_PRINTF */
|
||||||
|
|
||||||
/* These two macros determine when a hash table is full and
|
/* These two macros determine when a hash table is full and
|
||||||
by how much it should be expanded respectively.
|
by how much it should be expanded respectively.
|
||||||
|
|
|
@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
the executable file might be covered by the GNU General Public License. */
|
the executable file might be covered by the GNU General Public License. */
|
||||||
|
|
||||||
#define OBJC_IGNORE_DEPRECATED_API 1
|
#define OBJC_IGNORE_DEPRECATED_API 1
|
||||||
#include "hash.h"
|
#include "objc/hash.h"
|
||||||
|
|
||||||
cache_ptr
|
cache_ptr
|
||||||
hash_new (unsigned int size,
|
hash_new (unsigned int size,
|
||||||
|
|
|
@ -24,7 +24,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
however invalidate any other reasons why the executable file might be
|
however invalidate any other reasons why the executable file might be
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* The version number of this runtime. This must match the number
|
/* The version number of this runtime. This must match the number
|
||||||
defined in gcc (objc-act.c). */
|
defined in gcc (objc-act.c). */
|
||||||
|
|
|
@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define __USE_FIXED_PROTOTYPES__
|
#define __USE_FIXED_PROTOTYPES__
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Error handler function
|
** Error handler function
|
||||||
|
|
|
@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
/* This is the nil method, the function that is called when the receiver
|
/* This is the nil method, the function that is called when the receiver
|
||||||
of a method is nil */
|
of a method is nil */
|
||||||
|
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* When the receiver of a method invocation is nil, the runtime
|
/* When the receiver of a method invocation is nil, the runtime
|
||||||
returns nil_method() as the method implementation. This function
|
returns nil_method() as the method implementation. This function
|
||||||
|
|
|
@ -25,8 +25,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include "tconfig.h" /* include defs of bzero for target */
|
#include "tconfig.h" /* include defs of bzero for target */
|
||||||
#include "objc.h"
|
#include "objc/objc.h"
|
||||||
#include "runtime.h" /* the kitchen sink */
|
#include "objc/runtime.h" /* the kitchen sink */
|
||||||
|
|
||||||
#if OBJC_WITH_GC
|
#if OBJC_WITH_GC
|
||||||
# include <gc.h>
|
# include <gc.h>
|
||||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
This exception does not however invalidate any other reasons why
|
This exception does not however invalidate any other reasons why
|
||||||
the executable file might be covered by the GNU General Public License. */
|
the executable file might be covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include "sarray.h"
|
#include "objc/sarray.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
however invalidate any other reasons why the executable file might be
|
however invalidate any other reasons why the executable file might be
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
#include "sarray.h"
|
#include "objc/sarray.h"
|
||||||
#include "encoding.h"
|
#include "objc/encoding.h"
|
||||||
|
|
||||||
/* Initial selector hash table size. Value doesn't matter much */
|
/* Initial selector hash table size. Value doesn't matter much */
|
||||||
#define SELECTOR_HASH_SIZE 128
|
#define SELECTOR_HASH_SIZE 128
|
||||||
|
|
|
@ -32,9 +32,9 @@ Boston, MA 02111-1307, USA. */
|
||||||
#include "tconfig.h"
|
#include "tconfig.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
#include "sarray.h"
|
#include "objc/sarray.h"
|
||||||
#include "encoding.h"
|
#include "objc/encoding.h"
|
||||||
#include "runtime-info.h"
|
#include "runtime-info.h"
|
||||||
|
|
||||||
/* This is how we hack STRUCT_VALUE to be 1 or 0. */
|
/* This is how we hack STRUCT_VALUE to be 1 or 0. */
|
||||||
|
|
|
@ -25,8 +25,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* Key structure for maintaining thread specific storage */
|
/* Key structure for maintaining thread specific storage */
|
||||||
static pthread_key_t _objc_thread_storage;
|
static pthread_key_t _objc_thread_storage;
|
||||||
|
|
|
@ -25,8 +25,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* Key structure for maintaining thread specific storage */
|
/* Key structure for maintaining thread specific storage */
|
||||||
static pthread_key_t _objc_thread_storage;
|
static pthread_key_t _objc_thread_storage;
|
||||||
|
|
|
@ -29,8 +29,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
#include <sys/sysmp.h>
|
#include <sys/sysmp.h>
|
||||||
#include <sys/prctl.h>
|
#include <sys/prctl.h>
|
||||||
#include <ulocks.h>
|
#include <ulocks.h>
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* Key structure for maintaining thread specific storage */
|
/* Key structure for maintaining thread specific storage */
|
||||||
static void * __objc_shared_arena_handle = NULL;
|
static void * __objc_shared_arena_handle = NULL;
|
||||||
|
|
|
@ -28,8 +28,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <mach/mach.h>
|
#include <mach/mach.h>
|
||||||
#include <mach/cthreads.h>
|
#include <mach/cthreads.h>
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Obtain the maximum thread priority that can set for t. Under the
|
Obtain the maximum thread priority that can set for t. Under the
|
||||||
|
|
|
@ -29,8 +29,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "defaults.h"
|
#include "defaults.h"
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
#include <gthr.h>
|
#include <gthr.h>
|
||||||
|
|
||||||
/* Backend initialization functions */
|
/* Backend initialization functions */
|
||||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
however invalidate any other reasons why the executable file might be
|
however invalidate any other reasons why the executable file might be
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
#define INCL_DOSSEMAPHORES
|
#define INCL_DOSSEMAPHORES
|
||||||
#define INCL_DOSPROCESS
|
#define INCL_DOSPROCESS
|
||||||
|
|
|
@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
however invalidate any other reasons why the executable file might be
|
however invalidate any other reasons why the executable file might be
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
/* Key structure for maintaining thread specific storage */
|
/* Key structure for maintaining thread specific storage */
|
||||||
|
|
|
@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <pcthread.h>
|
#include <pcthread.h>
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* Key structure for maintaining thread specific storage */
|
/* Key structure for maintaining thread specific storage */
|
||||||
static pthread_key_t _objc_thread_storage;
|
static pthread_key_t _objc_thread_storage;
|
||||||
|
|
|
@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
however invalidate any other reasons why the executable file might be
|
however invalidate any other reasons why the executable file might be
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* Thread local storage for a single thread */
|
/* Thread local storage for a single thread */
|
||||||
static void *thread_local_storage = NULL;
|
static void *thread_local_storage = NULL;
|
||||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
however invalidate any other reasons why the executable file might be
|
however invalidate any other reasons why the executable file might be
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* Thread local storage for a single thread */
|
/* Thread local storage for a single thread */
|
||||||
static void *thread_local_storage = NULL;
|
static void *thread_local_storage = NULL;
|
||||||
|
|
|
@ -25,8 +25,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
however invalidate any other reasons why the executable file might be
|
however invalidate any other reasons why the executable file might be
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <synch.h>
|
#include <synch.h>
|
||||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
however invalidate any other reasons why the executable file might be
|
however invalidate any other reasons why the executable file might be
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* Thread local storage for a single thread */
|
/* Thread local storage for a single thread */
|
||||||
static void *thread_local_storage = NULL;
|
static void *thread_local_storage = NULL;
|
||||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
|
||||||
however invalidate any other reasons why the executable file might be
|
however invalidate any other reasons why the executable file might be
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <objc/thr.h>
|
#include "objc/thr.h"
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
#ifndef __OBJC__
|
#ifndef __OBJC__
|
||||||
#define __OBJC__
|
#define __OBJC__
|
||||||
|
|
|
@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
covered by the GNU General Public License. */
|
covered by the GNU General Public License. */
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "runtime.h"
|
#include "objc/runtime.h"
|
||||||
|
|
||||||
/* Global exit status. */
|
/* Global exit status. */
|
||||||
int __objc_thread_exit_status = 0;
|
int __objc_thread_exit_status = 0;
|
||||||
|
|
Loading…
Reference in New Issue