Applied patch from Kazu Hirata <kazu@hxi.com> to fix disassembly of inc.l
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 237f8d413edfac998d63c65c92a650f533bf69cf..98ac94984a88719936f46bcb79c9210c433a20d2 100644 (file)
@@ -1,3 +1,316 @@
+2000-05-29  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-sh.c: Fix compile time warning messages.
+
+       * config/tc-mips.c: Fix compile time warning messages.
+
+2000-05-29  Philip Blundell  <philb@gnu.org>
+
+       * doc/as.texinfo: Update copyright dates.
+       (Local Labels): Delete misplaced mention of ARM.
+       * NEWS: Mention ARM ELF support.
+
+2000-05-27  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * config/tc-mn10300.c (md_assemble): Copy size to real_size before
+       it is modified, and use the real_size to compute the frag address
+       for dwarf2 line info.
+
+2000-05-27  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
+       line-matching scheme to cope with automake moving variables around.
+       ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
+       * Makefile.in: Regenerate.
+
+2000-05-26  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-sparc.c (sparc_relax): New.
+       (md_longopts): Add -relax and -no-relax options.
+       (md_parse_options, md_show_usage): Likewise.
+       (md_apply_fix3): Optimize tail call into branch always if possible.
+
+Thu May  4 15:27:07 2000  Donald Lindsay  <dlindsay@cygnus.com>
+
+       * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
+       d10v_cleanup) implement Mitsubishi's newly explained branch-packing
+       rules, with warning when a GAS statement specifies a packing that
+       will result in an instruction being squashed.
+       Added typdef packing_type and enumerals, changed various integer literals
+       to use the enumerals.
+
+2000-05-24  David Mosberger  <davidm@hpl.hp.com>
+
+       * config/tc-ia64.c (dot_restorereg_p): New function.
+       (md_pseudo_table): Add restorereg.p.
+       (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
+       (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
+
+       * config/tc-ia64.h (unw_record_type): Add unwabi.
+       (unw_r_record): Rename member MASK to GRMASK.  Add sub-structure
+       called MASK with members for imask, and the masks produced by
+       fr_mem, gr_mem, br_mem, and frgr_mem.
+       (unw_p_record): Add members ABI and CONTEXT.
+       (unw_x_record): Add member AB.
+       * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
+       as pseudo-register for use during unwind info generation.
+       (AR_PFS, AR_LC): New macros.
+       (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
+       whose names start with an at sign (as in "@priunat").
+       (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
+       register.
+       (unwind_list, unwind_tail, current_unwind_entry, proc_start,
+       proc_end, unwind_info, personality_routine): Consolidate into
+       "unwind" structure to reduce offset-table use.  Add member
+       NEXT_SLOT_NUMBER to track the slot number for the next instruction
+       to be emitted.
+       (output_R1_format, output_R3_format, output_P3_format,
+       output_P6_format): Initialize R with zero to reduce compiler warnings.
+       (output_P7_format): Ditto.  Add `default' branch to switch
+       statement to reduce compiler warnings.
+       (output_P8_format, output_B1_format, output_B4_format): Ditto.
+       (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
+       (format_ab_reg): Rename from format_a_b_reg.  Merge A and B args
+       into single argument.
+       (output_X1_format, output_X3_format): Initialize R with zero to reduce
+       compiler warnings.  Merge A and B args into single argument.
+       (output_X2_format, output_X4_format): Remove unused variable R.  Merge
+       A and B args into single argument.
+       (free_record): Removed (wasn't used).
+       (free_list_records): Also free imasks in prologue records.
+       (output_prologue, output_prologue_gr): Initialize mask bits to zero.
+       (output_spill_mask): Remove.
+       (output_unwabi): New function.
+       (output_epilogue, output_label_state, output_copy_state): Call
+       alloc_record.
+       (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
+       output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
+       argument.
+       (process_one_record): New locals FR_MASK and GR_MASK.  Ignore
+       gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
+       as part of handling the prologue records.  Emit region's imask if
+       we have one.  Handle unwabi, epilogue, label_state, copy_state,
+       spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
+       spill_sprel_p, and spill_reg_p records.
+       (set_imask, count_bits, slot_index): New function.
+       (fixup_unw_records): Fix region size computation.  Handle
+       epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
+       spill_sprel_p, and spill_psprel_p records.  Merge mask bits of
+       frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
+       set_imask accordingly.  Update imask for gr_gr, and br_gr records.
+       (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
+       (dot_save): Use manifest constants for applicaton registers.
+       Handle REG_PR and REG_PRIUNAT.
+       (dot_restore): Don't just ignore it.
+       (dot_restorereg): New function..
+       (generate_unwind_image): Ensure unwind info is a multiple of eight
+       bytes, not just four bytes.
+       (dot_handlerdata, dot_unwentry): Demand empty rest of line.
+       (dot_altrp): Don't just ignore it.
+       (dot_savemem): New function.  Replaces dot_savesp() and
+       dot_savepsp().  Use manifest constants for applicaton registers.
+       Handle REG_PR and REG_PRIUNAT.
+       (dot_savef): Simplify.
+       (dot_saveb): Support generation of br_gr.
+       (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
+        dot_label_state, dot_copy_state): New function.
+       (dot_unwabi): Don't just ignore it.
+       (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
+       spillreg.p, spillsp.p, spillpsp, label_state, copy_state, 
+       unwabi, vframesp, and vframepsp.  Fix typo alprp->altrp.
+       (emit_one_bundle): Set slot number for prologue/body records
+       *before* emitting the first insn.
+       (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
+       (md_begin): Declare "psp" pseudo-register.
+       (md_operand): Handle PSEUDO_FUNC_REG.  Fix printing of error message
+       so we don't get segfault.
+       (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
+       counts as required per SW Conventions manual
+       (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
+       output_preds_psprel, output_preds_sprel, output_spill_base,
+       output_unat_psprel, output_unat_sprel, output_lc_psprel,
+       output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
+       output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
+       output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
+       output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
+       output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
+       (dot_vframe): Implement.
+       (dot_vframesp, dot_vframepsp): New function.
+
+Tue May 23 00:57:05 2000  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.in (i386-*-freebsd a.out entry): Quote properly.
+       * configure: Regenerate.
+
+2000-05-23  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
+       (md_estimate_size_before_relax): so we can use it here instead of
+       old kludges.  Localise vars to blocks.  Comment.
+
+       * frags.c (frag_new): Update fr_var comments.
+       * frags.h (struct frag): Ditto.
+
+2000-05-22  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
+       (pseudo_func): Add pcrel.
+       (operand_match):  Handle IA64_OPND_TGT64.
+       (build_insn): Likewise.
+       (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
+       (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
+       (fix_insn): Handle all three 64-bit relocation types.
+
+Mon May 22 22:43:32 2000  Hans-Peter Nilsson  <hp@axis.com>
+
+       * obj.h (struct format_ops): New members begin, app_file,
+       s_set_other, s_set_desc, s_get_type, s_set_type,
+       separate_stab_sections, init_stab_section.
+
+       * config/obj-multi.h: Update GPL notice to v2.
+       (obj_begin): New.
+       (obj_app_file): New.
+       (S_SET_SIZE): Test s_set_size for NULL before calling.
+       (S_SET_ALIGN): Similar for s_set_align.
+       (S_SET_OTHER): New.
+       (S_SET_DESC): New.
+       (S_GET_TYPE): New.
+       (S_SET_TYPE): New.
+       (SEPARATE_STAB_SECTIONS): New.
+       (INIT_STAB_SECTION): New.
+       (EMIT_SECTION_SYMBOLS): New.
+       (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
+
+       * config/obj-elf.h: Update GPL notice to v2.
+       Mention that this file is included from obj-multi.h.
+       (obj_begin): Wrap definition in ifndef.
+       (elf_file_symbol): Constify declaration.
+       (obj_app_file): Ditto.
+       (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
+       Wrap in ifndef SEPARATE_STAB_SECTIONS.
+
+       * config/obj-elf.c (elf_s_set_other): New.
+       (elf_file_symbol): Constify argument.
+       (elf_separate_stab_sections): New.
+       (elf_init_stab_section): New.
+       (elf_format_ops): Add new members.  Remove comma at end.
+
+       * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
+       (ecoff_format_ops): Add new fields.  Remove comma at end.
+       Mention inconsistency for emit_section_symbols.
+
+       * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
+
+       * config/obj-coff.c (c_dot_file_symbol): Constify argument.
+       (coff_separate_stab_sections): New.
+       (coff_format_ops): Add new members.
+
+       * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
+       (obj_aout_s_set_other): New.
+       (obj_aout_s_set_desc): New.
+       (obj_aout_s_get_type): New.
+       (obj_aout_s_set_type): New.
+       (obj_aout_separate_stab_sections): New.
+       (aout_format_ops): New members added.  Use obj_aout_process_stab,
+       not 0.  Use obj_aout_sec_sym_ok_for_reloc, not 0.
+       (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
+       appropriate.
+       (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
+
+2000-05-22  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
+       for OBJ_MAYBE_ELF too.  Use S_IS_EXTERNAL instead of S_IS_EXTERN.
+       (md_estimate_size_before_relax): Ensure jumps to weak and
+       externally visible symbols are relocatable.
+
+Sat May 20 16:41:55 2000  Hans-Peter Nilsson  <hp@axis.com>
+
+       * stabs.c (aout_process_stab): Make global.
+       (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
+       * read.h (aout_process_stab): Declare.
+
+       * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
+       Generalize to *aout, *coff *elf.
+       * configure: Regenerated.
+
+       * doc/internals.texi (Object format backend): Say
+       SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
+
+       * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
+       * Makefile.in: Regenerated.
+
+2000-05-19  Catherine Moore  <clm@cygnus.com>
+
+       * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
+
+2000-05-18  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
+       instruction to reflect change in re_assemble_*.
+
+Thu May 18 10:52:14 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
+       build PA64 ELF tools.
+       * configure: Rebuilt.
+
+2000-05-17  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am: Regenerate dependencies.
+       * Makefile.in: Regenerate.
+
+2000-05-15  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-arm.c (struct asm_psr): Add boolean field
+       distinguishing between CSPR and SPSR.  Rename 'number' field
+       to 'field'.
+       (psrs): Rearrange contents to match new asm_psr structure.
+       (arm_psr_parse): Move next to psr_required_here.  Make it
+       return an asm_psr structure.
+       (psr_required_here): Use asm_psr structure returned by
+       arm_psr_parse.
+       (do_msr): Reorganise to allow psr_required_here to be called
+       only once.
+       (md_undefined_name): Mark 'name' parameter as unused, since
+       the COFF target does not use it.
+
+2000-05-14  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/te-386bsd.h:  Clean up comments to adhere to the GNU coding
+       standards.
+       * config/te-aux.h:  Likewise.
+       * config/te-dpx2.h:  Likewise.
+       * config/te-go32.h:  Likewise.
+       * config/te-hp300.h:  Likewise.
+       * config/te-hppa.h:  Likewise.
+       * config/te-i386aix.h:  Likewise.
+       * config/te-ic960.h:  Likewise.
+       * config/te-interix.h:  Likewise.
+       * config/te-nbsd532.h:  Likewise.
+       * config/te-pc532mach.h:  Likewise.
+       * config/te-ppcnw.h:  Likewise.
+       * config/te-psos.h:  Likewise.
+       * config/te-sparcaout.h:  Likewise.
+       * config/te-sun3.h:  Likewise.
+       * config/te-sysv32.h:  Likewise.
+
+2000-05-14  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
+       bits.  Instead explicitly mask and sign extend.  Do the 8 bit mask
+       and sign extend without an if statement.
+       (build_bytes): Likewise.
+
+2000-05-14  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
+       X_add_symbol L_32 case.
+
+2000-05-14  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/te-freebsd.h: New file.
+
 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
 
        * asintl.h (gettext, dgettext, dcgettext, textdomain,
@@ -260,7 +573,7 @@ Tue Apr 25 11:02:02 2000  Jeffrey A Law  (law@cygnus.com)
 Fri Apr 21 14:29:43 2000  Jeffrey A Law  (law@cygnus.com)
                          Jason Eckhardt  <jle@cygnus.com>
 
-        * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
+       * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
 
        * config/tc-hppa.c (CHECK_ALIGN): New macro.
        Added handling of new operand types l,y,&,fe,fE,fx.
This page took 0.02869 seconds and 4 git commands to generate.