From patchwork Fri Oct 8 13:14:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Froyd X-Patchwork-Id: 67195 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 8A849B6F10 for ; Sat, 9 Oct 2010 00:14:45 +1100 (EST) Received: (qmail 31184 invoked by alias); 8 Oct 2010 13:14:43 -0000 Received: (qmail 31173 invoked by uid 22791); 8 Oct 2010 13:14:43 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Oct 2010 13:14:38 +0000 Received: (qmail 1067 invoked from network); 8 Oct 2010 13:14:36 -0000 Received: from unknown (HELO codesourcery.com) (froydnj@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Oct 2010 13:14:36 -0000 Date: Fri, 8 Oct 2010 09:14:34 -0400 From: Nathan Froyd To: gcc-patches@gcc.gnu.org Cc: nickc@redhat.com Subject: [PATCH] fix rx-elf libgcc build Message-ID: <20101008131432.GN17388@nightcrawler> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This patch adds a definition of TARGET_EXCEPT_UNWIND_INFO so that libgcc will build again. Tested with cross to rx-elf. OK to commit? -Nathan * config/rx/rx.c (TARGET_EXCEPT_UNWIND_INFO): Define. Index: config/rx/rx.c =================================================================== --- config/rx/rx.c (revision 165177) +++ config/rx/rx.c (working copy) @@ -2837,6 +2837,9 @@ rx_memory_move_cost (enum machine_mode m #undef TARGET_OPTION_OPTIMIZATION #define TARGET_OPTION_OPTIMIZATION rx_option_optimization +#undef TARGET_EXCEPT_UNWIND_INFO +#define TARGET_EXCEPT_UNWIND_INFO sjlj_except_unwind_info + struct gcc_target targetm = TARGET_INITIALIZER; /* #include "gt-rx.h" */