<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 1, 2021 at 3:59 PM Florian Klämpfl via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- you need to get the value of EECR: I would try with <br>
symtable.searchsym_in_module<br>
- for ideas how a load node could generate code for a variable access as <br>
above, I would take the various generate_threadvar_access methods as <br>
example.<br></blockquote><div><br></div><div>Thanks for the hints Florian. I'll look into this.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Is your current code somewhere available?<br></blockquote><div><br></div><div>It is now on Github: <a href="https://github.com/ccrause/freepascal/tree/sectionsupport">https://github.com/ccrause/freepascal/tree/sectionsupport</a></div><div><br></div></div></div>