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] Use base-machine in abilist tuple.


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


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