This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Update readelf to know about the new ELF constants
- To: Nick Clifton <nickc at redhat dot com>
- Subject: Re: Update readelf to know about the new ELF constants
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 27 Nov 2000 12:20:17 -0800
- Cc: hjl at valinux dot com, binutils at sources dot redhat dot com
- References: <200011271938.LAA19423@elmo.cygnus.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------