Commit Graph

40 Commits

Author SHA1 Message Date
H.J. Lu 15794a9567 Applied H.J.Lu's patch to not require -lpthread when compiling single threaded Objective-C programs.
From-SVN: r35141
2000-07-20 07:27:26 +00:00
Kaveh R. Ghazi 8dd8d754d2 * objc/hash.h: Include string.h.
From-SVN: r35019
2000-07-13 18:56:49 +00:00
David Edelsohn 39b48e0238 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
From-SVN: r33170
2000-04-15 18:13:49 -04:00
Jakub Jelinek 35f1099824 encoding.c (objc_layout_structure_next_member): Do the whole procedure even for the first member, so that we get correct alignment.
* encoding.c (objc_layout_structure_next_member): Do the whole
	procedure even for the first member, so that we get correct
	alignment.

From-SVN: r33110
2000-04-12 17:55:54 +02:00
Jakub Jelinek bcdb110625 objc-act.c: Include ggc.h.
* objc/objc-act.c: Include ggc.h.
	(objc_tree_index, objc_global_trees): Convert most of the
	static tree variables into a static array with previous names
	as defines.
	(objc_ellipsis_node): New variable.
	(lang_init): Call objc_act_parse_init and c_parse_init.
	Create objc_ellipsis_node.
	(build_selector_translation_table): Use objc_ellipsis_node instead
	of (tree)1.
	(hack_method_prototype): Likewise.
	(get_arg_type_list): Likewise.
	(start_method_def): Likewise.
	(continue_method_def): Likewise.
	(gen_method_decl): Likewise.
	(ggc_mark_imp_list): New function.
	(ggc_mark_hash_table): New function.
	(objc_act_parse_init): New function.
	* objc/objc-act.h (objc_ellipsis_node): Add extern variable.
	* c-parse.in (c_parse_init): For objc add roots of objc specific
	local tree variables.
	* objc/objc-parse.y: Rebuilt.
	* objc/objc-parse.c: Rebuilt.
	(opt_parm_list): Use objc_ellipsis_node instead of (tree)1.

	* Object.m (strlen): Provide prototype on all 64bit platforms,
	not only alpha.
	* sarray.c (memcpy): Likewise.
	* encoding.c (objc_layout_finish_structure): Don't use
	ROUND_TYPE_ALIGN on sparc.

From-SVN: r33092
2000-04-12 09:22:32 +02:00
Zack Weinberg 2e3120e80d Protocol.h, [...]: Change #endif labels to comments.
* objc/Protocol.h, objc/objc-list.h: Change #endif labels to
	comments.

From-SVN: r32812
2000-03-29 20:19:06 +00:00
Zack Weinberg 6fc605d843 Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
* libobjc/Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
	* gcc/config/i386/i386.h: If IN_TARGET_LIBS is defined, make
	BIGGEST_FIELD_ALIGNMENT a constant.

From-SVN: r32110
2000-02-23 08:43:44 +00:00
Chris Ball 224a6bca72 Fixed deallocation of a mutex in thr-single.c (patch from Chris Ball <cball@fmco.com>).
From-SVN: r29701
1999-09-29 00:37:49 +00:00
Jeffrey A Law e36e6e0261 Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to the compiler when building C code.
* Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
        the compiler when building C code.

From-SVN: r29543
1999-09-21 07:48:59 -06:00
Jeff Law c5c7673583 Merge in gcc2-ss-010999
From-SVN: r29150
1999-09-06 23:49:18 -06:00
Daniel Jacobowitz 76632dd06d Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, libdir, libsubdir and tooldir.
* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
        libdir, libsubdir and tooldir.
Applied in libchill, libf2c, libiberty and libobjc

From-SVN: r28569
1999-08-06 23:37:16 -06:00
John David Anglin 6000b42b21 init.c (__objc_force_linking): Make global.
�
        * init.c (__objc_force_linking): Make global.

From-SVN: r27638
1999-06-20 22:41:41 -06:00
Jeff Law 6de94858b9 libchill, libf2c, libobjc:
* configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.
libio, libstdc++
        * configure.in: Test for ${compiler_name}.exe as well.

From-SVN: r27050
1999-05-19 20:27:28 -06:00
Alexandre Oliva ceff9b1445 Fixed some old ChangeLog entries I wrote before becoming aware of the GNU
coding standards.

From-SVN: r26679
1999-04-27 13:27:29 +00:00
Mumit Khan 7af06410ba Makefile.in (CC1OBJ): Define in terms of CC.
* Makefile.in (CC1OBJ): Define in terms of CC.
        (runtime-info.h): Use.

From-SVN: r26618
1999-04-24 18:21:51 -06:00
Ovidiu Predescu 09608fa2b0 Updated the URL to Boehm's GC page.
From-SVN: r26292
1999-04-08 09:23:35 +00:00
Ovidiu Predescu 56d654e4d7 Explicitly specify the char arguments to __objc_code_char and __objc_code_char as being signed.
From-SVN: r26008
1999-03-26 23:44:04 +00:00
Mumit Khan da4b192759 configure.in (AC_PREREQ): Update to 2.13.
�
        * configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.

From-SVN: r25955
1999-03-24 14:46:41 -07:00
Mumit Khan e33abc2d02 configure.in (AC_PREREQ): Update to 2.13.
�
        * configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.

