From patchwork Thu Feb 5 14:28:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chung-Lin Tang X-Patchwork-Id: 436824 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 6C5AC14017D for ; Fri, 6 Feb 2015 01:30:04 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type; q=dns; s=default; b=I800Ylj98dYdD6Nh5B3p2GvUnnYBr aXn9bgNdGzGt7DrxauHnL6hf+toM65/xdfqRMAjC8Fy/04884S6EQPw35Z9MHGn1 PjpvfH8qJe9AwOA5rS6HwmGwaAw0eKF947hM9oP6cFWFjGwRI41V2EkWBlvzQBss 6JtvLbOF8QVTqU= 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:message-id:date:from:mime-version:to:subject :content-type; s=default; bh=Cdz7QyYEERH3LXvOHwNo8enRMU0=; b=Es/ imFwBOekEbJ4gYI6Jw5QhpiaJiAT8kYNijHODbYEnV1jOJEuX7WZcuyZB6ccgOBv JJIyW3UxnD8mENb0ReP022Ug16/DR5PYpGGdhWiRTKJk65W+eeG3jbD39K/2Yckw Y474UtCSQxaNc+jqHLAzyDhuwiQ3gni+3wV2z1BI= Received: (qmail 16824 invoked by alias); 5 Feb 2015 14:28:32 -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 16783 invoked by uid 89); 5 Feb 2015 14:28:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Message-ID: <54D37E11.2050407@codesourcery.com> Date: Thu, 5 Feb 2015 22:28:33 +0800 From: Chung-Lin Tang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: GNU C Library Subject: [PATCH COMMITTED] nios2: fix -pg static link problem There was a typo error in sysdeps/nios2/machine-gmon.h, a missing leading "__" which of course causes linking with '-static -pg to fail. Patch committed. Chung-Lin 2015-02-05 Chung-Lin Tang * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of called function in non-PIC case. diff --git a/sysdeps/nios2/machine-gmon.h b/sysdeps/nios2/machine-gmon.h index 1f0ea8f..039d253 100644 --- a/sysdeps/nios2/machine-gmon.h +++ b/sysdeps/nios2/machine-gmon.h @@ -35,7 +35,7 @@ static void __attribute_used__ __mcount_internal (u_long frompc, u_long selfpc) "callr r2\n\t" #else #define NIOS2_MCOUNT_CALL \ - "call\tmcount_internal\n\t" + "call\t__mcount_internal\n\t" #endif #define MCOUNT \