diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2018-08-03 10:02:39 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-08-03 10:02:39 +0100 |
commit | 2688aab226c6d8871af4cf53ea5651e06f104744 (patch) | |
tree | 2c32180e5a4a87d1a9a6ee64944c56aa95f65c39 /gdb/gdb_regex.c | |
parent | dbf8be89edf7b6443fa0b7d31ca6d6ad202fadae (diff) | |
download | gdb-2688aab226c6d8871af4cf53ea5651e06f104744.zip gdb-2688aab226c6d8871af4cf53ea5651e06f104744.tar.gz gdb-2688aab226c6d8871af4cf53ea5651e06f104744.tar.bz2 |
Update PRU assembler to corect hardware register numbering for DWARF.
A small rework of the PRU GCC port exposed that CIE data alignment is
erroneously set to 4 for PRU in GAS. In fact PRU stack must be aligned to 1.
Set the macro to -1, to allow output from GCC to be assembled without errors.
Also, while at it, set DWARF2 HW register numbering to follow latest
* config/tc-pru.c (pru_regname_to_dw2regnum): Return the starting HW
byte-register number.
(pru_frame_initial_instructions): Use byte-numbering for FP index.
* config/tc-pru.h (DWARF2_DEFAULT_RETURN_COLUMN): Use number from
latest GCC.
(DWARF2_CIE_DATA_ALIGNMENT): Set to -1.
Diffstat (limited to 'gdb/gdb_regex.c')
0 files changed, 0 insertions, 0 deletions