From-SVN: r25954
1999-03-24 14:46:39 -07:00
Jeffrey A Law ab87f8c8d1 Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog for
details.

From-SVN: r24879
1999-01-26 18:43:17 -07:00
Jeff Law 5f38fdda61 Update FSF address in copyright header.
From-SVN: r24614
1999-01-11 06:34:38 -07:00
Jeffrey A Law 79014e6f0b configure.in (thread_file): Correct and simplify code to find the thread file.
* configure.in (thread_file): Correct and simplify code to find
        the thread file.
        * configure: Rebuilt.

From-SVN: r24494
1999-01-04 17:40:22 -07:00
Manfred Hollstein 71205e0b3f configure (skip-this-dir): Add handling for new shell script...
./ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (skip-this-dir): Add handling for new shell script, which
	might be created by a sub-directory's configure to indicate, this particular
	directory is "unwanted".
	* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Likewise.
./gcc/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (CONFIG_LANGUAGES): New macro taking all languages
	which can be configured.
	(LANGUAGES): Use $(CONFIG_LANGUAGES) instead of @all_languages@
	(Makefile): Pass actual LANGUAGES through the environment when
	re-configuring.
	(cstamp-h): Likewise.
	(config.status): Likewise.
	* configure.in (enable_languages): Add new configuration parameter
	"--enable-languages=lang1,lang2,...".
	(${srcdir}/*/config-lang.in): Change handling to configure only
	those directories, that the user might have enabled; default to
	"all" existing languages.
	* configure: Regenerate.
./libchill/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libf2c/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libio/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
./libobjc/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libstdc++/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.

From-SVN: r23892
1998-11-26 01:48:34 +00:00
Kaveh R. Ghazi 223a884814 * configure.in: Use AC_PREREQ(2.12.1).
From-SVN: r23802
1998-11-23 13:51:40 +00:00
Jeffrey A Law 74285159e4 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
From-SVN: r23722
1998-11-19 12:36:30 -07:00
Kaveh R. Ghazi 84beab3827 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
From-SVN: r23575
1998-11-08 14:47:19 +00:00
Kaveh R. Ghazi 8a829fd982 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
From-SVN: r23218
1998-10-22 11:39:46 +00:00
Ovidiu Predescu befb6d14df Minor changes in the documentation. Correctly define get_inner_array_type.
From-SVN: r23144
1998-10-16 22:19:22 +00:00
Richard Frith-Macdonald 1df287f8fb encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
* encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
        (objc_get_type_qualifiers): Similarly.
        * objc/encoding.h (_C_BYREF): Define.
        (_F_BYREF): Define.

From-SVN: r22917
1998-10-08 05:23:35 -06:00
David S. Miller 07181a20e3 sarray.h: Make boffset be an unsigned long when sparc so it works out on 64-bit systems.
* objc/sarray.h: Make boffset be an unsigned long when sparc so it
	works out on 64-bit systems.

From-SVN: r22881
1998-10-06 19:21:54 -07:00
Alexandre Oliva 5e2f657bb6 * Makefile.in (INCLUDES): Make it multilib-friendly
From-SVN: r22871
1998-10-06 13:33:27 -06:00
H.J. Lu 4afb3646a5 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
From-SVN: r22750
1998-10-02 04:18:19 -06:00
Robert Lipe 4102f62733 Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
* Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
        (FLAGS_TO_PASS): Added.
        (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
        * archive.c: Change config.h to tconfig.h.
        * configure.in: Find gcc's object directory even for multilibs.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r22725
1998-10-01 15:35:22 -06:00
Robert Lipe 5ae4c799f2 configure.in: Escape ^ in grep string.
* configure.in: Escape ^ in grep string.
        * configure: Rebuilt.

From-SVN: r22681
1998-09-30 11:19:00 -06:00
Jeffrey A Law 789eb4f550 * All .h files pushed down into the objc/ subdirectory.
* Makefile.in (copy_headers): Corresponding changes.
        * configure.in (AC_INIT): Corresponding changes.
        * configure: Rebuilt.

From-SVN: r22664
1998-09-30 02:17:56 -06:00
Jeff Law e9c1562590 Rebuilt.
From-SVN: r22663
1998-09-30 02:08:06 -06:00
Ben Elliston bce1b48955 Makefile.in: Rewrite.
* Makefile.in: Rewrite.
        * configure.in: Likewise.
        * configure: Regenerate.
        * All .c files.  Remove "objc" prefix when including objc header
        files.  Include tconfig.h, not ../tconfig.h.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r22659
1998-09-29 20:13:15 -06:00
Ovidiu Predescu 2e5f02a3e3 encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
* encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
        (get_inner_array_type): Define.

From-SVN: r22536
1998-09-21 16:28:51 -06:00
Ben Elliston 88e17b57eb 1998-09-21 Ben Elliston <bje@cygnus.com>
* New directory.  Moved files from ../gcc/objc.

From-SVN: r22514
1998-09-21 11:22:07 +10:00
Ben Elliston 005dda25ff Move documentation files from egcs/gcc/objc.
From-SVN: r22461
1998-09-17 18:04:30 +10:00