This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/21457] sys/ucontext.h namespace


https://sourceware.org/bugzilla/show_bug.cgi?id=21457

--- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  e78dc67889c35d9a77e043930dc234005cdcbc76 (commit)
      from  84d8c5bc8b4815bbdd4395f419aed047db3b67e3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e78dc67889c35d9a77e043930dc234005cdcbc76

commit e78dc67889c35d9a77e043930dc234005cdcbc76
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Jun 29 19:44:43 2017 +0000

    SPARC sys/ucontext.h namespace fixes (bug 21457).

    This patch fixes various miscellaneous namespace issues in the SPARC
    sys/ucontext.h header.  These are similar to changes made previous to
    other sys/ucontext.h headers, where the SPARC header was excluded from
    those previous patches because of its complexity.

    Tested for SPARC with build-many-glibcs.py.

        [BZ #21457]
        * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
        [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
        [__WORDSIZE == 64] (MC_PC): Likewise.
        [__WORDSIZE == 64] (MC_NPC): Likewise.
        [__WORDSIZE == 64] (MC_Y): Likewise.
        [__WORDSIZE == 64] (MC_G1): Likewise.
        [__WORDSIZE == 64] (MC_G2): Likewise.
        [__WORDSIZE == 64] (MC_G3): Likewise.
        [__WORDSIZE == 64] (MC_G4): Likewise.
        [__WORDSIZE == 64] (MC_G5): Likewise.
        [__WORDSIZE == 64] (MC_G6): Likewise.
        [__WORDSIZE == 64] (MC_G7): Likewise.
        [__WORDSIZE == 64] (MC_O0): Likewise.
        [__WORDSIZE == 64] (MC_O1): Likewise.
        [__WORDSIZE == 64] (MC_O2): Likewise.
        [__WORDSIZE == 64] (MC_O3): Likewise.
        [__WORDSIZE == 64] (MC_O4): Likewise.
        [__WORDSIZE == 64] (MC_O5): Likewise.
        [__WORDSIZE == 64] (MC_O6): Likewise.
        [__WORDSIZE == 64] (MC_O7): Likewise.
        [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
        __MC_NGREG if [__USE_MISC].
        [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
        [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
        [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
        Define fields using __ctx.
        [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
        using __ctx.
        [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
        (REG_PSR): Define only for [__USE_MISC].
        (REG_PC): Likewise.
        (REG_nPC): Likewise.
        (REG_Y): Likewise.
        (REG_G1): Likewise.
        (REG_G2): Likewise.
        (REG_G3): Likewise.
        (REG_G4): Likewise.
        (REG_G5): Likewise.
        (REG_G6): Likewise.
        (REG_G7): Likewise.
        (REG_O0): Likewise.
        (REG_O1): Likewise.
        (REG_O2): Likewise.
        (REG_O3): Likewise.
        (REG_O4): Likewise.
        (REG_O5): Likewise.
        (REG_O6): Likewise.
        (REG_O7): Likewise.
        [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
        [__WORDSIZE == 64] (REG_FPRS): Likewise.
        (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
        (gregset_t): Define using __NGREG.
        (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
        __SPARC_MAXREGWINDOW if [__USE_MISC].
        (struct rwindow): Rename to struct __rwindow.  Define fields using
        __ctx.
        (rw_fp): Define only for [__USE_MISC].
        (rw_rtn): Likewise.
        (gwindows_t): Remove struct tag.  Define fields using __ctx and
        __SPARC_MAXREGWINDOW.
        (MAXFPQ): Define only for [__USE_MISC].
        (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
        (struct fq): Rename to struct __fq.  Define fields using __ctx.
        (FPU_REGS_TYPE): Define only for [__USE_MISC].
        (FPU_DREGS_TYPE): Likewise.
        (V7_FPU_FSR_TYPE): Likewise.
        (V9_FPU_FSR_TYPE): Likewise.
        (V9_FPU_FPRS_TYPE): Likewise.
        [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
        using __ctx.
        [__WORDSIZE != 64] (fpregset_t): Likewise.
        [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
        [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
        [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
        Rename field filler to __glibc_reserved1.
        * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
        (MC_FILLER): Remove.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   81 ++++++
 NEWS                                               |    8 +-
 .../unix/sysv/linux/sparc/sparc32/ucontext_i.sym   |    1 -
 sysdeps/unix/sysv/linux/sparc/sys/ucontext.h       |  267 +++++++++++---------
 4 files changed, 236 insertions(+), 121 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]