diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2016-06-27 16:50:29 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-06-27 16:50:29 +0100 |
commit | 45a54ee57764e34fe2fe8b7655fabef38936a696 (patch) | |
tree | 551ecf9611ec83b8fe08baf6572cdc030ee0bcae /gas/config/tc-arc.c | |
parent | 42b7a39bf6eb2e90fb1b07c2d53d7a93263508d2 (diff) | |
download | fsf-binutils-gdb-45a54ee57764e34fe2fe8b7655fabef38936a696.zip fsf-binutils-gdb-45a54ee57764e34fe2fe8b7655fabef38936a696.tar.gz fsf-binutils-gdb-45a54ee57764e34fe2fe8b7655fabef38936a696.tar.bz2 |
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.
Diffstat (limited to 'gas/config/tc-arc.c')
-rw-r--r-- | gas/config/tc-arc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c index 5755821..155d991 100644 --- a/gas/config/tc-arc.c +++ b/gas/config/tc-arc.c @@ -4160,7 +4160,7 @@ void tc_arc_frame_initial_instructions (void) { /* Stack pointer is register 28. */ - cfi_add_CFA_def_cfa_register (28); + cfi_add_CFA_def_cfa (28, 0); } int |