This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: preserving static, global (ident) strings in 3.4.x?
- From: "H. J. Lu" <hjl at lucon dot org>
- To: "Remy X.O. Martin" <vsxo at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 18 Jul 2004 09:59:33 -0700
- Subject: Re: preserving static, global (ident) strings in 3.4.x?
- References: <20040718182610.3614bdbc@bola.college-de-france.fr>
On Sun, Jul 18, 2004 at 06:26:10PM +0200, Remy X.O. Martin wrote:
> Hello,
>
> I'm used to keeping global strings in all my modules, defined via a macro. This allows me to identify how (what compiler, flags, date, etc) each component of my programmes was compiled, using tools like ident or what.
I seem to remember some targets used to generate those information in
the assembly output automatically. It is a very useful feature. For
ELF, they can be put in a special note section.
H.J.