mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
* config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
and sdaoff expressions.
This commit is contained in:
@ -1,6 +1,9 @@
|
|||||||
start-sanitize-v850
|
start-sanitize-v850
|
||||||
Wed Oct 16 11:28:31 1996 Jeffrey A Law (law@cygnus.com)
|
Wed Oct 16 11:28:31 1996 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
|
||||||
|
and sdaoff expressions.
|
||||||
|
|
||||||
* write.c (fixup_segment): Don't add symbol value to addend if
|
* write.c (fixup_segment): Don't add symbol value to addend if
|
||||||
TC_V850 and OBJ_ELF.
|
TC_V850 and OBJ_ELF.
|
||||||
* config/tc-v850.h (tc_fix_adjustable): Don't adjust any
|
* config/tc-v850.h (tc_fix_adjustable): Don't adjust any
|
||||||
|
@ -469,6 +469,24 @@ v850_reloc_prefix()
|
|||||||
return BFD_RELOC_LO16;
|
return BFD_RELOC_LO16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strncmp (input_line_pointer, "sdaoff(", 7) == 0)
|
||||||
|
{
|
||||||
|
input_line_pointer += 7;
|
||||||
|
return BFD_RELOC_V850_SDA_OFFSET;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strncmp (input_line_pointer, "zdaoff(", 7) == 0)
|
||||||
|
{
|
||||||
|
input_line_pointer += 7;
|
||||||
|
return BFD_RELOC_V850_ZDA_OFFSET;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strncmp (input_line_pointer, "tdaoff(", 7) == 0)
|
||||||
|
{
|
||||||
|
input_line_pointer += 7;
|
||||||
|
return BFD_RELOC_V850_TDA_OFFSET;
|
||||||
|
}
|
||||||
|
|
||||||
/* FIXME: implement sda, tda, zda here */
|
/* FIXME: implement sda, tda, zda here */
|
||||||
|
|
||||||
return BFD_RELOC_UNUSED;
|
return BFD_RELOC_UNUSED;
|
||||||
|
Reference in New Issue
Block a user