title: GreenHills - small data area overflow
body: <p>I'm hoping maybe someone has a quick answer for this but essentially when I turn on optimizations, I get the following error:</p>
  
  <blockquote>
    <p>[elxr] (error) small data area
    overflow: 0xfff9f6fc (signed) didn't
    fit in 16 bits    while performing
    relocation in file test_main.o
        at location __sti___13_test_main_cpp_252229d3+0xc, to reference symbol oe_init_intconn</p>
  </blockquote>
  
  <p>A similar error occurs when I put in this linker directive as well:</p>
  
  <blockquote>
    <p>-auto_sda</p>
  </blockquote>
  
  <p>Their manual doesn't make any mention of this linker error. I'm using Integrity 5.10</p>