Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] Some tweaks for ELF



Martin Husemann <martin%duskware.de@localhost> writes:

> Are there any ET_DYN that are not shared libs? Maybe we should remove
> the is_dyn exec support completely.

It looks like some linux binary is ET_DYN rather than ET_EXEC and
exec_elfNN_makecmds is used by comapt code also.

$ readelf -h /usr/bin/man
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
$ uname -a
Linux sigabrt 3.2.0-51-generic #77-Ubuntu SMP Wed Jul 24 20:18:19 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux

enami.


Home | Main Index | Thread Index | Old Index