2018-07-29 John David Anglin * config/tc-hppa.c: Include "struc-symbol.h". (pa_build_unwind_subspace): Use call_info->start_symbol->sy_frag instead of frag_now for local symbol replacement. diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index e69fdb2b39..ccae68cb40 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -23,6 +23,7 @@ #include "as.h" #include "safe-ctype.h" +#include "struc-symbol.h" #include "subsegs.h" #include "dw2gencfi.h" @@ -5989,7 +5990,8 @@ pa_build_unwind_subspace (struct call_info *call_info) else { symbolP = symbol_new (name, now_seg, - S_GET_VALUE (call_info->start_symbol), frag_now); + S_GET_VALUE (call_info->start_symbol), + call_info->start_symbol->sy_frag); gas_assert (symbolP); S_CLEAR_EXTERNAL (symbolP); symbol_table_insert (symbolP);