2011-05-09 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 44f3f9a091db3fb3e313e1c7917f132e97afaa9a..aba8bc5503e3bc06010a2cdd68e205d5333ba8b8 100644 (file)
@@ -1,3 +1,183 @@
+2011-05-09  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-tic6x.c (streq): Define.
+       (tic6x_get_unwind): New.
+       (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
+       s_tic6x_personalityindex, s_tic6x_personality): New functions.
+       (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
+       "personality" and "cantunwind".
+       (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
+       tic6x_start_unwind_section, tic6x_unwind_frame_regs,
+       tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
+       tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
+       tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
+       tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
+       tic6x_cfi_endproc): New.
+       * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
+       (tic6x_unwind_info): New.
+       (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
+       text_unwind.
+       (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
+       tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
+       DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
+       tc_cfi_section_name): Define.
+       * doc/c-tic6x.texi: Document new unwinding directives.
+       * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
+       definitions.
+       (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
+       CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
+       Move to dw2gencfi.h.
+       (CFI_EMIT_target): Define.
+       (dot_cfi_sections): Check tc_cfi_section_name.
+       (dot_cfi_startproc): Use tc_cfi_startproc.
+       (dot_cfi_endproc): Use tc_cfi_endproc.
+       * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
+       CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
+       CFI_val_encoded_addr):  Move to here from dw2gencfi.c.
+
+2011-05-07  Alan Modra  <amodra@gmail.com>
+
+       * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
+       Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
+       (struct fde_entry): Rename cseg to cur_seg.
+       (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
+       (get_cfi_seg): Likewise.  Use if (SUPPORT_FRAME_LINKONCE) rather
+       that #if SUPPORT_FRAME_LINKONCE.
+       (cfi_finish): Likewise.
+
+2011-05-06  Tristan Gingold  <gingold@adacore.com>
+
+       * read.c (s_comm_internal): Remove code for OBJ_VMS.
+       (s_data): Ditto.
+       (s_text): Ditto.
+       * write.c (write_object_file): Ditto.
+       * symbols.c (define_sym_at_dot): Ditto.
+       (colon): Ditto.
+
+2011-05-05  Alan Modra  <amodra@gmail.com>
+
+       * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define.  Use throughout
+       file to conditionally compile code added 2011-04-26.
+       (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
+       when SUPPORT_FRAME_LINKONCE.
+       (get_cfi_seg): Likewise.  Reintroduce old code for when not
+       SUPPORT_FRAME_LINKONCE.
+       (cfi_finish): Move get_cfi_seg calls out of loop when not
+       SUPPORT_FRAME_LINKONCE.  Avoid unused var warning.
+
+2011-05-03  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-tic6x.c (s_ehtype): New function.
+       (md_pseudo_table): Add "ehtype".
+       (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
+       * doc/c-tic6x.texi: Document .ehtype directive.
+
+2011-04-26  Kai Tietz  <ktietz@redhat.com>
+
+       * dw2gencfi.c (dwcfi_seg_list): New struct.
+       (dwcfi_hash): New static hash variable.
+       (get_debugseg_name): New.
+       (alloc_debugseg_item): New.
+       (make_debug_seg): New.
+       (dwcfi_hash_insert): New.
+       (dwcfi_hash_find): New.
+       (dwcfi_hash_find_or_make): New.
+       (cfi_insn_data): New member cur_seg.
+       (cie_entry): Likewise.
+       (fde_entry): New cseg and handled members.
+       (alloc_fde_entry): Initialize cseg member.
+       (alloc_cfi_insn_data): Initialize cur_seg member.
+       (dot_cfi_sections): Compare for beginning of
+       section names via strncmp.
+       (get_cfi_seg): New.
+       (cfi_finish): Treat link-once sections.
+       (is_now_linkonce_segment): New local helper.
+       (output_cie): Ignore cie entries not member of current
+       segment.
+       (output_fde): Likewise.
+       (select_cie_for_fde): Likewise.
+       (cfi_change_reg_numbers): Add new argument for current segment
+       and ignore insn elements, if not part of current segment.
+       * ehopt.c (get_cie_info): Use strncmp for
+       section name matching.
+       (heck_eh_frame): Likewise.
+
+2011-04-20  Catherine Moore  <clm@codesourcery.com>
+            David Ung <davidu@mips.com>
+
+       * config/mips.c (mips_cl_insn): Add new field complete_p.
+       (create_insn): Initialize complete_p to zero.
+       (BASE_REG_EQ): New.
+       (fix_24k_align_to): New.
+       (fix_24k_store_info): Declare.
+       (fix_24k_sort): New.
+       (fix_24k_record_store_info): New.
+       (nops_for_24k): New.
+       (nops_for_insn): Call nops_for_24k.
+       (append_insn): Move O_constant expression handling.
+
+2011-04-20  Alan Modra  <amodra@gmail.com>
+
+       * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
+       (hash_new_sized): New function, split out from..
+       (hash_new): ..here.
+
+2011-04-19  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (v7m_psrs): Revert previous delta.
+
+2011-04-18  Julian Brown  <julian@codesourcery.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
+       detect M-profile targets.
+       (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
+       (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
+
+2011-04-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/tc-s390.c (s390_machine): New prototype.
+       (md_pseudo_table): New pseudo-op .machine.
+       (s390_opcode_hash): Initialize to NULL.
+       (s390_parse_cpu): New function.
+       (md_parse_option): Use s390_parse_cpu.
+       (s390_setup_opcodes): New function.
+       (md_begin): Use s390_setup_opcodes.
+       (s390_machine): New hook handling the new .machine pseudo.
+
+       * doc/c-s390.texi: Document the new pseudo op .machine.
+
+2011-04-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (i386_mach): Start error message with lower
+       case.
+       (md_begin): Likewise.
+       (md_parse_option): Likewise.
+       (i386_target_format): Likewise.
+       (check_byte_reg): Likewise.
+       (check_long_reg): Likewise.
+       (check_qword_reg): Likewise.
+       (check_word_reg): Likewise.
+
+2011-04-12  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/12532
+       * config/tc-arm.c (relax_branch): Do not relax branches to
+       preemptable global symbols.
+
+2011-04-11  Julian Brown  <julian@codesourcery.com>
+
+       * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
+       for *APSR bitmasks.
+       (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
+       Remove OP_RVC_PSR.
+       (parse_operands): Likewise.
+       (do_mrs): Tweak error message for constraint.
+       (do_t_mrs): Update constraints for changes to APSR support.
+       (do_t_msr): Likewise. Don't set PSR_f flag here.
+       (psrs): Remove "g", "nzcvq", "nzcvqg".
+       (insns): Tweak entries for msr and mrs instructions.
+
 2011-04-11  Kai Tietz  <ktietz@redhat.com>
 
        * config/tc-i386.c (x86_cons): Initialize adjust with zero.
This page took 0.025708 seconds and 4 git commands to generate.