summaryrefslogtreecommitdiff
path: root/libobjc/sendmsg.c
Commit message (Collapse)AuthorAgeFilesLines
* Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.jakub2009-04-091-11/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145841 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-11-21 Kai Tietz <kai.tietz@onevision.com>ktietz2008-11-211-3/+3
| | | | | | | | | | | | | | | | * Object.m (errno): Replaced by errno.h include. (compare): Cast self to id to prevent warning on comparison. * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is already there. * sendmsg.c (__objc_print_dtable_stats): Remove type warnings. * thr-win32.c (__objc_thread_detach): Remove type warning. (__objc_thread_id): Likewise. * thr.c (__objc_thread_detach_functiont): Add __builtin_trap () for noreturn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142087 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-06-10 Kai Tietz <kai.tietz@onevision.com>ktietz2008-06-101-3/+5
| | | | | | | | | | | | | * Object.m (compare): Add type id. * objc/Object.h: Likewise. * archive.c (objc_read_class): Use size_t to extend version to be size of pointer scalar width. * sendmsg.c (rtx): Undefine it before redefinition. (__objc_print_dtable_stats): Cast arguments to long as intended. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136617 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-21 Andrew Ruder <andy@aeruder.net>pinskia2007-04-221-0/+6
| | | | | | | | | | * sendmsg.c (__objc_get_forward_imp): Call __objc_msg_forward2 for real. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124035 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-09 Andrew Ruder <andy@aeruder.net>pinskia2007-04-091-10/+15
| | | | | | | | | | | * sendmsg.c: Added __objc_msg_forward2, a hook that allows external libraries to provide a function that returns the real forwarding function based on both the selector and the receiver. * objc/objc-api.h: Define __objc_msg_forward2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123678 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>kcook2005-08-171-2/+2
| | | | | | | * All files: Update FSF address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103197 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-07 David Ayers <d.ayers@inode.at>ayers2005-06-071-3/+3
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100723 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-05-251-23/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from the libobjc-branch 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu> * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h. 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu> * Makefile.in (OBJC_H): Add objc-deps.h. 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it> * Protocol.m ([-conformsTo:]): If the argument is nil, return NO. ([-hash], [-isEqual:]): New methods. 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org> * sarray.c (sarray_free): Add a better comment. 2004-01-27 Adam Fedor <fedor@gnu.org> * hash.c (hash_add): Cast cachep to int. * selector.c (__sel_register_typed_name): Cast soffset_decode to int. 2004-01-27 Alexander Malmberg <alexander@malmberg.org> * selector.c: Rename register_selectors_from_list to __objc_register_selectors_from_list. Update caller. (__objc_register_selectors_from_list): Lock __objc_runtime_mutex while registering selectors. Use __sel_register_typed_name instead of sel_register_typed_name. Check for NULL method_name:s. (pool_alloc_selector): New function. (__sel_register_typed_name): Use pool_alloc_selector to allocate selector structures. * sendmsg.c (class_add_method_list): Use __objc_register_selectors_from_list. * objc/runtime.h: Add __objc_register_selectors_from_list. 2004-01-25 Adam Fedor <fedor@gnu.org> Nicola Pero <n.pero@mi.flashnet.it> Andrew Pinski <pinskia@physics.uc.edu> * objc/objc-decls.h: New file. * objc/objc-api.h (_objc_lookup_class): Mark as export. (_objc_load_callback): Likewise. (_objc_object_alloc): Likewise. (_objc_object_copy): Likewise. (_objc_object_dispose): Likewise. 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu> * archive.c: s/__inline__/inline * sendmsg.c: Likewise. * encoding.c: Remove FIXME about the warning about unused variable. * sendmsg.c: Add a FIXME comment saying that this should be using libffi. * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82253 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed rare threading problemnicola2003-07-101-14/+58
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69181 138bc75d-0d04-0410-961f-82ee72b054a4
* * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,neroden2003-05-231-4/+4
| | | | | | | | | | | makefile.dos, 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: Replace "GNU CC" with "GCC". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67134 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge basic-improvements-branch to trunkzack2002-12-161-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4
* Tidied up the declaration and usage of nil_methodnicola2002-09-121-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57074 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-02 Rodney Brown <rbrown64@csc.com.au>shebs2002-07-021-125/+125
| | | | | | | | | | | | | | | | | | | | | | | | | * objc/encoding.h: Fix formatting. * objc/hash.h: Likewise. * objc/objc-api.h: Likewise. * objc/runtime.h: Likewise. * objc/thr.h: Likewise. * archive.c: Likewise. * class.c: Likewise. * encoding.c: Likewise. * gc.c: Likewise. * hash.c: Likewise. * init.c: Likewise. * misc.c: Likewise. * nil_method.c: Likewise. * objects.c: Likewise. * sarray.c: Likewise. * selector.c: Likewise. * sendmsg.c: Likewise. * thr-mach.c: Likewise. * thr.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55190 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed warning from __objc_get_forward_imp not returning a valuenicola2002-06-171-27/+31
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54707 138bc75d-0d04-0410-961f-82ee72b054a4
* * Object.m: Fix signed/unsigned warning.ghazi2002-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Protocol.m: Likewise. * archive.c: Always include stdlib.h. (objc_read_short, objc_read_unsigned_short, objc_read_int, objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong): Fix signed/unsigned warning. (objc_write_type, objc_read_type, objc_write_types, objc_read_types): Ensure ctype 8-bit safety. (__objc_no_write, __objc_no_read): Mark unused parameters. * class.c (class_table_setup): Specify void arg. * encoding.c (atoi, objc_sizeof_type, objc_alignof_type, objc_skip_typespec, objc_skip_offset, objc_layout_structure_next_member): Ensure ctype 8-bit safety. (objc_layout_structure_next_member): Ensure variables are initialized. * gc.c (__objc_generate_gc_type_description, class_ivar_set_gcinvisible): Mark unused parameters. * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark unused parameters. (__objc_init_protocols) Fix signed/unsigned warning. * nil_method.c (nil_method): Mark unused parameters. * thr.h (objc_thread_callback): Specify void arg. * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix signed/unsigned warning. (sarray_free): Fix formatting. * selector.c (sel_types_match): Ensure ctype 8-bit safety. * sendmsg.c (__objc_init_install_dtable) Mark unused parameters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54649 138bc75d-0d04-0410-961f-82ee72b054a4
* Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>ovidiu2001-02-241-1/+0
| | | | | | | * sendmsg.c (__objc_forward): Delete strlen() declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40033 138bc75d-0d04-0410-961f-82ee72b054a4
* * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef insidejsm282001-01-121-5/+4
| | | | | | | printf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38931 138bc75d-0d04-0410-961f-82ee72b054a4
* Added __objc_msg_forward, a hook that allows external libraries toovidiu2001-01-031-9/+24
| | | | | | | | | | | provide a function that returns the real forwarding function. This can alleviate problems __builtin_apply() and friends have on various platforms. (Solution suggested by Helge Hess.) Define gen_rtx_REG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38650 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rewrite.law1998-09-301-1/+1
| | | | | | | | | | * configure.in: Likewise. * configure: Regenerate. * All .c files. Remove "objc" prefix when including objc header files. Include tconfig.h, not ../tconfig.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22659 138bc75d-0d04-0410-961f-82ee72b054a4
* 1998-09-21 Ben Elliston <bje@cygnus.com>bje1998-09-211-0/+648
* New directory. Moved files from ../gcc/objc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22514 138bc75d-0d04-0410-961f-82ee72b054a4