From 2eed6e9122cbea3ed375a08539e48460035da18a Mon Sep 17 00:00:00 2001
From: John Criswell <criswell@uiuc.edu>
Date: Fri, 24 Oct 2003 18:06:42 +0000
Subject: [PATCH] Added note about multilib options.

llvm-svn: 9476
---
 llvm/docs/CFEBuildInstrs.html | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/llvm/docs/CFEBuildInstrs.html b/llvm/docs/CFEBuildInstrs.html
index 44c3c54d02b3..5e753ab99252 100644
--- a/llvm/docs/CFEBuildInstrs.html
+++ b/llvm/docs/CFEBuildInstrs.html
@@ -108,6 +108,11 @@ process, and you should only try to do it if
   <li>No inline assembly for position independent code.  At the LLVM level,
       everything is position independent.</li>
   <li>We handle <tt>.init</tt> and <tt>.fini</tt> differently.</li>
+  <li>You may have to disable multilib support in your target.  Using multilib
+      support causes the GCC compiler driver to add a lot of "<tt>-L</tt>"
+      options to the link line, which do not relate to LLVM and confuse
+      <tt>gccld</tt>.  To disable multilibs, delete any
+      <tt>MULTILIB_OPTIONS</tt> lines from your target files.</li>
   <li>Did we mention that we don't support inline assembly?  You'll probably
       have to add some fixinclude hacks to disable it in the system
       headers.</li>
-- 
GitLab