Commit Graph

12389 Commits

Author SHA1 Message Date
Richard Kenner
f2433f89b4 (objc_set_thread_callback): New function.
(objc_thread_callback): Typedef for the hook function.

From-SVN: r12260
1996-06-10 11:58:20 -04:00
Richard Kenner
8c3f352664 (libobjc.a): Don't delete the library.
From-SVN: r12259
1996-06-10 11:58:05 -04:00
Richard Kenner
8c55cd7870 (__objc_init_protocols): Need to unlock mutex.
From-SVN: r12258
1996-06-10 11:49:49 -04:00
Richard Kenner
5840aa5b1e (gmon.o): Depend on stmp-int-hdrs.
(crt1.o, crti.o, crtn.o, gcrt1.o): Depend on $(GCC_PASSES).

From-SVN: r12257
1996-06-10 11:44:40 -04:00
Richard Kenner
62b1077c62 (decl_attributes, case A_T_UNION): Don't look at fields of union if
there aren't any.

From-SVN: r12256
1996-06-10 11:29:39 -04:00
Stan Cox
76565a249e i386.h (CONST_COSTS): even integer constants have a cost.
From-SVN: r12255
1996-06-09 02:13:52 +00:00
Stan Cox
2d49677f9c (ix86_expand_prologue): Keep pic register load ahead
(ix86_expand_prologue): Keep pic register load ahead
(print_operand): new letter 's'

From-SVN: r12254
1996-06-09 02:13:52 +00:00
Stan Cox
d9118e7b3a (strlensi_unroll4, strlensi_unroll5): Use + not =& for
From-SVN: r12253
1996-06-09 02:13:52 +00:00
Stan Cox
dedaa36dc9 (SHIFT_DOUBLE_OMITS_COUNT) redefine instead of
From-SVN: r12252
1996-06-09 02:13:52 +00:00
Stan Cox
b95a066830 (SHIFT_DOUBLE_OMITS_COUNT): new macro.
From-SVN: r12251
1996-06-09 02:13:52 +00:00
Jim Wilson
8fbaea49f1 (cpu, memory, imuldiv, adder, mult, divide): Add vr4100 and vr4300 support.
(cpu, memory, imuldiv, adder, mult, divide): Add
vr4100 and vr4300 support.
(muldf3, mulsf3): Add vr4300 support.
(muldf3_internal, muldf_r4300, mulsf3_internal, mulsf_r4300): New
patterns.

From-SVN: r12250
1996-06-08 15:41:49 -07:00
Jim Wilson
00b3e0523c (enum processor_type): Likewise.
(MASK_4300_MUL_FIX, TARGET_4300_MUL_FIX): New macros.
(TARGET_SWITCHES): Add -mfix4300 option.

From-SVN: r12249
1996-06-08 15:39:27 -07:00
Jim Wilson
5034b7bd85 (override_options): Add vr4100 and vr4300 support.
From-SVN: r12248
1996-06-08 15:38:52 -07:00
Richard Kenner
03b28f881b (main): Re-enable -gxcoff+.
From-SVN: r12247
1996-06-08 14:35:12 -04:00
Richard Kenner
72832685da (__{eq,ne,gt,lt,ge,le}{df,sf}2): Removed extraneous comments,
constants, labels, etc.

From-SVN: r12246
1996-06-08 14:24:08 -04:00
Richard Kenner
9811059c69 (TARGET_DEFAULT): Use MASK_* macros instead of explicit constants in
definitions or conditionals.

From-SVN: r12245
1996-06-08 14:19:47 -04:00
Richard Kenner
eb5ce91041 (define_insns for ffs[qhs]i2): Deleted.
(define_insns for ffs[qhs]i2): Deleted. These patterns only worked
when the input operand was not the same as the output operand.
(define_expand for ffssi2): New pattern. This uses an anonymous
pattern that describes what the ns32k's ffsd instruction (really)
does.

From-SVN: r12244
1996-06-08 13:55:15 -04:00
Richard Kenner
0e09cc26ee (fixup_var_refs_1, case SIGN_EXTEND): Handle paradoxical SUBREGs as first operand.
(fixup_var_refs_1, case SIGN_EXTEND): Handle paradoxical SUBREGs as first
operand.
(fixup_var_regs_1, case SET): Handle paradoxical SUBREGs as first operand of
a ZERO_EXTRACT in SET_DEST.

