• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision254ade2586dffb800a1a08726080ad6e05076ebb (tree)
Time2018-07-30 23:52:34
AuthorJohn David Anglin <danglin@gcc....>
CommiterJohn David Anglin

Log Message

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.

Change Summary

Incremental Difference

--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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+
17 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
28
39 PR gas/23418
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -23,6 +23,7 @@
2323
2424 #include "as.h"
2525 #include "safe-ctype.h"
26+#include "struc-symbol.h"
2627 #include "subsegs.h"
2728 #include "dw2gencfi.h"
2829
@@ -5989,7 +5990,8 @@ pa_build_unwind_subspace (struct call_info *call_info)
59895990 else
59905991 {
59915992 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);
59935995 gas_assert (symbolP);
59945996 S_CLEAR_EXTERNAL (symbolP);
59955997 symbol_table_insert (symbolP);