Fix syntax error in aix-thread.c:sync_threadlists
[deliverable/binutils-gdb.git] / gold / stringpool.cc
index 072b00df7a393d444835ea0003cd6bfa2f7b7617..665fcc8ce59d7e62dcebd9c36dbdda88b2dfa097 100644 (file)
@@ -222,9 +222,10 @@ Stringpool_template<Stringpool_char>::new_key_offset(size_t length)
     offset = 0;
   else
     {
+      offset = this->offset_;
       // Align non-zero length strings.
       if (length != 0)
-       offset = align_address(this->offset_, this->addralign_);
+       offset = align_address(offset, this->addralign_);
       this->offset_ = offset + (length + 1) * sizeof(Stringpool_char);
     }
   this->key_to_offset_.push_back(offset);
This page took 0.022704 seconds and 4 git commands to generate.