* write.c (resolve_reloc_expr_symbols): Convert local symbols
[deliverable/binutils-gdb.git] / gas / ChangeLog
index cb063fb09d922da8c1627076fa98e25ed4316c1e..081bb800a8ae6340ed836d62b0104768fa3c8767 100644 (file)
@@ -1,3 +1,133 @@
+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
This page took 0.025872 seconds and 4 git commands to generate.