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:

>   #define EM_AVR        0x1057   /* Atmel AVR 8-bit microcontroller.  */
>   #define EM_FR30       0x3330   /* Fujitsu FR30.  */
>   #define EM_D10V       0x7650   /* Mitsubishi D10V.  */
>   #define EM_D30V       0x7676   /* Mitsubishi D30V.  */
>   #define EM_ALPHA      0x9026   /* DEC Alpha.  */
>   #define EM_V850       0x9080   /* NEC v850.  */
>   #define EM_ARC        0x9040   /* Argonaut Risc Core.  */
>   #define EM_M32R       0x9041   /* Mitsubishi M32R.  */
>   #define EM_MN10300    0xbeef   /* Matsushita MN10300.  */
>   #define EM_MN10200    0xdead   /* Matsushita MN10200.  */

I''m not sure this will be OK.  All the numbers allocates are in
sequence (with a few holes left).  Besides, there is already a EM_ALPHA.

-- 
---------------.                          ,-.   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]