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/RFA]: readelf displays values of special symbol types


Hi Hiroyuki,

> The attached patch enable READELF to display PROCESSOR-specific,
> OS-specific, reserved and unknown symbol type values.
> The attached patch is against 2002-09-05 version of READELF.
> For exsample , without this, you can't distinguish SHN_MIPS_TEXT and 
> SHN_MIPS_DATA for IRIX binaries.

> 	* readelf.c (get_symbol_index_type): Add hex number 
> 	to PROCESSOR-specific, OS-specific, reserved and unknown
> 	symbol type.

I have approved and applied this patch.

Note - I made a small change.  I moved the declaration of 'buff' to
the head of the function and allowed the switch statement to exit,
which makes the code simpler and easier to read/maintain.

Note - I have decided to accept this patch without requiring a
copyright assignment.  We are allowed to accept patches that are
"simple", "small" and "obvious" fixes and felt that this patch fell
into that category.

Cheers
        Nick


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