Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 1998 09:12:48 -0500
From:      "Marty Leisner" <leisner@rochester.rr.com>
To:        Nate Williams <nate@mt.sri.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Wrapping a function 
Message-ID:  <199811241412.JAA00724@rochester.rr.com>
In-Reply-To: Your message of "Sun, 22 Nov 1998 07:25:38 MST." <199811221425.HAA21510@mt.sri.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > In recent gnu ld's:
> > `--wrap SYMBOL'
> >      Use a wrapper function for SYMBOL.  Any undefined reference to
> >      SYMBOL will be resolved to `__wrap_SYMBOL'.  Any undefined
> >      reference to `__real_SYMBOL' will be resolved to SYMBOL.
> 
> Cool!  Does our ld do this?
> 
> 
> Nate

I haven't tried an ELF system yet, using GNU binutils.

Which is one of the reasons I really like to see the GNU binutils 
used (becaused it has these neat options...)


Marty Leisner





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811241412.JAA00724>