RFC: Generate lib-names.h and stubs.h from ABI-LIST

Roland McGrath roland@hack.frob.com
Fri May 25 00:27:00 GMT 2012


> sysdeps/x86_64/64/shlib-versions has
> 
> x86_64-.*-linux.*	DEFAULT			GLIBC_2.2.5
> x86_64-.*-linux.*	ld=ld-linux-x86-64.so.2	GLIBC_2.2.5
> 
> sysdeps/x86_64/x32/shlib-versions has
> 
> x86_64-.*-linux.*	DEFAULT			GLIBC_2.16
> x86_64-.*-linux.*	ld=ld-linux-x32.so.2	GLIBC_2.16
> x86_64-.*-.*		ABI			x32-@OS@
> 
> Which one to use for x86-64 and x32 builds?

Potentially you can use %ifdef for this.

I think something along the lines of Joseph's idea will be the eventual way
to go.  But I think it is probably too much disruption and too many details
still to be figured out to do all that for 2.16.


Thanks,
Roland



More information about the Libc-alpha mailing list