* config/tc-a29k.c (md_begin): When opcodes are mashed together in
[platform/upstream/binutils.git] / gas / ChangeLog
index 0b1caff..daf965c 100644 (file)
@@ -1,3 +1,193 @@
+Thu Oct 28 13:09:26 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/tc-a29k.c (md_begin): When opcodes are mashed together in
+       the table, require that the one without bit 0x1000000 set come
+       first.  Require further that it be case 'b' or 'P'.  The a29k
+       opcode table already meets these constraints.
+       (machine_ip): When handling case 'i' or 'A', make sure that the
+       appropriate opcode really exists by looking at the next entry in
+       the opcode table.
+
+Wed Oct 27 11:48:56 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/tc-m68k.c (m68k_ip): Adjust offsets for PC relative
+       fixups.  Add 6 for long 7.3 case, 2 for short 7.2 case.
+
+       * config/obj-ecoff.c (obj_ecoff_ent): Ignore an optional number
+       after a .ent directive.
+
+       * config/tc-mips.c (mips_ip): Handle '>' case (shift amount
+       between 32 and 63 for double shift instruction).  Do & 0x1f rather
+       than % 32.
+       (printInsn): Handle '>'.
+
+Tue Oct 26 16:58:36 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/tc-ns32k.c (tc_aout_fix_to_chars): Output the symbol
+       number in the right place.  Untested.  Probably does not work for
+       cross assembly.  From cagney@cs.adelaide.edu.au (Andrew Cagney).
+
+       * config/tc-m68k.c (md_apply_fix_2): Error if a short branch uses
+       an illegal offset of 0 or -1.
+
+       * config/obj-elf.c (obj_elf_init_stab_section): Align .stab
+       section to a longword boundary.
+
+Tue Oct 26 10:24:31 1993  Ken Raeburn  (raeburn@cygnus.com)
+
+       * Makefile.in (CHECKFLAGS): Pass down RUNTESTFLAGS.
+
+       From Jeff Law:
+       * config/tc-hppa.c (tc_gen_reloc): ELF32_HPPA_R_ADDEND ->
+       HPPA_R_ADDEND.
+
+Mon Oct 25 11:17:58 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * config/tc-sh.c (build_Mbytes): Write the relocs to the correct
+       address. (md_assemble): Make error handling a bit more graceful.
+       (md_apply_fix):  Don't warn on non aligned displacement.
+       
+       * config/tc-z8k.c (get_specific, built_bytes):  Understand all the
+       aspects of lda.
+
+Mon Oct 25 10:20:31 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
+
+       * doc/Makefile.in (install-info): Use "$<*" so VPATH will find
+       as.info* even if they're in $(srcdir) (e.g., for FSF
+       distributions).
+
+       * write.c (write_relocs): For relocs that are pc_relative and
+       pcrel_offset and not partial_inplace, adjust reloc->addend to
+       compensate for a bfd_perform_relocation bug.
+
+       * config/tc-sparc.h: Removed remaining non-BFD_ASSEMBLER code.
+       * config/tc-sparc.c: Ditto.
+       (tc_gen_reloc): Include fx_offset for pcrel fixups.
+
+Sun Oct 24 16:49:00 1993  Jim Wilson  (wilson@x1.cygnus.com)
+
+       * tc-mips.c (md_pseudo_table): Add dword pseudo op.
+
+Fri Oct 22 20:40:56 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
+
+       * messages.c: replaced all variables called Format with 'format',
+         for consistency throughout
+
+       * configure.in: handle mips*- instead of mips, mips*el for little
+       endian configurations
+
+Fri Oct 22 14:45:49 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * input-scrub.c (physical_input_file, logical_input_file,
+       physical_input_line, logical_input_line): Made static.
+       (as_where): Return current file name and line number, don't print
+       them out.
+       * messages.c (as_show_where): New static function.  Other
+       functions use it instead of as_where.
+       (as_bad_internal): New static function.
+       (as_bad): Use as_bad_internal.
+       (as_bad_where): New function, like as_bad but taking a file name
+       and line number.
+       * as.h (as_bad_where): Declare.
+       (as_where): Change prototype for new arguments.
+       * write.h (fixS): Added fields fx_file and fx_line.
+       * write.c (fix_new_internal): Save file and line number in fix.
+       (fixup_segment): Use as_bad_where, not as_bad.
+       * input-file.c (f_in, file_name): Made static.
+       * cond.c (struct file_line): Just use file and line fields.
+       (s_else): Use as_where and as_bad_where, not get_file_line and
+       set_file_line.
+       (get_file_line, set_file_line): Removed.
+       * listing.c (listing_newline): Use as_where.
+       * config/obj-coffbfd.c (obj_coff_init_stab_section): Use as_where.
+       * config/obj-ecoff.c (add_file): Use as_where.
+       * config/obj-elf.c (obj_elf_init_stab_section): Use as_where.
+       * config/tc-m68k.c (md_apply_fix_2): Use as_bad_where.
+       * config/tc-mips.c (tc_gen_reloc): Use as_bad_where, not assert.
+
+Thu Oct 21 12:52:01 1993  Ken Raeburn  (raeburn@cygnus.com)
+
+       * config/tc-m68k.h: Don't define REGISTER_PREFIX or
+       OPTIONAL_REGISTER_PREFIX if either is already defined.
+
+       * config/tc-m68k.c (m68k_ip): Delete some code in "#if 0".
+
+       * configure.in: Set bfd_gas for all sparc targets.  Added facility
+       for keeping or rejecting configurations still under development;
+       default is to assume production environment, and reject configs
+       still being worked on.  Mark Elf configurations (except sparc and
+       i386) as developmental.  Deleted cases matching some generic names
+       in favor of more specific names.  (E.g., when we get Alpha
+       support, we'll still only support VMS for Vax.)
+
+       * config/tc-sparc.h (md_end): New macro.
+       * config/tc-sparc.c (md_end): Function deleted.
+       (BFD_RELOC_*): Delete macros that used to help keep the non-bfd
+       version compiling.  All sparc targets will use bfd now.
+       * tc.h (md_end): Don't declare if it's defined as a macro.
+
+       Changes from Jeff Law and Peter Hoogenboom:
+
+       * read.c (next_char_of_string): Limit octal character constants to
+       three digits.
+
+       * config/tc-hppa.h: Major cleanup.  Use GNU-style comments.  Warn
+       against placing additional object-file dependent code here.  Warn
+       against contaminating all of GAS with the internals of tc-hppa.c
+       through inclusion of tc-hppa.h.  Delete all forward declarations
+       for functions only used within tc-hppa.c, likewise for structures,
+       variables, and #defines.  Try to group OBJ_ELF and OBJ_SOM
+       conditional code in a few small places.
+
+       * config/tc-hppa.c: Major cleanup.  Use GNU-style comments.  Group
+       structures, global variables, forward declarations together.
+       Reduce (or in some cases eliminate) OBJ_ELF and OBJ_SOM
+       conditional code -- try to group conditional code together
+       into a few places.   Make all functions and variables which
+       are only used within tc-hppa.c static.  PARAMize all functions.
+       Add comments to functions.  Delete unused functions, variables,
+       #defines, etc.  Delete unused members within structures.  Delete
+       ldil;ble hacks -- it is believed they were installed to work
+       around old gas bugs.   Avoid using mixed case for local
+       functions, variables, and structures.  Fix formatting problems
+       not found by GNU-indent.  Add FIXME notices for things which
+       should be worked on the near future.  Delete lots of old
+       useless (1.36 PA-SOM) code.  
+
+       * config/tc-hppa.c: (fix_new_hppa): Initialize the fx_r_type
+       field of the fixS structure.  Needed to build unwind
+       descriptors correctly.
+
+       * write.c: (fixup_segment): Allow expressions such as
+       sym1-sym2+const as long as sym2 is $global$.
+
+       * write.c (adjust_reloc_syms): Provide a hook so that a target
+       cpu configuration can reject certain relocation reductions.
+       * tc-hppa.h (tc_fix_adjustable): New macro.  Only accept relocations
+       which do not involve function symbols.
+
+       * config/tc-hppa.h: Reindent with GNU-indent.  Delete references
+       to OBJ_OSFROSE.  Fix typos (OBJ_SOME -> OBJ_SOM).  Delete unused
+       STAB_FIXUP macro.
+       * config/tc-hppa.c: Likewise.
+
+       * config/tc-hppa.c (md_apply_fix_1): Use elf_symbol_type, instead
+       of elf32_symbol_type.
+       (pa_export_args): Likewise.
+       (elf_hppa_final_processing): Likewise.
+       (pa_desc): Do not call obj_elf_desc.  (Is pa_desc even needed
+       anymore?)
+       (hppa_tc_make_sections): Do not declare elf_get_symtab_map any
+       ore.
+
+       * config/tc-hppa.c: (md_section_align): Align all sections to
+       a multiple of the section alignment rather than always a
+       multiple of 8.
+
+       * config/tc-hppa.c (hppa_tc_symbol): If the argument relocation
+       bits are zero (eg they specify no relocations), then do not even
+       bother adding their entries to thesymextn section.
+
 Thu Oct 21 15:44:55 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * config/tc-sparc.c (md_parse_option): Accept and ignore -sparc