<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 10, 2014 at 4:40 PM, Shankar Easwaran <span dir="ltr"><<a href="mailto:shankare@codeaurora.org" target="_blank">shankare@codeaurora.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: shankare<br>
Date: Mon Nov 10 18:40:38 2014<br>
New Revision: 221650<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=221650&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=221650&view=rev</a><br>
Log:<br>
[ELF] Change order of section match.<br>
<br>
Addressed comments from Sean silva.<br></blockquote><div><br>Should this be covered by a test case of some kind?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Modified:<br>
lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h<br>
<br>
Modified: lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h?rev=221650&r1=221649&r2=221650&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h?rev=221650&r1=221649&r2=221650&view=diff</a><br>
==============================================================================<br>
--- lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h (original)<br>
+++ lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h Mon Nov 10 18:40:38 2014<br>
@@ -360,8 +360,8 @@ Layout::SectionOrder DefaultLayout<ELFT><br>
.StartsWith(".init_array", ORDER_INIT_ARRAY)<br>
.StartsWith(".fini_array", ORDER_FINI_ARRAY)<br>
.StartsWith(".dynamic", ORDER_DYNAMIC)<br>
- .StartsWith(".got", ORDER_GOT)<br>
.StartsWith(".got.plt", ORDER_GOT_PLT)<br>
+ .StartsWith(".got", ORDER_GOT)<br>
.Default(ORDER_DATA);<br>
<br>
case DefinedAtom::typeZeroFill:<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div></div>