mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-22 09:04:58 +00:00
Change moxie branch target encodings.
This commit is contained in:
parent
5eb2d77496
commit
7078b4097f
@ -1,3 +1,8 @@
|
||||
2012-09-07 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* config/tc-moxie.c (md_pcrel_from): Branches are now relative
|
||||
to the address following the branch instruction.
|
||||
|
||||
2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||
|
||||
* config/tc-s390.c (set_highgprs_p): New variable.
|
||||
|
@ -774,7 +774,8 @@ md_pcrel_from (fixS *fixP)
|
||||
case BFD_RELOC_32:
|
||||
return addr + 4;
|
||||
case BFD_RELOC_MOXIE_10_PCREL:
|
||||
return addr;
|
||||
/* Offset is from the end of the instruction. */
|
||||
return addr + 2;
|
||||
default:
|
||||
abort ();
|
||||
return addr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user