Skip to content
Commit 7f3b57ca authored by Stephen Wilson's avatar Stephen Wilson
Browse files

Test if an ELF object is executable by checking if an entry point is defined.

The previous check on header type ET_EXEC is not general enough.  Position
independent executables have type ET_DYN.

llvm-svn: 123498
parent b7a3c42e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment