aboutsummaryrefslogtreecommitdiff
path: root/gold/symtab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/symtab.cc')
-rw-r--r--gold/symtab.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/symtab.cc b/gold/symtab.cc
index 288b966..c7f6816 100644
--- a/gold/symtab.cc
+++ b/gold/symtab.cc
@@ -1791,7 +1791,7 @@ Symbol_table::sized_write_globals(const Input_objects* input_objects,
const Stringpool* dynpool,
Output_file* of) const
{
- const Target* const target = input_objects->target();
+ const Target* const target = parameters->target();
const int sym_size = elfcpp::Elf_sizes<size>::sym_size;
@@ -1966,7 +1966,7 @@ Symbol_table::warn_about_undefined_dynobj_symbol(
&& sym->shndx() == elfcpp::SHN_UNDEF
&& sym->binding() != elfcpp::STB_WEAK
&& !parameters->allow_shlib_undefined()
- && !input_objects->target()->is_defined_by_abi(sym)
+ && !parameters->target()->is_defined_by_abi(sym)
&& !input_objects->found_in_system_library_directory(sym->object()))
{
// A very ugly cast.