Andrew Pinski
755bddc8a6
archive.c (objc_read_class): Initialize class_name.
...
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* archive.c (objc_read_class): Initialize class_name.
(objc_read_selector): Initialize selector_name.
From-SVN: r81798
2004-05-13 12:01:04 -07:00
Richard Sandiford
eb01299a99
* Makefile.in (toolexecdir): Remove trailing space.
...
From-SVN: r81654
2004-05-09 20:24:26 +00:00
Nathanael Nerode
db7f3c6929
re PR libobjc/14948 (irix6.5 bootstrap fails in mabi=64/libobjc)
...
PR libobjc/14948
* configure.ac: De-precious CC so multilibs work.
* configure: Regenerate.
From-SVN: r80724
2004-04-15 17:05:36 +00:00
Nathanael Nerode
a42a57cb64
configure.ac: Restore toolexecdir.
...
* configure.ac: Restore toolexecdir.
* Makefile.in: Restore toolexecdir.
* configure: Regenerate.
From-SVN: r80690
2004-04-14 20:08:02 +00:00
Nathanael Nerode
d770b996d2
configure.ac: Remove (unused) glibcpp_prefixdir.
...
* configure.ac: Remove (unused) glibcpp_prefixdir.
* configure: Regenerate.
From-SVN: r80556
2004-04-09 13:18:25 +00:00
Nathanael Nerode
3adc31d141
configure.in: Rename to configure.ac.
...
(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-09 13:13:09 +00:00
Nathanael Nerode
608e1e0cf7
Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
...
* 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 13:08:31 +00:00
Nathanael Nerode
88b169605a
* config.h.in: Regenerate with autoheader.
...
From-SVN: r80553
2004-04-09 12:49:47 +00:00
Nathanael Nerode
af0c82b380
Makefile.in: Remove (unused) gcc_version_trigger.
...
* 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-09 12:49:16 +00:00
Nathanael Nerode
252dde64c3
configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
...
* 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-09 12:40:59 +00:00
Nathanael Nerode
8838605016
configure.in: Replace old AC_PROG_CC hack with new one.
...
* 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-09 12:24:52 +00:00
Nathanael Nerode
b43e7294ab
configure.in: Improve comments on gthread_cflags.
...
* 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-09 11:59:27 +00:00
Nathanael Nerode
1fcfac9834
configure.in: Move PACKAGE and VERSION settings up top.
...
* 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-09 11:50:51 +00:00
Nathanael Nerode
9c01f39593
configure.in: Clean up handling of --enable-version-specific-runtime-libs 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-04-09 11:43:02 +00:00
Manfred Hollstein
1adc3fecda
Makefile.in, [...]: Update copyright years.
...
2004-03-16 Manfred Hollstein <mh@suse.com>
* Makefile.in, configure.in, configure: Update copyright years.
From-SVN: r79530
2004-03-16 10:45:26 +00:00
Manfred Hollstein
68a1af8795
Makefile.in (LIBOBJC_VERSION, [...]): Use definition from configure.in.
...
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-15 18:52:38 +00:00
Ziemowit Laski
d5e63fce33
hash.h (hash_string, [...]): Add type-casts to make Objective-C++ happy.
...
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-05 21:06:57 +00:00
Michael Matz
8f8cdf339c
* Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
...
From-SVN: r78706
2004-03-01 15:34:48 +00:00
Ziemowit Laski
25fe8680db
[gcc/ChangeLog]
...
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-02-06 23:54:30 +00:00
Andrew Pinski
95727fb877
re PR target/10781 (wrong class size and alignment with static class member)
...
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-17 11:48:50 -08:00
Adam Fedor
5af0e6ae63
re PR libobjc/12155 (Memory leak in libobjc(selector.c))
...
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-14 17:49:41 -08:00
Andrew Ruder
b39f186824
re PR libobjc/11904 (Problem in sarray_free() function.)
...
2004-01-09 Andrew Ruder <aeruder@ksu.edu>
PR libobjc/11904
* sarray.c (sarray_free): Free array->is_copy_of latter.
From-SVN: r75630
2004-01-09 21:47:42 -08:00
Zack Weinberg
75d3baee18
re PR libobjc/11433 (Crash due to dereferencing null pointer when querying 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-12-01 23:29:59 +00:00
Rainer Orth
7989e4dc24
Makefile.in (runtime-info.h): Remove -Wp.
...
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-23 21:20:54 +00:00
Rainer Orth
54b98a47dd
Makefile.in (CC1OBJ): Remove.
...
* 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-21 14:11:13 +00:00
Joseph Myers
beca20d2a0
* objc/hash.h (hash_string): Don't use a cast as an lvalue.
...
From-SVN: r72722
2003-10-20 22:50:13 +01:00
Rainer Orth
05dcec66a3
config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.
...
* config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.
libobjc:
* Makefile.in (runtime-info.h): Use MULTIFLAGS.
From-SVN: r72598
2003-10-17 11:22:58 +00:00
Alan Modra
e517f63617
* libtool.m4 (LD): Correct powerpc64 host match.
...
From-SVN: r71229
2003-09-09 15:54:39 +09:30
Alexander Malmberg
45dff86efa
Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of (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-08-28 01:15:06 +00:00
Nicola Pero
c19f8e352e
Fixed rare threading problem
...
From-SVN: r69181
2003-07-10 09:24:51 +00:00
Nathanael Nerode
38709cad91
hash.c, [...]: Replace "GNU CC" with "GCC".
...
* 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-23 20:25:39 +00:00
Nathanael Nerode
6c82ad2561
Makefile.in, [...]: Replace "GNU CC" with "GCC".
...
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-23 20:04:58 +00:00
Richard Frith-Macdonald
e083f3f926
Fixed getting the superclass when building class tree used for +load, would
...
cause extremely rare crashes
Co-Authored-By: Nicola Pero <n.pero@mi.flashnet.it>
From-SVN: r66822
2003-05-15 09:34:32 +00:00
David Chad
0b87e18ef1
(in libobjc:)
...
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-11 04:30:33 +00:00
Andreas Schwab
ff8b9ca85f
configure.in: Avoid trailing /.
...
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-03-12 21:34:31 +00:00
Alexandre Oliva
3343fdd21c
configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status.
...
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
config.status.
* configure: Rebuilt.
From-SVN: r63159
2003-02-20 09:08:45 +00:00
Alexandre Oliva
c5e3e1ed45
aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)...
...
* 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-28 01:48:33 +00:00
Christian Cornelssen
90e5b39f8e
Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
...
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
2003-01-09 09:08:30 +01:00
Zack Weinberg
4977bab6ed
Merge basic-improvements-branch to trunk
...
From-SVN: r60174
2002-12-16 18:23:00 +00:00
Kaveh R. Ghazi
6c5d742e3b
Makefile.am (all-multi): Fix multilib parallel build.
...
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-23 03:52:55 +00:00
Nicola Pero
c2a68741db
Small cleanups of nil_method in sendmsg.c
...
From-SVN: r57075
2002-09-12 17:30:45 +00:00
Andreas Jaeger
65a8189ea7
Fix entry.
...
From-SVN: r57004
2002-09-10 14:26:40 +02:00
Jan Hubicka
edf4d41e24
nil_method.c (nil_method): No longer varardic.
...
2002-09-10 Jan Hubicka <jh@suse.cz>
* nil_method.c (nil_method): No longer varardic.
From-SVN: r57001
2002-09-10 14:14:38 +02:00
Rodney Brown
40165636b5
encoding.h: Fix formatting.
...
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-07-02 19:43:03 +00:00
DJ Delorie
aebb8c22e1
acinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.
...
* 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-25 23:53:45 -04:00
Kaveh R. Ghazi
b62cc13a20
Object.m (forward, [...]): Fix unused parameter warnings.
...
* 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-21 14:36:37 +00:00
Nicola Pero
10cb24df3a
Fixed warning in sendmsg.c for forwarding function not returning a value
...
From-SVN: r54708
2002-06-17 17:41:38 +00:00
Kaveh R. Ghazi
8f8c44cb4f
Object.m: Fix signed/unsigned warning.
...
* 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-15 17:50:14 +00:00
Andreas Jaeger
42bac11688
encoding.c (objc_layout_structure_next_member): Remove unused variable.
...
* encoding.c (objc_layout_structure_next_member): Remove unused
variable.
From-SVN: r54406
2002-06-09 18:46:01 +02:00
Kaveh R. Ghazi
9aa338ece2
Makefile.in (SHELL): Set to @SHELL@.
...
* Makefile.in (SHELL): Set to @SHELL@.
(WARN_CFLAGS): New.
(ALL_CFLAGS): Add $(WARN_CFLAGS).
From-SVN: r53662
2002-05-20 16:35:19 +00:00