title: Make Executable Binary File From Elf Using GNU objcopy
body: <p>I'd like to copy an executable ELF file via:</p>
  
  <pre><code>$ objcopy -O binary myfile.elf myfile.bin
  </code></pre>
  
  <p>Unfortunately:</p>
  
  <pre><code>$ chmod +x myfile.bin
  $ ./myfile.bin
  </code></pre>
  
  <p>results in: cannot execute binary file</p>
  
  <p>Is there any way to retain the files executability?</p>