Richard Stallman
a34f8b66ba
(copy-headers): Put `-' on mkdir command.
...
From-SVN: r4307
1993-05-03 10:42:16 +00:00
Richard Stallman
5690d33f63
(xforward): Add `else true;' for Ultrix 4.2 make.
...
From-SVN: r4297
1993-05-01 21:02:10 +00:00
Tom Wood
a878dab7ef
(build_ivar_reference): Warn when a class method
...
refers to an instance variable.
From-SVN: r4294
1993-05-01 10:48:31 +00:00
Kresten Krab Thorup
1b61a40eca
_forward.c renamed to xforward.c
...
From-SVN: r4276
1993-04-29 17:16:48 +00:00
Kresten Krab Thorup
bb29a1a848
Added check for selectors==0
...
From-SVN: r4271
1993-04-29 11:50:17 +00:00
Kresten Krab Thorup
65e1be69ba
Uninstalled argframe macros
...
From-SVN: r4270
1993-04-29 07:06:18 +00:00
Kresten Krab Thorup
e0cf078f81
Fixed bug in argframe
...
From-SVN: r4256
1993-04-28 14:30:33 +00:00
Kresten Krab Thorup
d5247e3ea2
Changed to use argframe macros
...
From-SVN: r4253
1993-04-27 20:36:53 +00:00
Kresten Krab Thorup
6cac0166dc
-x test changed to -s test in fflags target
...
From-SVN: r4245
1993-04-27 10:30:12 +00:00
Kresten Krab Thorup
d0b575120e
Definition of (Meta)Class_t eliminated, using Class*
...
From-SVN: r4244
1993-04-27 07:41:50 +00:00
Kresten Krab Thorup
a7ab3794a9
Runtime portability cleanup
...
From-SVN: r4235
1993-04-26 16:06:37 +00:00
Kresten Krab Thorup
33d9bef5ab
Changed unsigned int to size_t when casting pointers to integers
...
From-SVN: r4233
1993-04-26 09:45:17 +00:00
Kresten Krab Thorup
e312f9659f
Updated to use IN_OBJC
...
From-SVN: r4232
1993-04-26 07:40:03 +00:00
Kresten Krab Thorup
c455809014
Updated to use the above IN_OBJC
...
From-SVN: r4231
1993-04-26 07:39:32 +00:00
Kresten Krab Thorup
a1d7405ce0
Take out archiving for alpha
...
From-SVN: r4230
1993-04-26 07:39:17 +00:00
Kresten Krab Thorup
0f7b4f6905
Take out archiving support for alpha
...
From-SVN: r4229
1993-04-26 07:38:58 +00:00
Kresten Krab Thorup
f60897dace
Take out archiving support for alpha.
...
From-SVN: r4228
1993-04-26 07:38:28 +00:00
Kresten Krab Thorup
c68873264d
new #define used to control inclusion of gstdarg or stdarg for the runtime.
...
new #define used to control inclusion
of gstdarg or stdarg for the runtime. .
From-SVN: r4227
1993-04-26 07:38:11 +00:00
Richard Kenner
963342adbf
(HASHFUNCTION): Cast pointers to widest int type.
...
From-SVN: r4205
1993-04-24 11:14:44 -04:00
Tom Wood
392202b07d
*** empty log message ***
...
From-SVN: r4192
1993-04-22 11:48:29 +00:00
Tom Wood
f620c21b9f
Rename and add types and constants
...
From-SVN: r4159
1993-04-15 17:30:36 +00:00
Tom Wood
59ce3fc81a
(IS_ID, IS_PROTOCOL_QUALIFIED_ID, IS_SUPER): New type checking macros.
...
(IS_ID, IS_PROTOCOL_QUALIFIED_ID, IS_SUPER): New type
checking macros.
(objc_comptypes, build_message_expr, gen_declspecs): Use them.
(IS_ID, IS_PROTOCOL_QUALIFIED_ID, IS_SUPER): New type
checking macros.
(objc_comptypes, build_message_expr, gen_declspecs): Use them.
(gen_declarator): Don't use strcpy's return value.
(build_message_expr): Allow any type that matches
objc_class_type.
(get_class_reference): We already have a name.
(build_objc_string): Use TREE_SET_CODE instead of
assigning to TREE_CODE.
(build_objc_string_object): Ditto.
From-SVN: r4158
1993-04-15 17:27:29 +00:00
Tom Wood
81e4c08f9f
(maybe_objc_comptypes): Return 0 (incompatible) rather than 2 (similar enough) as the default.
...
(maybe_objc_comptypes): Return 0
(incompatible) rather than 2 (similar enough) as the default.
This was an inadvertent change in the Objective-C merge.
From-SVN: r4153
1993-04-14 17:32:18 +00:00
Tom Wood
7651f8f787
(get_class_reference): Call add_class_reference for
...
the GNU runtimes.
From-SVN: r4151
1993-04-14 16:08:43 +00:00
Kresten Krab Thorup
034dec7319
(-awake): Corrected name of method -awake: to -awake for compatibility
...
(-awake): Corrected name of method -awake: to -awake for compatibility
(+streamVersion:): New method
From-SVN: r4150
1993-04-14 09:12:35 +00:00
Kresten Krab Thorup
d9a2904b7e
(objc_get_stream_class_version): Added prototype
...
From-SVN: r4149
1993-04-14 09:12:35 +00:00
Kresten Krab Thorup
adfab6dfca
(__objc_finish_read_root_object): Corrected name of method -awake: to -awake for compatibility
...
(__objc_finish_read_root_object): Corrected name of method -awake: to -awake for compatibility
(objc_get_stream_class_version): New function
From-SVN: r4148
1993-04-14 09:12:35 +00:00
Kresten Krab Thorup
a6b66e343f
*** empty log message ***
...
From-SVN: r4126
1993-04-13 17:45:32 +00:00
Kresten Krab Thorup
40a254f6c8
Updated to new filenames
...
From-SVN: r4125
1993-04-13 17:37:55 +00:00
Kresten Krab Thorup
bd075bad8e
Updated for new filenames
...
From-SVN: r4124
1993-04-13 17:24:08 +00:00
Kresten Krab Thorup
ff2fda34f6
Changed includes to double quote style
...
From-SVN: r4123
1993-04-13 17:21:11 +00:00
Kresten Krab Thorup
b0033312d6
Changed includes to doublequote style
...
From-SVN: r4122
1993-04-13 17:19:49 +00:00
Kresten Krab Thorup
143dc6466f
(-Wprotocol): added
...
(-Wprotocol): added
(flag_warn_protocol): New variable
(check_methods_accessible): New function
(check_protocol): Use check_methods or check_methods_accessible
depending on flag_warn_protocol to check protocol conformance.
(start_class): For class implementations Assign
SUPER_CLASS_NAME from interface specification if not present.
From-SVN: r4121
1993-04-13 12:57:23 +00:00
Kresten Krab Thorup
36be30f1bc
includes changed to double quote style
...
From-SVN: r4113
1993-04-13 02:12:40 +00:00
Tom Wood
ba2e27865b
*** empty log message ***
...
From-SVN: r4112
1993-04-13 01:58:32 +00:00
Kresten Krab Thorup
f5689463af
(_forward, fflags): made target error phrone
...
(_forward, fflags): made target error phrone
(objc-msg.o, _forward): Now uses explicit path in stead of implicit $<
From-SVN: r4111
1993-04-13 00:49:57 +00:00
Tom Wood
5fa63f2ada
(get_static_reference, get_objcect_reference,
...
start_protocol): Make a tree vector for new protocol types.
(start_class): The tree vector for class types is longer.
From-SVN: r4109
1993-04-12 23:52:10 +00:00
Tom Wood
812207f08b
(CLASS_PROTOCOL_LIST, PROTOCOL_LIST,
...
PROTOCOL_FORWARD_DECL, TYPE_PROTOCOL_LIST): Rearrange use of type
members to avoid use of noncopied_parts.
From-SVN: r4108
1993-04-12 23:51:07 +00:00
Kresten Krab Thorup
24e5fe8bae
(-awake:): added methods
...
From-SVN: r4097
1993-04-12 15:50:02 +00:00
Kresten Krab Thorup
8117ac5599
Update for new runtime
...
From-SVN: r4096
1993-04-12 15:44:52 +00:00
Kresten Krab Thorup
2ebb305328
*** empty log message ***
...
From-SVN: r4095
1993-04-12 15:44:37 +00:00
Kresten Krab Thorup
6d9bd62495
now "#include"s objc-archive.h
...
From-SVN: r4094
1993-04-12 15:44:25 +00:00
Kresten Krab Thorup
d408c5dad6
(__objc_init_install_dtable,
...
__objc_install_dtable_for_class): Call to
__objc_resolve_class_links moved to the latter.
From-SVN: r4093
1993-04-12 15:44:02 +00:00
Kresten Krab Thorup
eca33b05fb
Stripped anything added by
...
kane@cc.purdue.edu which is not considered "minor changes"
From-SVN: r4092
1993-04-12 15:43:31 +00:00
Kresten Krab Thorup
ab65ae3cec
Deleted #include "mutext.h"
...
From-SVN: r4091
1993-04-12 15:42:44 +00:00
Kresten Krab Thorup
e9dce16126
(-read:, -write:): added
...
Stripped anything added by
kane@cc.purdue.edu which is not considered "minor changes"
From-SVN: r4090
1993-04-12 15:41:52 +00:00
Kresten Krab Thorup
5375a2043d
(objc_write_reference) added
...
From-SVN: r4089
1993-04-12 15:12:59 +00:00
Kresten Krab Thorup
305f8c5baf
Updated for new runtime
...
From-SVN: r4088
1993-04-12 15:00:55 +00:00
Tom Wood
c72fc2d9d9
Initial revision
...
From-SVN: r4077
1993-04-10 01:05:19 +00:00
Tom Wood
b2055d6de3
Update to new runtimes.
...
From-SVN: r4076
1993-04-10 01:05:19 +00:00
Tom Wood
3e676e9922
Initial revision
...
From-SVN: r4075
1993-04-10 01:03:51 +00:00
Tom Wood
2fb3112712
Add support for protocols, classes, and strings.
...
Add support for protocols, classes, and
strings. Update the runtime targets for the new GNU runtimes as
well as existing NeXT runtimes.
From-SVN: r4069
1993-04-09 23:12:37 +00:00
Tom Wood
e31c7eec77
*** empty log message ***
...
From-SVN: r4068
1993-04-09 23:12:37 +00:00
Mike Stump
d0d4af87cc
Added front-end taggint to object files.
...
From-SVN: r3874
1993-03-25 08:51:26 +00:00
Richard Kenner
f005288757
(build_objc_method_call, get_class_reference):
...
Call assemble_external on anything we are about to generate a call to.
(get_super_receiver): Likewise.
(handle_class_ref): Put constant in readonly-data section, not text.
(build_objc_symtab_template): Correctly build index type for 0-length array.
From-SVN: r3734
1993-03-14 17:21:33 -05:00
Richard Stallman
7bbc643254
(OBJC_GEN_METHOD_LABEL): Convert colons to _'s.
...
Don't use the category name or the number.
From-SVN: r3691
1993-03-10 07:19:29 +00:00
Michael Meissner
c3c03e50c0
Close #ifdef NEXT_OBJC_RUNTIME properly.
...
From-SVN: r3687
1993-03-09 16:32:42 +00:00
Richard Stallman
187e4b0f22
(really_start_method): Always use OBJC_GEN_METHOD_LABEL.
...
Pass method_slot as additional arg.
(OBJC_GEN_METHOD_LABEL): Add default definition.
From-SVN: r3677
1993-03-08 21:17:33 +00:00
Richard Stallman
d33edda78e
(handle_class_ref): Call assemble_external.
...
From-SVN: r3649
1993-03-04 21:20:14 +00:00
Richard Stallman
b16f586d98
(HASHFUNCTION): Insure nonnegative hash even if addresses are negative.
...
From-SVN: r3473
1993-02-15 07:18:09 +00:00
Richard Stallman
f79322f009
(init_objc): Use xrealoc, not realloc.
...
From-SVN: r3419
1993-02-03 23:23:22 +00:00
Doug Evans
8935266327
* (build_module_descriptor): fix call to start_function
...
From-SVN: r3397
1993-01-31 20:24:19 +00:00
Richard Stallman
e58232cd7b
Include objc-act.h.
...
From-SVN: r3272
1993-01-19 03:21:31 +00:00
Richard Stallman
25eddb2cc5
Comment change.
...
From-SVN: r3271
1993-01-19 03:20:52 +00:00
Richard Stallman
51480b1e3e
(encode_method_def): Null-terminate encoding.
...
(build_ivar_list_initializer): Null-terminate type encoding.
From-SVN: r3270
1993-01-19 03:18:50 +00:00
Paul Eggert
d09c632362
# Fix misspellings in comments.
...
From-SVN: r3190
1993-01-11 05:12:26 +00:00
Richard Stallman
c55dc79a59
(init_module_descriptor):
...
Use size_in_bytes to get size of `struct objc_module'.
From-SVN: r3168
1993-01-09 09:14:53 +00:00
Richard Stallman
80485a6d56
Rename decls for vars renamed to _objc_alloc, _objc_dealloc,
...
_objc_realloc, _objc_copy, _objc_error.
From-SVN: r3101
1993-01-05 19:55:35 +00:00
Richard Stallman
bc957254f8
Minor typographical changes.
...
From-SVN: r2913
1992-12-26 22:09:40 +00:00
Richard Stallman
b53241dce5
(build_encode_expr): Terminate the encode string with a null.
...
(encode_aggregate): Distinguish pointer to record from a
record. Output fields for record. Fix unions.
From-SVN: r2896
1992-12-19 09:04:47 +00:00
Richard Stallman
0e9934c8fc
(finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]:
...
Always call build_selector_translation_table.
From-SVN: r2895
1992-12-19 08:47:33 +00:00
Richard Stallman
61fab23682
(build_message_expr): Don't crash if super_type is 0.
...
From-SVN: r2723
1992-11-09 17:42:55 +00:00
Richard Stallman
66a35ceaa8
(build_message_expr): Use save_expr for receiver.
...
From-SVN: r2681
1992-11-03 08:12:39 +00:00
Richard Stallman
152551c656
(OBJC_SELECTORS_WITHOUT_LABELS): Define by default.
...
From-SVN: r2662
1992-10-31 20:41:23 +00:00
Richard Stallman
56358f7f02
Don't include gstdarg.h here.
...
From-SVN: r2641
1992-10-28 21:52:36 +00:00
Richard Stallman
012473fbc4
Include tconfig.h, not config.h.
...
Include gstdarg.h.
From-SVN: r2640
1992-10-28 21:52:01 +00:00
Richard Stallman
97d5530df4
(hash_ptr): Renamed from hash_int.
...
(compare_ptrs): Renamed from compare_ints.
Do not cast args to int; just compare.
From-SVN: r2611
1992-10-26 08:16:20 +00:00
Richard Stallman
c50dca4443
(handle_impent, handle_class_ref): Use __
...
to start the generated names, not period.
From-SVN: r2554
1992-10-22 12:30:09 +00:00
Richard Stallman
f6ba5fe9cc
(start_class): For an INTERFACE_TYPE, push to permanent obstack.
...
(build_message_expr): Use TYPE_MAIN_VARIANT when comparing types.
From-SVN: r2494
1992-10-17 01:37:08 +00:00
Richard Stallman
a4f6608ca2
Some comments and whitespace cleaned up. RCS headers removed.
...
Include gstddef.h and objc-proto.h.
Don't include objcP.h or objc-protoP.h.
Avoid use of u_int, etc. so no need for sys/types.h.
Adjust for change in node_table field data type.
Fix calls to DEBUG_PRINTF; no longer wants stream as arg.
From-SVN: r2456
1992-10-14 09:49:27 +00:00
Richard Stallman
437b93370d
(reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
...
(DEBUG_PRINT_REG): Define if not defined.
(print_rtx): Use DEBUG_PRINT_REG for hard regs.
(reg_name): Moved here.
Get rid of RCS headers. Fix up whitespace and comments.
Make key field and corresponding args `const void *'.
Don't use assert.
Get rid of spurious array-level in node_table field; make it void **.
Declare module_hash_table, class_hash_table.
(hash_int): Divide by sizeof (void *), not by 2**that minus 1.
From-SVN: r2455
1992-10-14 09:32:39 +00:00
Richard Stallman
584322a463
Removed due to issues
...
From-SVN: r2454
1992-10-14 09:29:26 +00:00
Richard Stallman
80b0e34e58
Fix indentation. Carry out renamings from hash.h.
...
Rename args and locals also.
From-SVN: r2193
1992-09-20 23:43:50 +00:00
Richard Stallman
d0bd180dfb
Fix indentation, clean up comments.
...
Rename structure fields and typedefs.
From-SVN: r2192
1992-09-20 23:42:24 +00:00
Richard Stallman
6072a4f54a
Changed some decls.
...
From-SVN: r2020
1992-09-02 02:04:32 +00:00
Richard Stallman
f847fb392d
Changed the format of various sections to conform with GNU standard.
...
Deleted dependencies on some header files.
Replaced the use of the functions from memory.h with funtions like bzero.
Changed the include format.
From-SVN: r2019
1992-09-02 01:59:40 +00:00
Dennis Glatting
c7d30f6625
minor documentation changes.
...
From-SVN: r2008
1992-08-31 14:15:02 -07:00
Dennis Glatting
893cc95830
minor documentation changes.
...
From-SVN: r2007
1992-08-31 14:09:15 -07:00
Dennis Glatting
4037e7bffb
minor documentation adjustments.
...
From-SVN: r2006
1992-08-31 13:47:29 -07:00
Richard Stallman
ed9eaf9bb8
(create_builtin_decl): Set TREE_STATIC.
...
Don't set DECL_EXTERNAL or TREE_PUBLIC.
From-SVN: r1997
1992-08-30 21:05:48 +00:00
Richard Stallman
741be22fac
(build_selector_translation_table): NULL-terminate the selector list.
...
(build_selector_translation_table): NULL-terminate the
selector list. Mark _OBJC_SELECTOR_REFERENCES_decl as static, not extern.
From-SVN: r1892
1992-08-19 02:49:35 +00:00
Dennis Glatting
2a425bd567
Saving a working version before release.
...
From-SVN: r1884
1992-08-17 21:46:58 -07:00
Richard Stallman
0924ddefb6
Renamed TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL.
...
to DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL.
From-SVN: r1570
1992-07-12 03:06:32 +00:00
Michael Meissner
f94b4fbc75
Remove xmalloc/free declarations
...
From-SVN: r1562
1992-07-12 01:56:28 +00:00
Michael Meissner
c724abee00
Fix call to build_int_2 to have 2 arguments.
...
From-SVN: r1536
1992-07-09 01:17:16 +00:00
Richard Stallman
1ae3f45f5b
(build_module_descriptor,add_objc_decls):
...
Set DECL_IN_SYSTEM_HEADER instead of TREE_USED on compiler-created decls.
From-SVN: r1493
1992-07-07 01:48:35 +00:00
Richard Stallman
9d00e77707
entered into RCS
...
From-SVN: r931
1992-05-07 06:41:25 +00:00
Richard Stallman
9dee6758c3
*** empty log message ***
...
From-SVN: r853
1992-04-28 23:43:21 +00:00
Richard Stallman
6e3f07241c
*** empty log message ***
...
From-SVN: r822
1992-04-23 02:20:18 +00:00
Richard Kenner
fc3ffe8309
*** empty log message ***
...
From-SVN: r754
1992-04-16 22:05:56 -04:00