From patchwork Fri Apr 20 00:29:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 901572 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-91746-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="TClUDMcM"; 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 40RxZH0bljz9s1w for ; Fri, 20 Apr 2018 10:29:42 +1000 (AEST) 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:cc:subject:date:message-id; q=dns; s= default; b=Y3b01dRJRqaYMXxBIiSu84e35B+7gYjGV4azVdJjIWhTIrrGnLc62 uNDinl3YKAK9K2/kRZiTlmtu8i4UxBA0UF7T58ZhHvzuW468XDo68dvlZGP1fyTd gDv9PZb2ZkZXTO2ReTtanFn0uU56jBHHBnN6r/iE8pDMrS3IDM8uek= 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:cc:subject:date:message-id; s=default; bh=ln70LWcye2D/9n/mvjIyht8Snxk=; b=TClUDMcMdQoLvdcXmschOaYjlwNu ATApy8xPAdt8yRTusw5308Tt8A1vCWSriZX/anrCMwgOssG6XD0tyhYX03H3as4i 8x5iUcc0kVy+vDo/mHypMrzCTK0CucZxlAAOZB/bGNqmvkAXOC1BLsalpJvv45WO f3cm5hoYE0nabGU= Received: (qmail 42467 invoked by alias); 20 Apr 2018 00:29:35 -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 42449 invoked by uid 89); 20 Apr 2018 00:29:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: mail2-relais-roc.national.inria.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 1/4] Drop fpregset unused symbol exposition Date: Fri, 20 Apr 2018 02:29:27 +0200 Message-Id: <20180420002930.17787-1-samuel.thibault@ens-lyon.org> * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and non-compliant. * sysdeps/i386/sys/ucontext.h: Likewise. * sysdeps/m68k/sys/ucontext.h: Likewise. * sysdeps/mips/sys/ucontext.h: Likewise. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise. --- ChangeLog | 6 ++++++ sysdeps/arm/sys/ucontext.h | 2 +- sysdeps/i386/sys/ucontext.h | 2 +- sysdeps/m68k/sys/ucontext.h | 2 +- sysdeps/mips/sys/ucontext.h | 2 +- sysdeps/unix/sysv/linux/hppa/sys/ucontext.h | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index e2ccfc91fe..58f02e92ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -88,6 +88,12 @@ prototypes. * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise. * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise. + * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and + non-compliant. + * sysdeps/i386/sys/ucontext.h: Likewise. + * sysdeps/m68k/sys/ucontext.h: Likewise. + * sysdeps/mips/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise. 2018-04-18 Joseph Myers diff --git a/sysdeps/arm/sys/ucontext.h b/sysdeps/arm/sys/ucontext.h index fa5996458d..ababe5a062 100644 --- a/sysdeps/arm/sys/ucontext.h +++ b/sysdeps/arm/sys/ucontext.h @@ -83,7 +83,7 @@ enum #endif /* Structure to describe FPU registers. */ -typedef struct fpregset +typedef struct { } fpregset_t; diff --git a/sysdeps/i386/sys/ucontext.h b/sysdeps/i386/sys/ucontext.h index 5dcecbb7bc..23cee16e80 100644 --- a/sysdeps/i386/sys/ucontext.h +++ b/sysdeps/i386/sys/ucontext.h @@ -92,7 +92,7 @@ enum #endif /* Structure to describe FPU registers. */ -typedef struct fpregset +typedef struct { union { diff --git a/sysdeps/m68k/sys/ucontext.h b/sysdeps/m68k/sys/ucontext.h index 14232d268a..7b723d6862 100644 --- a/sysdeps/m68k/sys/ucontext.h +++ b/sysdeps/m68k/sys/ucontext.h @@ -83,7 +83,7 @@ enum }; /* Structure to describe FPU registers. */ -typedef struct fpregset +typedef struct { int f_pcr; int f_psr; diff --git a/sysdeps/mips/sys/ucontext.h b/sysdeps/mips/sys/ucontext.h index 4612e415ad..aaa08fdea9 100644 --- a/sysdeps/mips/sys/ucontext.h +++ b/sysdeps/mips/sys/ucontext.h @@ -131,7 +131,7 @@ enum #endif /* Structure to describe FPU registers. */ -typedef struct fpregset +typedef struct { union { diff --git a/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h b/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h index 897bf5d326..6037227b2a 100644 --- a/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h @@ -50,7 +50,7 @@ typedef struct gregset } gregset_t; /* Container for all FPU registers. */ -typedef struct fpregset +typedef struct { double fp_dregs[32]; } fpregset_t;