aboutsummaryrefslogtreecommitdiff
path: root/libobjc
AgeCommit message (Collapse)AuthorFilesLines
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
2002-05-20Makefile.in (SHELL): Set to @SHELL@.Kaveh R. Ghazi2-2/+9
* Makefile.in (SHELL): Set to @SHELL@. (WARN_CFLAGS): New. (ALL_CFLAGS): Add $(WARN_CFLAGS). From-SVN: r53662
2002-05-16Makefile.in: Allow for PWDCMD to override hardcoded pwd.Rainer Orth3-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
2002-05-08configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and ↵Alexandre Oliva3-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
2002-04-23encoding.c (MAX, [...]): #undef before defining.David O'Brien2-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
2002-04-09Fix ChangeLog dateHans-Peter Nilsson1-1/+1
From-SVN: r52059
2002-04-09re PR objc/6107 (sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures ↵Hans-Peter Nilsson2-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
2002-02-11re PR libobjc/4039 (installation location of libobjc is wrong)Franz Sirl5-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
2001-12-17Fixed bug in loading of categories under certain special circumstancesNicola Pero2-3/+11
From-SVN: r48110
2001-11-14encoding.c: Add target_flags.Aldy Hernandez2-0/+9
2001-11-14 Aldy Hernandez <aldyh@redhat.com> * encoding.c: Add target_flags. From-SVN: r47021
2001-11-08objc-api.h (_C_VECTOR): New.Aldy Hernandez3-0/+9
2001-11-07 Aldy Hernandez <aldyh@redhat.com> * objc-api.h (_C_VECTOR): New. * encoding.c (VECTOR_TYPE): New. From-SVN: r46849
2001-10-29Rewritten from scratch class lookup internals - getting a good performanceNicola Pero1-0/+16
boost for class method invocations From-SVN: r46616
2001-10-29Rewritten all the internals - great performance boost.Nicola Pero1-122/+463
From-SVN: r46615
2001-09-10gc.c: Removed the DEBUG declaration.Ovidiu Predescu1-0/+4
2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com> * gc.c: Removed the DEBUG declaration. From-SVN: r45511
2001-09-10Removed the DEBUG declaration.Ovidiu Predescu1-2/+3
From-SVN: r45510