This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Undefine a library function
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: Niklaus <niklaus at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 12 Dec 2006 10:14:22 +1100
- Subject: Re: Undefine a library function
- References: <85e0e3140612070636t6959a240pd38e196a1f3c99b6@mail.gmail.com> <85e0e3140612072012y6fd332aeuc1023e109df75b7a@mail.gmail.com>
On Fri, 2006-12-08 at 09:42 +0530, Niklaus wrote:
> Like the #undef for macros , do we have a way for undefining a
> library function like say memset. Do we have any way(like linker) so
> that my function memset(with different arguments) are used everywhere
> instead of library function memset.
Yes. Take a look in the linker manual for the --wrap option.
Ben