* doc/as.texinfo (Invoking): Typo fix.
[binutils-gdb.git] / gas / ChangeLog
index c8361ff4405e71a1b8c1b22c55760f149443f1f7..8870bbdecf8e52b91e43e974809c1e07ed0729e0 100644 (file)
@@ -1,5 +1,270 @@
+2002-12-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/as.texinfo (Invoking): Typo fix.
+       * config/tc-tic54x.c (encode_operand): Comment typo fix.
+
+2002-12-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/c-alpha.texi: Fix typos.
+       * doc/c-arm.texi: Likewise.
+       * doc/c-d10v.texi: Likewise.
+       * doc/c-i370.texi: Likewise.
+       * doc/c-i960.texi: Likewise.
+       * doc/c-ia64.texi: Likewise.
+       * doc/c-mmix.texi: Likewise.
+       * doc/c-ns32k.texi: Likewise.
+       * doc/c-pdp11.texi: Likewise.
+       * doc/c-pj.texi: Likewise.
+       * doc/c-sh64.texi: Likewise.
+       * doc/c-sparc.texi: Likewise.
+       * doc/c-tic54x.texi: Likewise.
+       * doc/c-v850.texi: Likewise.
+       * doc/c-vax.texi: Likewise.
+       * doc/internals.texi: Likewise.
+
+2002-12-18  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
+       use hardware rotate ops as appropriate.  In M_DROL_I, M_DROR_I,
+       M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
+       arrange not to issue warnings about use of AT when AT is not
+       actually used.
+
+2002-12-17  Nick Clifton  <nickc@redhat.com>
+
+       * as.c (std_longopts): Duplicate --keep-locals entry in order to
+       prevent it being confused with -k.
+
+2002-12-16  Andrew MacLeod  <amacleod@redhat.com>
+
+       * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation 
+       has already been set up, use it.
+
+2002-12-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * ChangeLog-9295: Fix a typo.
+       * README: Likewise.
+       * config/tc-d10v.c: Fix a comment typo.
+       * config/tc-dlx.c: Likewise.
+       * config/tc-h8300.h: Likewise.
+       * config/tc-h8500.h: Likewise.
+       * config/tc-mips.c: Likewise.
+       * config/tc-s390.c: Likewise.
+       * config/tc-sh.h: Likewise.
+       * config/tc-tic80.h: Likewise.
+       * config/tc-w65.h: Likewise.
+       * config/tc-z8k.c: Likewise.
+       * config/tc-z8k.h: Likewise.
+       * testsuite/gas/h8300/cmpsi2.s: Likewise.
+
+2002-12-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-d30v.c (check_range): Warning fixes, formatting.
+       Simplify sign extension.  Remove redundant unsigned < 0 test.
+       * config/tc-i960.c (md_ri_to_chars): Prototype.
+       * config/tc-mcore.c (md_pseudo_table): Fix typo.
+       (dump_literals): Init brarsym, and test later instead of isforce.
+
+       * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
+       (parse): Constify line and lineptr.
+       (md_begin): Calculate endop here.
+
 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
 
