OSDN Git Service

Lotsa sparc stuff.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 2c785dd..f68a31f 100644 (file)
@@ -1,3 +1,180 @@
+Mon Oct 20 14:16:38 1997  Geoffrey KEATING  <geoffk@ozemail.com.au>
+
+       * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
+
+Mon Oct 20 12:28:17 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
+       (DEFAULT_ARCH32_P): New macro.
+       (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
+       (enum cmodel): Declare.
+       (sparc_cmodel_string,sparc_cmodel): Declare.
+       (SPARC_DEFAULT_CMODEL): Provide default.
+       (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
+       (TARGET_FULLANY): Deleted.
+       (TARGET_CM_MEDMID): New macro.
+       (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
+       (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
+       (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
+       (CPP_SPEC): Rewrite.
+       (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
+       (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
+       (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
+       (ASM_SPEC): Add %(asm_arch).
+       (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
+       Rename asm_default to asm_cpu_default.
+       Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
+       cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
+       (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
+       ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
+       (MASK_INT64,MASK_LONG64): Delete.
+       (MASK_ARCH64): Renamed to MASK_64BIT.
+       (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
+       (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
+       (TARGET_SWITCHES): Always provide 64 bit options.
+       (ARCH64_SWITCHES): Delete.
+       (TARGET_OPTIONS): New option -mcmodel=.
+       (INT_TYPE_SIZE): Always 32.
+       (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
+       (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
+       (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
+       (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
+       * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
+       CPP_SPEC.
+       (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
+       * sparc/linux.h: Likewise.
+       * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
+       (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
+       (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
+       (SPARC_DEFAULT_CMODEL): Define.
+       (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
+       (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
+       (LONG_DOUBLE_TYPE_SIZE): Define.
+       (ASM_SPEC): Add %(asm_arch).
+       * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
+       (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
+       (TARGET_CPU_DEFAULT): Add ultrasparc case.
+       * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
+       (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
+       (SPARC_DEFAULT_CMODEL): Define.
+       * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
+       (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.  Delete
+       MASK_LONG64, MASK_MEDANY.
+       (SPARC_DEFAULT_CMODEL): Define.
+       (CPP_PREDEFINES): Delete.
+       (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
+       (ASM_SPEC): Add %(asm_arch).
+       (LONG_DOUBLE_TYPE_SIZE): Define.
+       (DWARF2_DEBUGGING_INFO): Define.
+       * sparc/splet.h (CPP_SPEC): Delete.
+       * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
+       (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
+       (BLOCK_PROFILER): Likewise.
+       * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
+       (sparc_override_options): Handle code model selection.
+       (sparc_init_expanders): Renamed from sparc64_init_expanders.
+       * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
+       TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
+       (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
+       (sethi_di_fullany): Delete.
+
+Mon Oct 20 02:00:18 1997  Klaus Kaempf <kkaempf@progis.de>
+                         Jeff Law <law@cygnus.com>
+                         Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+       * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
+       (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
+       (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
+       (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
+       * alpha/alpha.md (arg_home): Likewise.
+
+       * alpha/alpha.c (vmskrunch): Delete
+       * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
+       * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
+       truncate to 64 characters.
+
+       * make-l2.com: Support openVMS/Alpha.
+
+       * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
+
+Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * longlong.h (count_leading_zeros): Add missing casts to USItype.
+
+Sun Oct 19 18:44:06 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * i386/bsd386.h (ASM_COMMENT_START): Define.
+
+Sat Oct 18 13:47:15 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * tree.c (restore_tree_status): Also free up temporary storage
+       when we finish a toplevel function.
+       (dump_tree_statistics): Print stats for backend obstacks.
+
+Sat Oct 18 12:47:31 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * expr.c (use_group_regs): Don't call use_reg for MEMs.
+
+Sat Oct 18 09:49:46 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * libgcc2.c (__throw): Don't copy the return address.
+       * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
+
+       * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
+       * toplev.c (main): Initialize exceptions_via_longjmp.
+
+       * tree.c: Add extra_inline_obstacks.
+       (save_tree_status): Use it.
+       (restore_tree_status): If this is a toplevel inline obstack and we
+       didn't want to save anything on it, recycle it.
+       (print_inline_obstack_statistics): New fn.
+       * function.c (pop_function_context_from): Pass context to 
+       restore_tree_status.
+       * obstack.h (obstack_empty_p): New macro.
+
+Sat Oct 18 00:43:59 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * i386/freebsd.h (ASM_COMMENT_START): Fix.
+
+Fri Oct 17 23:48:52 1997  Jim Wilson  (wilson@cygnus.com)
+
+       * v850.c (ep_memory_offset): New function.
+       (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
+
+       * v850.h (CONST_OK_FOR_*): Add and correct comments.
+       (CONSTANT_ADDRESS_P): Add comment.
+       (EXTRA_CONSTRAINT): Define 'U'.
+       * v850.md: Add comments on bit field instructions.
+       (addsi3): Delete &r/r/r alternative.  Add r/r/U alternative.
+       (lshrsi3): Use N not J constraint. 
+
+       * v850.md (v850_tst1+1): New define_split for tst1 instruction.
+
+       * v850.c (reg_or_0_operand): Call register_operand.
+       (reg_or_int5_operand): Likewise.
+       * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
+       (TARGET_SWITCHES): Add "big-switch".
+       (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
+       ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
+       (CASE_DROPS_THROUGH): Comment out.
+       (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
+       * v850.md (cmpsi): Delete compare mode.
+       (casesi): New pattern.
+
+       * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
+       * v850.md (ashlsi3): Use SImode not QImode for shift count.
+       (lshrsi3): Likewise.
+
+       * v850.c (print_operand): Add 'c', 'C', and 'z' support.  Delete
+       unreachable switch statement after 'b' support.  Remove "b" from
+       strings for 'b' support.
+       * v850.md (branch_normal, branch_invert): Change %b to b%b.
+
+Fri Oct 17 23:33:20 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
+       empty line if @inhibit_libc@ is empty.
+
 Fri Oct 17 23:24:40 1997  Robert Lipe (robertl@dgii.com)
 
        * i386/sco5.h: Let ELF use dwarf2 unwinding.  COFF uses sjlj.