title: Add source code to elf file
body: <p>I want to add my C++ source code to the corresponding <code>elf</code> binary file and I'm looking for the best way to do this. (I'm using several versions of my code and not every version should be committed into svn).</p>
  
  <p>Can I just append the source code without destroying the <code>elf</code> file using bash's <code>&gt;&gt;</code> operator?
  Or is <code>objcopy --add-section</code> a way to do this?</p>
  
  <p>By the way, is there a better idea that just <code>grep</code>'ing all <code>#include</code> lines recursively from the source code files to determine ALL source code files that are used?</p>