how do I enable ELF64

Hardy Thomas hardy at thomas.name
Thu Jun 3 01:48:43 UTC 2004


I have a Redhat Linux ES 3 running on a dual AMD opteron box. I have a
binary file that seems to be in a 64-bit binary format. The file command
on the binary return the following info which seem to indicate that the
machine knows of the file format but when I run the executable (after
setting execute permissions on the file) I get 'binary file cannot be
executed error': if someone could tell me how to enable the ELF-64
binary format such that the BDF libraries know of it I would appreciate
it.
________________________________________________

$ file install.sfx.4888
install.sfx.4888: ELF 64-bit LSB executable, AMD x86-64, version 1
(SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs),
stripped
________________________________________________
When I run the objdump -i to list the binary formats recognized by BDF I
get the following:

$ objdump -i
BFD header file version 2.14.90.0.4 20030523
elf32-i386
 (header little endian, data little endian)
  i386
a.out-i386-linux
 (header little endian, data little endian)
  i386
efi-app-ia32
 (header little endian, data little endian)
  i386
elf32-little
 (header little endian, data little endian)
  i386
elf32-big
 (header big endian, data big endian)
  i386
srec
 (header endianness unknown, data endianness unknown)
  i386
symbolsrec
 (header endianness unknown, data endianness unknown)
  i386
tekhex
 (header endianness unknown, data endianness unknown)
  i386
binary
 (header endianness unknown, data endianness unknown)
  i386
ihex
 (header endianness unknown, data endianness unknown)
  i386
trad-core
 (header endianness unknown, data endianness unknown)
 
               elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little
elf32-big
          i386 elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little
elf32-big
 
               srec symbolsrec tekhex binary ihex trad-core
          i386 srec symbolsrec tekhex binary ihex ---------
___________________________________________

My machine info:

$ uname -a
Linux pioneer 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:10:37 EDT 2004 i686
athlon i386 GNU/Linux








More information about the amd64-list mailing list