Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
[external/binutils.git] / gas / ChangeLog
index da8d399..7f7da64 100644 (file)
@@ -1,4 +1,402 @@
-Sat May 20 03:49:32 2000  Hans-Peter Nilsson  <hp@bitrange.com>
+2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
+       * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
+       * doc/as.texinfo: Likewise.
+
+       * configure, Makefile.in: Regenerate.
+       * configure.in (emulations): Recognize m6811 and m6812.
+       * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
+       Added files for 68hc11 and 68hc12 assembler.
+       * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
+       * config/tc-m68hc11.h: Header definition for that assembler.
+
+2000-06-18  Nick Clifton  <nickc@redhat.com>
+
+       * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
+       instead of OCTETS_PER_BYTE.
+
+       * config/tc-v850.c: Fix compile time warnings.
+       * config/tc-ppc.c: Fix compile time warnings.
+
+2000-06-18  H.J. Lu <hjl@gnu.org>
+
+       * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
+       * configure: Rebuild.
+
+2000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
+
+       * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER to BFD_ASSEMBLER.
+
+2000-06-16  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
+       RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
+
+       * doc/c-mips.texi: Document newly accepted cpu variants.
+
+2000-06-15  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
+
+2000-06-13  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * macro.c (getstring): Make it possible to escape the quote
+       character.
+
+Tue Jun 13 20:58:28 2000  Catherine Moore <clm@redhat.com>
+
+       * config/tc-hppa.c (pa_export): Weak symbols can be global.
+
+2000-06-13  H.J. Lu  <hjl@gnu.org>
+
+       * configure: Regenerate.
+
+2000-06-09  Alan Modra  <alan@linuxcare.com.au>
+
+       * app.c (do_scrub_begin): Don't default lex[';'] as a line
+       separator.
+       * doc/internals.texi (line_separator_chars): Semicolon is no
+       longer a default.  Mention null and newline as defaults.
+
+       * read.c (is_end_of_line): Remove ifdef TC_HPPA.
+
+       * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
+       * config/tc-i860.h (line_separator_chars): Likewise.
+       * config/tc-h8300.c (line_separator_chars): Likewise.
+       * config/tc-i960.c (line_separator_chars): Likewise.
+       * config/tc-m68k.c (line_separator_chars): Likewise.
+       * config/tc-mips.c (line_separator_chars): Likewise.
+       * config/tc-ns32k.c (line_separator_chars): Likewise.
+       * config/tc-sparc.c (line_separator_chars): Likewise.
+       * config/tc-vax.c (line_separator_chars): Likewise.
+
+       * config/tc-h8300.c (comment_chars): Use string initialiser.
+       * config/tc-i960.c (line_comment_chars): Likewise.
+       * config/tc-z8k.c (comment_chars, line_comment_chars,
+       line_separator_chars): Likewise.
+
+       * config/tc-arm.c (line_separator_chars): Always use `;', not just
+       for TE_LINUX.
+
+2000-06-08  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
+       for size 1 fixes.
+
+2000-06-08  David O'Brien  <obrien@FreeBSD.org>
+
+       * configure.in (VERSION): Update to show this is the CVS mainline.
+
+2000-06-08  Matthew Jacob  <mjacob@feral.com>
+
+       * config/tc-alpha.c (md_undefined_symbol): Properly understand that
+       $at is the integer register $r28, vs. both $r28 and the floating
+       point register $f28.
+
+2000-06-08  James E. Wilson  <wilson@cygnus.com>
+
+       * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
+       (dot_endp): Don't call ia64_flush_insns.
+       (emit_one_bundle): Don't delete prologue/body records from
+       unwind_record list in first loop.  Rewrite second loop to account for
+       this.
+
+2000-06-07  David Mosberger  <davidm@hpl.hp.com>
+
+       * config/tc-ia64.c: Add missing prototypes.
+       (generate_unwind_image): Cast argument to output_unw_records call.
+
+Wed Jun  7 22:44:14 2000  Denis Chertykov  <denisc@overta.ru>
+
+       * config/tc-avr.c (avr_operand): fix the fomratting of the comment.
+
+Wed Jun  7 21:26:15 2000  Denis Chertykov  <denisc@overta.ru>
+
+       * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
+       (REGISTER_P): likewise.
+       (avr_opcodes): uses include/opcode/avr.h
+       (avr_operand): enable ld r,Z or st r,Z for at90s1200.
+       
+2000-06-04  Alan Modra  <alan@linuxcare.com.au>
+
+       * read.c (is_end_of_line): No ';' for TC_HPPA.  Add missing
+       initializers too.
+
+2000-06-03  H.J. Lu  <hjl@gnu.org>
+
+       * read.c (is_end_of_line): Put back `;'.
+
+2000-06-03  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
+
+2000-06-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * expr.c (operand): Test is_end_of_line outside switch to catch
+       line separator chars that are also operators.
+       (operator): Return O_illegal for line separator chars.
+
+       * read.c (is_end_of_line): Use 1 instead of 99.  Don't set `;'
+       entry (or `!' entry for TC_HPPA).
+
+       * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
+       before indexing is_end_of_line.  Remove redundant check for '\0'.
+       (fp_op2): Likewise.
+       * config/tc-h8500.c (md_assemble): Likewise.
+       * config/tc-mcore.c (md_assemble): Likewise.
+       * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
+       (md_atof): Likewise
+
+       * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
+       is_end_of_line.
+       * config/tc-mcore.c (mcore_cons): Likewise.
+       (mcore_float_cons): Likewise.
+       (mcore_stringer): Likewise.
+       * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
+
+2000-06-01  Scott Bambrough <scottb@netwinder.org>
+
+       * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
+
+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.
@@ -336,7 +734,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.
@@ -1981,7 +2379,7 @@ Tue Aug 10 12:58:31 1999  Jeffrey A Law  (law@cygnus.com)
        Always Use subsegment zero for the unwinders.
        (pa_level): Handle "2.0w".
 
-Mon Aug  9 20:02:22 1998  J"orn Rennecke  <amylaar@cygnus.co.uk>
+Mon Aug  9 20:02:22 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
 
        * config/tc-d30v.c (write_2_short): Don't group repeat instructions
        with the following instruction unless this was specified.