From 7b5490456670ef187c1b7c07ba2e9e09512a6d70 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 27 Jun 2014 10:41:31 +0930 Subject: [PATCH] Fix undefined symbol errors from mips.cc * symtab.cc (Symbol::should_add_dynsym_entry): Don't make inline. --- gold/ChangeLog | 4 ++++ gold/symtab.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 1e90dceb1a7..264f127bd7b 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2014-06-27 Alan Modra + + * symtab.cc (Symbol::should_add_dynsym_entry): Don't make inline. + 2014-06-24 Cary Coutant * dwp.cc (Dwo_file::read): Allow files with no .debug_types diff --git a/gold/symtab.cc b/gold/symtab.cc index 4e8afb13edf..b329bb612c6 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -334,7 +334,7 @@ Sized_symbol::allocate_common(Output_data* od, Value_type value) // Return true if this symbol should be added to the dynamic symbol // table. -inline bool +bool Symbol::should_add_dynsym_entry(Symbol_table* symtab) const { // If the symbol is only present on plugin files, the plugin decided we -- 2.30.2