aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-avr.c
diff options
context:
space:
mode:
authorDenis Chertykov <chertykov@gmail.com>2016-06-09 19:00:57 +0300
committerDenis Chertykov <chertykov@gmail.com>2016-06-09 19:00:57 +0300
commit1857fe72aff6f254217956d141bff4b9ca454bc5 (patch)
tree85738760d7e2c8810e930388514e7a293482bed2 /bfd/elf32-avr.c
parent337c570c5f4442459d3324c9429ad80840094015 (diff)
downloadgdb-1857fe72aff6f254217956d141bff4b9ca454bc5.zip
gdb-1857fe72aff6f254217956d141bff4b9ca454bc5.tar.gz
gdb-1857fe72aff6f254217956d141bff4b9ca454bc5.tar.bz2
Print symbol names in comments for LDS/STS disassembly.
This patch adds default data address space origin (0x800000) to the symbol addresses. when disassemble lds/sts instructions. So that symbol names shall be printed in comments for lds/sts instructions disassemble. ld/ * testsuite/ld-avr/lds-mega.d: New test. * testsuite/ld-avr/lds-mega.s: New test source. * testsuite/ld-avr/lds-tiny.d: New test. * testsuite/ld-avr/lds-tiny.s: New test source. opcodes/ * avr-dis.c (avr_operand): Add default data address space origin (0x800000) to the address and set as symbol address for LDS/ STS immediate operands.
Diffstat (limited to 'bfd/elf32-avr.c')
0 files changed, 0 insertions, 0 deletions