Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 1996 19:29:29 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   Re: `const char rcsid[]' vs -traditional
Message-ID:  <199608011729.TAA19056@uriah.heep.sax.de>
In-Reply-To: <199607311134.VAA24793@godzilla.zeta.org.au> from Bruce Evans at "Jul 31, 96 09:34:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608011729.TAA19056>