* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index efc2050b689d7680013b0927027dd1b7e640632d..ae9d16f2dbe485c52d885e658e6fa480d3076570 100644 (file)
@@ -1,3 +1,476 @@
+2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
+
+       * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
+       (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
+       * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
+       <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
+       * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
+       <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
+       * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
+       Likewise.
+
+2000-08-22  Eric Christopher  <echristo@cygnus.com>
+
+       * config/tc-mn10300.c: (md_apply_fix): New function.
+       (mn10300_force_relocation): New function.
+       (mn10300_fix_adjustable): New function.
+
+       * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
+       (TC_HANDLES_FX_DONE): Define.
+       (obj_fix_adjustable): Define.
+       (MD_APPLY_FIX3): Define.
+       (TC_LINKRELAX_FIXUP): Define.
+
+       * write.c: (TC_LINKRELAX_FIXUP):  Define if not
+       previously defined.
+       (fixup_segment): Use TC_LINKRELAX_FIXUP.
+
+       * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
+
+2000-08-21  Jason Eckhardt  <jle@cygnus.com>
+
+       * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
+       if the fixup resulted in a relocation.
+
+2000-08-18  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
+       Make reference to first element of shift_names explicit.
+
+2000-08-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
+       obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
+       add a symbol's address.  Removed all target-specific #ifdefs that
+       used to accomplished the same.
+       * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+       * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+       * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+       * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+       * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+
+2000-08-17  Kazu Hirata  <kazu@hxi.com>
+
+       * dwarf2dbg.c: Fix formatting.
+
+2000-08-17  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
+       to be recoded as logical shift lefts by zero.
+
+2000-08-16  Jim Wilson  <wilson@cygnus.com>
+
+       * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
+       postincrement modified registers.  Handle IA64_OPND_R3_2 addl
+       source registers.
+       (note_register_values): Handle IA64_OPND_R3_2 operands.
+
+2000-08-16  Jason Eckhardt  <jle@cygnus.com>
+
+        * config/tc-i860.c (md_operand): Silly typo fixed.
+
+2000-08-16  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (struct asm_shift): Delete.
+       (shift[]): Delete.
+       (enum asm_shift_index): New.
+       (struct asm_shift_properties): New.
+       (struct asm_shift_name): New.
+       (shift_properties[]); New.
+       (shift_names[]); New.
+
+       (decode_shift): Use new structures.
+       Issue a warning is "ROR #0" is used.
+       Issue a warning if "ASR #0" or "LSR #0" is used.
+
+       (md_begin): Initialise arm_shift_hsh table from new
+       asm_shift_name array.
+
+2000-08-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-sparc.c: Kill all warnings.
+       (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
+       in -xarch= as well.
+       (md_show_usage): Update usage text.
+
+2000-08-16  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (do_bx): Warn about "bx px" not being very
+       useful.
+
+2000-08-14  Will Cohen  <wcohen@redhat.com>
+
+       * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
+
+       * config/tc-sh.c (md_assemble): Changed so debug_type
+       test performed for ppi_assemble
+       * config/tc-sh.c: Included dwarf2dbg.h.
+       (debug_line): Defined.
+       (md_assemble): Generates dwarf2 line info.
+       (sh_finalize): New function.  Finalize dwarf2 info.
+       (assemble_ppi): Returns size of code generated.
+       (build_Mytes): Returns size of code generated.
+       (md_pseudo_table): Added "file" and "loc" psuedo ops.
+       * config/tc-sh.h (md_end): Defined.
+       (sh_finalize): Declared.
+
+2000-08-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
+       md_number_to_chars.
+
+2000-08-14  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (do_bx): Allow "bx pc".
+
+2000-08-14  Jim Wilson  <wilson@cygnus.com>
+
+       * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
+       (md_parse_option):  Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
+       (md_begin): Change assignment to md.flag to OR in the new bit.
+
+2000-08-14  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
+         flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
+         C_MOU, and C_EOS.
+
+2000-08-14  Jason Eckhardt  <jle@cygnus.com>
+
+       * NEWS: Mention i860 support.
+
+Mon Aug 14 11:49:12 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
+
+2000-08-14  Andreas Schwab  <schwab@suse.de>
+
+       * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
+
+2000-08-11  Andreas Schwab  <schwab@suse.de>
+
+       * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
+       argument.
+
+2000-08-11  Kazu Hirata  <kazu@hxi.com>
+
+       * expr.c: Fix formatting.
+       * config/obj-bout.c: Likewise.
+
+2000-08-10  Jason Eckhardt  <jle@cygnus.com>
+
+       * doc/c-i860.texi: Flesh out the i860 section more.
+
+2000-08-10  Kazu Hirata  <kazu@hxi.com>
+
+       * symbols.c: Fix formatting.
+       * expr.c: Likewise.
+
+Wed Aug  9 16:28:21 EDT 2000   Diego Novillo <dnovillo@cygnus.com>
+
+       * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
+       has the IgnoreSize bit set.
+
+2000-08-09  Alan Modra  <alan@linuxcare.com.au>
+
+       From  Rodney Brown  <RodneyBrown@mynd.com>
+       * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
+       * configure: Regenerate.
+
+2000-08-08  Jason Eckhardt  <jle@cygnus.com>
+
+       * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
+       (i860_fix_info): New enum.
+       (MD_APPLY_FIX3): Define.
+       (WORKING_DOT_WORD): Define.
+       (TC_HANDLES_FX_DONE): Define.
+       (DIFF_EXPR_OK): Define.
+       (LISTING_HEADER): Define.
+       (TARGET_FORMAT): Select target format based on endian flag.
+       (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
+       (target_big_endian): Add external declaration.
+
+       * config/tc-i860.c: All existing code reworked completely. Other
+       new code shown below.
+       (SYNTAX_SVR4): Define.
+       (target_warn_expand): New variable.
+       (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
+       (md_longopts): Declare and define with new options (-EL, -EB,
+       and -mwarn-expand).
+       (md_show_usage): New function.
+       (md_operand): New function.
+       (obtain_reloc_for_imm16): New function.
+       (md_apply_fix3): New function.
+       (tc_gen_reloc): New function.
+
+2000-08-09  Kazu Hirata  <kazu@hxi.com>
+
+       * hash.c: Fix formatting.
+       * gasp.c: Likewise.
+
+2000-08-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/tc-m68hc11.c (build_jump_insn): Make sure the
+       2 bytes of the jump address are in the same frag.
+       (find): Accept 68hc12 register indirect modes.
+
+       * NEWS: Mention 68HC11 & 68HC12 support.
+
+2000-08-07  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-ia64.c (unwind): Add prologue_mask member.
+       (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
+       (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
+       (dot_body): Clear unwind.prologue_mask.
+       (dot_prologue): Set it.  Accept a register second argument.
+
+2000-08-07  Kazu Hirata  <kazu@hxi.com>
+
+       * config/atof-ieee.c: Fix formatting.
+       * config/atof-tahoe.c: Likewise.
+
+2000-07-29  Marek Michalkiewicz  <marekm@linux.org.pl>
+
+       * config/tc-avr.c: Use PARAMS macro in function declarations.
+       Don't declare md_pcrel_from_section (already in tc-avr.h).
+       (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
+       (avr_operand): Don't set (unsigned) op_mask to -1.
+
+2000-08-04  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-sparc.c (md_begin): Fix typo in recent formatting
+       work.
+
+       * doc/as.texinfo (Pseudo Ops): Update to include descriptions
+       of .popsection, .previous, .pushsection, .subsection,
+       .version, .vtable_entry, .vtable_inherit and .weak.
+
+2000-08-05  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-cris.c: Fix formatting.
+       * config/tc-i386.c: Likewise.
+       * config/tc-sparc.c (sparc_ip): Simplify the code.
+
+2000-08-04  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-cris.c: Rearrange code for readability.
+       * config/tc-d10v.c: Fix formatting.
+       * config/tc-m32r.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+
+2000-08-02  Jim Wilson  <wilson@cygnus.com>
+
+       * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
+       before ia64_find_opcode.
+       (md_assemble): Likewise.
+
+2000-08-01  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-arm.c (do_mrs): Fix skip fo 'cpsr_all' flag.
+       Undo some formatting fixes.
+
+2000-08-01  Kazu Hirata  <kazu@hxi.com>
+
+       * config/obj-som.c: Fix formatting.
+       * config/obj-ieee.c: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-v850.c: Likewise.
+
+2000-08-01  Nick Clifton  <nickc@redhat.com>
+
+       * doc/c-m68k.texi (section M680x0 Options): Turn into a table
+       index by command line option.
+
+2000-08-01  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
+       (@node M68K-Branch): Rewrite to match the reality.
+
+2000-07-31  Jason Eckhardt  <jle@cygnus.com>
+
+       * doc/c-i860.texi: New file.
+       * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
+       * doc/Makefile.in: Regenerate.
+       * doc/all.texi: Add I860 as relevant architecture.
+       * doc/as.texinfo: Include i860 dependent file c-i860.texi.
+
+2000-07-31  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-d30v.c: Fix formatting.
+
+2000-07-31  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+        * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
+        (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
+        long emit a long branch if available instead of an absolute jump, never
+        emit absolute jumps for anything with --pcrel.
+
+       * doc/c-m68k.texi: Document new command line option.
+
+2000-07-28  Jason Eckhardt  <jle@cygnus.com>
+
+        * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
+        * configure: Regenerated.
+        * config/obj-elf.c (obj_elf_type): Recognize a fifth type
+        of operand to the .type directive (.e.g, "type").
+
+2000-07-28  Alan Modra  <alan@linuxcare.com.au>
+
+       * as.h (warn_comment, found_comment, found_comment_file): Declare.
+       * app.c (do_scrub_chars): Record where first comment found.
+       * read.c (read_a_source_file): Init found_comment on entry, and
+       notify whether comments found on exit.
+       * config/tc-hppa.c (md_shortopts): Add "c".
+       (md_longopts): Add warn-comment.
+       (md_parse_option): Handle it.
+       (md_show_usage): Show available options.
+       * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
+
+Thu Jul 27 11:25:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/tc-mn10300.c (md_convert_frag): Fix printfs.
+       (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
+       sym_ptr_ptr
+       (md_estimate_size_before_relax): Don't fall off end of function.
+
+2000-07-27  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-avr.c: Fix formatting.
+       * config/tc-ns32k.c: Likewise.
+
+2000-07-27  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-d10v.c (find_opcode): Remove extraneous `='.
+
+2000-07-27  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-d10v.c: Fix formatting.
+       * config/tc-z8k.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+
+2000-07-26  Dave Brolley  <brolley@redhat.com>
+
+       * cgen.c (queue_fixup): Declare opinfo.
+       (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
+       (gas_cgen_md_operand): Ditto.
+       (gas_cgen_md_apply_fix3): Ditto.
+
+2000-07-24  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * config/obj-coff.c (obj_frob_symbol): Don't merge
+       labels. Don't merge if the symbol isn't constant. Return
+       immediately if a symbol is merged.
+
+2000-07-22  Alan Modra  <alan@linuxcare.com.au>
+
+       * frags.c (frag_align): Correct absolute section alignment.
+
+2000-07-20  DJ Delorie  <dj@redhat.com>
+
+       * config/obj-coff.c (obj_frob_symbol): revert previous change,
+       it breaks linking against DLLs.
+
+2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.in: Add CRIS support.
+       * configure: Regenerate.
+       * Makefile.am: (CPU_TYPES): Add cris.
+       (CPU_OBJ_VALID) [aout]: Add cris.
+       (MULTI_CPU_TYPES): Add cris.
+       (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
+       [coff]: Only i386 and mips are valid.
+       (TARGET_CPU_CFILES): Add config/tc-cris.c.
+       (TARGET_CPU_HFILES): Add config/tc-cris.h.
+       (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
+       Regenerate dependencies.
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * as.c: Declare crisaout, criself.
+       * config/tc-cris.h, config/tc-cris.c: New.
+       * config/e-criself.c, config/e-crisaout.c: New.
+       * po/POTFILES.in, po/gas.pot: Regenerate.
+
+2000-07-20  Kazu Hirata  <kazu@hxi.com>
+
+       * read.c: Fix formatting.
+       * write.c: Fix formatting.
+
+2000-07-19  H.J. Lu  <hjl@gnu.org>
+
+       * sb.c: Include <stdlib.h> if exists for abort ().
+
+2000-07-19  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
+       (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
+       (pa_type_args): Same here.
+
+2000-07-17  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
+       merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
+       the storage class is already set.
+
+2000-07-17  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-m68hc11.c: Fix formatting.
+       * config/tc-mn10200.c: Likewise.
+       * config/tc-mn10300.c: Likewise.
+       * config/tc-pj.c: Likewise.
+       * config/tc-tic80.c: Likewise.
+       * config/tc-w65.c: Likewise.
+
+2000-07-17  Frank Ch. Eigler  <fche@redhat.com>
+
+       * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
+       is defined.
+
+2000-07-15  Ian Lance Taylor  <ian@zembu.com>
+
+       * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
+       @code.
+
+2000-07-15  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
+       ELF as are used for SOM (except the 32-bit reloc one) to decide
+       whether a symbol can be reduced to a section symbol.  Expand on
+       the comment for symbols involved in LR% and RR% expressions.
+
+2000-07-14  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-mips.c (mips_disable_float_construction): New
+       static variable.  Set to true if doubles should not be
+       constructed by loading two single width fp registers with
+       halves of the value.
+       (mips_ip): Test mips_disable_float_construction.
+       (md_longopts): Add command line switches --construct-floats
+       and --no-construct-floats.
+       (md_parse_option): Parse new command line options.
+       (md_show_usage): Describe new command line options.
+
+       * doc/c-mips.texi: Document new command line options.
+
+2000-07-13  Koundinya K  <kk@ddeorg.soft.net>
+
+       * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
+       * configure: Regenerate.
+
+2000-07-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.in (DEFAULT_EMULATION setting): Revert part of
+       2000-07-01 change that set te_multi=multi unless set to tmips.
+       * configure: Regenerate.
+
+2000-07-12  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * config/obj-coff.c (coff_frob_section): Add padding to the last
+         section when aligning it increases its size.
+
+2000-07-11  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-tic54x.c: Fix formatting.
+
 2000-07-10  Kazu Hirata  <kazu@hxi.com>
 
        * config/tc-h8500.c: Fix formatting.
 2000-07-08  Ulf Carlsson  <ulfc@engr.sgi.com>
 
        * doc/internals.texi (Expressions): Fix typo.
-       
+
 2000-07-08  Kazu Hirata  <kazu@hxi.com>
 
        * config/tc-sh.c: Fix formatting.
@@ -184,7 +657,7 @@ Tue Jul  4 14:08:28 2000  Andrew Cagney  <cagney@b1.cygnus.com>
         test for Link Once sections as in adjust_reloc_syms.
         * config/te-tmips.h: New file for traditional mips targets. Define
         TE_TMIPS.
-       
+
 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
 
        * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
@@ -213,7 +686,7 @@ Thu Jun 29 21:30:00 2000  Hans-Peter Nilsson  <hp@axis.com>
 2000-06-27  Nick Clifton  <nickc@cygnus.com>
 
        * config/tc-d30v.c (write_2_short): Do not allow opcodes with
-       the EITHER_BUT_PREFER_MU attribute to be combined into a reverse 
+       the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
        sequential order, and emit warning messages if the input source
        code contains constructs like that, or parallel constructs
        containing such opcodes.
@@ -249,7 +722,7 @@ Thu Jun 29 21:30:00 2000  Hans-Peter Nilsson  <hp@axis.com>
        (md_apply_fix3): ditto
 
 2000-06-24  Frank Ch. Eigler  <fche@redhat.com>
+
        * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
        (gas_cgen_parse_operand): Set it around expression() call.
        (gas_cgen_md_operand): Test for it before longjmp().
This page took 0.028474 seconds and 4 git commands to generate.