GNU Binutils with patches for OS216
Revision | 254ade2586dffb800a1a08726080ad6e05076ebb (tree) |
---|---|
Time | 2018-07-30 23:52:34 |
Author | John David Anglin <danglin@gcc....> |
Commiter | John David Anglin |
Fix unwind offset for call_info->start_symbol.
* 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.
@@ -1,3 +1,9 @@ | ||
1 | +2018-07-30 John David Anglin <danglin@gcc.gnu.org> | |
2 | + | |
3 | + * config/tc-hppa.c: Include "struc-symbol.h". | |
4 | + (pa_build_unwind_subspace): Use call_info->start_symbol->sy_frag | |
5 | + instead of frag_now for local symbol replacement. | |
6 | + | |
1 | 7 | 2018-07-18 H.J. Lu <hongjiu.lu@intel.com> |
2 | 8 | |
3 | 9 | PR gas/23418 |
@@ -23,6 +23,7 @@ | ||
23 | 23 | |
24 | 24 | #include "as.h" |
25 | 25 | #include "safe-ctype.h" |
26 | +#include "struc-symbol.h" | |
26 | 27 | #include "subsegs.h" |
27 | 28 | #include "dw2gencfi.h" |
28 | 29 |
@@ -5989,7 +5990,8 @@ pa_build_unwind_subspace (struct call_info *call_info) | ||
5989 | 5990 | else |
5990 | 5991 | { |
5991 | 5992 | symbolP = symbol_new (name, now_seg, |
5992 | - S_GET_VALUE (call_info->start_symbol), frag_now); | |
5993 | + S_GET_VALUE (call_info->start_symbol), | |
5994 | + call_info->start_symbol->sy_frag); | |
5993 | 5995 | gas_assert (symbolP); |
5994 | 5996 | S_CLEAR_EXTERNAL (symbolP); |
5995 | 5997 | symbol_table_insert (symbolP); |