mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 10:03:47 +08:00
fix endian problem
This commit is contained in:
parent
9f2cd205e8
commit
2c320e3598
@ -398,7 +398,7 @@ bsr (p, a)
|
||||
printf ("reg[7]-=2;\n");
|
||||
printf ("tmp = reg[7];\n");
|
||||
printf ("SET_WORD_MEM(tmp, (npc-saved_state.mem)*2);\n");
|
||||
printf ("npc += (((char *)pc)[1])>>1;\n");
|
||||
printf ("npc += ((char)b1)>>1;\n");
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user