<div dir="ltr">Note that this change does not change anything with the existing behavior. These ordinal things are currently set but no one uses it. It's dead code.<div><br></div><div>File ordinals, which is different from the ordinal of Input Element, are still there and being used.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 2, 2014 at 4:45 PM, 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"><br>
  a) This is the only thing that we have to know the position of files that appeared in the command line and if there is a need to reorder to command line similar to lorder within lld.<br>
<br>
  <a href="http://www.unix.com/man-page/linux/1/LORDER/" target="_blank">http://www.unix.com/man-page/linux/1/LORDER/</a> may give you more information.<br>
<br>
  b) Users can set ordinals and change the command line order if they dont want the input element to be placed at that position. I believe MachO had a requirement on the InputGraph to move input elements to the end if they are libraries.<br>


<br>
  If Nick/Michael feel its not needed to do this, then I would be ok to remove it.<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D3270" target="_blank">http://llvm-reviews.chandlerc.com/D3270</a><br>
</blockquote></div><br></div>