From patchwork Thu Oct 30 13:51:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jose E. Marchesi" X-Patchwork-Id: 405057 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 686EB14009D for ; Fri, 31 Oct 2014 00:46:52 +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:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=sEMV0MiOY4xiE/cr6fQ2kE0tF4t9l vxQo/rar6qanLDT8T19kGnBJDvmjsmiJH0PvjXuay3PDXMc97wiXA1gsooDgSFFq E0MscYSndFhkzzfGICmi+qwl+nkoGCmR1q5by9vZLamYoUaxVbjpy1gKdZh23GYF mJ9jbSv7r57MZI= 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:mime-version :content-type; s=default; bh=RjJBTUBAuSua7l9Y3HqL2H3Mjgc=; b=USG kvgZZNcZP/JigTWKX/Sf6qXOhAXfQmcpttP0nge/agdjhTRas8+ZmxvZDY9PzA9r Wtk/876zGekDSOjM2sxj25AHHJPc1NCOnt/cgDLZsqeX6y0zCl8gzkfAldVpBisz 7llvPHChDk2UoqRknFk/kRhz41VyWaM+CGO7PzvM= Received: (qmail 4911 invoked by alias); 30 Oct 2014 13:46:45 -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 4899 invoked by uid 89); 30 Oct 2014 13:46:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS, UNPARSEABLE_RELAY autolearn=ham version=3.3.2 X-HELO: aserp1040.oracle.com From: jose.marchesi@oracle.com (Jose E. Marchesi) To: libc-alpha@sourceware.org Subject: [PATCH][SPARC] Fix fpu_fr.fpu_dregs size in sys/ucontext.h Date: Thu, 30 Oct 2014 14:51:46 +0100 Message-ID: <877fzh4qdp.fsf@oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Hi. I just noticed a small typo in sys/ucontext.h. The attached patch fixes it. Tested in sparc64-unknown-linux-gnu. 2014-10-30 Jose E. Marchesi * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix the size of the fpu_fr.fpu_dregs[] array. diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h index d9f1c0f..9496333 100644 --- a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h @@ -202,7 +202,7 @@ typedef struct fpu { union { /* FPU floating point regs */ unsigned fpu_regs[32]; /* 32 singles */ - double fpu_dregs[16]; /* 32 doubles */ + double fpu_dregs[32]; /* 32 doubles */ long double fpu_qregs[16]; /* 16 quads */ } fpu_fr; struct fq *fpu_q; /* ptr to array of FQ entries */