title: How to preprocess an ld linker script?
body: <p>I was digging into the art of linkage scripting when I crossed the sources of the <a href="https://github.com/l4ka/pistachio/tree/c775191a0d004eb761e594ed6ea3aacccf6c7d33" rel="nofollow">L4 Pistachio micro-kernel</a>. What hurts me is how <strong>C</strong> preprocessor syntax is used in linker scripts, <a href="https://github.com/l4ka/pistachio/blob/c775191a0d004eb761e594ed6ea3aacccf6c7d33/kernel/src/glue/v4-x86/x64/linker.lds" rel="nofollow">here for example</a> (line 35)!</p>
  
  <pre><code>[...]
  
  #include INC_GLUE_SA(offsets.h)
  
  [...]
  </code></pre>
  
  <p>I find no documentation about it nowhere, and I have answers like "this is not possible". But I think it's there because it's usable anyhow... But HOW?
  I obviously tried something like "gcc -E", didn't work.</p>
  
  <p>As this possibility looks interesting to me, do you have any information about this?</p>