<div dir="ltr">Testcase please.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 12:54 PM, Will Schmidt <span dir="ltr"><<a href="mailto:will_schmidt@vnet.ibm.com" target="_blank">will_schmidt@vnet.ibm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Add and update a getArch() stanza during the linker steps, for the<br>
ppc64le target, with "elf64lppc" as the target mode.<br>
---<br>
tools/clang/lib/Driver/Tools.cpp | 2 ++<br>
1 file changed, 2 insertions(+)<br>
<br>
diff --git a/tools/clang/lib/Driver/Tools.cpp b/tools/clang/lib/Driver/Tools.cpp<br>
index 2705721..7f48a94 100644<br>
--- a/tools/clang/lib/Driver/Tools.cpp<br>
+++ b/tools/clang/lib/Driver/Tools.cpp<br>
@@ -6762,6 +6762,8 @@ void gnutools::Link::ConstructJob(Compilation &C, const JobAction &JA,<br>
CmdArgs.push_back("elf32ppclinux");<br>
else if (ToolChain.getArch() == llvm::Triple::ppc64)<br>
CmdArgs.push_back("elf64ppc");<br>
+ else if (ToolChain.getArch() == llvm::Triple::ppc64le)<br>
+ CmdArgs.push_back("elf64lppc");<br>
else if (ToolChain.getArch() == llvm::Triple::sparc)<br>
CmdArgs.push_back("elf32_sparc");<br>
else if (ToolChain.getArch() == llvm::Triple::sparcv9)<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>