From owner-freebsd-hackers Sun Nov 22 06:26:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA12194 for freebsd-hackers-outgoing; Sun, 22 Nov 1998 06:26:14 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA12189 for ; Sun, 22 Nov 1998 06:26:12 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id HAA08388; Sun, 22 Nov 1998 07:25:39 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id HAA21510; Sun, 22 Nov 1998 07:25:38 -0700 Date: Sun, 22 Nov 1998 07:25:38 -0700 Message-Id: <199811221425.HAA21510@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: leisner@rochester.rr.com Cc: Nate Williams , hackers@FreeBSD.ORG Subject: Re: Wrapping a function In-Reply-To: <199811220702.CAA01604@rochester.rr.com> References: <199811170517.WAA22627@mt.sri.com> <199811220702.CAA01604@rochester.rr.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message