From-SVN: r12243
1996-06-08 13:49:13 -04:00
Richard Kenner
d5a1d1c758 (find_equiv_reg): Set need_stable_sp if GOAL is the stack pointer.
From-SVN: r12242
1996-06-08 13:43:59 -04:00
Richard Kenner
0161e8dace (enum attrs): Add A_FORMAT_ARG.
(init_attribute): Initialize it.
(decl_attributes, case A_FORMAT): Clean up error messages.
(decl_attributes, case A_FORMAT_ARG): New case.
(struct international_format_info): New structure and typedef.
(international_format_list): New variable.
(record_international_format): New function.
(init_format_info): Call it for gettext, dcgettext, and dcgettext.
(check_format_info): See if format arg is call to internationalization
function.

From-SVN: r12241
1996-06-08 13:35:57 -04:00
Jim Wilson
87e2427658 Change output to be a sequence of short strings
separated by commas rather than a single long macro definition.

From-SVN: r12240
1996-06-07 19:45:34 -07:00
Jim Wilson
ffd8633682 (MULTILIB_SELECT): Delete definition.
(multilib_select): Delete static initializer.
(multilib_obstack, multilib_raw): New global variables.
(multilib.h): Include inside multilib_raw definition.
(main): Set multilib_select from multilib_raw.

