glibc:fw/glibc-hwcaps

Last commit made on 2020-12-07
Get this branch:
git clone -b fw/glibc-hwcaps https://git.launchpad.net/glibc

Branch merges

Branch information

Name:
fw/glibc-hwcaps
Repository:
lp:glibc

Recent commits

f29b79a... by Florian Weimer on 2020-12-07

s390x: Add Add glibc-hwcaps support

Subdirectories z13, z14, z15 can be selected, mostly based on the
level of support for vector instructions.

088e962... by "H.J. Lu" <email address hidden> on 2020-12-04

x86: Rename readelflib.c

Rename linux/i386/readelflib.c to linux/x86/readelflib.c and remove
x86_64/readelflib.c.

f4f3b09... by DJ Delorie <email address hidden> on 2020-11-10

nsswitch: use new internal API (callers)

Stitch new ABI and types throughout all NSS callers.

Reviewed-by: Siddhesh Poyarekar <email address hidden>

6eceded... by DJ Delorie <email address hidden> on 2020-11-10

nsswitch: user new internal API (tests)

Testsuite support and new test for new API.

Reviewed-by: Siddhesh Poyarekar <email address hidden>

f8847d8... by DJ Delorie <email address hidden> on 2020-11-10

nsswitch: use new internal API (core)

Core changes to switch the NSS internals to use the new API.

Reviewed-by: Siddhesh Poyarekar <email address hidden>

fa78fec... by Florian Weimer on 2020-02-20

nss: Implement <nss_database.h>

This code manages the mappings of the available databases in NSS
(i.e. passwd, hosts, netgroup, etc) with the actions that should
be taken to do a query on those databases.

This is the main API between query functions scattered throughout
glibc and the underlying code (actions, modules, etc).

Reviewed-by: Siddhesh Poyarekar <email address hidden>

fd5b9b4... by Florian Weimer on 2020-02-20

<nss_action.h>: New abstraction for combining NSS modules and NSS actions

nss_action manages a set of lists of actions; these are the portions
of the lines in nsswitch.conf to the right of the colons, like
"dns [!UNAVAIL=return] files". Each permutation of actions and
conditionals is cached for reuse, which limits memory growth, and
refers to the static list of modules managed by nss_modules.

Reviewed-by: Siddhesh Poyarekar <email address hidden>

171689d... by Florian Weimer on 2020-02-19

nss: Introduce <nss_module.h>

This provides the struct nss_module type, which combines the old
struct service_library type with the known_function tree, by
statically allocating space for all function pointers.

struct nss_module is fairly large (536 bytes), but it will be
shared across NSS databases. The old known_function handling
had non-some per-function overhead (at least 32 bytes per looked-up
function, but more for long function anmes), so overall, this is not
too bad. Resolving all functions at load time simplifies locking,
and the repeated lookups should be fast because the caches are hot
at this point.

Reviewed-by: Siddhesh Poyarekar <email address hidden>

7dc2f14... by Florian Weimer on 2020-12-04

Add scripts/move-symbol-to-libc.py

This helper script can be used to move symbols to libc.abilist across
all architectures, while preserving their symbol version.

4c38c1a... by Florian Weimer on 2020-12-04

powerpc64le: Add glibc-hwcaps support

The "power10" and "power9" subdirectories are selected in a way
that matches the -mcpu=power10 and -mcpu=power9 options of GCC.