diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-12 00:28:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-12 00:28:48 +0000 |
commit | dceae3c154edcb9aada9f94452a72548a82914f5 (patch) | |
tree | b9fb771a92a28b7047bdea1b9e2104e8d6b82f73 /gold/object.cc | |
parent | 709d67f15ab46ff1d18da0e2c2c7dcea140155a5 (diff) | |
download | gdb-dceae3c154edcb9aada9f94452a72548a82914f5.zip gdb-dceae3c154edcb9aada9f94452a72548a82914f5.tar.gz gdb-dceae3c154edcb9aada9f94452a72548a82914f5.tar.bz2 |
Support dynamic relocations against local section symbols.
Diffstat (limited to 'gold/object.cc')
-rw-r--r-- | gold/object.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/object.cc b/gold/object.cc index 1adb851..3db6f85 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -884,12 +884,14 @@ Sized_relobj<size, big_endian>::do_count_local_symbols(Stringpool* pool, if (shndx < shnum && mo[shndx].output_section == NULL) { lv.set_no_output_symtab_entry(); + gold_assert(!lv.needs_output_dynsym_entry()); continue; } if (sym.get_st_type() == elfcpp::STT_SECTION) { lv.set_no_output_symtab_entry(); + gold_assert(!lv.needs_output_dynsym_entry()); continue; } |