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: nickc at redhat dot com
- Subject: Re: Update readelf to know about the new ELF constants
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 27 Nov 2000 11:26:54 -0800
- CC: drepper at cygnus dot com, hjl at valinux dot com, meissner at cygnus dot com, binutils at sources dot redhat dot com
- References: <200011271912.LAA19391@elmo.cygnus.com>
Date: Mon, 27 Nov 2000 11:12:51 -0800
From: Nick Clifton <nickc@redhat.com>
: I''m not sure this will be OK. All the numbers allocates are in
: sequence (with a few holes left).
Is there a good reason for this ? These are just numbers right ?
The values mentioned above are already in use in real code, so
changing them would not be a good idea. Unless there is a real need
to have consecutive EM_ values, I would prefer to leave them alone.
Michael implemented a mechanism for changing EM_* values a while
back. You can put the properly defined value in elf_machine_code, and
move the old arbitrary value to elf_machine_alt1. New objects will be
written with the correct number, but old objects will still be
recognized.
Ian