platform/upstream/gcc.git
28 years ago(find_equiv_reg): Set need_stable_sp if GOAL is the stack pointer.
Richard Kenner [Sat, 8 Jun 1996 17:43:59 +0000 (13:43 -0400)]
(find_equiv_reg): Set need_stable_sp if GOAL is the stack pointer.

From-SVN: r12242

28 years ago(enum attrs): Add A_FORMAT_ARG.
Richard Kenner [Sat, 8 Jun 1996 17:35:57 +0000 (13:35 -0400)]
(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

28 years agoChange output to be a sequence of short strings
Jim Wilson [Sat, 8 Jun 1996 02:45:34 +0000 (19:45 -0700)]
Change output to be a sequence of short strings
separated by commas rather than a single long macro definition.

From-SVN: r12240

28 years ago(MULTILIB_SELECT): Delete definition.
Jim Wilson [Sat, 8 Jun 1996 02:44:31 +0000 (19:44 -0700)]
(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

28 years ago(simplify_binary_operation...
Jim Wilson [Sat, 8 Jun 1996 02:36:34 +0000 (19:36 -0700)]
(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

28 years agoconfig.guess (i?86-ncr-sysv*): Emit minor release numbers.
Per Bothner [Sat, 8 Jun 1996 01:25:20 +0000 (18:25 -0700)]
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

28 years ago(EXTENDED_SDB_BASIC_TYPES): Define.
Jim Wilson [Sat, 8 Jun 1996 00:15:54 +0000 (17:15 -0700)]
(EXTENDED_SDB_BASIC_TYPES): Define.

(PUT_SDB_TYPE): Delete now unnecessary shifting and masking.

From-SVN: r12224

28 years ago(gsyms.h): Include if CROSS_COMPILE is defined.
Jim Wilson [Sat, 8 Jun 1996 00:12:38 +0000 (17:12 -0700)]
(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

28 years ago(enum sdb_type): Add T_LNGDBL if EXTENDED_SDB_BASIC_TYPES.
Jim Wilson [Sat, 8 Jun 1996 00:09:02 +0000 (17:09 -0700)]
(enum sdb_type): Add T_LNGDBL if EXTENDED_SDB_BASIC_TYPES.

(enum sdb_masks): Add EXTENDED_SDB_BASIC_TYPES masks.

From-SVN: r12222

28 years ago(i960_output_move_{double,quad}): Declare.
Jim Wilson [Sat, 8 Jun 1996 00:03:53 +0000 (17:03 -0700)]
(i960_output_move_{double,quad}): Declare.

From-SVN: r12221

28 years agoInitial revision
Richard Kenner [Fri, 7 Jun 1996 23:22:01 +0000 (19:22 -0400)]
Initial revision

From-SVN: r12220

28 years ago(__objc_thread_exit_status): Declare global variable.
Richard Kenner [Fri, 7 Jun 1996 23:21:30 +0000 (19:21 -0400)]
(__objc_thread_exit_status): Declare global variable.

From-SVN: r12219

28 years agoRemove inclusion of source files.
Richard Kenner [Fri, 7 Jun 1996 23:21:17 +0000 (19:21 -0400)]
Remove inclusion of source files.

From-SVN: r12218

28 years agoNow compiles as a separate source file, so include appropriate
Richard Kenner [Fri, 7 Jun 1996 23:21:00 +0000 (19:21 -0400)]
Now compiles as a separate source file, so include appropriate
Objective-C headers.

From-SVN: r12217

28 years ago(OBJC_THREAD_FILE): Add target and dependency.
Richard Kenner [Fri, 7 Jun 1996 23:16:50 +0000 (19:16 -0400)]
(OBJC_THREAD_FILE): Add target and dependency.

From-SVN: r12216

28 years ago(OBJC_THREAD_FILE): New variable.
Richard Kenner [Fri, 7 Jun 1996 23:15:45 +0000 (19:15 -0400)]
(OBJC_THREAD_FILE): New variable.

From-SVN: r12215

28 years ago(TARGET_SWITCHES): Treat -m68302 like -m68000 and -m68332 like
Richard Kenner [Fri, 7 Jun 1996 23:03:57 +0000 (19:03 -0400)]
(TARGET_SWITCHES): Treat -m68302 like -m68000 and -m68332 like
-m68020; remove -mno-68302 and -mno-68332.

From-SVN: r12214

28 years ago* expr.c (safe_from_p): Allow Chill-style variable-sized arrays.
Per Bothner [Fri, 7 Jun 1996 19:11:44 +0000 (12:11 -0700)]
* expr.c (safe_from_p):  Allow Chill-style variable-sized arrays.

From-SVN: r12213

28 years agogen-protos.c (progname): New variable (needed by cppalloc.c).
Per Bothner [Fri, 7 Jun 1996 18:59:34 +0000 (11:59 -0700)]
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

28 years agofixincludes: When running find...
Per Bothner [Fri, 7 Jun 1996 07:32:54 +0000 (00:32 -0700)]
fixincludes: When running find...

* fixincludes:  When running find, add "/." to directory name
to force expanding symlinks to directories.

From-SVN: r12211

28 years ago* fix-header.c (read_scan_file): Use CPP_FATAL_ERRORS.
Per Bothner [Fri, 7 Jun 1996 07:32:32 +0000 (00:32 -0700)]
* fix-header.c (read_scan_file):  Use CPP_FATAL_ERRORS.

From-SVN: r12210

28 years agocppmain.c (fancy_abort): Only define #ifdef abort.
Per Bothner [Fri, 7 Jun 1996 07:32:01 +0000 (00:32 -0700)]
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

28 years ago* cpperror.c (fatal): Removed function.
Per Bothner [Fri, 7 Jun 1996 07:31:46 +0000 (00:31 -0700)]
* cpperror.c (fatal):  Removed function.

From-SVN: r12208

28 years agocpplib.c (xcalloc): From from cppalloc.c.
Per Bothner [Fri, 7 Jun 1996 07:30:20 +0000 (00:30 -0700)]
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

28 years agocppalloc.c (memory_full): Don't use fatal; use fprintf+exit.
Per Bothner [Fri, 7 Jun 1996 07:29:20 +0000 (00:29 -0700)]
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

28 years agoh8300.c (h8300_monitor_function_p): New function.
Jeff Law [Fri, 7 Jun 1996 03:13:53 +0000 (21:13 -0600)]
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

28 years agofix-header.c (read_scan_file): Use cpp_fatal.
Per Bothner [Fri, 7 Jun 1996 03:07:32 +0000 (20:07 -0700)]
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

28 years agocppmain.c (main): Use CPP_SET_WRITTEN and cpp_fatal.
Per Bothner [Fri, 7 Jun 1996 03:06:57 +0000 (20:06 -0700)]
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

28 years agocpplib.c (init_parse_option): Renamed to cpp_options_init.
Per Bothner [Fri, 7 Jun 1996 03:05:31 +0000 (20:05 -0700)]
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

28 years agocpperror.c (cpp_message): Generalize for "fatal" errors.
Per Bothner [Fri, 7 Jun 1996 03:04:54 +0000 (20:04 -0700)]
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

28 years ago* cpphash.c (cpp_lookup): Change struct parse_file -> cpp_reader.
Per Bothner [Fri, 7 Jun 1996 03:04:29 +0000 (20:04 -0700)]
* cpphash.c (cpp_lookup):  Change struct parse_file -> cpp_reader.

From-SVN: r12200

28 years agocpplib.h (struct parse_file): Removed.
Per Bothner [Fri, 7 Jun 1996 03:04:04 +0000 (20:04 -0700)]
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

28 years ago(init_cumulative_args): Change EXPR_LIST to PARALLEL in comments.
Jim Wilson [Thu, 6 Jun 1996 23:44:49 +0000 (16:44 -0700)]
(init_cumulative_args): Change EXPR_LIST to PARALLEL in comments.

(init_cumulative_args): Change EXPR_LIST to PARALLEL
in comments.
(function_arg): Generate PARALLEL instead of EXPR_LIST.

From-SVN: r12198

28 years ago(FUNCTION_ARG): General PARALLEL instead of EXPR_LIST.
Jim Wilson [Thu, 6 Jun 1996 23:40:38 +0000 (16:40 -0700)]
(FUNCTION_ARG): General PARALLEL instead of EXPR_LIST.

From-SVN: r12197

28 years ago(call_value): Handle PARALLEL in operands[0].
Jim Wilson [Thu, 6 Jun 1996 23:34:44 +0000 (16:34 -0700)]
(call_value): Handle PARALLEL in operands[0].

(call_value_multiple_internal2): New pattern.

From-SVN: r12196

28 years ago(function_arg): Return PARALLEL for structure with aligned double fields.
Jim Wilson [Thu, 6 Jun 1996 23:29:34 +0000 (16:29 -0700)]
(function_arg): Return PARALLEL for structure with aligned double fields.

(function_arg): Return PARALLEL for structure with
aligned double fields.
(type_dependent_reg): Delete.
(mips_function_value): Return PARALLEL for structure
with two floating point fields.

From-SVN: r12195

28 years ago(TYPE_DEPENDENT_REG): Delete.
Jim Wilson [Thu, 6 Jun 1996 23:24:53 +0000 (16:24 -0700)]
(TYPE_DEPENDENT_REG): Delete.

From-SVN: r12194

28 years ago(TARGET_SWITCHES): Group all floating point options.
Richard Kenner [Thu, 6 Jun 1996 23:24:31 +0000 (19:24 -0400)]
(TARGET_SWITCHES): Group all floating point options.

When an fp option is selected, unset bits used for other mutually
exclusive fp options.
(OVERRIDE_OPTIONS): No longer need special case for SUPPORT_SUN_FPA, as the
bits used for 68881 and SKY are cleared by new entries in TARGET_SWITCHES.

From-SVN: r12193

28 years ago(expand_value_return): Handle PARALLEL return_reg.
Jim Wilson [Thu, 6 Jun 1996 23:14:12 +0000 (16:14 -0700)]
(expand_value_return): Handle PARALLEL return_reg.

From-SVN: r12192

28 years ago(assign_parms): Handle PARALLEL parameter in ENTRY_PARM.
Jim Wilson [Thu, 6 Jun 1996 23:13:24 +0000 (16:13 -0700)]
(assign_parms): Handle PARALLEL parameter in ENTRY_PARM.

From-SVN: r12191

28 years ago(emit_group_load, emit_group_store, use_group_regs): New
Jim Wilson [Thu, 6 Jun 1996 23:12:26 +0000 (16:12 -0700)]
(emit_group_load, emit_group_store, use_group_regs): New
declarations.

From-SVN: r12190

28 years ago(emit_group_load, emit_group_store): New functions.
Jim Wilson [Thu, 6 Jun 1996 23:04:56 +0000 (16:04 -0700)]
(emit_group_load, emit_group_store): New functions.

(use_group_regs): New function.
(emit_push_insn): Handle PARALLEL parameter in REG.
(expand_assignment): Handle PARALLEL to_rtx.
(store_expr): Handle PARALLEL target.

From-SVN: r12189

28 years ago(expand_call): Handle NIL in PARALLEL.
Jim Wilson [Thu, 6 Jun 1996 23:02:02 +0000 (16:02 -0700)]
(expand_call): Handle NIL in PARALLEL.

(expand_call): Handle NIL in PARALLEL.  Handle PARALLEL
parameter in REG.  Handle PARALLEL return value in VALREG.
(emit_library_call, emit_library_call_value): Abort for PARALLEL.
(store_one_arg): Delete code for handling EXPR_LIST.

From-SVN: r12188

28 years agoWhitespace, formatting, and spelling fixes in comments.
Richard Kenner [Thu, 6 Jun 1996 22:44:52 +0000 (18:44 -0400)]
Whitespace, formatting, and spelling fixes in comments.

From-SVN: r12187

28 years ago(assign_parms): Tighten up code that makes REG_EQUIV notes for parms.
Richard Kenner [Thu, 6 Jun 1996 22:38:13 +0000 (18:38 -0400)]
(assign_parms): Tighten up code that makes REG_EQUIV notes for parms.

From-SVN: r12186

28 years ago(fold): Don't do anything with evaluated SAVE_EXPR.
Richard Kenner [Thu, 6 Jun 1996 22:21:16 +0000 (18:21 -0400)]
(fold): Don't do anything with evaluated SAVE_EXPR.

From-SVN: r12185

28 years ago(movsi_const0, movhi): Favor clr with TARGET_5200.
Richard Kenner [Thu, 6 Jun 1996 21:53:49 +0000 (17:53 -0400)]
(movsi_const0, movhi): Favor clr with TARGET_5200.

(add[qhs]3): Don't use two addqw/subqw insns to add small integers to
an address register with TARGET_68060.
(stack push peephole): Use moveq.l with TARGET_5200 (when appropriate).

From-SVN: r12184

28 years ago(CPU_FPU_SPEC, CPP_SPEC, ASM_SPEC): Support m5200.
Richard Kenner [Thu, 6 Jun 1996 21:42:11 +0000 (17:42 -0400)]
(CPU_FPU_SPEC, CPP_SPEC, ASM_SPEC): Support m5200.

From-SVN: r12183

28 years agoDisable byte and word arithmetic, rotate, integer divide, dbcc,
Richard Kenner [Thu, 6 Jun 1996 21:41:07 +0000 (17:41 -0400)]
Disable byte and word arithmetic, rotate, integer divide, dbcc,

etc. insns for TARGET_5200.

From-SVN: r12182

28 years ago(const_method): Do not synthesize long constants with byte or word
Richard Kenner [Thu, 6 Jun 1996 21:40:30 +0000 (17:40 -0400)]
(const_method): Do not synthesize long constants with byte or word
operations with TARGET_5200.

From-SVN: r12181

28 years ago(MASK_5200, TARGET_5200): New macros.
Richard Kenner [Thu, 6 Jun 1996 21:40:02 +0000 (17:40 -0400)]
(MASK_5200, TARGET_5200): New macros.

(TARGET_SWITCHES): Add "m5200".
(LEGITIMATE_INDEX_P): Add TARGET_5200 to conditional expression.

From-SVN: r12180

28 years ago(subdirs): Work around Solaris 2.5
Paul Eggert [Thu, 6 Jun 1996 21:31:55 +0000 (21:31 +0000)]
(subdirs): Work around Solaris 2.5
/usr/xpgr/bin/sed problem with \+\+.

From-SVN: r12179

28 years ago(grokdeclarator): Call pop_obstacks after creating
Jim Wilson [Thu, 6 Jun 1996 19:15:24 +0000 (12:15 -0700)]
(grokdeclarator): Call pop_obstacks after creating
TYPE_DECL.

From-SVN: r12178

28 years ago86th Cygnus<->FSF quick merge
Mike Stump [Thu, 6 Jun 1996 19:10:27 +0000 (19:10 +0000)]
86th Cygnus<->FSF quick merge

From-SVN: r12177

28 years ago(strength_reduce): If HAVE_cc0 defined, disable auto_inc_opt
Jim Wilson [Thu, 6 Jun 1996 19:05:21 +0000 (12:05 -0700)]
(strength_reduce): If HAVE_cc0 defined, disable auto_inc_opt
if it would put an insn between a cc0 setter/user pair.

From-SVN: r12176

28 years agoMake sure Solaris is recognized as little endian.
Michael Meissner [Thu, 6 Jun 1996 17:04:03 +0000 (17:04 +0000)]
Make sure Solaris is recognized as little endian.

From-SVN: r12175

28 years agoFix typo.
Michael Meissner [Thu, 6 Jun 1996 14:07:56 +0000 (14:07 +0000)]
Fix typo.

From-SVN: r12174

28 years ago(ROUND_TYPE_ALIGN): Add check for TYPE_PACKED.
Jim Wilson [Thu, 6 Jun 1996 00:44:38 +0000 (17:44 -0700)]
(ROUND_TYPE_ALIGN): Add check for TYPE_PACKED.

From-SVN: r12173

28 years ago(branch_true): Add comment about T-bit compares.
Jim Wilson [Thu, 6 Jun 1996 00:19:36 +0000 (17:19 -0700)]
(branch_true): Add comment about T-bit compares.

From-SVN: r12172

28 years ago(SHORT_IMMEDIATES_SIGN_EXTEND): Define.
Jim Wilson [Thu, 6 Jun 1996 00:04:32 +0000 (17:04 -0700)]
(SHORT_IMMEDIATES_SIGN_EXTEND): Define.

From-SVN: r12171

28 years agocpplib.h, cpplib.c: Remove support for !STATIC_BUFFERS.
Per Bothner [Wed, 5 Jun 1996 23:25:48 +0000 (16:25 -0700)]
cpplib.h, cpplib.c: Remove support for !STATIC_BUFFERS.

* cpplib.h, cpplib.c:  Remove support for !STATIC_BUFFERS.
* cpplib.c (special_symbol, do_once, do_include, cpp_get_token):
Compare cpp_buffer against CPP_NULL_BUFFER, not NULL.
* cpplib.c (dump_special_to_buffer):  New function.
(initialize_builtins):  Use it.

From-SVN: r12170

28 years agocpplib.h, cpplib.c: Remove support for !STATIC_BUFFERS.
Per Bothner [Wed, 5 Jun 1996 23:24:48 +0000 (16:24 -0700)]
cpplib.h, cpplib.c: Remove support for !STATIC_BUFFERS.

* cpplib.h, cpplib.c:  Remove support for !STATIC_BUFFERS.
* cpplib.h:  Use unsigned char rather than U_CHAR.
* cpplib.h (cpp_reader):  Add destructor #ifdef __cplusplus.
(cpp_cleanup):  New prototype.

From-SVN: r12169

28 years ago* pa/pa.h (TEXT_SPACE_P): Fix thinko in last change.
Jeff Law [Wed, 5 Jun 1996 23:11:46 +0000 (17:11 -0600)]
* pa/pa.h (TEXT_SPACE_P): Fix thinko in last change.

From-SVN: r12168

28 years agoTurn off ELF shared libs for now by default; Add linker OS switch; more Solaris work
Michael Meissner [Wed, 5 Jun 1996 20:37:49 +0000 (20:37 +0000)]
Turn off ELF shared libs for now by default; Add linker OS switch; more Solaris work

From-SVN: r12167

28 years agoFix typo: TYPE_ptrdiff_t to _TYPE_ptrdiff_t.
Ian Lance Taylor [Wed, 5 Jun 1996 20:36:21 +0000 (20:36 +0000)]
Fix typo: TYPE_ptrdiff_t to _TYPE_ptrdiff_t.

From-SVN: r12166

28 years ago* varasm.c (output_constructor): Handle RANGE_EXPR in array index.
Per Bothner [Wed, 5 Jun 1996 19:55:01 +0000 (12:55 -0700)]
* varasm.c (output_constructor):  Handle RANGE_EXPR in array index.

From-SVN: r12165

28 years ago(*call_{address,symbolic}_struct_value_sp32): Allow operand 2 to be
Richard Kenner [Wed, 5 Jun 1996 17:45:36 +0000 (13:45 -0400)]
(*call_{address,symbolic}_struct_value_sp32): Allow operand 2 to be
const0_rtx.

From-SVN: r12164

28 years ago(make_decl_rtl): Don't update DECL_ASSEMBLER_NAME for
Jason Merrill [Wed, 5 Jun 1996 05:15:57 +0000 (05:15 +0000)]
(make_decl_rtl): Don't update DECL_ASSEMBLER_NAME for
        local statics.

From-SVN: r12163

28 years agoconfig.guess: Combine mips-mips-riscos cases, and use cpp to distinguish sysv/svr4...
Per Bothner [Wed, 5 Jun 1996 04:12:46 +0000 (21:12 -0700)]
config.guess: Combine mips-mips-riscos cases, and use cpp to distinguish sysv/svr4/bsd variants.

* config.guess:  Combine mips-mips-riscos cases, and use cpp to
distinguish sysv/svr4/bsd variants.

From-SVN: r12159

28 years ago(start_decl): Always set DECL_COMMON on statics.
Jason Merrill [Tue, 4 Jun 1996 23:42:33 +0000 (23:42 +0000)]
(start_decl): Always set DECL_COMMON on statics.

From-SVN: r12158

28 years ago(assemble_variable): Only treat vars with DECL_COMMON
Jason Merrill [Tue, 4 Jun 1996 23:42:33 +0000 (23:42 +0000)]
(assemble_variable): Only treat vars with DECL_COMMON
        as common.

From-SVN: r12157

28 years agopa.c (reloc_needed): New function.
Jeff Law [Tue, 4 Jun 1996 18:58:08 +0000 (12:58 -0600)]
pa.c (reloc_needed): New function.

        * pa/pa.c (reloc_needed): New function.
        * pa/pa.h (TEXT_SPACE_P): Variables/constants with initializers
        requiring relocs never live in the text space.

From-SVN: r12156

28 years agoAlign code at the start of loops and after branches.
Ian Lance Taylor [Tue, 4 Jun 1996 18:13:21 +0000 (18:13 +0000)]
Align code at the start of loops and after branches.

Align code at the start of loops and after branches.  Don't accept
negative zero in fp_zero_operand.

From-SVN: r12155

28 years agoAlign code at the start loops and after unconditional branches
Ian Lance Taylor [Tue, 4 Jun 1996 18:12:36 +0000 (18:12 +0000)]
Align code at the start loops and after unconditional branches

From-SVN: r12154

28 years agoPass -mno-regnames to assembler.
Michael Meissner [Tue, 4 Jun 1996 15:05:05 +0000 (15:05 +0000)]
Pass -mno-regnames to assembler.

From-SVN: r12153

28 years agoTouch up solaris port
Michael Meissner [Tue, 4 Jun 1996 14:02:51 +0000 (14:02 +0000)]
Touch up solaris port

From-SVN: r12152

28 years ago(CPP_SPEC): Make -mabi=n32 the default.
Jim Wilson [Mon, 3 Jun 1996 23:38:47 +0000 (16:38 -0700)]
(CPP_SPEC): Make -mabi=n32 the default.

From-SVN: r12151

28 years ago(MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT, MULTILIB_DEFAULTS,
Jim Wilson [Mon, 3 Jun 1996 23:37:46 +0000 (16:37 -0700)]
(MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT, MULTILIB_DEFAULTS,

ASM_SPEC, STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.

From-SVN: r12150

28 years ago(tablejump_internal4+1): Fix typo in condition.
Jim Wilson [Mon, 3 Jun 1996 23:36:11 +0000 (16:36 -0700)]
(tablejump_internal4+1): Fix typo in condition.

From-SVN: r12149

28 years ago(CC, OLDCC): Define to be `cc -32'.
Jim Wilson [Mon, 3 Jun 1996 23:34:35 +0000 (16:34 -0700)]
(CC, OLDCC): Define to be `cc -32'.

From-SVN: r12148

28 years agoRemove CYGNUS LOCAL tags.
Michael Meissner [Mon, 3 Jun 1996 17:29:55 +0000 (17:29 +0000)]
Remove CYGNUS LOCAL tags.

From-SVN: r12147

28 years ago(*:Linux:*:*): Add guess for sparc-unknown-linux.
Karl Heuer [Mon, 3 Jun 1996 12:51:33 +0000 (12:51 +0000)]
(*:Linux:*:*): Add guess for sparc-unknown-linux.

From-SVN: r12145

28 years ago([LR]SHIFT_EXPR): Remove `a' from printed names.
Richard Kenner [Mon, 3 Jun 1996 12:33:43 +0000 (08:33 -0400)]
([LR]SHIFT_EXPR): Remove `a' from printed names.

From-SVN: r12144

28 years ago(call): Mask unimp operand to 12 bits, just like Sun.
Richard Kenner [Mon, 3 Jun 1996 12:17:26 +0000 (08:17 -0400)]
(call): Mask unimp operand to 12 bits, just like Sun.

From-SVN: r12143

28 years ago(store_field): Fix typo in last change; update TARGET addr.
Richard Kenner [Mon, 3 Jun 1996 12:06:54 +0000 (08:06 -0400)]
(store_field): Fix typo in last change; update TARGET addr.

From-SVN: r12142

28 years ago(layout_decl): Test DECL_PACKED and TYPE_PACKED instead of
Richard Kenner [Mon, 3 Jun 1996 11:57:30 +0000 (07:57 -0400)]
(layout_decl): Test DECL_PACKED and TYPE_PACKED instead of
flag_pack_struct.

From-SVN: r12141

28 years ago(start_struct): Set TYPE_PACKED from flag_pack_struct.
Richard Kenner [Mon, 3 Jun 1996 11:57:03 +0000 (07:57 -0400)]
(start_struct): Set TYPE_PACKED from flag_pack_struct.

(start_enum): Likewise but from flag_short_enums.
(finish_enum): Test TYPE_PACKED, not flag_short_enums.

From-SVN: r12140

28 years ago(tablejump_internal3, tablejump_internal4): New patterns.
Jim Wilson [Sun, 2 Jun 1996 23:40:42 +0000 (16:40 -0700)]
(tablejump_internal3, tablejump_internal4): New patterns.

(tablejump): Use them for PIC code.

From-SVN: r12139

28 years ago(epilogue_set_stack_ptr): New.
Stan Cox [Fri, 31 May 1996 21:14:51 +0000 (21:14 +0000)]
(epilogue_set_stack_ptr): New.

From-SVN: r12138

28 years ago(ix86_expand_epilogue): Don't generate references to an exposed vacated stack.
Stan Cox [Fri, 31 May 1996 21:14:51 +0000 (21:14 +0000)]
(ix86_expand_epilogue): Don't generate references to an exposed vacated stack.

From-SVN: r12137

28 years ago(va_start): Add -mabi=n32 support.
Jim Wilson [Fri, 31 May 1996 19:13:05 +0000 (12:13 -0700)]
(va_start): Add -mabi=n32 support.

From-SVN: r12136

28 years agoAdd -mabi=n32 support.
Jim Wilson [Fri, 31 May 1996 19:06:49 +0000 (12:06 -0700)]
Add -mabi=n32 support.

(ABI_64BIT): Delete.
(TARGET_LONG64, CPP_SPEC, STACK_BOUNDARY, MIPS_STACK_ALIGN,
GP_ARG_LAST, FP_ARG_LAST, SUBTARGET_CONDITIONAL_REGISTER_USAGE,
MAX_ARGS_IN_REGISTER, FUNCTION_ARG_PADDING, RETURN_IN_MEMORY,
SETUP_INCOMING_VARARGS): Modify.
(REG_PARM_STACK_SPACE): Ifdef out.
(TARGET_DEFAULT, SUBTARGET_TARGET_OPTIONS): Define.

From-SVN: r12135

28 years agoAdd -mabi=n32 support.
Jim Wilson [Fri, 31 May 1996 19:03:46 +0000 (12:03 -0700)]
Add -mabi=n32 support.

(TARGET_DEFAULT, ASM_OUTPUT_INTERNAL_LABEL,
ASM_GENERATE_INTERNAL_LABEL): Delete.
(MULTILIB_DEFAULTS, ASM_SPEC, EXTRA_SECTION_FUNCTIONS,
ASM_OUTPUT_ALIGNED_LOCAL, STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC):
Modify.
(MIPS_ABI_DEFAULT, LOCAL_LABEL_PREFIX): Define.

From-SVN: r12134

28 years agoAdd -mabi=n32 support.
Jim Wilson [Fri, 31 May 1996 19:02:47 +0000 (12:02 -0700)]
Add -mabi=n32 support.

(mips_const_double_ok, mips_move_1word, mips_move_2words,
function_arg, override_options, mips_asm_file_start,
compute_frame_size, save_restore_insns, function_prologue,
mips_expand_prologue, function_epilogue, mips_function_value): Modify.
(mips_abi, mips_abi_string): Define

From-SVN: r12133

28 years agoSolaris fixes
Michael Meissner [Fri, 31 May 1996 19:02:31 +0000 (19:02 +0000)]
Solaris fixes

From-SVN: r12132

28 years agoAdd -mabi=n32 support.
Jim Wilson [Fri, 31 May 1996 19:01:37 +0000 (12:01 -0700)]
Add -mabi=n32 support.

(ABI_64BIT): Delete.
(TARGET_OPTIONS, INITIAL_ELIMINATION_OFFSET, GO_IF_LEGITIMATE_ADDRESS,
CONSTANT_ADDRESS_P, LEGITIMATE_CONSTANT_P, LEGITIMIZE_ADDRESS,
ASM_OUTPUT_ADDR_DIFF_ELT): Modify.
(enum mips_abi_type, SUBTARGET_TARGET_OPTIONS): Define.
(mips_abi, mips_abi_string): Declare.

From-SVN: r12131

28 years ago(jump, tablejump_internal1, tablejump_internal2): Add
Jim Wilson [Fri, 31 May 1996 19:00:22 +0000 (12:00 -0700)]
(jump, tablejump_internal1, tablejump_internal2): Add
-mabi=n32 support.

From-SVN: r12130

28 years ago(MULTILIB_OPTIONS): Add -mabi=n32 support.
Jim Wilson [Fri, 31 May 1996 18:59:11 +0000 (11:59 -0700)]
(MULTILIB_OPTIONS): Add -mabi=n32 support.

From-SVN: r12129

28 years ago(HOST_BITS_PER_LONG): Use _MIPS_SZLONG not 64.
Jim Wilson [Fri, 31 May 1996 18:58:34 +0000 (11:58 -0700)]
(HOST_BITS_PER_LONG): Use _MIPS_SZLONG not 64.

From-SVN: r12128

28 years agotree.def (OFFSET_REF): Remove.
Mike Stump [Fri, 31 May 1996 05:08:47 +0000 (05:08 +0000)]
tree.def (OFFSET_REF): Remove.

        * tree.def (OFFSET_REF): Remove.
        * expr.c (expand_expr, case OFFSET_REF): Ditto.
        * tree.c (substitute_in_expr): Remove OFFSET_REF code.
Remove some old cruft

From-SVN: r12127