2007-02-02 H.J. Lu <hongjiu.lu@intel.com>

* avr-dis.c (avr_operand): Correct PR number in comment.
This commit is contained in:
H.J. Lu 2007-02-02 22:54:50 +00:00
parent cd3756991a
commit c4f5c3d74c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
* avr-dis.c (avr_operand): Correct PR number in comment.
2007-02-02 H.J. Lu <hongjiu.lu@intel.com> 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
* disassemble.c (disassembler_usage): Call * disassemble.c (disassembler_usage): Call

View File

@ -140,7 +140,7 @@ avr_operand (unsigned int insn, unsigned int insn2, unsigned int pc, int constra
case 'h': case 'h':
*sym = 1; *sym = 1;
*sym_addr = ((((insn & 1) | ((insn & 0x1f0) >> 3)) << 16) | insn2) * 2; *sym_addr = ((((insn & 1) | ((insn & 0x1f0) >> 3)) << 16) | insn2) * 2;
/* See PR binutils/2545. Ideally we would like to display the hex /* See PR binutils/2454. Ideally we would like to display the hex
value of the address only once, but this would mean recoding value of the address only once, but this would mean recoding
objdump_print_address() which would affect many targets. */ objdump_print_address() which would affect many targets. */
sprintf (buf, "%#lx", (unsigned long) *sym_addr); sprintf (buf, "%#lx", (unsigned long) *sym_addr);