diff options
author | Jeff Law <law@redhat.com> | 1997-07-29 20:19:02 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1997-07-29 20:19:02 +0000 |
commit | d222309aef92cd95616b0927d7652127f2777dbf (patch) | |
tree | 432a7e80b62116e7113107814f9db15837c4fc60 /gas/config | |
parent | 3b53c82a110e5cd6c37179f027c64aca07df5b83 (diff) | |
download | gdb-d222309aef92cd95616b0927d7652127f2777dbf.zip gdb-d222309aef92cd95616b0927d7652127f2777dbf.tar.gz gdb-d222309aef92cd95616b0927d7652127f2777dbf.tar.bz2 |
* config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
LO16, HI16 and HI16_S relocs.
pr12979
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-v850.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index 5c920a2..59dfb6c 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -887,6 +887,15 @@ md_assemble (str) &fixups[i].exp, reloc_howto->pc_relative, fixups[i].reloc); + + switch (fixups[i].reloc) + { + case BFD_RELOC_LO16: + case BFD_RELOC_HI16: + case BFD_RELOC_HI16_S: + fixP->fx_no_overflow = 1; + break; + } } else { |