* config/tc-tic30.c: #include stdarg.h or varargs.h.
[binutils-gdb.git] / gas / ChangeLog
index 5c59ad5c21ac8a54bb1261eca0731e735cfad58d..a026f92c4fdfd609eb68cf76667576ecb26e7043 100644 (file)
@@ -1,7 +1,127 @@
+2002-12-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-tic30.c: #include stdarg.h or varargs.h.
+       (debug): Rewrite using VA_* macros.
+       (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
+       (md_convert_frag): Likewise.
+       (md_parse_option): Likewise.
+       (md_show_usage): Likewise.
+       (md_undefined_symbol): Likewise.
+       (tc_gen_reloc): Likewise.
+       (md_operand): Likewise.
+       (tc_aout_pre_write_hook): Delete.
+       (struct tic30_insn): Make "operands" unsigned.
+       (struct tic30_par_insn): Likewise.
+       (md_assemble): Likewise for "count", "i" and "numops".
+       (tic30_parallel_insn): Likewise for vars here.
+       (tic30_operand): Likewise.  Remove useless unsigned >= 0 comparison.
+       * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
+       * config/tc-tic80.c (obj_coff_section): Delete declaration.
+       (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
+       (md_undefined_symbol): Likewise.
+       (md_parse_option): Likewise.
+       (md_convert_frag): Likewise.
+       (tc_coff_symbol_emit_hook): Likewise.
+       (md_atof): Remove declaration of atof_ieee.
+       (const_overflow): Warning fixes, tidy.
+       (get_operands): Delete unused vars.
+       (internal_error_a): Adjust format string to expect a long for arg.
+       (find_opcode): Warning fixes, simplify.
+       (build_insn): Cast internal_error_a arg.
+       (md_begin): Likewise.
+       (md_apply_fix3): Likewise.
+       (md_assemble): Delete unused var.
+       * config/tc-tic80.h (tc_coff_fix2rtype): Prototype.
+       * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
+       (whatreg, parse_reg, parse_exp): Make static, prototype.
+       (checkfor, regword, regaddr, get_ctrl_operand): Prototype.
+       (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
+       (get_operand, get_operands, get_specific, newfix): Likewise.
+       (apply_fix, build_bytes): Likewise.
+       (md_atof): Remove declaration of atof_ieee.
+       (tc_aout_fix_to_chars): Delete.
+       (md_begin): Constify "opcode".  Don't try to init opcode->idx.
+       Fix s_unseg call.
+       (md_parse_option): Fix s_segm and s_unseg calls.
+
+2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
+       Adjust callers.
+       (RELAX_BRANCH_RELOC_S2): Delete.
+       (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
+       Do not handle BFD_RELOC_16_PCREL.
+       (macro_build, mips_ip): Likewise.
+       (md_pcrel_from): Return 4 for undefined symbols regardless of
+       mips_pic.
+       (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
+       Don't dereference howto if no such relocation is available.
+       Do not apply hack for in-place zero addend in NEWABI.
+       (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.
+
+2002-12-12  Alexandre Oliva  <aoliva@redhat.com>,
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define.
+       (TC_LINKRELAX_FIXUP): Add comments.
+
+2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-mn10300.c (set_arch_mach): Change argument type to
+       avoid warnings.
+       (r_register_name, xr_register_name): Add prototype declarations.
+
+2002-12-08  H.J. Lu <hjl@gnu.org>
+
+       * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
+       copied from tc-i386.c.
+
+2002-12-08  Stephane Carrez  <stcarrez@nerim.fr>
+
+       Fix Bug savannah/1825:
+       * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
+       (md_relax_table): Define specific relax for PC-rel offsets.
+       (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
+       (m68hc11_relax_frag): Handle the new relax code.
+       (md_convert_frag): Likewise.
+       (md_estimate_size_before_relax): Likewise.
+
+2002-12-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * subsegs.c (section_symbol): Use the symbol, not the section, name.
+
+2002-12-05  Richard Henderson  <rth@redhat.com>
+
+       * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
+       (ia64_gen_real_reloc_type): Handle it.
+       (pseudo_func): Add @ltoffx.
+       (md_begin): Build .<ltoffx>.
+       (ia64_force_relocation): True for LTOFF22X and LDXMOV.
+
+2002-12-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
+       Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
+       ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
+       * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
+       COFF to call arm_force_relocation.
+
+2002-12-04  David Mosberger  <davidm@hpl.hp.com>
+
+       * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
+       instruction.
+       (emit_one_bundle): Handle "hint" instruction.
+       (operand_match): Match IA64_OPND_AR_CSD.
+
+2002-12-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2dbg.c (scale_addr_delta): Correct parameter.  Move prototype
+       inside #if.
+
 2002-12-03  Nick Clifton  <nickc@redhat.com>
 
        * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
-       .PPC.EMB>apuinfo sections.
+       .PPC.EMB.apuinfo sections.
 
 2002-12-03  Richard Henderson  <rth@redhat.com>