From-SVN: r12239
1996-06-07 19:44:31 -07:00
Jim Wilson
2d91790329 (simplify_binary_operation...
(simplify_binary_operation, case MULT): Check for case
where width is larger than HOST_BITS_PER_WIDE_INT, and upper most
bit is set.  We can not generate a simple shift in this case.

From-SVN: r12238
1996-06-07 19:36:34 -07:00
Per Bothner
44803a5b36 config.guess (i?86-ncr-sysv*): Emit minor release numbers.
* config.guess (i?86-ncr-sysv*):  Emit minor release numbers.
Recognize the NCR 4850 machine and NCR Pentium-based platforms.

From-SVN: r12225
1996-06-07 18:25:20 -07:00
Jim Wilson
6321d910e2 (EXTENDED_SDB_BASIC_TYPES): Define.
(PUT_SDB_TYPE): Delete now unnecessary shifting and masking.

From-SVN: r12224
1996-06-07 17:15:54 -07:00
Jim Wilson
64c6526a79 (gsyms.h): Include if CROSS_COMPILE is defined.
(plain_type_1): Use TYPE_PRECISION instead of TYPE_SIZE.
Add check for LONG_DOUBLE_TYPE_SIZE if EXTENDED_SDB_BASIC_TYPES.

From-SVN: r12223
1996-06-07 17:12:38 -07:00
Jim Wilson
b058040c91 (enum sdb_type): Add T_LNGDBL if EXTENDED_SDB_BASIC_TYPES.
(enum sdb_masks): Add EXTENDED_SDB_BASIC_TYPES masks.

From-SVN: r12222
1996-06-07 17:09:02 -07:00
Jim Wilson
75694d3866 (i960_output_move_{double,quad}): Declare.
From-SVN: r12221
1996-06-07 17:03:53 -07:00
Richard Kenner
2361ec2a84 Initial revision
From-SVN: r12220
1996-06-07 19:22:01 -04:00
Richard Kenner
7cc5b18f7b (__objc_thread_exit_status): Declare global variable.
From-SVN: r12219
1996-06-07 19:21:30 -04:00
Richard Kenner
8341df325a Remove inclusion of source files.
From-SVN: r12218
1996-06-07 19:21:17 -04:00
Richard Kenner
cc782a7e9e Now compiles as a separate source file, so include appropriate
Objective-C headers.

From-SVN: r12217
1996-06-07 19:21:00 -04:00
Richard Kenner
7228791ecf (OBJC_THREAD_FILE): Add target and dependency.
From-SVN: r12216
1996-06-07 19:16:50 -04:00
Richard Kenner
bb029709d1 (OBJC_THREAD_FILE): New variable.
From-SVN: r12215
1996-06-07 19:15:45 -04:00
Richard Kenner
bae37e7153 (TARGET_SWITCHES): Treat -m68302 like -m68000 and -m68332 like
-m68020; remove -mno-68302 and -mno-68332.

From-SVN: r12214
1996-06-07 19:03:57 -04:00
Per Bothner
8f6562d026 * expr.c (safe_from_p): Allow Chill-style variable-sized arrays.
From-SVN: r12213
1996-06-07 12:11:44 -07:00
Per Bothner
03cad97d1e gen-protos.c (progname): New variable (needed by cppalloc.c).
* gen-protos.c (progname):  New variable (needed by cppalloc.c).
(main):  Set progname.

From-SVN: r12212
1996-06-07 11:59:34 -07:00
Per Bothner
b3ea4fcad1 fixincludes: When running find...
* fixincludes:  When running find, add "/." to directory name
to force expanding symlinks to directories.

From-SVN: r12211
1996-06-07 00:32:54 -07:00
Per Bothner
35e93fb4de * fix-header.c (read_scan_file): Use CPP_FATAL_ERRORS.
From-SVN: r12210
1996-06-07 00:32:32 -07:00
Per Bothner
6c8e6d0c5c cppmain.c (fancy_abort): Only define #ifdef abort.
* cppmain.c (fancy_abort):  Only define #ifdef abort.
(main):  Make sure cpp_fatal is before exit.

From-SVN: r12209
1996-06-07 00:32:01 -07:00
Per Bothner
c8fb2307d5 * cpperror.c (fatal): Removed function.
From-SVN: r12208
1996-06-07 00:31:46 -07:00
Per Bothner
e2f79f3c03 cpplib.c (xcalloc): From from cppalloc.c.
* cpplib.c (xcalloc):  From from cppalloc.c.
* cpplib.c (cpp_push_buffer):  If recursion too deap, return NULL
rather than exiting with fatal.
(make_assertion, cpp_expand_to_buffer, push_macro_expansion,
do_include, cpp_start_rea):  Handle NULL return from cpp_push_buffer.
(output_line_command):  Update position even if no_output.
        (parse_clear_mark):  Use fatal instead of abort.

From-SVN: r12207
1996-06-07 00:30:20 -07:00
Per Bothner
426b6fa3ab cppalloc.c (memory_full): Don't use fatal; use fprintf+exit.
* cppalloc.c (memory_full):  Don't use fatal;  use fprintf+exit.
* cppalloc.c (xcalloc):  Move from here to cpplib.c.

From-SVN: r12206
1996-06-07 00:29:20 -07:00
Jeff Law
fabe72bb89 h8300.c (h8300_monitor_function_p): New function.
* h8300/h8300.c (h8300_monitor_function_p): New function.
        (h8300_os_task_function_p): Likewise.
        (os_task, monitor): Variables to note if the current
        function is an os_task or monitor.
        (function_prologue): Set monitor and/or os_task as needed.  Handle
        os_task and monitor functions.
        (function_epilogue): Clear monitor and os_task.  Handle os_task and
        monitor functions.
        (h8300_valid_machine_decl_attribute): Accept "OS_Task" and
        "monitor".

From-SVN: r12205
1996-06-06 21:13:53 -06:00
Per Bothner
c57a4b7c02 fix-header.c (read_scan_file): Use cpp_fatal.
* fix-header.c (read_scan_file):  Use cpp_fatal.
Use renamed function names, and return protocols.
* fix-header.c (check_macro_names):  Fix struct parse_file->cpp_reader.

From-SVN: r12204
1996-06-06 20:07:32 -07:00
Per Bothner
59de031165 cppmain.c (main): Use CPP_SET_WRITTEN and cpp_fatal.
* cppmain.c (main):  Use CPP_SET_WRITTEN and cpp_fatal.
Use renamed function names, and return protocols.

From-SVN: r12203
1996-06-06 20:06:57 -07:00
Per Bothner
a94c94be24 cpplib.c (init_parse_option): Renamed to cpp_options_init.
* cpplib.c (init_parse_option):  Renamed to cpp_options_init.
(push_parse_file):  Renamed to ...
(cpp_start_read):  Change to return 1 on success, 0 on failure.
(init_parse_file):  Renamed to cpp_reader_init.
* cpplib.c (cpp_start_read, cpp_handle_options, cpp_finish,
parse_goto_mark, parse_move_mark):  Use cpp_fatal rather than fatal.
* cpplib.c (newline_fix):  Remove unused function.

From-SVN: r12202
1996-06-06 20:05:31 -07:00
Per Bothner
05a2b36fad cpperror.c (cpp_message): Generalize for "fatal" errors.
* cpperror.c (cpp_message):  Generalize for "fatal" errors.
(cpp_fatal):  New function (just calls cpp_message).

From-SVN: r12201
1996-06-06 20:04:54 -07:00
Per Bothner
b23378c8ab * cpphash.c (cpp_lookup): Change struct parse_file -> cpp_reader.
From-SVN: r12200
1996-06-06 20:04:29 -07:00
Per Bothner
194d74937d cpplib.h (struct parse_file): Removed.
* cpplib.h (struct parse_file):  Removed.
(CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, CPP_OUT_BUFFER):  New macros.

From-SVN: r12199
1996-06-06 20:04:04 -07:00