* mips-tdep.c (extended_offset): Fix formatting.

This commit is contained in:
Maciej W. Rozycki 2011-11-24 15:56:25 +00:00
parent cdedd3feb4
commit 130854dfe4
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2011-11-24 Maciej W. Rozycki <macro@codesourcery.com>
* mips-tdep.c (extended_offset): Fix formatting.
2011-11-23 Doug Evans <dje@google.com>
* dwarf2read.c (dw2_lookup_symtab): Add comment.

View File

@ -1321,11 +1321,13 @@ static CORE_ADDR
extended_offset (unsigned int extension)
{
CORE_ADDR value;
value = (extension >> 21) & 0x3f; /* * extract 15:11 */
value = (extension >> 21) & 0x3f; /* Extract 15:11. */
value = value << 6;
value |= (extension >> 16) & 0x1f; /* extract 10:5 */
value |= (extension >> 16) & 0x1f; /* Extract 10:5. */
value = value << 5;
value |= extension & 0x01f; /* extract 4:0 */
value |= extension & 0x1f; /* Extract 4:0. */
return value;
}