+       * config/obj-vms.c: Formatting.  Include fnctl.h.
+       (Create_VMS_Object_File): Fix creat call for sane unix systems.
+       (Object_Record_Offset): Make it a size_t.
+       (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
+       (VMS_TBT_Routine_End <Size>): Make var unsigned long.
+       (VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
+       (synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
+       (vms_fixup_data_section <data_size>): Add here instead.
+       * config/e-criself.c: Fix typo in last change.
+
+2002-12-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (write_object_file): Fix signed/unsigned warning.
+       * config/e-crisaout.c (crisaout_bfd_name): Prototype.
+       * config/e-criself.c (criself_bfd_name): Prototype.
+       * config/obj-aout.c (s_sect): Remove unused function.
+       * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
+       * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
+       (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
+       * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
+       * config/obj-vms.c (setup_basic_type <spnt>): Likewise.
+       (VMS_RSYM_Parse <Current_Routine>): Likewise.
+       (vms_fixup_text_section <text_siz>): Likewise.
+       (synthesize_data_segment <data_size>): Likewise.
+       (vms_fixup_xtors_section <sect_no>): Likewise.
+       (structure_count): Don't use implicit int type.
+       * config/tc-a29k.c (insert_sreg): Prototype.
+       (define_some_regs): Prototype, make static.
+       (parse_operand): Likewise.
+       (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
+       (md_show_usage <stream>): Likewise.
+       (md_section_align <segment>): Likewise.
+       (md_convert_frag <all args>): Likewise.
+       (md_estimate_size_before_relax <all args>): Likewise.
+       (md_apply_fix3): Don't cast valP pointer type.  Fix bogus >>='s.
+       * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
+       * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
+       (md_undefined_symbol <name>): Likewise.
+       (md_convert_frag <all args>): Likewise.
+       (write_long <opcode>): Likewise.
+       (tc_gen_reloc <seg>): Likewise.
+       (md_estimate_size_before_relax <all args>): Likewise.
+       (md_apply_fix3 <seg>): Likewise.
+       (s_d30v_align <ignore>): Likewise.
+       (build_insn): Correct format string.
+       (md_apply_fix3): Likewise.
+       * config/tc-fr30.c (md_parse_option <c,arg>):  Add ATTRIBUTE_UNUSED.
+       (md_undefined_symbol <name>): Likewise.
+       (md_convert_frag <all args>): Likewise.
+       (md_cgen_lookup_reloc <insn>): Likewise.
+       (md_begin): Delete unused vars.
+       (md_assemble): Likewise.
+       (md_estimate_size_before_relax): Likewise.
+       (fr30_relax_frag): #if 0 out, seems unused.
+       (md_atof): Remove declaration of atof_ieee.
+       (restore_colon): Prototype.
+       * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
+       (frv_find_in_vliw): Likewise.
+       (frv_debug_tomcat): Likewise.
+       (frv_adjust_vliw_count): Likewise.
+       (frv_tomcat_shuffle): Likewise.
+       (frv_tomcat_analyze_vliw_chains): Likewise.  Correct args to
+       frv_find_in_vliw call.
+       (md_atof): Remove declaration of atof_ieee.
+       * config/tc-h8500.c (cons): Delete declaration.
+       (md_begin <opcode>): Constify.
+       (displacement_size, immediate_size, absolute_size): Remove.
+       (build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
+       (tc_crawl_symbol_chain <headers>): Likewise.
+       (md_undefined_symbol <name>): Likewise.
+       (tc_headers_hook <headers>): Likewise.
+       (md_parse_option <c,arg>): Likewise.
+       (md_show_usage <stream>): Likewise.
+       (md_convert_frag <headers, seg>): Likewise.
+       (tc_coff_symbol_emit_hook <ignore>): Likewise.
+       (md_atof): Remove declaration of atof_ieee.
+       (tc_aout_fix_to_chars): Remove unused function.
+       (parse_reg): Prototype.
+       (parse_exp): Prototype.
+       (skip_colonthing): Prototype.  Use &&, not & in logical expressions.
+       (parse_reglist): Prototype.
+       (get_operand): Prototype.
+       (get_operands): Prototype.
+       (get_specific): Prototype.  Make "this_index" signed.
+       (check): Prototype, make static.
+       (insert): Prototype
+       (build_relaxable_instruction): Prototype, make static.
+       (build_bytes): Prototype.
+       (wordify_scb): Prototype.
+       * config/tc-h8500.h (start_label): Declare.
+       (tc_coff_sizemachdep): Declare.
+       * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
+       (i370_rmode <unused>): Likewise.
+       (i370_csect <unused>): Likewise.
+       (i370_dc <unused>): Likewise.
+       (i370_ds <unused>): Likewise.
+       (i370_elf_lcomm <unused>): Likewise.
+       (i370_ltorg <ignore>): Likewise.
+       (i370_using <ignore>): Likewise.
+       (i370_drop <ignore>): Likewise.
+       (i370_byte <ignore>): Likewise.
+       (i370_tc <ignore>): Likewise.
+       (md_estimate_size_before_relax <fragp, seg>): Likewise.
+       (md_convert_frag <all args>): Likewise.
+       (md_undefined_symbol <name>): Likewise.
+       (md_pcrel_from_section <sec>): Likewise.
+       (tc_gen_reloc <seg>): Likewise.
+       (i370_section_letter): #if 0 unused functions.
+       (i370_section_word, i370_section_type, i370_section_flags): Likewise.
+       (symbol_locate): Prototype.
+       * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
+       (md_number_to_disp, md_number_to_field): Remove.
+       (md_apply_fix3): Correct format string and cast "fup".
+       * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
+       (s_endian <ignore>): Likewise.
+       (md_undefined_symbol <name>): Likewise.
+       (tc_crawl_symbol_chain <headers>): Likewise.
+       (tc_set_bal_of_call): Likewise.
+       (tc_coff_symbol_emit_hook <symbolP>): Likewise.
+       (i960_handle_align <fragp>): Likewise.
+       (i960_validate_fix <this_segment_type>): Likewise
+       (tc_gen_reloc <section>): Likewise.
+       (tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
+       (struct memS, struct regop): Forward declare.
+       (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
+       get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
+       parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
+       reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
+       targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
+       (md_chars_to_number, md_number_to_imm): Make static, prototype.
+       (md_number_to_field): Likewise.
+       (md_number_to_disp): Remove unused function.
+       (md_atof): Remove declaration of atof_ieee.
+       (md_apply_fix3): Correct md_number_to_imm call.
+       * config/tc-ip2k.c (md_assemble): Warning fix.
+       * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
+       (fill_insn <ignore>): Likewise.
+       (debug_sym <ignore>): Likewise.
+       (md_undefined_symbol <name>): Likewise.
+       (m32r_scomm <ignore>): Likewise.
+       (md_convert_frag <abfd>): Likewise.
+       (md_cgen_lookup_reloc <insn>): Likewise.
+       (m32r_record_hi16 <seg>): Likewise.
+       (md_estimate_size_before_relax): #if 0 old_fr_fix.
+       (allow_m32rx): Prototype.
+       (first_writes_to_seconds_operands): Prototype.
+       (writes_to_pc): Prototype.
+       (can_make_parallel): Prototype.
+       (make_parallel): Prototype.
+       (target_make_parallel): Prototype.
+       (assemble_two_insns): Prototype.
+       (m32r_record_hi16): Prototype.
+       (md_atof): Remove declaration of atof_ieee.
+       * config/tc-m32r.h (m32r_fix_adjustable): Declare.
+       (m32r_force_relocation): Prototype.
+       (m32r_elf_section_change_hook): Prototype.
+       * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
+       (md_show_usage): Fix signed/unsigned warning.
+       * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
+       (calcop): Ditto for reg_prefix var.
+       (hexval): Add cast to fix signed/unsigned warning.
+       (md_number_to_disp): Delete unused function.
+       (md_number_to_field): Likewise.
+       (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
+       (match_name): Prototype.
+       (get_bf2): Prototype.
+       (get_bf_offset_expression): Prototype.
+       * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
+       (md_undefined_symbol <ignore>): Likewise.
+       (md_create_short_jump <all args>): Likewise.
+       (md_create_long_jump <all args>): Likewise.
+       (md_convert_frag <abfd, sec>): Likewise.
+       (md_apply_fix3 <segment>): Likewise.
+       (md_section_align <segment>): Likewise.
+       (md_pcrel_from_section <sec>): Likewise.
+       (tc_gen_reloc <section>): Likewise.
+       (reg_m, reg_n, immediate): Delete unused vars.
+       (dump_literals): Fix signed/unsigned warning.
+       (enter_literal): Likewise.
+       (parse_imm): Likewise.  Also fix format string.
+       (parse_mem): Remove unused var.
+       (md_assemble <LS>): Abort on unexpected inst.
+       (md_atof): Remove declaration of atof_ieee.
+       (md_parse_option): Remove unused vars.
+       (md_apply_fix3): Fix format strings, cast args.
+       (tc_gen_reloc): Delete unused var.
+       * config/tc-mcore.h (tc_coff_sizemachdep): Declare.
+       * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
+       (md_undefined_symbol <name>): Likewise.
+       (md_convert_frag <abfd>): Likewise.
+       (tc_gen_reloc <seg>): Likewise.
+       (check_operand <insn>): Likewise.
+       (md_convert_frag): Fix format strings.
+       (tc_gen_reloc): Delete fx_addsy - fx_subsy code.
        * config/tc-openrisc.c (ignore_pseudo): Prototype.
        (md_atof): Remove declaration of atof_ieee.
        * config/tc-or32.c (parse_operand): Prototype non-BFD too.
        * macro.h: Update prototypes to remove comment_char parameter.
        Fix formatting.
        * read.c (read_a_source_file, s_irp): Remove comment_char
-       parameter from invocation of functions in macro.c       
-       
+       parameter from invocation of functions in macro.c
+
 2002-12-02  Hans-Peter Nilsson  <hp@axis.com>
 
        * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.