From patchwork Fri Jan 18 10:05:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai Tietz X-Patchwork-Id: 213529 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 DF2E52C0040 for ; Fri, 18 Jan 2013 21:05:32 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1359108333; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=0SkN/NS SWhT1GVtrIydGVF3JaaY=; b=Ga4KKao0BYbXuvFd4+m0r8zzgtgdiSQ8lrjn0aF dhZyCbfOQ5oaAX0+zuyalLUYjn1ra/n4niV1JOqrwmluusCTvApLq65XkqpYTYDl 6rLvY/GJhfSskN8wXHaXu4n8ErHfGRtqL+ex/fdmaXx5rhEvPaMWbCQXnRpZXJz7 eRUA= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:X-Received:Received:Date:Message-ID:Subject:From:To:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=wzC9jkWF/c+urLP51fTSG5n4rg2jw7pn/ANbuKxvj2R5XWK0HnflGSUy0/pHS4 HRokWG7fVaZZ2pXjT+xri/Qt1lP+YbUvlhNmcXsFJeF7zZvafM7xDXiVXrcX4H0Y ZnGqsqHmMBp8Z9+rBERYkvOG3TtKo5eX8jpUzUF0Mx3E4=; Received: (qmail 10343 invoked by alias); 18 Jan 2013 10:05:24 -0000 Received: (qmail 10321 invoked by uid 22791); 18 Jan 2013 10:05:22 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ia0-f169.google.com (HELO mail-ia0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Jan 2013 10:05:12 +0000 Received: by mail-ia0-f169.google.com with SMTP id j5so1274020iaf.0 for ; Fri, 18 Jan 2013 02:05:11 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.50.197.161 with SMTP id iv1mr1605544igc.53.1358503511661; Fri, 18 Jan 2013 02:05:11 -0800 (PST) Received: by 10.64.34.172 with HTTP; Fri, 18 Jan 2013 02:05:11 -0800 (PST) Date: Fri, 18 Jan 2013 11:05:11 +0100 Message-ID: Subject: [patch libbacktrace]: Fix undeclared-symbols warning for SjLj-targets From: Kai Tietz To: GCC Patches 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 Hi, this patch cleans up a undeclared-symbol issue in libbacktrace. ChangeLog 2013-01-18 Kai Tietz * backtrace.c (_Unwind_GetIPInfo): Add prototype. * simple.c (_Unwind_GetIPInfo): Likewise. Tested for x86_64-w64-mingw32, and i686-w64-mingw32. Ok for apply? Kai Index: backtrace.c =================================================================== --- backtrace.c (Revision 195288) +++ backtrace.c (Arbeitskopie) @@ -55,6 +55,8 @@ struct backtrace_data int ret; }; +extern uintptr_t _Unwind_GetIPInfo (struct _Unwind_Context *, int *); + /* Unwind library callback routine. This is passed to _Unwind_Backtrace. */ Index: simple.c =================================================================== --- simple.c (Revision 195288) +++ simple.c (Arbeitskopie) @@ -35,6 +35,8 @@ POSSIBILITY OF SUCH DAMAGE. */ #include "unwind.h" #include "backtrace.h" +extern uintptr_t _Unwind_GetIPInfo (struct _Unwind_Context *, int *); + /* The simple_backtrace routine. */ /* Data passed through _Unwind_Backtrace. */