This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: preserving static, global (ident) strings in 3.4.x?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]