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


   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

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