From owner-freebsd-hackers Tue Nov 24 06:13:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA26660 for freebsd-hackers-outgoing; Tue, 24 Nov 1998 06:13:05 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail2.rochester.rr.com (mail2-1.twcny.rr.com [24.92.226.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA26653 for ; Tue, 24 Nov 1998 06:13:01 -0800 (PST) (envelope-from leisner@rochester.rr.com) Received: from rochester.rr.com ([24.93.25.38]) by mail2.rochester.rr.com (Post.Office MTA v3.5.2 release 221 ID# 0-53939U80000L80000S0V35) with ESMTP id com; Tue, 24 Nov 1998 09:13:25 -0500 Received: from dw (localhost [127.0.0.1]) by rochester.rr.com (8.8.5/8.8.5) with ESMTP id JAA00724; Tue, 24 Nov 1998 09:12:48 -0500 Message-Id: <199811241412.JAA00724@rochester.rr.com> X-Mailer: exmh version 2.0.2 2/24/98 Reply-to: leisner@rochester.rr.com To: Nate Williams cc: hackers@FreeBSD.ORG Subject: Re: Wrapping a function In-reply-to: Your message of "Sun, 22 Nov 1998 07:25:38 MST." <199811221425.HAA21510@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 24 Nov 1998 09:12:48 -0500 From: "Marty Leisner" 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 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