Remove extraneous newlines.
authorIan Lance Taylor <iant@google.com>
Sun, 14 Oct 2007 06:57:58 +0000 (06:57 +0000)
committerIan Lance Taylor <iant@google.com>
Sun, 14 Oct 2007 06:57:58 +0000 (06:57 +0000)
gold/archive.cc
gold/fileread.cc
gold/i386.cc
gold/output.cc
gold/script.cc
gold/x86_64.cc

index e7a87824080a9e920c55f7c17d2db4b1ff906d8c..4d95b7901d63f242afe99e06bf5cf4155dc6bb9a 100644 (file)
@@ -196,7 +196,7 @@ Archive::interpret_header(const Archive_header* hdr, off_t off,
       if (name_end == NULL
          || name_end - hdr->ar_name >= static_cast<int>(sizeof hdr->ar_name))
        {
-         gold_error(_("%s: malformed archive header name at %zu\n"),
+         gold_error(_("%s: malformed archive header name at %zu"),
                     this->name().c_str(), static_cast<size_t>(off));
          return this->input_file_->file().filesize() - off;
        }
index ed14d98567be09e554254809e13eba9ebeff1be7..c4145de5cdbc9e4af343817630b8ff7fa85e4530 100644 (file)
@@ -438,7 +438,7 @@ Input_file::open(const General_options& options, const Dirsearch& dirpath)
       name = dirpath.find(n1, n2, &this->is_in_sysroot_);
       if (name.empty())
        {
-         gold_error(_("cannot find -l%s\n"),
+         gold_error(_("cannot find -l%s"),
                     this->input_argument_->name());
          return false;
        }
@@ -465,7 +465,7 @@ Input_file::open(const General_options& options, const Dirsearch& dirpath)
                              &this->is_in_sysroot_);
           if (name.empty())
             {
-              gold_error(_("cannot find %s\n"),
+              gold_error(_("cannot find %s"),
                         this->input_argument_->name());
              return false;
             }
@@ -476,7 +476,7 @@ Input_file::open(const General_options& options, const Dirsearch& dirpath)
   // Now that we've figured out where the file lives, try to open it.
   if (!this->file_.open(name))
     {
-      gold_error(_("cannot open %s: %s\n"),
+      gold_error(_("cannot open %s: %s"),
                 name.c_str(), strerror(errno));
       return false;
     }
index 837f5abdf843dfd181452739bc371e2aa0d7559b..81d02b9ef258ee62c119d8d23160b6e6522af9f2 100644 (file)
@@ -779,7 +779,7 @@ Target_i386::Scan::local(const General_options&,
     case elfcpp::R_386_TLS_DTPOFF32:
     case elfcpp::R_386_TLS_TPOFF32:
     case elfcpp::R_386_TLS_DESC:
-      gold_error(_("%s: unexpected reloc %u in object file\n"),
+      gold_error(_("%s: unexpected reloc %u in object file"),
                 object->name().c_str(), r_type);
       break;
 
index 99a2954f8f9d777a66ba60eee37ffa1ad47fd2b4..60d94968ed3519403f0acc8d818009e25c30d662 100644 (file)
@@ -1718,7 +1718,7 @@ void
 Output_file::close()
 {
   if (::munmap(this->base_, this->file_size_) < 0)
-    gold_error(_("%s: munmap: %s\n"), this->name_, strerror(errno));
+    gold_error(_("%s: munmap: %s"), this->name_, strerror(errno));
   this->base_ = NULL;
 
   if (::close(this->o_) < 0)
index b672385e98cb00793cdfd866d171c0033deb9e88..2cea0c8878767f9305e8105e98887714227a0fac 100644 (file)
@@ -1166,7 +1166,7 @@ yyerror(void* closurev, const char* message)
 {
   Parser_closure* closure = static_cast<Parser_closure*>(closurev);
 
-  gold_error(_("%s: %s\n"), closure->filename(), message);
+  gold_error(_("%s: %s"), closure->filename(), message);
 }
 
 // Called by the bison parser to add a file to the link.
index e454e246e838692a6842f9dc17f69f5f3f7027cd..adba1ccb3263ab8c9b5061e000307b5698fbe606 100644 (file)
@@ -151,7 +151,7 @@ class Target_x86_64 : public Sized_target<64, false>
       if (this->skip_call_tls_get_addr_)
        {
          // FIXME: This needs to specify the location somehow.
-         gold_error(_("missing expected TLS relocation\n"));
+         gold_error(_("missing expected TLS relocation"));
        }
     }