diff options
author | Nick Clifton <nickc@redhat.com> | 1997-09-18 21:09:14 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1997-09-18 21:09:14 +0000 |
commit | 920b87c43724f613f00c167a34515078346af717 (patch) | |
tree | f9bfdbe2672a0c16e753360816bcaf89df6f9335 /gas/config/tc-v850.c | |
parent | 90a579fafdc1eaa80ce5f1e4fc223dc93d076d8a (diff) | |
download | gdb-920b87c43724f613f00c167a34515078346af717.zip gdb-920b87c43724f613f00c167a34515078346af717.tar.gz gdb-920b87c43724f613f00c167a34515078346af717.tar.bz2 |
Added code to cope with a constant offset to a ZDA relocation.
Diffstat (limited to 'gas/config/tc-v850.c')
-rw-r--r-- | gas/config/tc-v850.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index b18cf24..48ee16e 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -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. */ @@ -1287,9 +1291,10 @@ md_assemble (str) ex.X_add_number = 0; break; /* end-sanitize-v850e */ - + default: - as_bad ( "AAARG -> unhandled constant reloc"); + fprintf (stderr, "reloc: %d\n", reloc); + as_bad ("AAARG -> unhandled constant reloc"); break; } |