mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
2010-09-27 Tejas Belagod <tejas.belagod@arm.com>
* gas/config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative VSTR, issue an error in THUMB mode. * opcodes/arm_dis.c (print_insn_coprocessor): Apply off-by-alignment correction to unaligned PCs while printing comment. * gas/testsuite/gas/arm/vldr.s: New test for pc-relative VLDR disassembly comment. * gas/testsuite/gas/arm/vldr.d: Likewise. * gas/testsuite/gas/arm/vstr-bad.s: New test for PC-relative VSTR. * gas/testsuite/gas/arm/vstr-thumb-bad.l: Likewise. * gas/testsuite/gas/arm/vstr-thumb-bad.d: Likewise. * gas/testsuite/gas/arm/vstr-arm-bad.l: Likewise. * gas/testsuite/gas/arm/vstr-arm-bad.d: Likewise.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2010-09-27 Tejas Belagod <tejas.belagod@arm.com>
|
||||
|
||||
* arm_dis.c (print_insn_coprocessor): Apply off-by-alignment
|
||||
correction to unaligned PCs while printing comment.
|
||||
|
||||
2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
||||
|
||||
* arm-dis.c (arm_opcodes): Add Virtualiztion Extensions support.
|
||||
|
@ -1910,8 +1910,12 @@ print_insn_coprocessor (bfd_vma pc,
|
||||
if (rn == 15 && (PRE_BIT_SET || WRITEBACK_BIT_SET))
|
||||
{
|
||||
func (stream, "\t; ");
|
||||
info->print_address_func (offset + pc
|
||||
+ info->bytes_per_chunk * 2, info);
|
||||
/* For unaligned PCs, apply off-by-alignment
|
||||
correction. */
|
||||
info->print_address_func (offset + pc
|
||||
+ info->bytes_per_chunk * 2
|
||||
- (pc & 3),
|
||||
info);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user