From 53843f8edb1ff86f29a1857bb8015deb7cadbce2 Mon Sep 17 00:00:00 2001
From: Rafael Espindola
Date: Sun, 8 Aug 2010 21:14:26 +0000
Subject: [PATCH] s/libLLVMgold/LLVMgold/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110552 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/GoldPlugin.html | 8 ++++----
tools/gold/README.txt | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/GoldPlugin.html b/docs/GoldPlugin.html
index 66e099bad0a..3f2e9fb2e64 100644
--- a/docs/GoldPlugin.html
+++ b/docs/GoldPlugin.html
@@ -79,7 +79,7 @@ placed.
the plugin .so file. To find out what link command gcc
would run in a given situation, run gcc -v [...] and look
for the line where it runs collect2. Replace that with
- ld-new -plugin /path/to/libLLVMgold.so to test it out. Once you're
+ ld-new -plugin /path/to/LLVMgold.so to test it out. Once you're
ready to switch to using gold, backup your existing /usr/bin/ld
then replace it with ld-new.
You can produce bitcode files from llvm-gcc using
@@ -91,7 +91,7 @@ placed.
linker, which is why you need gold to be the installed system linker in your
path.
If you want ar and nm to work seamlessly as well, install
- libLLVMgold.so to /usr/lib/bfd-plugins. If you built your
+ LLVMgold.so to /usr/lib/bfd-plugins. If you built your
own gold, be sure to install the ar and nm-new you built to
/usr/bin.
@@ -157,9 +157,9 @@ $ llvm-gcc -use-gold-plugin a.a b.o -o main # <-- link with LLVMgold plugin
bitcode, everything is in place for an easy to use LTO build of autotooled
projects:
- - Follow the instructions on how to build libLLVMgold.so.
+ - Follow the instructions on how to build LLVMgold.so.
- Install the newly built binutils to $PREFIX
- - Copy Release/lib/libLLVMgold.so to
+
- Copy Release/lib/LLVMgold.so to
$PREFIX/libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/ and
$PREFIX/lib/bfd-plugins/
- Set environment variables ($PREFIX is where you installed llvm-gcc and
diff --git a/tools/gold/README.txt b/tools/gold/README.txt
index 92ee3d16afb..a906a9083ec 100644
--- a/tools/gold/README.txt
+++ b/tools/gold/README.txt
@@ -14,8 +14,8 @@ Then build binutils with "make all-gold".
To build the LLVMgold plugin, configure LLVM with the option
--with-binutils-include=/path/to/binutils/src/include/ --enable-pic. To use the
-plugin, run "ld-new --plugin /path/to/libLLVMgold.so".
-Without PIC libLTO and libLLVMgold are not being built (because they would fail
+plugin, run "ld-new --plugin /path/to/LLVMgold.so".
+Without PIC libLTO and LLVMgold are not being built (because they would fail
link on x86-64 with a relocation error: PIC and non-PIC can't be combined).
As an alternative to passing --enable-pic, you can use 'make ENABLE_PIC=1' in
your entire LLVM build.
--
2.34.1