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]

[PATCH 0/7] Export AT_HWCAP from libc, v3


Version 2 didn't receive much in the way of comment...

Changes v2->v3:
  Update libc.abilist.

Changes v1->v2:
  Renamed <sys/hwcap.h> to <sys/auxv.h>
  Renamed __libc_hwcap to gethwcap.
  Added getauxval.

  The type we save for gethwcap is larger than the type we
  received in ElfW(auxv_t); I'd like to return all of it to
  allow libc to massage the value if desired, so I've kept
  the separate accessor function.


r~


Richard Henderson (7):
  Add <sys/auxv.h> and gethwcap function.
  Move _dl_auxv to rtld_global_ro.
  Add getauxval.
  s390: Add <bits/hwcap.h>.
  sparc: Add <bits/hwcap.h>
  powerpc: Add <bits/hwcap.h>
  abilist updates for getauxval, gethwcap

 elf/dl-support.c                                   |    2 +
 elf/dl-sysdep.c                                    |    9 ++--
 misc/Makefile                                      |    4 +-
 misc/Versions                                      |    4 ++
 misc/getauxval.c                                   |   33 ++++++++++++
 misc/gethwcap.c                                    |   28 ++++++++++
 misc/sys/auxv.h                                    |   32 ++++++++++++
 sysdeps/generic/bits/hwcap.h                       |   23 +++++++++
 sysdeps/generic/ldsodefs.h                         |    2 +
 sysdeps/powerpc/bits/hwcap.h                       |   53 ++++++++++++++++++++
 sysdeps/powerpc/sysdep.h                           |   29 +----------
 sysdeps/sparc/bits/hwcap.h                         |   47 +++++++++++++++++
 sysdeps/sparc/sysdep.h                             |   29 +----------
 sysdeps/unix/sysv/linux/i386/nptl/libc.abilist     |    4 ++
 .../linux/powerpc/powerpc32/fpu/nptl/libc.abilist  |    4 ++
 .../sysv/linux/powerpc/powerpc64/nptl/libc.abilist |    4 ++
 sysdeps/unix/sysv/linux/s390/bits/hwcap.h          |   36 +++++++++++++
 .../unix/sysv/linux/s390/s390-32/nptl/libc.abilist |    4 ++
 .../unix/sysv/linux/s390/s390-64/nptl/libc.abilist |    4 ++
 sysdeps/unix/sysv/linux/sh/nptl/libc.abilist       |    4 ++
 .../sysv/linux/sparc/sparc32/nptl/libc.abilist     |    4 ++
 .../sysv/linux/sparc/sparc64/nptl/libc.abilist     |    4 ++
 .../unix/sysv/linux/x86_64/64/nptl/libc.abilist    |    4 ++
 23 files changed, 307 insertions(+), 60 deletions(-)
 create mode 100644 misc/getauxval.c
 create mode 100644 misc/gethwcap.c
 create mode 100644 misc/sys/auxv.h
 create mode 100644 sysdeps/generic/bits/hwcap.h
 create mode 100644 sysdeps/powerpc/bits/hwcap.h
 create mode 100644 sysdeps/sparc/bits/hwcap.h
 create mode 100644 sysdeps/unix/sysv/linux/s390/bits/hwcap.h

-- 
1.7.7.6


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