2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / gold / stringpool.h
index ed549b48905868ed192fe1a328e40bf322b13a3d..05c498e49fac165faab2cf566cb5c0af67b7877f 100644 (file)
@@ -63,7 +63,10 @@ class Stringpool
   // Get the size of the ELF strtab.
   off_t
   get_strtab_size() const
-  { return this->strtab_size_; }
+  {
+    gold_assert(this->strtab_size_ != 0);
+    return this->strtab_size_;
+  }
 
   // Write the strtab into the output file at the specified offset.
   void
This page took 0.022898 seconds and 4 git commands to generate.