This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use base-machine in abilist tuple.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 26 Apr 2012 21:50:23 +0000 (UTC)
- Subject: Re: [PATCH] Use base-machine in abilist tuple.
- References: <20120426.173332.920082449745778992.davem@davemloft.net>
On Thu, 26 Apr 2012, David Miller wrote:
> * Makerules (check-abi-config): Use base-machine instead of
> config-machine.
An alternative would be to move straight to keeping the files in a sysdeps
directory, since it seems to be established that we'd like to end up
there. Say sysdeps/unix/sysv/linux/sparc/sparc32/abilist or .../data (the
idea of using /data is that the directory might contain the c++-types and
localplt files currently in scripts/data/, as well as the abilist files;
you probably don't need separate subdirectories for the two).
You can extract data for an existing system using e.g.
LC_ALL=C awk -f ./scripts/extract-abilist.awk -v config=x86_64-unknown-linux-gnu/thread abilist/libc.abilist
to produce what might go in
sysdeps/unix/sysv/linux/x86_64/data/libc.abilist. The appropriate
directories for each target with existing ABI data might be:
sysdeps/unix/sysv/linux/i386/data
sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/data
(I'm including the /fpu/ because of the nofpu variant in ports, with ABI
differences)
sysdeps/unix/sysv/linux/powerpc/powerpc64/data
sysdeps/unix/sysv/linux/s390/s390-32/data
sysdeps/unix/sysv/linux/s390/s390-64/data
sysdeps/unix/sysv/linux/sh/data
sysdeps/unix/sysv/linux/x86_64/data
--
Joseph S. Myers
joseph@codesourcery.com