Catch and ignore empty, ineffectual alignment frags when deciding if a
[deliverable/binutils-gdb.git] / gas / ChangeLog
index e4a4bf9282d8e0694f2d2f8972469b7d6c76e44d..d5d4c18f0ff886480d199a3cff3869106023aa13 100644 (file)
@@ -1,3 +1,227 @@
+2001-07-06  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-m68k.c (md_estimate_size_before_relax): Catch and
+       ignore empty, ineffectual alignment frags when deciding if a
+       branch can be short.
+
+2001-07-05  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
+       and SPECIAL_SECTION_FINI_ARRAY.
+       (special_section_name): Add .init_array and .fini_array.
+       (md_pseudo_table): Add init_array and fini_array.
+       (md): Add pointer_size and pointer_size_shift fields.
+       (setup_unwind_header): New static function.
+       (output_unw_records): Modify to use setup_unwind_header.
+       (generate_unwind_image, dot_endp): Modify to use md.pointer_size and
+       md.pointer_size_shift.
+       (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
+
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * README (Supported platforms): m88k no longer suffers bitrot.
+
+       * config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
+
+2001-07-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * struc-symbol.h (struct local_symbol): Rename lsy_offset to
+       lsy_value.  Correct typos in comments.
+       * symbols.c (local_symbol_make): Update for name change.
+       (local_symbol_convert): Likewise.
+       (colon): Likewise.
+       (S_GET_VALUE): Likewise.
+       (S_SET_VALUE): Likewise.
+       (print_symbol_value_1): Likewise.
+       (resolve_symbol_value): Likewise.  Don't divide local sym values
+       by OCTETS_PER_BYTE twice.
+
+2001-07-04  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
+
+       * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
+       sched branches.
+
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * read.c (s_fill): Correct spelling error in comments.
+
+       * doc/c-m88k.texi: New file.
+       * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
+       * doc/Makefile.in: Regenerate.
+       * doc/all.texi: Set M880X0.
+       * doc/as.texinfo: Hook in m88k-dependent documentation.
+
+2001-07-04  Eric Christopher  <echristo@redhat.com>
+
+       * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
+
+       * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
+       and rm5721 as valid cpu strings.
+       (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
+
+2001-07-04  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
+       if it's expected to be non-zero.
+
+2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with
+       fscan->fx_frag.
+
+       * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1.
+        (write_object_file): Set finalize_syms to
+        TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
+        called.
+
+        * doc/internals.texi; Document
+       TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
+
+2001-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c: Formatting fixes.
+
+2001-07-01  Ben Elliston  <bje@redhat.com>
+
+       * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
+       they cause some subtle breakage.  Will fix them again later.
+
+2001-06-28  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/obj-coff.c (obj_coff_ln): Treat a .ln directive
+       outside of a function as a .appline directive.
+
+2001-06-28  Eric Christopher <echristo@redhat.com>
+           H.J. Lu  <hjl@gnu.org>
+
+       * config/tc-mips.c (mips_arch): New. Use mips_arch instead
+       of mips_cpu for the ISA selection.
+       (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
+       (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
+       (mips_tune): New.  Use mips_tune for scheduling and optimization
+       issues.
+       (append_insn): Use mips_tune and mips_arch.
+       (macro_build): Ditto.
+       (mips_ip): Ditto.
+       (md_begin): Handle mips_arch, mips_tune and mips_cpu.  For
+       backwards compatability mips_cpu generates arch and tune.
+       (md_show_usage): Document new behavior.
+
+       * doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
+       Deprecate -mcpu.
+
+       * NEWS: Update.
+
+2001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * write.c (write_object_file): Do not set finalize_syms until
+       after the segments have been sized.  Some backends may still
+       need to access the syms's frags in order to adjust relaxed
+       frags.
+
+       * config/tc-arm.c (do_ldst): Use MVN to build simple inverted
+       constants.
+
+2001-06-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
+       subtract MD_PCREL_FROM_SECTION for 68k.
+       (fixup_segment <Difference of 2 syms different seg>): Only fudge
+       by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
+
+2001-06-27  Tracy A. Kuhrt  <Tracy.Kuhrt@microchip.com>
+
+       * write.c (fixup_segment <Difference of 2 syms same seg>): If
+       pcrel, subtract MD_PCREL_FROM_SECTION value.
+
+2001-06-24  Ben Elliston  <bje@redhat.com>
+
+       * stabs.c (generate_asm_file): Make local variable `len' a size_t.
+
+2001-06-24  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
+       section symbols the same way as externs.
+
+2001-06-24  Ben Elliston  <bje@redhat.com>
+
+       * config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
+       (emit_relocations): Ditto.
+       (s_bss): Ditto.
+       (md_begin): Reformat comments to conform to the GNU standards.
+       (md_assemble): Ditto.
+
+       * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
+       (md_parse_option): Mark parameters as unused.
+       (md_show_usage): Ditto.
+       (calcop): Adjust type of `reg_prefix' to char.
+       (get_reg): Ditto.
+       (getval): Adjust type of local `c' to char.
+       (md_create_short_jump): Mark from_addr, to_addr params as unused.
+       (md_create_long_jump): Ditto.
+       (md_estimate_size_before_relax): Mark parameters as unused.
+
+       * config/tc-m88k.c (md_pseudo_table): Properly terminate the table
+       to allay a possible compiler warning.
+
+2001-06-22  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * doc/internals.texi (CPU backend): Document md_atof.
+
+2001-06-22  Matthew Wilcox  <willy@ldl.fc.hp.com>
+
+       * config/tc-hppa.c (pre_defined_registers): Add %mrp (millicode
+       return pointer) alias for %r2 or %r31, depending on 32 or 64 bit
+       architecture.
+
+2001-06-21  Philip Blundell  <philb@gnu.org>
+
+       * config/tc-arm.c (cplong_flag): Rename to long_flag.  All uses
+       updated.
+       (insns): Remove entry for adrl.  Add long_flag for adr.
+       (do_adr): Handle `l' suffix.
+       (do_adrl): Delete.
+
+2001-06-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
+       (md_apply_fix): Use it here.  Replace printf with equivalent
+       as_bad_where.
+       (tc_gen_reloc): Use as_bad_where instead of as_bad.
+       (md_apply_fix): Here too.
+       * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
+       * config/tc-m68k.c (tc_gen_reloc): Likewise.
+       (md_convert_frag_1): Likewise.
+
+2000-06-20  Tom Rix <trix@redhat.com>
+
+       * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes.
+
+2001-06-18  H.J. Lu <hjl@gnu.org>
+
+        * doc/Makefile.am (info): Depend on $(MANS).
+        (as.1): Remove the prefix `$(srcdir)/'.
+        * doc/Makefile.in: Regenerated.
+
+        * as.1: Removed.
+
+2001-06-18  Philip Blundell  <philb@gnu.org>
+
+       * config/tc-arm.c (do_msr): Remove restriction on usage of
+       immediate operands.
+
+2001-06-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2dbg.c (dwarf2_finish): Output file info even when no
+       line info.
+
+2001-06-13  Philip Blundell  <philb@gnu.org>
+
+       * config/tc-arm.c (thumb_shift): Improve wording of error message.
+       (do_t_arit): Likewise.
+
 2001-06-13  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * config/tc-sh.c (md_pseudo_table): Only intercept the .file and
This page took 0.026235 seconds and 4 git commands to generate.