From patchwork Thu Apr 17 04:49:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 339779 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0DA821400A8 for ; Thu, 17 Apr 2014 14:53:01 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=Xq62LHvVZaZuffqxKVda5gdiYxlGqoz FOfeLM0CpcQkNapapmIn1sCX1Uhq5YC4hlN9uFq4+747FCZSdnTYjFjjuLieUo7Y WlZ5nDlKqhN0NM8p9jiv0elNYGL34BSlkKnCsFG6PwRKEms9hPtXPBDXC3Azcljn 0DOYwbK0aORg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=2IWglw94E2HxAIqUA6dQtk7SE4A=; b=j8yXC /FjrJfvMD20jDf5Lcsov8dT+B6m3pQ5odPzGaI41TfquAG1TRILCm7J4EAlJKWWW Qt2xNTZBQ3c7b+KGm6HcDDTaJsnKckzwCR0Jolgg0LDTK+tB3Vd5+VP2e/mcb2PH BD0zXfvnRup3H1KUOy7i2Zk8sZfQrNP7Y1ozx4= Received: (qmail 18569 invoked by alias); 17 Apr 2014 04:52:46 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 18418 invoked by uid 89); 17 Apr 2014 04:52:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f180.google.com X-Received: by 10.68.170.66 with SMTP id ak2mr13066918pbc.5.1397710360972; Wed, 16 Apr 2014 21:52:40 -0700 (PDT) From: Richard Henderson To: libc-alpha@sourceware.org Subject: [PATCH 3/4] alpha: Enable unwind tables for backtrace.c Date: Wed, 16 Apr 2014 21:49:38 -0700 Message-Id: <1397710179-28556-4-git-send-email-rth@twiddle.net> In-Reply-To: <1397710179-28556-1-git-send-email-rth@twiddle.net> References: <1397710179-28556-1-git-send-email-rth@twiddle.net> --- ChangeLog | 3 +++ sysdeps/alpha/Makefile | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 31731d3..a54ec9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-04-16 Richard Henderson + * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable + unwind tables. + * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove const from the non-libc, non-ldso copy. diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile index 1cf77fb..bf133b9 100644 --- a/sysdeps/alpha/Makefile +++ b/sysdeps/alpha/Makefile @@ -20,6 +20,11 @@ ifeq ($(subdir),db2) CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_ALPHA=1 endif +ifeq ($(subdir),debug) +# Consider making this GCC's default... +CFLAGS-backtrace.c = -fasynchronous-unwind-tables +endif + ifeq ($(subdir),gmon) sysdep_routines += _mcount endif