<div dir="ltr">Currently there's no way to specify symbol orders. If someone wants to reorder symbols in a special manner, one needs to use LLD as a library and write a custom pass to enforce some specific ordering. That means they can reorder symbols in their pass, rather than doing tricky things with layout references and let the LayoutPass to sort them. The LayoutPass is overdesigned and hard to use. Let's not depend on that too much.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 28, 2015 at 11:05 AM, Shankar Kalpathi Easwaran <span dir="ltr"><<a href="mailto:shankarke@gmail.com" target="_blank">shankarke@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Several of our customers want this functionality of ordering functions/data(without linker scripts) to just take an order file and order them appropriately.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<a href="http://reviews.llvm.org/D7212" target="_blank">http://reviews.llvm.org/D7212</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>