From 81b032c833a01491dfa35e9fdc5c2d4e523df163 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 20 Apr 2018 00:10:55 +0200 Subject: Drop fpregset unused symbol exposition * 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; -- cgit 1.4.1