]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/ChangeLog
bfd:
[thirdparty/binutils-gdb.git] / gas / ChangeLog
index 9148613210c948063966919342eadd6c091c7cb4..a82fe6263dc121c611f47479cf99243dbd4c9cce 100644 (file)
@@ -1,3 +1,402 @@
+2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * NEWS: Mention addition of Adapteva Epiphany support.
+       * config/tc-epiphany.c: New file.
+       * config/tc-epiphany.h: New file.
+       * Makefile.am (TARGET_CPU_CFILES): Add config/tc-epiphany.c .
+       (TARGET_CPU_HFILES): Add config/tc-epiphany.h .
+       * configure.in: Also set using_cgen for epiphany.
+       * configure.tgt: Handle epiphany.
+       * doc/Makefile.am (CPU_DOCS): Add c-epiphany.texi .
+       * doc/all.texi: Set EPIPHANY.
+       * doc/as.texinfo: Add EPIPHANY-specific text.
+       * doc/c-epiphany.texi: New file.
+       * po/gas.pot: Regenerate.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * doc/Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (move_register): Fix formatting.
+
+2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (can_swap_branch_p): Remove empty line.
+       (start_noreorder): Likewise.
+
+2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (s_option): Fix formatting.
+       (mips_elf_final_processing): Likewise.
+
+2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (validate_micromips_insn): Fix formatting.
+
+2011-10-24  David Binderman  <dcb314@hotmail.com>
+
+       * config/tc-mn10200.c (md_convert_frag): Add missing break.
+
+2011-10-21  Tristan Gingold  <gingold@adacore.com>
+
+       * config/tc-alpha.c (load_expression): Use symbol_mark_used accessor.
+       (s_alpha_comm): Use symbol_set_frag accessor.
+
+2011-10-20  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-mips.c (micromips_add_label): Avoid gcc warning.
+       (md_convert_frag): Likewise.
+
+2011-10-18  Jie Zhang  <jie@codesourcery.com>
+           Julian Brown  <julian@codesourcery.com>
+
+       * config/tc-arm.c (parse_shifter_operand): Fix handling of explicit
+       rotation.
+       (encode_arm_shifter_operand): Likewise.
+
+2011-10-13  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * config/tc-arm.c (check_ldr_r15_aligned): New.
+       (do_ldst): Warn in upredictable cases.
+       (do_t_ldst): Likewise.
+       (insns): Update accordingly.
+
+2011-10-13  Alan Modra  <amodra@gmail.com>
+
+       * as.c (main): Define .gasversion. rather than __GAS_VERSION__.
+       * frags.h (bss_address_frag): Delete
+       (predefined_address_frag): New.
+       * frags.c (frag_init): Init predefined_address_frag.  Delete ref
+       to bss_address_frag.
+       * symbols.c (S_CAN_BE_REDEFINED): New function.
+       * symbols.h (S_CAN_BE_REDEFINED): Declare.
+       * read.c (assign_symbol): Use S_CAN_BE_REDEFINED.
+
+2011-10-12  Alan Modra  <amodra@gmail.com>
+
+       * symbols.c (local_symbol_make): Make global.
+       * symbols.h (local_symbol_make): Declare.
+       * as.c (main): Define __GAS_VERSION__.
+
+2011-10-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+       * po/fi.po: Updated Finnish translation.
+       * po/fr.po: Updated French translation.
+
+2011-10-05  DJ Delorie  <dj@redhat.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       * config/rx-defs.h (rx_pid_register): New.
+       (rx_gp_register): New.
+       * config/rx-parse.y (rx_lex): Add support for %gpreg and %pidreg.
+       (displacement): Add PID support.
+       * config/tc-rx.c (rx_pid_mode): New.
+       (rx_num_int_regs): New.
+       (rx_pid_register): New.
+       (rx_gp_register): New.
+       (options): Add -mpid and -mint-register= options.
+       (md_longopts): Likewise.
+       (md_parse_option): Likewise.
+       (md_show_usage): Likewise.
+       (rx_pid_symbol): New.
+       (rx_pidreg_symbol): New.
+       (rx_gpreg_symbol): New.
+       (md_begin): Support PID.
+       (rx_validate_fix_sub): Support PID.
+       (tc_gen_reloc): Support PID.
+       * doc/c-rx.texi: Document PID support.
+
+2011-09-27  Kai Tietz  <ktietz@redhat.com>
+
+       * config/obj-coff.c (obj_coff_section): Add 'e' as specifier
+       for marking section SEC_EXCLUDE.
+
+2011-09-22  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.22.
+
+2011-09-21  David S. Miller  <davem@davemloft.net>
+
+       * config/tc-sparc.c (hwcap_allowed): New.
+       (struct sparc_arch): New field 'hwcap_allowed' containing a bitmask
+       of F_FOO flags which are enabled by the particular arch setting.
+       Add new options that provide explicit access to new instructions.
+       (md_parse_option): Only bump max_architecture if the requested one
+       is larger, or this is the first explicit request.
+       (get_hwcap_name): New function.
+       (sparc_ip): Validate that hwcaps used by an instruction have actually
+       been enabled.
+       * doc/c-sparc.texi: Document new sparc options.
+
+2011-09-21  David S. Miller  <davem@davemloft.net>
+
+       * config/tc-sparc.c (hwcap_seen): New bitmask, defined when
+       not TE_SOLARIS.
+       (sparc_ip): When not TE_SOLARIS, accumulate hwcap bits from
+       sparc_opcode->flags of instruction into hwcap_seen.
+       (sparc_md_end): Create Tag_GNU_Sparc_HWCAPS attribute if
+       hwcap_seen is non-zero and not TE_SOLARIS.
+
+2011-09-19  Tristan Gingold  <gingold@adacore.com>
+
+       * config/tc-alpha.c (insert_operand): Call as_bad_value_out_of_range
+       instead of as_warn_out_of_range.
+
+2011-09-08  Mark Fortescue <mark@mtfhpc.demon.co.uk>
+
+       * config/tc-sparc.c (sparc_ip): Handle 'i' + r<0..31>
+       in addition to 'i' + [goli]<0..7>.
+
+2011-09-08  Joern Rennecke <joern.rennecke@embecosm.com>
+
+       * cgen.c (gas_cgen_pcrel_r_type): New function.
+       (gas_cgen_tc_gen_reloc): Check for GAS_CGEN_PCREL_R_TYPE.
+       * cgen.h (gas_cgen_pcrel_r_type): Declare.
+
+2011-09-08  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR gas/13167
+       * dwarf2dbg.c (dwarf2_flush_pending_lines): Use symbol_temp_new_now.
+
+2011-09-05  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR gas/13024
+       * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables.
+       (dwarf2_gen_line_info_1): Delete.
+       (dwarf2_push_line, dwarf2_flush_pending_lines): New functions.
+       (dwarf2_gen_line_info, dwarf2_emit_label): Use them.
+       (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines.
+       (dwarf2_directive_loc): Push previous .locs instead of generating
+       them immediately.
+
+2011-08-26  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2011-08-26  Tristan Gingold  <gingold@adacore.com>
+
+       * config/tc-alpha.c (s_alpha_linkage): Simplify.  Add comments.
+
+2011-08-26  Tristan Gingold  <gingold@adacore.com>
+
+       * config/tc-alpha.c (add_to_link_pool): Improve comment.
+       (s_alpha_fp_save): Fix indentation.
+
+2011-08-19  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo: Include c-xstormy16.texi.
+
+2011-08-18  Alan Modra  <amodra@gmail.com>
+
+       * write.c (resolve_reloc_expr_symbols): Convert local symbols
+       on relocs to section+offset.
+       (get_frag_for_reloc): New function.
+       (write_relocs): Merge sort fixup relocs with those from .reloc
+       directives.
+
+2011-08-10  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (can_swap_branch_p): Update the comment on
+       MIPS16 fixups.
+
+2011-08-09  Chao-ying Fu  <fu@mips.com>
+            Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/tc-mips.c (mips_cpu_info_table): Add "m14k" and
+       "m14kc".
+       * doc/c-mips.texi (MIPS architecture options): Add "m14k" and
+       "m14kc" to the list of -march options.
+
+2011-08-09  Chao-ying Fu  <fu@mips.com>
+            Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (mips_set_options): Add ase_mcu.
+       (mips_opts): Initialise ase_mcu to -1.
+       (ISA_SUPPORTS_MCU_ASE): New macro.
+       (MIPS_CPU_ASE_MCU): Likewise.
+       (is_opcode_valid): Handle MCU.
+       (macro_build, macro): Likewise.
+       (validate_mips_insn, validate_micromips_insn): Likewise.
+       (mips_ip): Likewise.
+       (options): Add OPTION_MCU and OPTION_NO_MCU.
+       (md_longopts): Add mmcu and mno-mcu.
+       (md_parse_option): Handle OPTION_MCU and OPTION_NO_MCU.
+       (mips_after_parse_args): Handle MCU.
+       (s_mipsset): Likewise.
+       (md_show_usage): Handle MCU options.
+
+       * doc/as.texinfo: Document -mmcu and -mno-mcu options.
+       * doc/c-mips.texi: Likewise, and document ".set mcu" and
+       ".set nomcu" directives.
+
+2011-08-09  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (gpr_mod_mask): Remove INSN2_MOD_GPR_MB,
+       INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG,
+       INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MM,
+       INSN2_MOD_GPR_MN, INSN2_MOD_GPR_MP and INSN2_MOD_GPR_MQ opcode
+       register use checks.
+       (gpr_read_mask): Add INSN2_READ_GPR_MC, INSN2_READ_GPR_ME
+       INSN2_READ_GPR_MG, INSN2_READ_GPR_MJ, INSN2_READ_GPR_MMN,
+       INSN2_READ_GPR_MP and INSN2_READ_GPR_MQ opcode register use
+       checks.
+       (gpr_write_mask): Replace INSN2_WRITE_GPR_S opcode register
+       use flag with INSN_WRITE_GPR_S.  Add INSN2_WRITE_GPR_MB,
+       INSN2_WRITE_GPR_MHI, INSN2_WRITE_GPR_MJ and INSN2_WRITE_GPR_MP
+       opcode register use checks.
+       (can_swap_branch_p): Enable microMIPS branch swapping.
+       (append_insn): Likewise.
+
+2011-08-09  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Remove forced 16-bit
+       branch size information.
+       (RELAX_MICROMIPS_U16BIT): Remove macro.
+       (RELAX_MICROMIPS_UNCOND): Adjust accordingly.
+       (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
+       (RELAX_MICROMIPS_RELAX32): Likewise.
+       (RELAX_MICROMIPS_TOOFAR16): Likewise.
+       (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
+       (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
+       (RELAX_MICROMIPS_TOOFAR32): Likewise.
+       (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
+       (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
+       (append_insn): Always check forced_insn_length for microMIPS
+       relaxation.  Adjust code for the removal of
+       RELAX_MICROMIPS_U16BIT.
+       (mips_ip) <'D', 'E'>: If forced_insn_length, then emit the
+       relocation straight away.
+       (relaxed_micromips_16bit_branch_length): Adjust code for the
+       removal of RELAX_MICROMIPS_U16BIT.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+       * config/obj-macho.c (obj_mach_o_section): New function.
+       (struct known_section): New type.
+       (known_sections): Declare.
+       (obj_mach_o_known_section): New function.
+       (obj_mach_o_common_parse): Ditto.
+       (obj_mach_o_comm): Ditto.
+       (obj_mach_o_subsections_via_symbols): Ditto.
+       (mach_o_pseudo_table): Add new pseudos.
+
+2011-08-06  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c (all_fde_data): Export.
+       * dw2gencfi.h (all_fde_data): Declare.
+       * config/tc-alpha.c (alpha_elf_md_end): Don't convert legacy unwind
+       info to cfi unwind info if the user already has supplied some.
+
+2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/tc-mips.c (emit_nop): Delete.
+       (get_delay_slot_nop): New function.
+       (nops_for_insn_or_target): Use it.
+       (append_insn): Likewise.  When avoiding hazards, call add_fixed_insn
+       and insert_into_history directly.
+
+2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/tc-mips.c (delayed_branch_p, compact_branch_p)
+       (uncond_branch_p, branch_likely_p): New functions.
+       (insns_between, nops_for_insn_or_target, append_insn)
+       (macro_start): Use them.
+       (get_append_method): Likewise.  Remove redundant test.
+
+2011-08-05  David S. Miller  <davem@davemloft.net>
+
+       * config/tc-sparc.c (v9a_asr_table): Add "cps".
+       (sparc_ip): Handle '4', '5' and '(' format codes.
+
+2011-08-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/13056
+       * output-file.c (output_file_close): Call bfd_cache_close_all
+       on error.
+
+       * write.c (write_object_file): Revert the last change.
+
+2011-08-04  Alan Modra  <amodra@gmail.com>
+
+       * write.c (write_object_file): Call set_symtab even if we had
+       errors.
+
+2011-08-04  Tristan Gingold  <gingold@adacore.com>
+
+       * config/obj-elf.c (obj_elf_section): Do not free name.
+
+2011-08-03  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * config/tc-arm.c (do_t_strexbh): New.
+       (insns): Update accordingly.
+
+2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/13048
+       * config/tc-i386.c (handle_quad): Removed.
+       (md_pseudo_table): Remove "quad".
+       (tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc.
+       (x86_dwarf2_addr_size): New.
+
+       * config/tc-i386.h (x86_dwarf2_addr_size): New.
+       (DWARF2_ADDR_SIZE): Likewise.
+
+2011-08-01  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/12974
+       * config/tc-arm.c (literal_pool): Add locs field.
+       (add_to_lit_pool): Initialise the locs entry for the new literal.
+       (s_ltorg): Generate a DWARF2 line number entry for each emitted
+       literal pool entry.
+
+2011-08-01  Tristan Gingold  <gingold@adacore.com>
+
+       * write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4.
+
+2011-08-01  Tristan Gingold  <gingold@adacore.com>
+
+       * frags.c (frag_grow): Simplify the code.
+
+2011-07-30  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/tc-mips.c (nops_for_vr4130): Revert previous commit.
+
+2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c: Adjust comments throughout.
+       (reglist_lookup): Reshape code.
+       (jmp_reloc_p, jalr_reloc_p): Reformat.
+       (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS
+       relocations.
+       (gpr_mod_mask): Remove unused variable.
+       (gpr_read_mask, gpr_write_mask): Reshape code.
+       (fpr_read_mask, fpr_write_mask): Likewise.
+       (nops_for_vr4130): Ensure non-microMIPS mode.
+       (can_swap_branch_p): Correct pinfo2 reference.  Reshape code.
+       (append_insn): Skip Loongson 2F workaround in MIPS16 mode.  Use
+       the outermost operator of a compound relocation to determines
+       the relocated field.  Fix formatting.
+       (md_convert_frag): Reshape code.
+
+2011-07-29  Tristan Gingold  <gingold@adacore.com>
+
+       * frags.c (frag_var_init): New function.
+       (frag_var): Call frag_var_init to initialize.
+       (frag_variant): Ditto.
+
+2011-07-27  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
+       warning.
+       * doc/as.texinfo (Offset): Document .offset directive.
+
+2011-07-27  Tristan Gingold  <gingold@adacore.com>
+
+       * frags.c (frag_grow): Revert previous patch.
+
 2011-07-26  Kazuhiro Inaoka  <kazuhiro.inaoka.ud@renesas.com>
 
        * config/tc-rx.c (md_convert_frag): Fix encoding of beq.a