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]

Re: Update readelf to know about the new ELF constants


Nick Clifton <nickc@redhat.com> writes:

> Or, if you do not like the fill-the-gaps approach, how about:

It's not up to us liking or not the gaps.  They are probably there for
some reason.

> 
>   #define EM_AVR        83   /* Atmel AVR 8-bit microcontroller.  */
>   #define EM_FR30       84   /* Fujitsu FR30.  */
>   #define EM_D10V       85   /* Mitsubishi D10V.  */
>   #define EM_D30V       86   /* Mitsubishi D30V.  */
>   #define EM_ALPHA      87   /* DEC Alpha.  */
>   #define EM_V850       88   /* NEC v850.  */
>   #define EM_ARC        89   /* ARC Cores.  */
>   #define EM_M32R       90   /* Mitsubishi M32R.  */
>   #define EM_MN10300    91   /* Matsushita MN10300.  */
>   #define EM_MN10200    92   /* Matsushita MN10200.  */
>   #define EM_PJ         93   /* picoJava.  */

I'd have no problems with this but you really have to ask the people
using the toolchains.  The numbers might be tested for by the loaders
on the various platforms.  E.g., you cannot change the number for any
architecture Linux is using (which includes Alpha) unless you extend
ld.so to recognize the old and the new number.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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