[ELF] - Inform user that we do not support dynamic relocations against text segment.

It was reported in PR28020, that lld does not link code which
gold do. But in fact that is expected behavior as we do not
support DT_TEXTREL.

This patch changes error message as it can report about relocations against
text segments exclusively, other dynamic relocations errors can 
be handled separately.

Differential revision: http://reviews.llvm.org/D21133

llvm-svn: 272377
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index 79e900b..d3f5ef2 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -401,8 +401,8 @@
   // only memory. We can hack around it if we are producing an executable and
   // the refered symbol can be preemepted to refer to the executable.
   if (Config->Shared || (Config->Pic && !isRelExpr(Expr))) {
-    error("relocation " + getRelName(Type) +
-          " cannot be used when making a shared object; recompile with -fPIC.");
+    error("can't create dynamic relocation " + getRelName(Type) +
+          " against readonly segment");
     return Expr;
   }
   if (Body.getVisibility() != STV_DEFAULT) {