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]

Re: gcc2_compiled. vs GCC 3.0


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


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