This is the mail archive of the libc-alpha@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]

Re: [PATCH v4 06/13] C-SKY: Linux ABI


On Wed, Sep 12, 2018 at 4:58 AM Mao Han <han_mao@c-sky.com> wrote:
>
> Linux-specific code that is required for maintaining ABI compatibility.
> This doesn't contain the actual system call interface.
>
>         * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
>         * sysdeps/unix/sysv/linux/csky/bits/mman.h: New file.
>         * sysdeps/unix/sysv/linux/csky/bits/shm.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
>         * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
>         * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
>         * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
>         * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
>         * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
>         * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
> ---
>  sysdeps/unix/sysv/linux/csky/Versions             |   5 +
>  sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym |  32 ++
>  sysdeps/unix/sysv/linux/csky/bits/mman.h          |  44 ++
>  sysdeps/unix/sysv/linux/csky/bits/shm.h           | 104 +++++
>  sysdeps/unix/sysv/linux/csky/c++-types.data       |  67 +++
>  sysdeps/unix/sysv/linux/csky/ipc_priv.h           |  21 +
>  sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h     |   6 +
>  sysdeps/unix/sysv/linux/csky/kernel-features.h    |  23 +
>  sysdeps/unix/sysv/linux/csky/localplt.data        |  19 +
>  sysdeps/unix/sysv/linux/csky/makecontext.c        |  74 +++
>  sysdeps/unix/sysv/linux/csky/profil-counter.h     |  31 ++
>  sysdeps/unix/sysv/linux/csky/register-dump.h      | 193 ++++++++
>  sysdeps/unix/sysv/linux/csky/shlib-versions       |   7 +
>  sysdeps/unix/sysv/linux/csky/sigcontextinfo.h     |  32 ++
>  sysdeps/unix/sysv/linux/csky/sys/cachectl.h       |  38 ++
>  sysdeps/unix/sysv/linux/csky/sys/procfs.h         | 123 +++++
>  sysdeps/unix/sysv/linux/csky/sys/ucontext.h       |  89 ++++
>  sysdeps/unix/sysv/linux/csky/sys/user.h           |  60 +++
>  sysdeps/unix/sysv/linux/csky/sysdep.h             | 534 ++++++++++++++++++++++

I'm surprised to see copies of bits/shm.h, bits/mman.h and sys/procfs.h.
Since the kernel port just uses the generic interfaces that all other
architectures used in the past decade, shouldn't the glibc defaults
match be enough here?

       Arnd


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