From patchwork Fri Dec 13 13:39:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Hainque X-Patchwork-Id: 1209147 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-515883-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="TvG9vzJ+"; dkim-atps=neutral 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 47ZBbr2Jbfz9sPT for ; Sat, 14 Dec 2019 00:39:35 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :content-type:subject:date:message-id:cc:to:mime-version; q=dns; s=default; b=Tnm2DpfZ97JryKCQvkpkDhsJOuhrTHMvU/l3OhfbOUFNb6JUcj nfaKo3qk7XTK+WzMnPEI0xeetoSdXmeD+OrUGZgIIyzfGu4QqBsgGPSORo+ifA1j V3oM+W1RcysFGBflzJfGzDrkk7MBEb7CEI5G3nCKIEQ5dEbt/vex0SbNg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :content-type:subject:date:message-id:cc:to:mime-version; s= default; bh=SeYGmsvTSUZME8MQUDQwSZ5jINc=; b=TvG9vzJ+qVwstByssiwJ dh44MI9py5aiusA0glsIFAQUgEJ7Xv4X2Fi4bVta8yJ2XaN5x5NMNv2LRJr5vcQy DpfVgTmSyeEGu0zRU3vILsgekdz9C8arUE3K3wPunghxhERgt5EUBF28R4ouq+mC cajUGODEsHEe8EsXvvPj7+4= Received: (qmail 95121 invoked by alias); 13 Dec 2019 13:39:28 -0000 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 Received: (qmail 95107 invoked by uid 89); 13 Dec 2019 13:39:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-14.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=H*c:HHHH, H*c:HHHHHHHH X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Dec 2019 13:39:27 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 332518137C; Fri, 13 Dec 2019 14:39:25 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nH-mnncufuHX; Fri, 13 Dec 2019 14:39:25 +0100 (CET) Received: from [192.168.0.12] (bny92-4-82-228-126-192.fbx.proxad.net [82.228.126.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id EE57581393; Fri, 13 Dec 2019 14:39:24 +0100 (CET) From: Olivier Hainque Subject: [patch] Fix macro reference in gthr-vxworks-tls.c Date: Fri, 13 Dec 2019 14:39:23 +0100 Message-Id: <80E8A4B4-E294-4B40-BF4B-03BFC5EAF4E5@adacore.com> Cc: Olivier Hainque To: GCC Patches Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) This change fixes a typo in a macro name reference, introduced by mistake during a refactoring. Tested in accordance with the description in https://gcc.gnu.org/ml/gcc-patches/2019-12/msg00911.html Committing to mainline. Olivier 2019-12-13 Olivier Hainque libgcc/ * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix reference to the internal VX_GET_TLS_DATA interface. libgcc/config/gthr-vxworks-tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/gthr-vxworks-tls.c b/libgcc/config/gthr-vxworks-tls.c index cd5f7ac831c..96b6bfbdbe6 100644 --- a/libgcc/config/gthr-vxworks-tls.c +++ b/libgcc/config/gthr-vxworks-tls.c @@ -293,7 +293,7 @@ __gthread_getspecific (__gthread_key_t key) if (key >= MAX_KEYS) return 0; - data = GET_VX_TLS_DATA(); + data = VX_GET_TLS_DATA(); if (!data) return 0;