This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [PATCH/RFC] Map .coment/.note to BSD/POSIX symbol types


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


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