Update readelf to know about the new ELF constants

Andreas Jaeger aj@suse.de
Tue Dec 12 23:38:00 GMT 2000


>>>>> Nick Clifton writes:

Nick> Hi Andreas,
Nick> : 2000-12-04  Andreas Jaeger  <aj@suse.de>
Nick> : 
Nick> : 	* readelf.c (guess_is_rela): Add EM_X86_64.
Nick> : 	(dump_relocations): Add EM_X86_64.
Nick> : 	(get_machine_name): Add EM_X86_64.
Nick> : 	Include "elf/x86-64.h".

Nick> Approved and applied.

Nick> Note - you had the #include of elf/x86-64.h in the wrong place (before
Nick> the definition of RELOC_MACROS_GEN_FUNC) which might have been the
Nick> cause of the problems that you were seeing.  I have fixed this in the
Nick> sources that I checked in.

That was the difference - I shouldn't have manually merged it :-(.

Thanks a lot,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Binutils mailing list