diff options
author | Ian Lance Taylor <iant@google.com> | 2006-11-07 04:40:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-11-07 04:40:46 +0000 |
commit | f0641a0b382db7403f04fab3d4e8fac25a2b68af (patch) | |
tree | 54a6fb51e4cc45215470f8cb2812534c1fc911b4 /gold/object.cc | |
parent | 7c8fe5c4802b8ed8863c41264e0bf77e46d6bdcb (diff) | |
download | ppe42-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.cc | 2 |
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; } |