summaryrefslogtreecommitdiff
path: root/libobjc
Commit message (Collapse)AuthorAgeFilesLines
* * libtool.m4 (LD): Correct powerpc64 host match.Alan Modra2003-09-092-1/+5
| | | | From-SVN: r71229
* Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of ↵Alexander Malmberg2003-08-284-3/+9
| | | | | | | | | | | | (libdir)/gcc-lib/ when installing. 2003-08-27 Alexander Malmberg <alexander@malmberg.org> * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of (libdir)/gcc-lib/ when installing. * configure: Regenerate. From-SVN: r70879
* Fixed rare threading problemNicola Pero2003-07-102-14/+67
| | | | From-SVN: r69181
* hash.c, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode2003-05-2327-104/+110
| | | | | | | | | | | * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m, 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". From-SVN: r67134
* Makefile.in, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode2003-05-2321-82/+90
| | | | | | | | | | | | 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
* Fixed getting the superclass when building class tree used for +load, wouldRichard Frith-Macdonald2003-05-152-10/+56
| | | | | | | | cause extremely rare crashes Co-Authored-By: Nicola Pero <n.pero@mi.flashnet.it> From-SVN: r66822
* (in libobjc:)David Chad2003-04-114-21/+30
| | | | | | | | | | | | | | | | libobjc/8562 (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. Co-Authored-By: Loren J. Rittle <ljrittle@acm.org> From-SVN: r65461
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.Alexandre Oliva2003-04-111-1/+1
| | | | | | | * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*. * */configure: Rebuilt. From-SVN: r65459
* configure.in: Avoid trailing /.Andreas Schwab2003-03-123-60/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-10 Andreas Schwab <schwab@suse.de> boehm-gc: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libf2c: * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * configure: Rebuilt. libffi: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libjava: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libobjc: * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * configure: Rebuilt. libstdc++-v3: * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * aclocal.m4, configure: Rebuilt. zlib: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. From-SVN: r64267
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status.Alexandre Oliva2003-02-203-42/+65
| | | | | | | | * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status. * configure: Rebuilt. From-SVN: r63159
* aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)...Alexandre Oliva2003-01-283-62/+113
| | | | | | | | | * aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless version_specific_libs is enabled. * configure: Rebuilt. From-SVN: r61936
* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.Christian Cornelssen2003-01-092-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libf2c: 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. (install, uninstall): Prepend $(DESTDIR) to destination paths in all (un)installation commands. libiberty: 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. libobjc: 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. (install-libs, install-headers): Prepend $(DESTDIR) to destination paths in all (un)installation commands. libstdc++: 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> * include/Makefile.am (install-data-local): Prepend $(DESTDIR) to destination paths in all (un)installation commands. Use ${c_base_builddir} and ${std_builddir} as destination subdirectories to achieve consistency with preceding mkinstalldirs commands. No effect because both variables contain "." only. * include/Makefile.in: Regenerate. From-SVN: r61082
* Merge basic-improvements-branch to trunkZack Weinberg2002-12-166-172/+123
| | | | From-SVN: r60174
* Makefile.am (all-multi): Fix multilib parallel build.Kaveh R. Ghazi2002-09-232-1/+5
| | | | | | | | | | | | | | | | | | | | | boehm-gc: * Makefile.am (all-multi): Fix multilib parallel build. libf2c: * Makefile.in (all): Fix multilib parallel build. libffi: * Makefile.am (all-multi): Fix multilib parallel build. libiberty: * Makefile.in (all): Fix multilib parallel build. libjava: * Makefile.am (all-multi): Fix multilib parallel build. libobjc: * Makefile.in (all): Fix multilib parallel build. libstdc++-v3: * Makefile.am (all-multi): Fix multilib parallel build. zlib: * Makefile.am (all-multi): Fix multilib parallel build. From-SVN: r57423
* Small cleanups of nil_method in sendmsg.cNicola Pero2002-09-121-0/+7
| | | | From-SVN: r57075
* Tidied up the declaration and usage of nil_methodNicola Pero2002-09-121-3/+3
| | | | From-SVN: r57074
* Added long comments on why nil_method takes the arguments it takes and howNicola Pero2002-09-121-4/+19
| | | | | | it's going to be used From-SVN: r57073
* Added comments to the definition of IMPNicola Pero2002-09-121-1/+8
| | | | From-SVN: r57072
* Fix entry.Andreas Jaeger2002-09-101-1/+2
| | | | From-SVN: r57004
* nil_method.c (nil_method): No longer varardic.Jan Hubicka2002-09-102-1/+9
| | | | | | | | 2002-09-10 Jan Hubicka <jh@suse.cz> * nil_method.c (nil_method): No longer varardic. From-SVN: r57001
* configure, configure: Rebuilt.Alexandre Oliva2002-08-141-90/+126
| | | | | | | | | | | | | | | | | | | * boehm-gc/configure, libf2c/configure: Rebuilt. * libffi/configure, libiberty/configure: Ditto. * libjava/configure, libobjc/configure: Ditto. * libstdc++-v3/configure, zlib/configure: Ditto. Merged from binutils: 2002-01-27 Daniel Jacobowitz <drow@mvista.com> From Steve Ellcey <sje@cup.hp.com>: * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI. (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd, lt_cv_file_magic_test_file): Set to appropriate values for HP-UX IA64. * ltcf-c.sh (archive_cmds, hardcode_*): Ditto. * ltconfig (shlibpath_*, dynamic_linker, library_names_spec, soname_spec, sys_lib_search_path_spec): Ditto. From-SVN: r56270
* encoding.h: Fix formatting.Rodney Brown2002-07-0218-1314/+1374
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* acinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.DJ Delorie2002-06-254-155/+142
| | | | | | | | | | * acinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE. * aclocal.m4: Likewise. * configure.in: Call it before AC_CANONICAL_SYSTEM. * configure: Regenerate. From-SVN: r55001
* Object.m (forward, [...]): Fix unused parameter warnings.Kaveh R. Ghazi2002-06-215-18/+23
| | | | | | | | | | | | * Object.m (forward, read, write): Fix unused parameter warnings. * encoding.c: Include <stdlib.h>. (target_flags): Mark with attribute unused. (atoi): Delete. * runtime.h (__objc_selector_max_index): Change to unsigned int. (__objc_generate_gc_type_description): Prototype. * selector.c (__objc_selector_max_index): Change to unsigned int. From-SVN: r54884
* Fixed warning in sendmsg.c for forwarding function not returning a valueNicola Pero2002-06-171-0/+7
| | | | From-SVN: r54708
* Fixed warning from __objc_get_forward_imp not returning a valueNicola Pero2002-06-171-27/+31
| | | | From-SVN: r54707
* Object.m: Fix signed/unsigned warning.Kaveh R. Ghazi2002-06-1513-51/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* encoding.c (objc_layout_structure_next_member): Remove unused variable.Andreas Jaeger2002-06-092-38/+42
| | | | | | | * encoding.c (objc_layout_structure_next_member): Remove unused variable. From-SVN: r54406
* Makefile.in (SHELL): Set to @SHELL@.Kaveh R. Ghazi2002-05-202-2/+9
| | | | | | | | * Makefile.in (SHELL): Set to @SHELL@. (WARN_CFLAGS): New. (ALL_CFLAGS): Add $(WARN_CFLAGS). From-SVN: r53662
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.Rainer Orth2002-05-163-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * config-ml.in: Likewise. * configure: Likewise. * configure.in: Likewise. boehm-gc: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Regenerate. * configure: Regenerate. config: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. contrib: * test_installed: Allow for PWDCMD to override hardcoded pwd. * test_summary: Likewise. gcc: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * fixinc/check.tpl: Likewise. * fixinc/fixinc.dgux: Likewise. * fixinc/fixinc.svr4: Likewise. * fixinc/fixinc.winnt: Likewise. * fixinc/fixincl.sh: Likewise. * fixproto: Likewise. * configure: Regenerate. gcc/ada: * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd. * Makefile.in: Likewise. gcc/f: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/java: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/po: * exgettext: Allow for PWDCMD to override hardcoded pwd. gcc/treelang: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. libf2c: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Likewise. * configure: Regenerate. libjava: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. libobjc: * aclocal.m4: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. libstdc++-v3: * Makefile.am: Allow for PWDCMD to override hardcoded pwd. * acinclude.m4: Likewise. * docs/html/Makefile: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. zlib: * configure.in: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. * ChangeLog: Move entries to ChangeLog.gcj. From-SVN: r53523
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and ↵Alexandre Oliva2002-05-083-88/+119
| | | | | | | | | | set LD to it when configuring multilibs. * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs. * configure: Rebuilt. From-SVN: r53278
* encoding.c (MAX, [...]): #undef before defining.David O'Brien2002-04-232-0/+7
| | | | | | | | | | 2002-04-19 David O'Brien <obrien@FreeBSD.org> * encoding.c (MAX, MIN, ROUNDING): #undef before defining. Approved by: David S. Miller <davem@redhat.com> Message-Id: <20020419.184825.67430590.davem@redhat.com> From-SVN: r52648
* Fix ChangeLog dateHans-Peter Nilsson2002-04-091-1/+1
| | | | From-SVN: r52059
* re PR objc/6107 (sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures ↵Hans-Peter Nilsson2002-04-092-2/+8
| | | | | | | | | | w/-m64) PR objc/6107 * objc/objc-api.h (struct objc_protocol_list): Change type of member count from int to size_t. From-SVN: r52058
* re PR libobjc/4039 (installation location of libobjc is wrong)Franz Sirl2002-02-115-633/+1235
| | | | | | | | | | | | | 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR libobjc/4039 * aclocal.m4: Replace with version copied from libstdc++-v3. * configure.in: Update for changes to aclocal and Makefile. * configure: Regenerate. * Makefile.in: Correct install of multilibs and shared libs, use INSTALL_DATA for include files. From-SVN: r49680
* Fixed bug in loading of categories under certain special circumstancesNicola Pero2001-12-172-3/+11
| | | | From-SVN: r48110
* encoding.c: Add target_flags.Aldy Hernandez2001-11-142-0/+9
| | | | | | | | 2001-11-14 Aldy Hernandez <aldyh@redhat.com> * encoding.c: Add target_flags. From-SVN: r47021
* objc-api.h (_C_VECTOR): New.Aldy Hernandez2001-11-083-0/+9
| | | | | | | | | | 2001-11-07 Aldy Hernandez <aldyh@redhat.com> * objc-api.h (_C_VECTOR): New. * encoding.c (VECTOR_TYPE): New. From-SVN: r46849
* Rewritten from scratch class lookup internals - getting a good performanceNicola Pero2001-10-291-0/+16
| | | | | | boost for class method invocations From-SVN: r46616
* Rewritten all the internals - great performance boost.Nicola Pero2001-10-291-122/+463
| | | | From-SVN: r46615
* gc.c: Removed the DEBUG declaration.Ovidiu Predescu2001-09-101-0/+4
| | | | | | | | 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com> * gc.c: Removed the DEBUG declaration. From-SVN: r45511
* Removed the DEBUG declaration.Ovidiu Predescu2001-09-101-2/+3
| | | | From-SVN: r45510
* Save a function call in common mutex locking/unlocking operationsNicola Pero2001-07-181-0/+7
| | | | From-SVN: r44107
* Save a function call on mutex locking/unlockingNicola Pero2001-07-181-4/+4
| | | | From-SVN: r44106
* Fixed object_is_class and object_is_metaclassNicola Pero2001-07-162-7/+16
| | | | From-SVN: r44039
* configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva2001-06-093-64/+79
| | | | | | | | | | | autoconf 2.50. * configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * acinclude.m4: Likewise. * configure: Rebuilt. From-SVN: r43105
* THREADS: Explain that when we compile libobjc inside GCC...Nicola Pero2001-06-082-20/+28
| | | | | | | | | 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it> * THREADS: Explain that when we compile libobjc inside GCC, we always use thr-objc.c as a backend, which uses GCC's thread code. From-SVN: r43058
* init.c (__objc_send_message_in_list): When setting a new entry in ↵Richard Frith-Macdonald2001-06-082-5/+14
| | | | | | | | | | | | | | | __objc_load_methods use the method IMP as key... 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org> * init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key, but check to see if the method is in the hashtable by looking at the IMP also. Also ... call the method after adding it to the hashtable rather than before ... thus preventing an obscure possibility of infinite recursion if a +load method itself loads a subclass. From-SVN: r43052
* init.c (__objc_send_message_in_list): When setting a new entry in ↵Ovidiu Predescu2001-05-251-0/+6
| | | | | | | | | | | | __objc_load_methods use the method name as key... 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com> * init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method name as key, not the method IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>). From-SVN: r42562
* (__objc_send_message_in_list): When setting a new entry in ↵Ovidiu Predescu2001-05-251-1/+1
| | | | | | | | | | __objc_load_methods use the method name as key... (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method name as key, not the method IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>). From-SVN: r42561