summaryrefslogtreecommitdiffstats
path: root/gold/object.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-11-07 04:40:46 +0000
committerIan Lance Taylor <iant@google.com>2006-11-07 04:40:46 +0000
commitf0641a0b382db7403f04fab3d4e8fac25a2b68af (patch)
tree54a6fb51e4cc45215470f8cb2812534c1fc911b4 /gold/object.cc
parent7c8fe5c4802b8ed8863c41264e0bf77e46d6bdcb (diff)
downloadppe42-binutils-f0641a0b382db7403f04fab3d4e8fac25a2b68af.tar.gz
ppe42-binutils-f0641a0b382db7403f04fab3d4e8fac25a2b68af.zip
Rework stringpool and hash tables so that we always generate the same
output regardless of randomize_va_space.
Diffstat (limited to 'gold/object.cc')
-rw-r--r--gold/object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/object.cc b/gold/object.cc
index 22e89a9604..956366cdf0 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -628,7 +628,7 @@ Sized_relobj<size, big_endian>::do_finalize_local_symbols(off_t off,
if (sym.get_st_type() != elfcpp::STT_SECTION)
{
- pool->add(pnames + sym.get_st_name());
+ pool->add(pnames + sym.get_st_name(), NULL);
off += sym_size;
++count;
}
OpenPOWER on IntegriCloud