title: MSVC++ - Force everything to be put into a single section except for `.reloc`
body: <p>I've tried using Microsoft Visual C++ <code>#pragma section( ".text" )</code> and <code>__declspec(allocate(".text"))</code> on static read-only string data. But there is still a <code>.rdata</code> section in the binary. I am NOT using the standard C libraries. I am using MSVC++ as a bytecode compiler for use with code injection.</p>
  
  <p>It would greatly simplify injection by having read-only data inside the ".text" section and <strong><em>not</em></strong> the ".rdata" section. How can I do that? is there a linker option to stuff everything into one single section, or merge 2 sections together?</p>