mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Added code to cope with a constant offset to a ZDA relocation.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
Thu Sep 18 14:11:56 1997 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/tc-v850.c (md_assemble): Cope with a zero data area
|
||||
relocation with a constant offset.
|
||||
|
||||
Thu Sep 18 11:24:01 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names.
|
||||
|
@ -1248,6 +1248,10 @@ md_assemble (str)
|
||||
{
|
||||
switch (reloc)
|
||||
{
|
||||
case BFD_RELOC_V850_ZDA_16_16_OFFSET:
|
||||
/* To cope with "not1 7, zdaoff(0xfffff006)[r0]" and the like. */
|
||||
/* Fall through. */
|
||||
|
||||
case BFD_RELOC_LO16:
|
||||
{
|
||||
/* Truncate, then sign extend the value. */
|
||||
@ -1289,7 +1293,8 @@ md_assemble (str)
|
||||
/* end-sanitize-v850e */
|
||||
|
||||
default:
|
||||
as_bad ( "AAARG -> unhandled constant reloc");
|
||||
fprintf (stderr, "reloc: %d\n", reloc);
|
||||
as_bad ("AAARG -> unhandled constant reloc");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user