2001-03-28 H.J. Lu <hjl@gnu.org>
[binutils-gdb.git] / gas / ChangeLog
index 2d6241db0af5d980b3fe2d94fbde0869978e213d..ca08411f9b6b8558e6632ff7fe0b9a4caa20c12f 100644 (file)
@@ -1,3 +1,158 @@
+2001-03-28  H.J. Lu  <hjl@gnu.org>
+
+       * read.c (equals): Set to local for COFF only if it hasn't been
+       defined before.
+
+2001-03-28  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-hppa.c (DEFAULT_LEVEL): Define.
+       (md_begin): Use it when setting default architecture.
+
+2001-03-27  Nick Papadonis  <nick@coelacanth.com>
+
+       * read.c (equals): (for COFF) default symbols to being local.
+
+2001-03-27  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.in (cris-*-*): Change default emulation to criself.
+       (cris-*-*aout*): New rule.
+       * configure: Regenerate.
+
+2001-03-26  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * config/tc-s390.c (tc_s390_fix_adjustable): Add test for
+       BFD_RELOC_390_GOTENT.
+       * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for
+       BFD_RELOC_390_GOTENT.
+
+2001-03-26  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-s390.h (TC_FORCE_RELOCATION): Define.
+       * config/tc-s390.c (s390_force_relocation): New function: Force
+       relocations for VTINHERIT relocs.
+
+2001-03-23  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * doc/as.texinfo: Put @c man begin to generate the as man page.
+       When generating man, define all the variables. Re-organize some
+       options to obtain better indentation of man page.
+       * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
+       (as.1): Build from as.texinfo.
+       * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am
+
+2001-03-25  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-i386.c (i386_scale): Accept an absolute expression for
+       scale factor, and return the end of the expression.
+       (i386_operand): Modify for above.
+
+2001-03-23  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo: Document --listing-XXX command line switches.
+       Explain why listings behave differently when -pipe is used.
+
+2001-03-23  Richard Sandiford  <rsandifo@redhat.com>
+
+       * write.c (fix_new_exp): Print an error if passed a register.
+
+2001-03-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/tc-cris.c: Tweak attribution.  Fix typos.  PIC support.
+       (PIC_SUFFIX_CHAR): New macro.
+       (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions.
+       (pic): New variable.
+       (md_longopts): New option --pic.
+       (OPTION_PIC): Define.
+       (md_estimate_size_before_relax): Tweak longish comment.
+       (md_create_long_jump): Make the long jumps generate ADD.D offset,PC.
+       (md_assemble): Handle a PIC relocation on prefix and normal
+       instruction operands.
+       <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle
+       "complex" operand expressions.  Call frag_more outside
+       gen_cond_branch_32 parameter list.
+       (cris_process_instruction): Handle PIC relocs on parsed
+       operand expressions.  Validize PIC reloc sizes.
+       (get_autoinc_prefix_or_indir_op): Handle PIC suffix.
+       (gen_bdap): Handle "complex" operand expressions.
+       (gen_cond_branch_32): Use as_warn_where, not as_warn.  Use
+       ADD.D offset,PC as jump instruction if generating PIC.  Generate
+       error instead of crashing on complex expressions.
+       (cris_number_to_imm): Add segT parameter.  All callers changed.
+       Use segT parameter, not now_seg, for segment of fixup.  Handle
+       PCREL relocations but check that they are fully resolved.
+       (md_parse_option): Handle OPTION_PIC.
+       (tc_gen_reloc): Handle PIC relocs.
+       (md_show_usage): Update for --pic.
+       (md_apply_fix3): Renamed from md_apply_fix.
+       (md_pcrel_from): Accept emitting PCREL relocs when ELF.
+       (md_cris_force_relocation): Force relocation for PIC relocs.
+
+       * config/tc-cris.h: Tweak attribution.
+       (MD_APPLY_FIX3): Define.
+       (IS_CRIS_PIC_RELOC): New macro.
+       (TC_RELOC_RTSYM_LOC_FIXUP): Define.
+       (tc_fix_adjustable): Don't adjust a globally visible symbol when
+       generating ELF.
+       (tc_frob_symbol): Avoid emitting undefined symbols.
+
+2001-03-20  Alan Modra  <alan@linuxcare.com.au>
+
+       * frags.h (struct frag): Add relax_marker.
+       * write.c (is_dnrange): Delete.
+       (relax_frag): Use correct types for `aim', `target', `address'.
+       Delete `offset', `was_address'.  Test `relax_marker' instead of
+       using fragile (and slow) address test.
+       (relax_segment): Init and flip `relax_marker'.
+
+2001-03-19  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct
+       used register name.
+
+2001-03-18  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
+       with 'Motorola specification for assembly language input standard'.
+
+2001-03-17  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
+       (dwarf2_directive_loc): Don't use them.
+       (dwarf2_directive_file): Reject duplicate file definitions.
+       (get_filenum): Zero allocated memory.
+       (out_file_list): Complain about missing file definitions.
+
+2001-03-17  Alan Modra  <alan@linuxcare.com.au>
+
+       * read.c (do_org): Handle complex expressions.
+       * cgen.c (gas_cgen_finish_insn): Likewise.
+
+2001-03-15  David Mosberger  <davidm@hpl.hp.com>
+
+       * config/tc-ia64.c (md): New member keep_pending_output.
+       (ia64_flush_pending_output): Flush only if md.keep_pending_output
+       is not set.
+       (dot_xdata): Turn on md.keep_pending_output for the duration of
+       this function.
+       (dot_xfloat_cons): Ditto.
+       (dot_xstringer): Ditto.
+       (dot_xdata_ua): Ditto.
+       (dot_xfloat_cons_ua): Ditto.
+
+2001-03-15  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
+       label support.
+
+2001-03-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-sh.c (parse_reg): Match capital MACH and MACL.
+
+2001-03-15  DJ Delorie  <dj@redhat.com>
+
+       * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
+       blindly freeing string if it isn't at the top of the obstack.
+
 2001-03-13  Alan Modra  <alan@linuxcare.com.au>
 
        * config/tc-i386.c (RELOC_ENUM): Define.  Use throughout file.