Per Bothner [Wed, 13 Mar 1996 05:47:30 +0000 (21:47 -0800)]
dbxout.c (dbxout_type): Better "variant" handling to ignore const/volatile but not typedef names.
* dbxout.c (dbxout_type): Better "variant" handling to ignore
const/volatile but not typedef names. Improves Feb 12 change.
From-SVN: r11523
Jim Wilson [Tue, 12 Mar 1996 23:51:01 +0000 (15:51 -0800)]
(ROUND_TPE_SIZE): Return round_up result instead of
COMPUTED.
From-SVN: r11522
Richard Kenner [Tue, 12 Mar 1996 22:24:57 +0000 (17:24 -0500)]
(__LONG_MAX__): on Alpha, use 64 bit value.
From-SVN: r11521
Richard Kenner [Tue, 12 Mar 1996 18:54:00 +0000 (13:54 -0500)]
(nonlocal_goto): Emit barrier after jump.
(setjmp{,_64,_32}): New patterns.
From-SVN: r11520
Jim Wilson [Tue, 12 Mar 1996 17:51:15 +0000 (09:51 -0800)]
(expand_expr, case COMPONENT_REF): For unaligned object in
an aligned union, delete check for EXPAND_SUM.
From-SVN: r11519
Jim Wilson [Tue, 12 Mar 1996 17:42:04 +0000 (09:42 -0800)]
(clear_storage): Add comment terminator.
From-SVN: r11518
Torbjorn Granlund [Tue, 12 Mar 1996 15:07:49 +0000 (15:07 +0000)]
(dbra peepholes): Use flags_in_68881.
From-SVN: r11517
Torbjorn Granlund [Tue, 12 Mar 1996 15:07:49 +0000 (15:07 +0000)]
(valid_dbcc_comparison_p): Don't test cc_prev_status here.
(flags_in_68881): New function.
From-SVN: r11516
Jeff Law [Tue, 12 Mar 1996 00:08:58 +0000 (17:08 -0700)]
recog.c (constrain_operands, case 'V'): Don't call offsettable_memref_p before reload has completed.
* recog.c (constrain_operands, case 'V'): Don't call
offsettable_memref_p before reload has completed.
From-SVN: r11515
Doug Evans [Mon, 11 Mar 1996 21:05:49 +0000 (21:05 +0000)]
h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
* h8300/h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
(CC_DONE_CBIT): Delete.
(CC_OVERFLOW_0,CC_OVERFLOW_UNUSABLE,CC_NO_CARRY): Define.
* h8300/h8300.c (cond_string): Delete CC_DONE_CBIT handling.
(notice_update_cc): Delete CC_CBIT, CC_WHOOPS. Add CC_SET_ZN_C0.
(restore_compare_p): New function.
(shift_one): Use shll instead of shal so overflow bit is usable.
Set cc_valid bits to cc_status.flags values.
(emit_a_shift): Set cc_status.flags.
* h8300/h8300.md (attr cc): Delete whoops,cbit. Add set_zn_c0.
(all patterns) Update cc attr setting.
(tstqi,tsthi,tstsi): Delete CC_DONE_CBIT handling.
(addhi3,subhi3): Change define_expand to define_insn.
(branch_true,branch_false): Check if compare needs to be restored.
From-SVN: r11514
Michael Meissner [Mon, 11 Mar 1996 18:57:23 +0000 (18:57 +0000)]
Make long longs use normal CONST_DOUBLE in movdi, do not split too early
From-SVN: r11513
Jim Wilson [Mon, 11 Mar 1996 18:12:30 +0000 (10:12 -0800)]
(jump_optimize): When handle a USE insn before an unconditional jump...
(jump_optimize): When handle a USE insn before an
unconditional jump, disable the optimization if the USE is the
only insn in the loop.
From-SVN: r11512
Richard Kenner [Mon, 11 Mar 1996 11:53:27 +0000 (06:53 -0500)]
Use proper modes and predicates for {sign,zero}_extract.
From-SVN: r11511
Richard Kenner [Mon, 11 Mar 1996 11:49:32 +0000 (06:49 -0500)]
(make_extraction): Use proper mode for INNER in all cases.
(simplify_comparison, case ZERO_EXTRACT): For bits big endian and no extzv,
use BITS_PER_WORD.
From-SVN: r11510
Doug Evans [Mon, 11 Mar 1996 06:05:08 +0000 (06:05 +0000)]
(move_pic_label_si,move_label_di): Rewrite length
attr calcs to be more conservative.
From-SVN: r11509
Richard Kenner [Sun, 10 Mar 1996 11:23:17 +0000 (06:23 -0500)]
(free_insn): New variable.
(init_emit, restore_emit_status): Clear it.
(gen_sequence): Store insn in free_insn when sequence length is 1.
(make_insn_raw): Use free_insn if available and still in the rtl generation
phase.
From-SVN: r11508
Richard Kenner [Sun, 10 Mar 1996 11:15:07 +0000 (06:15 -0500)]
Update comment for rtx_equal_function_value_matters.
From-SVN: r11507
Mike Stump [Sat, 9 Mar 1996 20:23:30 +0000 (20:23 +0000)]
85th Cygnus<->FSF quick merge
From-SVN: r11506
Mike Stump [Sat, 9 Mar 1996 19:44:47 +0000 (19:44 +0000)]
85th Cygnus<->FSF quick merge
From-SVN: r11505
Mike Stump [Fri, 8 Mar 1996 23:44:26 +0000 (23:44 +0000)]
expr.c (expand_expr, [...]): Delay putting the cleanup on the cleanup chain until after the subexpression...
* expr.c (expand_expr, case TARGET_EXPR): Delay putting the cleanup
on the cleanup chain until after the subexpression has been expanded.
Fixes eh44.C and eh45.C
From-SVN: r11504
Jim Wilson [Fri, 8 Mar 1996 21:52:23 +0000 (13:52 -0800)]
(store_constructor_field): Add explanatory comment.
Call store_field if bitpos is nonzero and target is not a MEM.
From-SVN: r11503
Stan Cox [Fri, 8 Mar 1996 21:19:14 +0000 (21:19 +0000)]
(ix86_binary_operator_ok): one memory operand is OK.
From-SVN: r11502
Jim Wilson [Fri, 8 Mar 1996 19:10:35 +0000 (11:10 -0800)]
(reg_unused_after): Return 0 if see a JUMP_INSN.
From-SVN: r11501
Doug Evans [Fri, 8 Mar 1996 17:59:37 +0000 (17:59 +0000)]
(CPP_SPEC): Use %(cpp_cpu).
From-SVN: r11500
Doug Evans [Fri, 8 Mar 1996 01:18:14 +0000 (01:18 +0000)]
sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
* sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
* splet.h (SUBTARGET_SWITCHES): To here.
From-SVN: r11499
Doug Evans [Fri, 8 Mar 1996 01:17:17 +0000 (01:17 +0000)]
sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
splet.h (SUBTARGET_SWITCHES): To here.
From-SVN: r11498
Mike Stump [Fri, 8 Mar 1996 00:38:10 +0000 (00:38 +0000)]
85th Cygnus<->FSF merge
From-SVN: r11497
Doug Evans [Fri, 8 Mar 1996 00:21:09 +0000 (00:21 +0000)]
Initial revision
From-SVN: r11496
Doug Evans [Fri, 8 Mar 1996 00:13:46 +0000 (00:13 +0000)]
(eligible_for_epilogue_delay): Move set of `pat'.
From-SVN: r11495
Doug Evans [Fri, 8 Mar 1996 00:12:21 +0000 (00:12 +0000)]
sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.
* sparc/sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.
(TARGET_SWITCHES): Add live-g0.
(FIRST_PSEUDO_REGISTER): Add 1 for %icc (now 101).
(FIXED_REGISTERS,CALL_USED_REGISTERS): Update.
(FIXED_REGISTERS): %g0 is fixed by default.
(SPARC_{FIRST,LAST}_V9_FCC_REG): Define.
(SPARC_{ICC,FCC}_REG): Define.
(CONDITIONAL_REGISTER_USAGE): Don't fix %fcc0 if v8.
(REG_CLASS_CONTENTS): Reg 0 is an int reg, reg 100 is %icc.
(REGNO_REG_CLASS): Rewrite to use global `sparc_regno_reg_class'.
(REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER,LEAF_REGISTERS): Add %icc.
(REG_CLASS_FROM_LETTER): Handle 'c' for FPCC_REGS in non-v9 case.
(REGNO_OK_FOR_{BASE,INDEX}_P): Treat %g0 as a normal reg.
(REG_OK_FOR_{BASE,INDEX}_P,EXTRA_CONSTRAINT): Likewise.
(REGISTER_NAMES): Add %icc.
(ADDITIONAL_REGISTER_NAMES): Use SPARC_ICC_REG.
* sparc/sparc.c (leaf_reg_remap): Add %icc=100.
(reg_or_0_operand): Don't allow 0 if TARGET_LIVE_G0.
(fcc_reg_operand): Renamed from ccfp_reg_operand.
Use SPARC_FCC_REG. Don't treat reg 0 as an fcc reg. Don't match
modes if `mode' argument is VOIDmode.
(icc_or_fcc_reg_operand): New function.
(gen_compare_reg): Use SPARC_FCC_REG for v8 fp compares.
Use SPARC_ICC_REG for int compares.
(eligible_for_epilogue_delay): Don't allow anything if TARGET_LIVE_G0.
Delete unnecessary test for %g0.
(emit_move_sequence): Don't emit (set (mem) (const_int 0)) if
TARGET_LIVE_G0.
(output_scc_insn): Label moved to operand 3. Condition code reg
moved to operand 2.
(sparc_mode_class): Enum C_MODE renamed to CC_MODE.
(hard_32bit_mode_classes): Set reg 0 to S_MODES. Add entry for %icc.
(hard_64bit_mode_classes): Set reg 0 to D_MODES. Add entry for %icc.
(sparc_regno_reg_class): New global.
(sparc_init_modes): Initialize it.
(output_cbranch): Delete fp_cond_reg argument.
(print_operand, MEM op): Don't print "%g0+" if TARGET_SPARCLET.
(sparc_flat_eligible_for_epilogue_delay): Don't allow anything if
TARGET_LIVE_G0.
* sparc/sparc.md (live_g0): New attribute.
(*): Integer condition code register is now reg 100.
Use SPARC_ICC_REG instead of hardcoding reg 100 where possible.
Non-v9 floating point condition code register is now reg 96.
(*cmp{sf,df,tf}_{fpe,fp}_sp{32,64}): Combine v9/non-v9 cases.
(*{normal,inverted}_{,fp,fpe}_branch): Update call to output_cbranch.
(*mov{qi,hi,si}_insn): Don't use if TARGET_LIVE_G0.
(*mov{qi,hi,si}_insn_liveg0): New patterns.
(*mov{si,di,sf,df,tf}_ccfp{,e}_sp64): ccfp_reg_operand renamed to
fcc_reg_operand.
(*negdi2_sp32,negsi2,one_cmplsi2,ffssi2): Ensure %%g0 is 0 if
TARGET_LIVE_G0.
(*one_cmpldi2_sp32): Move operand 1 to rs1 and use 0 as rs2.
(patterns that use %g0 in rs2): Use 0 immediate value instead.
(patterns that read %g0): Don't use if TARGET_LIVE_G0.
From-SVN: r11494
Jim Wilson [Thu, 7 Mar 1996 23:12:02 +0000 (15:12 -0800)]
(PASS_IN_REG_P): Change < to <=.
From-SVN: r11493
Jim Wilson [Thu, 7 Mar 1996 23:10:54 +0000 (15:10 -0800)]
(va_start): Change __SH3E___ to __SH3E__.
(va_arg): Add little-endian SH3E support. Fix big-endian version
to work for arguments smaller than the word size.
From-SVN: r11492
Jeff Law [Thu, 7 Mar 1996 17:38:08 +0000 (10:38 -0700)]
lib2funcs.asm: Remove entry/exit routines.
* lib2funcs.asm: Remove entry/exit routines. Move them into...
* ee.asm: New file. Entry/exit code.
* ee_fp.asm: New file. Entry/exit code with frame pointer.
* t-pa: Corresponding changes.
* t-pro: Corresponding changes.
From-SVN: r11491
Jeff Law [Thu, 7 Mar 1996 17:34:53 +0000 (10:34 -0700)]
Initial revision
From-SVN: r11490
Jeff Law [Thu, 7 Mar 1996 15:38:43 +0000 (08:38 -0700)]
cd config/pa
* pa.c: Fix misc small typos/thinkos in recent changes.
From-SVN: r11489
Jeff Law [Thu, 7 Mar 1996 02:46:06 +0000 (19:46 -0700)]
* t-pro (dp-bit rule): Fix typo.
From-SVN: r11488
Jason Merrill [Thu, 7 Mar 1996 01:40:04 +0000 (01:40 +0000)]
(demangle_template): Fix for address-of-extern arguments.
From-SVN: r11487
Jim Wilson [Thu, 7 Mar 1996 01:03:43 +0000 (17:03 -0800)]
(USER_H): Add ginclude/va-sh.h.
From-SVN: r11486
Jim Wilson [Thu, 7 Mar 1996 00:59:13 +0000 (16:59 -0800)]
Use va-sh.h.
From-SVN: r11485
Jim Wilson [Thu, 7 Mar 1996 00:56:15 +0000 (16:56 -0800)]
New file.
From-SVN: r11484
Jeff Law [Wed, 6 Mar 1996 20:18:32 +0000 (13:18 -0700)]
lib2funcs.asm (__outline_prologue): Remove frame pointer support.
* lib2funcs.asm (__outline_prologue): Remove frame pointer
support.
(__outline_prologue_fp): Out of line prologue with frame pointer.
(__outline_epilogue, outline_epilogue_fp): Similarly.
* pa.c (compute_frame_size): Allocate enough space to avoid holes
in the callee register saves. Remove some special handling of %r3.
(hppa_expand_prologue): Don't do an out of line prologue/epilogue
if it would take more insns than an inline prologue/epilogue.
Don't leave holes in the callee register save set.
(hppa_expand_prologue): Corresponding changes. Pass stack size
to out of line epilogue code.
* pa.h (FRAME_POINTER_REQUIRED): Revert last change.
* pa.md (outline_prologue_call): Handle outline prologues which
don't need frame pointers.
(outline_epilogue_call): Similarly.
* t-pro: Reenable multilib code. Build a set of libraries that
optimize for space.
From-SVN: r11483
Jim Wilson [Wed, 6 Mar 1996 19:45:40 +0000 (11:45 -0800)]
(PASS_IN_REG_P): Fix typo in last change.
From-SVN: r11482
David Edelsohn [Wed, 6 Mar 1996 16:40:14 +0000 (16:40 +0000)]
add scheduling information for stores
From-SVN: r11481
David Edelsohn [Wed, 6 Mar 1996 16:38:58 +0000 (16:38 +0000)]
602 uses 603 description
From-SVN: r11480
Richard Kenner [Tue, 5 Mar 1996 23:51:38 +0000 (18:51 -0500)]
(ASM_OUTPUT_SECTION_NAME): New define.
From-SVN: r11479
Richard Kenner [Tue, 5 Mar 1996 23:49:33 +0000 (18:49 -0500)]
(SUPPORT_PASCAL_STRINGS): Deleted.
From-SVN: r11478
Richard Kenner [Tue, 5 Mar 1996 23:43:19 +0000 (18:43 -0500)]
Initial revision
From-SVN: r11477
Richard Kenner [Tue, 5 Mar 1996 23:38:05 +0000 (18:38 -0500)]
(ASM_OUTPUT_CASE_END): Add missing semicolon.
(switch_table_difference_label_flag): Make extern.
From-SVN: r11476
Richard Kenner [Tue, 5 Mar 1996 23:37:33 +0000 (18:37 -0500)]
(sys/param.h): Fix c89 __asm statements.
From-SVN: r11475
Richard Kenner [Tue, 5 Mar 1996 23:34:58 +0000 (18:34 -0500)]
Add -apple and -aux.
From-SVN: r11465
Jim Wilson [Tue, 5 Mar 1996 23:28:32 +0000 (15:28 -0800)]
(find_barrier): Set si_limit to 1018 instead of 1020, and
hi_limit to 510 instead of 512.
From-SVN: r11464
Doug Evans [Tue, 5 Mar 1996 22:37:54 +0000 (22:37 +0000)]
sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
* sparc/sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
(*movsi_insn): Use fpload/fpstore attributes for fp loads/stores.
%r1 -> %1 for fpstore alternative.
(*movsf_insn,*movsf_no_f_insn): %r1 -> %1.
From-SVN: r11463
Jason Merrill [Tue, 5 Mar 1996 22:16:33 +0000 (22:16 +0000)]
(staticp): Check DECL_NO_STATIC_CHAIN on nested functions.
From-SVN: r11462
Jason Merrill [Tue, 5 Mar 1996 22:16:33 +0000 (22:16 +0000)]
(expand_expr, case *_DECL): If we make a non-local reference from a function with DECL_NO_STATIC_CHAIN set, abort.
(expand_expr, case *_DECL): If we make a non-local
reference from a function with DECL_NO_STATIC_CHAIN set, abort.
(expand_expr, case ADDR_EXPR): We don't need a trampoline for a
function with DECL_NO_STATIC_CHAIN set.
From-SVN: r11461
Jim Wilson [Tue, 5 Mar 1996 20:29:06 +0000 (12:29 -0800)]
(JUMP_TABLES_IN_TEXT_SECTION): Define.
From-SVN: r11460
Jim Wilson [Tue, 5 Mar 1996 20:11:11 +0000 (12:11 -0800)]
(push_e, pop_e): Add TARGET_SH3E to condition.
From-SVN: r11459
Doug Evans [Tue, 5 Mar 1996 18:39:19 +0000 (18:39 +0000)]
loop.c (init_loop): Use pseudo reg in add_cost computation so cost doesn't vary depending on...
* loop.c (init_loop): Use pseudo reg in add_cost computation
so cost doesn't vary depending on whether reg 0 happens to be
fixed or not.
From-SVN: r11458
Jeff Law [Tue, 5 Mar 1996 16:30:04 +0000 (09:30 -0700)]
Fix typo in last change.
From-SVN: r11457
Richard Kenner [Tue, 5 Mar 1996 15:28:39 +0000 (10:28 -0500)]
(free): Remove declaration.
From-SVN: r11456
Richard Kenner [Tue, 5 Mar 1996 15:26:14 +0000 (10:26 -0500)]
(free): Delete declaration of library function.
From-SVN: r11455
Richard Kenner [Tue, 5 Mar 1996 14:32:16 +0000 (09:32 -0500)]
(record_label_references): Check for undefined label.
From-SVN: r11454
Richard Kenner [Tue, 5 Mar 1996 14:22:13 +0000 (09:22 -0500)]
Initial revision
From-SVN: r11453
Richard Kenner [Tue, 5 Mar 1996 14:14:02 +0000 (09:14 -0500)]
Delete reference to thread-test directory.
From-SVN: r11452
Richard Kenner [Tue, 5 Mar 1996 14:13:36 +0000 (09:13 -0500)]
Initial revision
From-SVN: r11451
Richard Kenner [Tue, 5 Mar 1996 14:13:24 +0000 (09:13 -0500)]
Delete reference to thread-test.
From-SVN: r11450
Richard Kenner [Tue, 5 Mar 1996 14:13:02 +0000 (09:13 -0500)]
Initial revision
From-SVN: r11449
Richard Kenner [Tue, 5 Mar 1996 14:12:47 +0000 (09:12 -0500)]
(get_imp, __objc_responds_to): Surround sarray access with mutex lock/unlock.
(__objc_init_install_dtable): Likewise.
(__objc_update_dispatch_table_for_class): Likewise.
(__objc_print_dtable_stats): Likewise.
From-SVN: r11448
Richard Kenner [Tue, 5 Mar 1996 14:12:08 +0000 (09:12 -0500)]
(sel_get_typed_uid, sel_get_any_typed_uid): Likewise.
(sel_get_any_uid, sel_get_name, sel_register_name): Likewise.
(sel_register_typed_name): Likewise.
From-SVN: r11447
Richard Kenner [Tue, 5 Mar 1996 14:11:25 +0000 (09:11 -0500)]
(union sversion): New.
(struct sarray): Maintain multiple versions.
(sarray_remove_garbage): Add prototype.
From-SVN: r11446
Richard Kenner [Tue, 5 Mar 1996 14:10:50 +0000 (09:10 -0500)]
(sarray_{remove,free}_garbage): New functions.
(sarray_at_put, sarray_new, sarray_lazy_copy):
Modify/copy sarray structure/data in a thread-safe manner
(sarray_{realloc,free}): Reallocate/free sarray structure/data in a
thread-safe manner.
From-SVN: r11445
Richard Kenner [Tue, 5 Mar 1996 14:10:10 +0000 (09:10 -0500)]
Include objc/thread.h.
From-SVN: r11444
Richard Kenner [Tue, 5 Mar 1996 14:09:10 +0000 (09:09 -0500)]
Update comments.
From-SVN: r11443
Richard Kenner [Tue, 5 Mar 1996 14:07:56 +0000 (09:07 -0500)]
(__objc_runtime_mutux, __objc_runtime_thread_alive): New variables.
(objc_init_statics, __objc_init_protocols): Surround sarray access
with mutex lock/unlock
(__objc_exec_class): Likewise.
Initialization for thread-safe global variables.
Declarations for thread-safe functions and global variables
From-SVN: r11442
Richard Kenner [Tue, 5 Mar 1996 14:06:45 +0000 (09:06 -0500)]
(__objc_init_class_tables): Surround sarray access with mutex lock/unlock.
(__objc_add_class_to_hash, objc_lookup_class): Likewise.
(objc_get_class, objc_get_next_class): Likweise.
(__objc_resolve_class_links, class_pose_as) Likewise.
From-SVN: r11441
Richard Kenner [Tue, 5 Mar 1996 14:06:02 +0000 (09:06 -0500)]
Changes to compile new files and name renaming.
From-SVN: r11440
Richard Kenner [Tue, 5 Mar 1996 12:51:14 +0000 (07:51 -0500)]
(duplicate_decl): If making decl non-external, copy context from old
to new.
From-SVN: r11439
Jeff Law [Tue, 5 Mar 1996 07:34:13 +0000 (00:34 -0700)]
lib2funcs.asm (__outline_prologue): New "function".
* lib2funcs.asm (__outline_prologue): New "function".
(__outline_epilogue): New "function".
* pa.h (TARGET_SPACE): Define.
(target_flags): Add -mspace and -mno-space. Enable/disable
space saving optimizations.
(FRAME_POINTER_REQUIRED): Frame pointers are always required
when generating out of line prologues and epilogues.
* pa.c (compute_frame_size): Handle out of line prologues/epilogues.
(hppa_expand_prologue): If optimizing for space, emit an out of
line prologue.
* pa.c (compute_frame_size): Handle out of line prologues/epilogues.
(hppa_expand_prologue): If optimizing for space, emit an out of
line prologue.
(hppa_expand_epilogue): Similarly.
(override_options): Optimizing for space is not compatable with
either profiling or PIC code generation.
* pa.md (outline_prologue_call): New pattern.
(outline_epilogue_call): Likewise.
From-SVN: r11438
Doug Evans [Tue, 5 Mar 1996 07:16:53 +0000 (07:16 +0000)]
sparc.md (*cmp{si,di}_insn): %r0 -> %0.
* sparc/sparc.md (*cmp{si,di}_insn): %r0 -> %0.
(DFmode move split): Ensure registers not extended v9 fp regs.
(*mov{sf,df,tf}_cc_reg_sp64): %r3 -> %3.
From-SVN: r11437
Erik Naggum [Tue, 5 Mar 1996 03:02:45 +0000 (04:02 +0100)]
(moss): Fix previous change.
From-SVN: r11435
Doug Evans [Tue, 5 Mar 1996 00:34:32 +0000 (00:34 +0000)]
(grokdeclarator): Restore #if 0's to disable decl_machine_attr references.
From-SVN: r11434
Manfred Hollstein [Mon, 4 Mar 1996 23:49:28 +0000 (18:49 -0500)]
manfred@lts.sel.alcatel.de
From-SVN: r11433
Richard Kenner [Mon, 4 Mar 1996 23:46:29 +0000 (18:46 -0500)]
(L_bb/atexit, onexit): Declarations replaced by #include'ing "gbl-ctors.h".
(L_exit/atexit): New function.
(L_exit/exit): Call any registered functions.
From-SVN: r11432
Richard Kenner [Mon, 4 Mar 1996 23:45:47 +0000 (18:45 -0500)]
(HAVE_ATEXIT): Define if NEED_ATEXIT is defined.
(atexit): Use `int atexit' prototype also if NEED_ATEXIT is defined.
(on_exit): According to man on_exit on the Sun it returns int not void.
From-SVN: r11431
Richard Kenner [Mon, 4 Mar 1996 23:44:47 +0000 (18:44 -0500)]
(USG): Set to 1.
From-SVN: r11430
Richard Kenner [Mon, 4 Mar 1996 23:44:17 +0000 (18:44 -0500)]
Initial revision
From-SVN: r11429
Richard Kenner [Mon, 4 Mar 1996 23:42:46 +0000 (18:42 -0500)]
(FUNCTION_PROFILER): Emit label references corresponding to those generated by ASM_OUTPUT_INTERNAL_LABEL.
(FUNCTION_PROFILER): Emit label references corresponding to those generated
by ASM_OUTPUT_INTERNAL_LABEL.
(MOTOROLA, MOTOROLA_BSR, ...): Define #ifndef USE_GAS.
(ASM_SPEC): Define properly #ifdef USE_GAS.
(LIB_SPEC): -L/usr/lib/libp deleted.
(STARTFILE_SPEC): -L/usr/lib/libp added.
(DEFAULT_A_OUT_NAME): Define.
(LINK_SPEC): Pass -v if GNU ld is used.
(LOCAL_LABEL_PREFIX): Local labels start with .L using GAS, else L%.
(USER_LABEL_PREFIX): Undefine.
(FUNCTION_PROFILER): Call asm_fprintf instead of normal fprintf.
(ASM_APP_ON, ASM_FILE_START): GAS supports it.
(CTORS_.../DTORS_...): Define if GNU ld is used.
(ASM_FILE_START): Define properly for Motorola and GNU as syntax.
(TARGET_VERSION): Re-define only #ifndef USE_GAS.
(CALL_USED_REGISTERS): Deleted.
(GLOBAL_ASM_OP): Re-define only #ifndef USE_GAS.
(ASM_{LONG,SHORT,CHAR,BYTE,BYTE_OP}): New macros.
(ASM_OUTPUT_{DOUBLE,LONG_DOUBLE,FLOAT,INT,SHORT}): Use them.
(ASM_OUTPUT_{CHAR,BYTE,ASCII,FLOAT_OPERAND,DOUBLE_OPERAND}): Likewise.
(ALIGN_ASM_OP, SKIP_ASM_OP): New macros.
(ASM_OUTPUT_{ALIGN,SKIP}): Use them.
(ASM_OUTPUT_SOURCE_FILENAME): Define only if not using GNU as.
(ASM_{GENERATE,OUTPUT}_INTERAL_LABEL): Provide proper definitions for
Motorola and GNU as syntax.
(ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Changed for portability between
Motorola and GNU as syntax.
(ASM_OUTPUT_{CASE_LABEL,OPCODE}): Define only if not using GNU as.
(ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): New macros.
(ASM_OUTPUT_{COMMON,LOCAL}): Proper defns for Motorola and gas syntax.
(SDB_...): Define only for Motorola as.
(ALT_LIBM): New define to tell g++.c about an alternative name for `-lm'.
(MATH_LIBRARY, NEED_ATEXIT, HAVE_ATEXIT, EXIT_BODY): New macros.
From-SVN: r11428
Richard Kenner [Mon, 4 Mar 1996 23:40:06 +0000 (18:40 -0500)]
(print_operand): Emit .l as scale factor #ifdef MOTOROLA.
From-SVN: r11427
Richard Kenner [Mon, 4 Mar 1996 23:39:47 +0000 (18:39 -0500)]
(main): Check new define DEFAULT_A_OUT_NAME.
From-SVN: r11426
Richard Kenner [Mon, 4 Mar 1996 23:39:06 +0000 (18:39 -0500)]
(CRT0STUFF_T_CFLAGS): New macro.
(stamp-crt0, crt0.o, mcrt0.o): New goals.
(STAGESTUFF): stamp-crt0 added.
From-SVN: r11425
Jim Wilson [Mon, 4 Mar 1996 23:38:50 +0000 (15:38 -0800)]
(PASS_IN_REG_P): Don't reject BLKmode for SH3e.
For SH3e, do reject parameter that won't fit entirely in registers.
From-SVN: r11424
Jim Wilson [Mon, 4 Mar 1996 23:07:38 +0000 (15:07 -0800)]
(mulhisi3-2, mulhisi3-1, mulsidi3_i, umulsidi3_i,
smulsi3_highpart, umulsi3_highpart): Renames operands 1/2 to 0/1.
(mulsidi3, umulsidi3): Add support for TARGET_LITTLE_ENDIAN.
From-SVN: r11423
Richard Kenner [Mon, 4 Mar 1996 23:03:33 +0000 (18:03 -0500)]
Initial revision
From-SVN: r11422
Richard Kenner [Mon, 4 Mar 1996 23:03:15 +0000 (18:03 -0500)]
Accept -moss* as op sys.
From-SVN: r11421
Mike Stump [Mon, 4 Mar 1996 22:46:30 +0000 (22:46 +0000)]
Remove a Cygnus FSF difference, so the tree will build.
From-SVN: r11420
Jim Wilson [Mon, 4 Mar 1996 22:37:57 +0000 (14:37 -0800)]
(machine_dependent_reorg): In TARGET_RELAX code...
(machine_dependent_reorg): In TARGET_RELAX code, when scan
forward from LINK, fail if pass a CODE_LABEL before finding INSN.
Fail if SCAN not INSN is a JUMP_INSN.
From-SVN: r11419
Doug Evans [Mon, 4 Mar 1996 20:18:45 +0000 (20:18 +0000)]
Update copyright.
From-SVN: r11418
Michael Meissner [Mon, 4 Mar 1996 20:06:58 +0000 (20:06 +0000)]
Fix typo in last change.
From-SVN: r11417
Michael Meissner [Mon, 4 Mar 1996 16:34:29 +0000 (16:34 +0000)]
Add attribute((longcall)) support
From-SVN: r11416
Richard Kenner [Mon, 4 Mar 1996 13:57:43 +0000 (08:57 -0500)]
(significand_size): Don't test the modes, but their sizes.
From-SVN: r11415
Richard Kenner [Mon, 4 Mar 1996 13:42:03 +0000 (08:42 -0500)]
(xstrdup): Declare instead of instead of strdup.
(ASM_OUTPUT_LABEL): Use xstrdup instead of strdup.
(FIX_FRAME_POINTER_ADDRESS): Don't use DEPTH in string.
From-SVN: r11414