This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH/RFC] Map .coment/.note to BSD/POSIX symbol types
- From: Ian Lance Taylor <ian at airs dot com>
- To: Elias Athanasopoulos <elathan at phys dot uoa dot gr>
- Cc: binutils at sources dot redhat dot com
- Date: 23 May 2003 09:24:47 -0700
- Subject: Re: [PATCH/RFC] Map .coment/.note to BSD/POSIX symbol types
- References: <20030523183235.C7065@neutrino.particles.org>
Elias Athanasopoulos <elathan@phys.uoa.gr> writes:
> Both .comment and .note sections do not have a BSD/POSIX symbol type. They
> are shown as '?'. I don't like the following patch very much, since it may
> bring confusion to parsers. What about adding a new, 'n' maybe, symbol type?
Using 'r' for sections which are not loaded is a bad idea. If you
want to put in a check for SEC_LOAD, then your patch is fine.
Otherwise, I think it would be quite reasonable to use 'N', which
indicates a debugging section. If you think it would be useful to
distinguish these symbols from symbols which are strictly for
debugging, then 'n' would be OK by me.
Ian