This is the mail archive of the 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: RFC: Generate lib-names.h and stubs.h from ABI-LIST

On Wed, May 23, 2012 at 11:44 AM, H.J. Lu <> wrote:
> Hi,
> I created hjl/abi branch to support ABI-LIST in shlib-versions.
> I am extending syscall-list support to cover all generated files
> which support a list of ABIs. ?I tested gnu/stubs.h on Linux/x86-64.
> I will fix Linux/i386 and Linux/x32. ?The next one will be
> lib-names.h. ?Any comments?

I extended syscall-list support to cover all generated files on hjl/abi branch.
If a target supports more than one ABI, it can define the appropriate
abi-list-*-*, like sysdeps/unix/sysv/linux/x86_64/Makefile has

# We don't need any header files.
abi-list-includes :=

abi-list-32-options := -D__i386__ -U__x86_64__
abi-list-32-condition := !defined __x86_64__
abi-list-32-ld-soname :=
abi-list-64-options := -U__i386__ -D__x86_64__ -U__ILP32__ -D__LP64__
abi-list-64-condition := defined __x86_64__ && defined __LP64__
abi-list-64-ld-soname :=
abi-list-x32-options := -U__i386__ -D__x86_64__ -D__ILP32__ -U__LP64__
abi-list-x32-condition := defined __x86_64__ && defined __ILP32__
abi-list-x32-ld-soname :=

abi-list-variants is a list of ABIs with the first one as the default.

Any comments?



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