title: Can I easily embed strings In a raw binary?
body: <p>I am aiming to create a raw x86 binary executable from C code. So far, I am able to create a raw binary file using the method described <a href="https://stackoverflow.com/questions/1647359">here</a> (The rest of this question assumes you have read the other question). However, I want to use data like strings too. Since strings are stored in a different section of the object file, which isn't being copied over to the raw binary (when running this command: <code>objcopy -j .text -O binary main.o binfile</code>), I can't use strings though. How would I best embed static data like strings in my binary? (Ideally with a similar method to the one linked)</p>