X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=3216c0958bca105613c8fff669c79a83b18e795a;hb=1c53c80da36a183743c715a540032ef048d865e4;hp=3ffb9ca16b346695d8c909516cc13cb6358adcf8;hpb=78a33af2ee420f41bf871968204b7e9adfcbf7cd;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 3ffb9ca16b..3216c0958b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,404 @@ +2003-01-02 Ben Elliston + + * configure.in: Add iq2000-elf target. + * configure: Regenerate. + * config/tc-iq2000.c: New file. + * config/tc-iq2000.h: Likewise. + * po/gas.pot: Regenerate. + +2003-01-02 Chris Demetriou + + * config/tc-mips.c: Update copyright years to include 2003. + (mips_ip): Fix indentation of "+A", "+B", and "+C" handling. + Additionally, clean up their code slightly and clean up their + comments some more. + + * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation. + +2003-01-01 Daniel Jacobowitz + + * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi + $(CPU_DOCS)". + * doc/Makefile.in: Regenerate. + +2003-01-01 John David Anglin + + * config/obj-elf.c (special_sections): Work around HP's incorrect usage + of .init and .fini sections for array initializers and finalizers. + +2002-12-31 Chris Demetriou + + * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize + the "+D" operand, which will be used only by the disassembler. + +2002-12-30 Chris Demetriou + + * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and + CPU variants. + * configure: Regenerate. + * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines. + (macro_build): Handle "K" operand. + (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where + CPU_HAS_DROR and CPU_HAS_ROR are currently used. + (mips_ip): New variable "lastpos", and implement "+A", "+B", + and "+C" operands for MIPS32 Release 2 ins/ext instructions. + Implement "K" operand for MIPS32 Release 2 rdhwr instruction. + (validate_mips_insn): Implement "+" as a way to extend the + allowed operands, and implement "K", "+A", "+B", and "+C" + operands. + (OPTION_MIPS32R2): New define. + (md_longopts): Add entry for OPTION_MIPS32R2. + (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2. + (md_parse_option): Handle OPTION_MIPS32R2. + (s_mipsset): Reimplement handling of ".set mipsN" options + and add support for ".set mips32r2". + (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2). + (md_show_usage): Document "-mips32r2" option. + * doc/as.texinfo: Document "-mips32r2" option. + * doc/c-mips.texi: Likewise. + +2002-12-30 Dmitry Diky + + * configure.in: Add msp430 target. + * configure: Regenerate. + * Makefile.am: Add msp430 target. + * Makefile.in: Regenerate. + * config/tc-msp430.c: New file: msp430 assembler. + * config/tc-msp430.h: New file: target macros for msp430. + * doc/Makefile.am: Add msp430 target. + * doc/Makefile.in: Regenerate. + * doc/as.texinfo: Include msp430 documenation. + * doc/all.texi: Enable msp430 documentation. + * doc/c-msp430.texi: New file: document msp430 specific features + of the assembler. + +2002-12-25 Alexandre Oliva + + * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro. + (dwarf2_finish): Use it. + * doc/internals.texi (DWARF2_ADDR_SIZE): Document it. + * config/tc-mips.h (DWARF2_ADDR_SIZE): Override. + +2002-12-20 DJ Delorie + + * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support + BFD_RELOC_XSTORMY16_12. + +2002-12-19 Alan Modra + + * doc/as.texinfo (Invoking): Typo fix. + * config/tc-tic54x.c (encode_operand): Comment typo fix. + +2002-12-18 Kazu Hirata + + * 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 + + * 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 + + * as.c (std_longopts): Duplicate --keep-locals entry in order to + prevent it being confused with -k. + +2002-12-16 Andrew MacLeod + + * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation + has already been set up, use it. + +2002-12-16 Kazu Hirata + + * 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 + + * 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 + + * 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 ): Make var unsigned long. + (VMS_Fix_Indirect_Reference ): Make arg addressT. + (synthesize_data_segment ): Remove ATTRIBUTE_UNUSED. + (vms_fixup_data_section ): Add here instead. + * config/e-criself.c: Fix typo in last change. + 2002-12-13 Alan Modra + * 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 ): Add ATTRIBUTE_UNUSED. + * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF. + (fixup_mdeps ): Add ATTRIBUTE_UNUSED. + * config/obj-ecoff.c (ecoff_frob_file ): Likewise. + * config/obj-vms.c (setup_basic_type ): Likewise. + (VMS_RSYM_Parse ): Likewise. + (vms_fixup_text_section ): Likewise. + (synthesize_data_segment ): Likewise. + (vms_fixup_xtors_section ): 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 ): Add ATTRIBUTE_UNUSED. + (md_show_usage ): Likewise. + (md_section_align ): Likewise. + (md_convert_frag ): Likewise. + (md_estimate_size_before_relax ): 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 ): Add ATTRIBUTE_UNUSED. + (md_undefined_symbol ): Likewise. + (md_convert_frag ): Likewise. + (write_long ): Likewise. + (tc_gen_reloc ): Likewise. + (md_estimate_size_before_relax ): Likewise. + (md_apply_fix3 ): Likewise. + (s_d30v_align ): Likewise. + (build_insn): Correct format string. + (md_apply_fix3): Likewise. + * config/tc-fr30.c (md_parse_option ): Add ATTRIBUTE_UNUSED. + (md_undefined_symbol ): Likewise. + (md_convert_frag ): Likewise. + (md_cgen_lookup_reloc ): 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 ): Constify. + (displacement_size, immediate_size, absolute_size): Remove. + (build_relaxable_instruction ): Add ATTRIBUTE_UNUSED. + (tc_crawl_symbol_chain ): Likewise. + (md_undefined_symbol ): Likewise. + (tc_headers_hook ): Likewise. + (md_parse_option ): Likewise. + (md_show_usage ): Likewise. + (md_convert_frag ): Likewise. + (tc_coff_symbol_emit_hook ): 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 ): Add ATTRIBUTE_UNUSED. + (i370_rmode ): Likewise. + (i370_csect ): Likewise. + (i370_dc ): Likewise. + (i370_ds ): Likewise. + (i370_elf_lcomm ): Likewise. + (i370_ltorg ): Likewise. + (i370_using ): Likewise. + (i370_drop ): Likewise. + (i370_byte ): Likewise. + (i370_tc ): Likewise. + (md_estimate_size_before_relax ): Likewise. + (md_convert_frag ): Likewise. + (md_undefined_symbol ): Likewise. + (md_pcrel_from_section ): Likewise. + (tc_gen_reloc ): 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 ): Likewise. + (md_undefined_symbol ): Likewise. + (tc_crawl_symbol_chain ): Likewise. + (tc_set_bal_of_call): Likewise. + (tc_coff_symbol_emit_hook ): Likewise. + (i960_handle_align ): Likewise. + (i960_validate_fix ): Likewise + (tc_gen_reloc
): 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 ): Add ATTRIBUTE_UNUSED. + (fill_insn ): Likewise. + (debug_sym ): Likewise. + (md_undefined_symbol ): Likewise. + (m32r_scomm ): Likewise. + (md_convert_frag ): Likewise. + (md_cgen_lookup_reloc ): Likewise. + (m32r_record_hi16 ): 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
): 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 ): Add ATTRIBUTE_UNUSED. + (md_undefined_symbol ): Likewise. + (md_create_short_jump ): Likewise. + (md_create_long_jump ): Likewise. + (md_convert_frag ): Likewise. + (md_apply_fix3 ): Likewise. + (md_section_align ): Likewise. + (md_pcrel_from_section ): Likewise. + (tc_gen_reloc
): 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 ): 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 ): Add ATTRIBUTE_UNUSED. + (md_undefined_symbol ): Likewise. + (md_convert_frag ): Likewise. + (tc_gen_reloc ): Likewise. + (check_operand ): 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. + (md_apply_fix3): Fix bogus >>='s. + (md_undefined_symbol): Delete unused var. + * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype. + (c_to_r, ipush_code, fake_opcode, alias): Likewise. + (fake_opcode): Adjust for pj_opc_int_t change. + (md_begin): Likewise. + (md_assemble): Likewise. + (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc + instead of non-existent third arg of parse_exp_save_ilp. + (md_parse_option): Correct "little" and "big" calls. + * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF. + (md_apply_fix3 ): Add ATTRIBUTE_UNUSED. + (tc_gen_reloc
): Likewise. + * 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. @@ -149,8 +548,8 @@ * 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 * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.