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: 588 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx22.g.dreamhost.com (mx2.sub5.homie.mail.dreamhost.com [208.113.200.128]) by wilcox.dreamhost.com (Postfix) with ESMTP id 879C7360072 for ; Wed, 16 Apr 2014 21:52:57 -0700 (PDT) Received: by homiemail-mx22.g.dreamhost.com (Postfix, from userid 14307373) id 2B027495460F; Wed, 16 Apr 2014 21:52:57 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx22.g.dreamhost.com 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 homiemail-mx22.g.dreamhost.com (Postfix) with ESMTPS id F0F65491D872 for ; Wed, 16 Apr 2014 21:52:56 -0700 (PDT) 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=RpyyI2AZ9FfV45MxgjE8KLpQibBHMMM qnonYPquI7LHYYiiacTbMMg6vntgXS6mPk39+81YSfjoUAx3SyBu91Ys+RvKnxrR K8x7UagfY1h8cGb6k+Rhh2bYKQC1dJ1cqQuF5td7uC2tNLgLFvlhfyAOkO3MDETz PYNDYyYfzNXU= 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=TzomX f10KZ0kyMUwzxKcPW7NtVB7GrjPSIQNKaBK9fKD3V2qVkXBrnrmeGJUyqkEl+ZnN OEZWm7v8aDoi3M+5PC2xNVK2Ebx4Ll37X9hmUraoMeMI+W4xyUdKgMgM3bhKThj/ XabiCRHwKvP2INW3mPOrLRGE9xxtE4bzTbgbZA= 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> X-DH-Original-To: glibc@patchwork.siddhesh.in --- 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