<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Aug 2, 2014 at 7:51 AM, Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be" target="_blank">jonas.maebe@elis.ugent.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 01/08/14 19:37, Reid Kleckner wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What happens if you drop appending linkage?  I think it will just work,<br>
since you are already using a custom section, which will ensure that all<br>
the data appears contiguously in memory.<br>
</blockquote>
<br></div>
Thanks for the suggestion, but it still puts everything in a single .section statement.</blockquote><div><br></div><div>Try giving the globals linkonce_odr linkage instead of external linkage manually?  This is essentially the effect of -fdata-sections, except it happens later during codegen.</div>
</div></div></div>