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: 3500 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 */