From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13863 invoked by alias); 8 Apr 2011 16:15:37 -0000 Received: (qmail 13853 invoked by uid 22791); 8 Apr 2011 16:15:36 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Apr 2011 16:15:31 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p38GFOhM018255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Apr 2011 12:15:24 -0400 Received: from [10.36.11.130] (vpn2-11-130.ams2.redhat.com [10.36.11.130]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p38GFNUp021003; Fri, 8 Apr 2011 12:15:23 -0400 Message-ID: <4D9F34BE.7080401@redhat.com> Date: Fri, 08 Apr 2011 16:15:00 -0000 From: Nick Clifton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 MIME-Version: 1.0 To: Paul Brook CC: binutils@sourceware.org Subject: Re: [PATCH] C6X unwinding table generation References: <201104071355.13054.paul@codesourcery.com> In-Reply-To: <201104071355.13054.paul@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00122.txt.bz2 Hi Paul, > 2011-04-07 Paul Brook > > bfd/ > * elf32-tic6x.c (is_tic6x_elf_unwind_section_name, > elf32_tic6x_fake_sections): New functions. > (elf_backend_fake_sections): Define. > > gas/ > * config/tc-tic6x.c (streq): Define. > (unwind): New variable. > (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, > start_unwind_section, unwind_frame_regs, pop_rts_offset_little, > pop_rts_offset_big, unwind_reg_from_dwarf, flush_unwind_word, > unwind_byte, unwind_2byte, unwind_uleb, tic6x_cfi_startproc, > output_exidx_entry, tic6x_output_unwinding, tic6x_cfi_endproc, > * config/tc-tic6x.h (tic6x_segment_info_type): Add > marked_pr_dependency. > (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. > > gas/testsuite: > * gas/tic6x/unwind-1.d: New test. > * gas/tic6x/unwind-1.s: New test. > * gas/tic6x/unwind-2.d: New test. > * gas/tic6x/unwind-2.s: New test. > > include/ > * elf/tic6x.h (ELF_STRING_C6000_unwind, > ELF_STRING_C6000_unwind_info, ELF_STRING_C6000_unwind_once, > ELF_STRING_C6000_unwind_info_once): Define. Approved - please apply. Cheers Nick