A patch to add --with-oldest-abi=ABI.

H . J . Lu hjl@valinux.com
Fri Dec 1 15:22:00 GMT 2000


On Fri, Dec 01, 2000 at 03:15:52PM -0800, H . J . Lu wrote:
> On Fri, Dec 01, 2000 at 09:51:55AM -0800, H . J . Lu wrote:
> > On Fri, Dec 01, 2000 at 08:30:26AM -0800, Ulrich Drepper wrote:
> > 
> > > 
> > > Also, there are lots of symbols not caught at all (getrlimit to name
> > > only one).
> > > 
> > 
> > getrlimit is a system call generated on the fly during the glibc build.
> > It doesn't include shlib-compat.h. I looked at it. I guess I had to
> 
> 
> Here is the patch to add the shlib-compat.h support to the system
> calls.
> 
> 

BTW, the way to add the obsoleting support in my patch is

ldshmctl	EXTRA	shmctl		3	__old_shmctl	shmctl@GLIBC_2.0,GLIBC_2.2

where the weak name is foo@version_introduced,version_obsoleted. You
can do

osf_select     -       osf_select      5       __select_tv32 __select@GLIBC_2.0,GLIBC_2.1 select@GLIBC_2.0,GLIBC_2.1

If more than one weak names have different version_introduced or
version_obsoleted, the shlib-compat.h support is dropped.



H.J.


More information about the Libc-alpha mailing list