summaryrefslogtreecommitdiff
path: root/libobjc
Commit message (Collapse)AuthorAgeFilesLines
* libiberty:zack2004-06-282-28/+36
| | | | | | | | | | | | * cp-demangle.h: Declare cplus_demangle_operators, cplus_demangle_builtin_types, cplus_demangle_mangled_name, and cplus_demangle_type as static if IN_GLIBCPP_V3. libobjc: * encoding.c: Rename target_flags with a #define to avoid conflict with a prior declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83800 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-24 Andrew Pinski <apinski@apple.com>pinskia2004-06-259-0/+98
| | | | | | | | | | | | | | | * objc/encoding.h: Wrap the functions with extern "C" for C++ mode. * objc/hash.h: Likewise. * objc/objc-api.h: Likewise. * objc/objc-list.h: Likewise. * objc/runtime.h: Likewise. * objc/sarray.h: Likewise. * objc/thr.h: Likewise. * objc/typedstream.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83635 138bc75d-0d04-0410-961f-82ee72b054a4
* * encoding.c (BITS_PER_UNIT): Define if a definition is not provided.nickc2004-06-212-1/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83438 138bc75d-0d04-0410-961f-82ee72b054a4
* Tidied up/fixed compilation of exception.cnicola2004-06-192-1/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83399 138bc75d-0d04-0410-961f-82ee72b054a4
* * exception.c: New file.rth2004-06-183-1/+378
| | | | | | | | * Makefile.in (exception.lo): New. (OBJS): Add it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83331 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-06-142-0/+11
| | | | | | | | * linking.m (_objcInit): New empty function for Darwin only. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83082 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-06-113-19/+34
| | | | | | | | * configure.ac: Support --enable-shared=libobjc. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82995 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-06-113-9/+12
| | | | | | | | | PR libobjc/15901 * configure.ac: Do not disable shared by default. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82980 138bc75d-0d04-0410-961f-82ee72b054a4
* Improved [Protocol -isEqual:], now more correct and fasternicola2004-06-042-1/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82619 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-05-264-9/+14
| | | | | | | | | * configure.ac (includedir): Rename to ... (includedirname). * Makefile.in: s/includedir/includedirname/. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82273 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-05-254-10/+52
| | | | | | | | | | | | | PR target/11572 * configure.ac (includedir): Set to "include" except for Darwin. (libext) Set to empty except for Darwin. * configure: Regenerate * Makefile.in: s/libobjc.la/libobjc$(libext).la/g. s/include/$(includedir)/g. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82266 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Add .NOEXPORT.drow2004-05-252-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82256 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-05-2512-87/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* PR bootstrap/15120kkojima2004-05-181-1/+1
| | | | | | | | * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*. * */configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81980 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-05-132-2/+7
| | | | | | | | * archive.c (objc_read_class): Initialize class_name. (objc_read_selector): Initialize selector_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81798 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge tree-ssa-20020619-branch into mainline.dnovillo2004-05-131-22/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81764 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (toolexecdir): Remove trailing space.rsandifo2004-05-092-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81654 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libobjc/14948neroden2004-04-153-21/+32
| | | | | | | | * configure.ac: De-precious CC so multilibs work. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80724 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Restore toolexecdir.neroden2004-04-144-2/+21
| | | | | | | | * Makefile.in: Restore toolexecdir. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80690 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Remove (unused) glibcpp_prefixdir.neroden2004-04-093-9/+5
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80556 138bc75d-0d04-0410-961f-82ee72b054a4
* (libobjc)neroden2004-04-093-1/+4
| | | | | | | | | | | | * configure.in: Rename to configure.ac. * Makefile.in: Update to match. (contrib) * gcc_update (files_and_dependencies): libobjc/configure now depends on configure.ac, not configure.in. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80555 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).neroden2004-04-095-327/+66
| | | | | | | | | | | | Replace glibcpp_toolexeclibdir with toolexeclibdir. * configure.in: Remove glibcpp_toolexecdir (unused). Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate config.h or stamp-h (unused). Move one comment to the right place. * configure: Regenerate. * config.h.in: Remove (unused). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80554 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.h.in: Regenerate with autoheader.neroden2004-04-091-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80553 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Remove (unused) gcc_version_trigger.neroden2004-04-094-6/+54
| | | | | | | | | * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST gcc_version_trigger. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80552 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.neroden2004-04-093-143/+203
| | | | | | | | | Sort file into sections. Remove dnl where appropriate. Fix other style issues. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80551 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Replace old AC_PROG_CC hack with new one.neroden2004-04-094-1744/+4672
| | | | | | | | | | | Define toplevel_srcdir in terms of srcdir, not top_srcdir (there are no subdirectory output files, so this is fine). Change prereq to autoconf 2.59. * aclocal.m4: Include ../config/no-executables.m4. * configure: Regenerate with autoconf 2.59. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80549 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Improve comments on gthread_cflags. Improve m4neroden2004-04-093-16/+18
| | | | | | | | quotation, and replace 'if test' with 'case', for --enable-objc-gc. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80548 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Move PACKAGE and VERSION settings up top. Removeneroden2004-04-093-197/+83
| | | | | | | | | unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove redundant checks for values of RANLIB, AR, INSTALL. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80547 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Clean up handling ofneroden2004-04-095-478/+425
| | | | | | | | | | | | | | | | | | | | | | | | --enable-version-specific-runtime-libs and related variables; replace 'if test' with 'case' where reasonable. Fix comments. Remove useless libstdcxx_interface. * configure: Regenerate. * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET. Replace uses of target_alias with target_noncanonical. * aclocal.m4: Include ../config/acx.m4. * configure: Regenerate. * Makefile.in: Replace uses of target_alias with target_noncanonical. Fix copyright statement. * configure.in: Hand-inline bulky, confusing macros from aclocal.m4. Replace references to "GNU Objective C" with "GCC". Update copyright notice. Remove stuff for automake, which isn't used in this directory. Remove emacs local variables. * aclocal.m4: Remove hand-inlined macros. Update copyright notice. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80546 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-16 Manfred Hollstein <mh@suse.com>manfred2004-03-164-3/+7
| | | | | | | * Makefile.in, configure.in, configure: Update copyright years. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79530 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-15 Manfred Hollstein <mh@suse.com>manfred2004-03-154-2/+21
| | | | | | | | | | | * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use definition from configure.in. * configure.in (PACKAGE): Add definition. (VERSION): Add definition; substitute it in output files. * configure: Re-generate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79508 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-05 Ziemowit Laski <zlaski@apple.com>zlaski2004-03-053-3/+11
| | | | | | | | | | | * objc/hash.h (hash_string, compare_strings): Add type-casts to make Objective-C++ happy. * objc/typedstream.h (objc_get_stream_class_version): Rename parameter from 'class' to 'class_name' to make Objective-C++ happy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78986 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.matz2004-03-012-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78706 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc/ChangeLog]zlaski2004-02-062-0/+9
| | | | | | | | | | | | | | | | | 2004-02-06 Ziemowit Laski <zlaski@apple.com> * objc/objc-act.c (build_super_template) the 'class' field of 'struct _objc_super' shall be named 'super_class' #ifdef OBJCPLUS. (get_super_receiver): Likewise. [gcc/libobjc/ChangeLog] 2004-02-06 Ziemowit Laski <zlaski@apple.com> * objc/objc-api.h (objc_super): The 'class' field shall be named 'super_class' #ifdef __cplusplus. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77430 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-01-172-0/+16
| | | | | | | | | | | | | | | | | | | PR target/10781 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): Prototype. * config/rs6000/rs6000.c (rs6000_special_round_type_align): New function. * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it. * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise. * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise. 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu> PR target/10781 * encoding.c (rs6000_special_round_type_align): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76043 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-14 Adam Fedor <fedor@gnu.org>pinskia2004-01-152-0/+8
| | | | | | | | | PR libobjc/12155 * selector.c (__objc_register_instance_methods_to_class): Free new_list if not used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75899 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-09 Andrew Ruder <aeruder@ksu.edu>pinskia2004-01-102-3/+9
| | | | | | | | PR libobjc/11904 * sarray.c (sarray_free): Free array->is_copy_of latter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75630 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 11433zack2003-12-012-14/+23
| | | | | | | | | | | | gcc/testsuite: * objc.dg/proto-lossage-3.m: New test. libobjc: * Protocol.m (descriptionForInstanceMethod): Don't dereference instance_methods if it's NULL. (descriptionForClassMethod): Likewise for class_methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74137 138bc75d-0d04-0410-961f-82ee72b054a4
* libobjc:ro2003-10-232-1/+5
| | | | | | | | | | | * Makefile.in (runtime-info.h): Remove -Wp. gcc: * objc/lang-specs.h: Handle -print-objc-runtime-info. * doc/invoke.texi (Objective-C Dialect Options): Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72870 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (CC1OBJ): Remove.ro2003-10-212-11/+11
| | | | | | | | | | (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled correctly. Use .m extension for temporary file. Remove assembler temp file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72752 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/hash.h (hash_string): Don't use a cast as an lvalue.jsm282003-10-202-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72722 138bc75d-0d04-0410-961f-82ee72b054a4
* * config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.ro2003-10-172-3/+8
| | | | | | | | libobjc: * Makefile.in (runtime-info.h): Use MULTIFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72598 138bc75d-0d04-0410-961f-82ee72b054a4
* * libtool.m4 (LD): Correct powerpc64 host match.amodra2003-09-092-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71229 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-27 Alexander Malmberg <alexander@malmberg.org>zlaski2003-08-284-3/+9
| | | | | | | | | * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of (libdir)/gcc-lib/ when installing. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70879 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed rare threading problemnicola2003-07-102-14/+67
| | | | 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-2327-104/+110
| | | | | | | | | | | 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
* 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>neroden2003-05-2321-82/+90
| | | | | | | | | | | * 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". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67131 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed getting the superclass when building class tree used for +load, wouldnicola2003-05-152-10/+56
| | | | | | | cause extremely rare crashes git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66822 138bc75d-0d04-0410-961f-82ee72b054a4
* libobjc/8562ljrittle2003-04-114-21/+30
| | | | | | | | | | | | | | (in libobjc:) * objc/hash.h (hash_string): Constify correctly. (compare_ptrs): Use direct compare. * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow. * objc/sarray.h: Global rename index to indx to avoid shadow. (in gcc/testsuite:) * objc.dg/headers.m: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65461 138bc75d-0d04-0410-961f-82ee72b054a4
* * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.aoliva2003-04-111-1/+1
| | | | | | | * */configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65459 138bc75d-0d04-0410-961f-82ee72b054a4