Local symbols don't have a sy_frag field.
PR 23837
* config/tc-hppa.c: Don't include struc-symbol.h.
(pa_build_unwind_subspace): Call get_symbol_frag rather than
referencing sy_frag.
+2018-10-28 Alan Modra <amodra@gmail.com>
+
+ PR 23837
+ * config/tc-hppa.c: Don't include struc-symbol.h.
+ (pa_build_unwind_subspace): Call get_symbol_frag rather than
+ referencing sy_frag.
+
2018-10-23 John Darrington <john@darrington.wattle.id.au>
* config/tc-s12z.c (md_apply_fix): Handle BFD_RELOC_16 for fixups
#include "as.h"
#include "safe-ctype.h"
-#include "struc-symbol.h"
#include "subsegs.h"
#include "dw2gencfi.h"
{
symbolP = symbol_new (name, now_seg,
S_GET_VALUE (call_info->start_symbol),
- call_info->start_symbol->sy_frag);
+ symbol_get_frag (call_info->start_symbol));
gas_assert (symbolP);
S_CLEAR_EXTERNAL (symbolP);
symbol_table_insert (symbolP);