aboutsummaryrefslogtreecommitdiff
path: root/libobjc
AgeCommit message (Collapse)AuthorFilesLines
2004-04-09configure.in: Rename to configure.ac.Nathanael Nerode3-1/+4
(libobjc) * 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. From-SVN: r80555
2004-04-09Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).Nathanael Nerode5-327/+66
* Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused). 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). From-SVN: r80554
2004-04-09* config.h.in: Regenerate with autoheader.Nathanael Nerode1-0/+2
From-SVN: r80553
2004-04-09Makefile.in: Remove (unused) gcc_version_trigger.Nathanael Nerode4-6/+54
* Makefile.in: Remove (unused) gcc_version_trigger. * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST gcc_version_trigger. * configure: Regenerate. From-SVN: r80552
2004-04-09configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.Nathanael Nerode3-143/+203
* configure.in: Switch to modern style for AC_INIT, AC_OUTPUT. Sort file into sections. Remove dnl where appropriate. Fix other style issues. * configure: Regenerate. From-SVN: r80551
2004-04-09configure.in: Replace old AC_PROG_CC hack with new one.Nathanael Nerode4-1744/+4672
* configure.in: Replace old AC_PROG_CC hack with new one. 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. From-SVN: r80549
2004-04-09configure.in: Improve comments on gthread_cflags.Nathanael Nerode3-16/+18
* configure.in: Improve comments on gthread_cflags. Improve m4 quotation, and replace 'if test' with 'case', for --enable-objc-gc. * configure: Regenerate. From-SVN: r80548
2004-04-09configure.in: Move PACKAGE and VERSION settings up top.Nathanael Nerode3-197/+83
* configure.in: Move PACKAGE and VERSION settings up top. Remove unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove redundant checks for values of RANLIB, AR, INSTALL. * configure: Regenerate. From-SVN: r80547
2004-04-09configure.in: Clean up handling of --enable-version-specific-runtime-libs ↵Nathanael Nerode5-478/+425
and related... * configure.in: Clean up handling of --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. From-SVN: r80546
2004-03-16Makefile.in, [...]: Update copyright years.Manfred Hollstein4-3/+7
2004-03-16 Manfred Hollstein <mh@suse.com> * Makefile.in, configure.in, configure: Update copyright years. From-SVN: r79530
2004-03-15Makefile.in (LIBOBJC_VERSION, [...]): Use definition from configure.in.Manfred Hollstein4-2/+21
2004-03-15 Manfred Hollstein <mh@suse.com> * 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. From-SVN: r79508
2004-03-05hash.h (hash_string, [...]): Add type-casts to make Objective-C++ happy.Ziemowit Laski3-3/+11
2004-03-05 Ziemowit Laski <zlaski@apple.com> * 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. From-SVN: r78986
2004-03-01* Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.Michael Matz2-1/+5
From-SVN: r78706
2004-02-06[gcc/ChangeLog]Ziemowit Laski2-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. From-SVN: r77430
2004-01-17re PR target/10781 (wrong class size and alignment with static class member)Andrew Pinski2-0/+16
2004-01-17 Andrew Pinski <pinskia@physics.uc.edu> 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. From-SVN: r76043
2004-01-14re PR libobjc/12155 (Memory leak in libobjc(selector.c))Adam Fedor2-0/+8
2004-01-14 Adam Fedor <fedor@gnu.org> PR libobjc/12155 * selector.c (__objc_register_instance_methods_to_class): Free new_list if not used. From-SVN: r75899
2004-01-09re PR libobjc/11904 (Problem in sarray_free() function.)Andrew Ruder2-3/+9
2004-01-09 Andrew Ruder <aeruder@ksu.edu> PR libobjc/11904 * sarray.c (sarray_free): Free array->is_copy_of latter. From-SVN: r75630
2003-12-01re PR libobjc/11433 (Crash due to dereferencing null pointer when querying ↵Zack Weinberg2-14/+23
protocol) PR 11433 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. From-SVN: r74137
2003-10-23Makefile.in (runtime-info.h): Remove -Wp.Rainer Orth2-1/+5
libobjc: * 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. From-SVN: r72870
2003-10-21Makefile.in (CC1OBJ): Remove.Rainer Orth2-11/+11
* Makefile.in (CC1OBJ): Remove. (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled correctly. Use .m extension for temporary file. Remove assembler temp file. From-SVN: r72752
2003-10-20* objc/hash.h (hash_string): Don't use a cast as an lvalue.Joseph Myers2-3/+7
From-SVN: r72722
2003-10-17config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.Rainer Orth2-3/+8
* config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes. libobjc: * Makefile.in (runtime-info.h): Use MULTIFLAGS. From-SVN: r72598
2003-09-09* libtool.m4 (LD): Correct powerpc64 host match.Alan Modra2-1/+5
From-SVN: r71229
2003-08-28Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of ↵Alexander Malmberg4-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
2003-07-10Fixed rare threading problemNicola Pero2-14/+67
From-SVN: r69181
2003-05-23hash.c, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode27-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
2003-05-23Makefile.in, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode21-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
2003-05-15Fixed getting the superclass when building class tree used for +load, wouldRichard Frith-Macdonald2-10/+56
cause extremely rare crashes Co-Authored-By: Nicola Pero <n.pero@mi.flashnet.it> From-SVN: r66822
2003-04-11(in libobjc:)David Chad4-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
2003-04-11libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.Alexandre Oliva1-1/+1
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*. * */configure: Rebuilt. From-SVN: r65459
2003-03-12configure.in: Avoid trailing /.Andreas Schwab3-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
2003-02-20configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status.Alexandre Oliva3-42/+65
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status. * configure: Rebuilt. From-SVN: r63159
2003-01-28aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)...Alexandre Oliva3-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
2003-01-09Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.Christian Cornelssen2-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
2002-12-16Merge basic-improvements-branch to trunkZack Weinberg6-172/+123
From-SVN: r60174
2002-09-23Makefile.am (all-multi): Fix multilib parallel build.Kaveh R. Ghazi2-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
2002-09-12Small cleanups of nil_method in sendmsg.cNicola Pero1-0/+7
From-SVN: r57075
2002-09-12Tidied up the declaration and usage of nil_methodNicola Pero1-3/+3
From-SVN: r57074
2002-09-12Added long comments on why nil_method takes the arguments it takes and howNicola Pero1-4/+19
it's going to be used From-SVN: r57073
2002-09-12Added comments to the definition of IMPNicola Pero1-1/+8
From-SVN: r57072
2002-09-10Fix entry.Andreas Jaeger1-1/+2
From-SVN: r57004
2002-09-10nil_method.c (nil_method): No longer varardic.Jan Hubicka2-1/+9
2002-09-10 Jan Hubicka <jh@suse.cz> * nil_method.c (nil_method): No longer varardic. From-SVN: r57001
2002-08-14configure, configure: Rebuilt.Alexandre Oliva1-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
2002-07-02encoding.h: Fix formatting.Rodney Brown18-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
2002-06-25acinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.DJ Delorie4-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
2002-06-21Object.m (forward, [...]): Fix unused parameter warnings.Kaveh R. Ghazi5-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
2002-06-17Fixed warning in sendmsg.c for forwarding function not returning a valueNicola Pero1-0/+7
From-SVN: r54708
2002-06-17Fixed warning from __objc_get_forward_imp not returning a valueNicola Pero1-27/+31
From-SVN: r54707
2002-06-15Object.m: Fix signed/unsigned warning.Kaveh R. Ghazi13-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
2002-06-09encoding.c (objc_layout_structure_next_member): Remove unused variable.Andreas Jaeger2-38/+42
* encoding.c (objc_layout_structure_next_member): Remove unused variable. From-SVN: r54406