This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc2_compiled. vs GCC 3.0
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: gcc2_compiled. vs GCC 3.0
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Fri, 09 Mar 2001 18:20:44 -0800
- cc: gcc at gcc dot gnu dot org
I don't know what linux is using this .version info for.
I would guess that it was a good idea that never went anywhere. You could
perhaps use .version to indicate things like which libgcc ABI is in use.
But it looks like the version info was set once and never changed.
.note sections increase the size of executables on harddisk, but they do
not increase the size of executables in memory, so this should not be a
serious problem for most applications. If you do objdump -x, you can see
that the .note section is not marked "ALLOC". Only "ALLOC" sections use
memory at run-time.
Jim