From owner-freebsd-current Thu Aug 1 10:51:15 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA27884 for current-outgoing; Thu, 1 Aug 1996 10:51:15 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA27879 for ; Thu, 1 Aug 1996 10:51:12 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA06810 for ; Thu, 1 Aug 1996 19:51:04 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id TAA04055 for freebsd-current@FreeBSD.org; Thu, 1 Aug 1996 19:51:04 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id TAA19056 for freebsd-current@FreeBSD.org; Thu, 1 Aug 1996 19:29:29 +0200 (MET DST) From: J Wunsch Message-Id: <199608011729.TAA19056@uriah.heep.sax.de> Subject: Re: `const char rcsid[]' vs -traditional To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Thu, 1 Aug 1996 19:29:29 +0200 (MET DST) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199607311134.VAA24793@godzilla.zeta.org.au> from Bruce Evans at "Jul 31, 96 09:34:37 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Bruce Evans wrote: > > #ident "$Id: frobble.c,v ..." > > >What does the C standard say about #ident? > #ident is a syntax error. What about ``#pragma ident''? > Anyway, we shouldn't use #ident because it is impossible to hide the details > in a macro. Of course, this cannot be solved with #pragma either. We definately need more sections in the object file (and thus likely ELF format) in order to move the #ident's out of the .text section, without omitting them from the binary file. Maybe we could abuse __attribute__ to force data or code into different sections? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)