aboutsummaryrefslogtreecommitdiff
path: root/libobjc/gc.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-09Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.Jakub Jelinek1-11/+9
From-SVN: r145841
2006-01-24re PR libobjc/9751 (malloc of strlen, not strlen+1)David Ayers1-8/+12
2006-01-24 David Ayers <d.ayers@inode.at> PR libobjc/9751 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy and insure the new strings are '\0' termintated. From-SVN: r110187
2006-01-24re PR libobjc/13946 (ObjC configured --with-objc-gc needs external Boehm gc)David Ayers1-2/+2
2006-01-24 David Ayers <d.ayers@inode.at> PR libobjc/13946 * configure.ac: Add include directives for --enable-objc-gc. * Makefile.in: Ditto. * configure: Regenerate. * gc.c (__objc_class_structure_encoding): Increment the used bytes instead of the local pointer to them. From-SVN: r110182
2005-08-17All files: Update FSF address.Kelley Cook1-2/+2
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * All files: Update FSF address. From-SVN: r103197
2005-06-07archive.c, [...]: Include hash.h.David Ayers1-2/+2
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
2004-12-20re PR libobjc/12035 (Patch for libobjc/gc.c that fixes compilation error of ↵Andrew Pinski1-12/+3
Objective-C with garbage collector enabled) 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu> PR libobjc/12035 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since they are not used. Include limits.h and stdlib.h. From-SVN: r92437
2003-05-23Makefile.in, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode1-4/+4
2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c, class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h, objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h, objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h, objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC". From-SVN: r67131
2002-07-02encoding.h: Fix formatting.Rodney Brown1-31/+31
2002-07-02 Rodney Brown <rbrown64@csc.com.au> * 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. From-SVN: r55190
2002-06-15Object.m: Fix signed/unsigned warning.Kaveh R. Ghazi1-4/+4
* Object.m: Fix signed/unsigned warning. * 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. From-SVN: r54649
2001-09-10Removed the DEBUG declaration.Ovidiu Predescu1-2/+3
From-SVN: r45510
1998-09-29Makefile.in: Rewrite.Ben Elliston1-1/+1
* Makefile.in: Rewrite. * configure.in: Likewise. * configure: Regenerate. * All .c files. Remove "objc" prefix when including objc header files. Include tconfig.h, not ../tconfig.h. Co-Authored-By: Jeffrey A Law <law@cygnus.com> From-SVN: r22659
1998-09-211998-09-21 Ben Elliston <bje@cygnus.com>Ben Elliston1-0/+458
* New directory. Moved files from ../gcc/objc. From-SVN: r22514