From owner-freebsd-current Wed Dec 6 05:00:18 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA09283 for current-outgoing; Wed, 6 Dec 1995 05:00:18 -0800 (PST) Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA09274 for ; Wed, 6 Dec 1995 05:00:09 -0800 (PST) Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id MAA00257; Wed, 6 Dec 1995 12:56:39 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: Terry Lambert cc: imb@scgt.oz.au, julian@ref.tfs.com, current@FreeBSD.ORG Subject: Re: changes in -current..TEST please In-reply-to: Your message of "Mon, 04 Dec 1995 11:53:45 MST." <199512041853.LAA04032@phaeton.artisoft.com> Date: Wed, 06 Dec 1995 13:56:38 +0100 Message-ID: <255.818254598@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@FreeBSD.ORG Precedence: bulk > > Terry, read your manuals again before you talk about things you don't > > know too much, and certainly not enough, about. > > I think: > > #define MAKE_SET(set, sym, type) \ > asm(".stabs \"_" #set "\", " #type ", 0, 0, _" #sym) If you used up to date source, you would know that the above macro now looks like this: #define MAKE_SET(set, sym, type) \ static void *const __set_##set##_sym_##sym = \ (&__set_##set##_sym_##sym, &sym, 0); \ asm(".stabs \"_" #set "\", " #type ", 0, 0, _" #sym) and that it (according to the gcc manual) ensures that the compiler will not remove your static and "secretly" referenced Symbols. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.