Make the kernel dwarf stack unwinder work for ARC targets.
* config//tc-arc.c (tc_arc_frame_initial_instructions): Use cfi_add_CFA_def_cfa to generate default CFA with offset * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
This commit is contained in:
parent
42b7a39bf6
commit
45a54ee577
3 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2016-06-27 Vineet Gupta <vgupta@synopsys.com>
|
||||||
|
|
||||||
|
* config//tc-arc.c (tc_arc_frame_initial_instructions): Use
|
||||||
|
cfi_add_CFA_def_cfa to generate default CFA with offset
|
||||||
|
* testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
|
||||||
|
|
||||||
2016-06-27 Nick Clifton <nickc@redhat.com>
|
2016-06-27 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR gas/20247
|
PR gas/20247
|
||||||
|
|
|
@ -4160,7 +4160,7 @@ void
|
||||||
tc_arc_frame_initial_instructions (void)
|
tc_arc_frame_initial_instructions (void)
|
||||||
{
|
{
|
||||||
/* Stack pointer is register 28. */
|
/* Stack pointer is register 28. */
|
||||||
cfi_add_CFA_def_cfa_register (28);
|
cfi_add_CFA_def_cfa (28, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -11,8 +11,7 @@ Contents of the .eh_frame section:
|
||||||
Return address column: 31
|
Return address column: 31
|
||||||
Augmentation data: 1b
|
Augmentation data: 1b
|
||||||
|
|
||||||
DW_CFA_def_cfa_register: r28
|
DW_CFA_def_cfa: r28 ofs 0
|
||||||
DW_CFA_nop
|
|
||||||
|
|
||||||
00000014 00000020 00000018 FDE cie=00000000 pc=00000000..00000010
|
00000014 00000020 00000018 FDE cie=00000000 pc=00000000..00000010
|
||||||
DW_CFA_advance_loc: 4 to 00000004
|
DW_CFA_advance_loc: 4 to 00000004
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue