aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-07-22 18:03:41 +0000
committerIan Lance Taylor <ian@airs.com>1996-07-22 18:03:41 +0000
commit97aca1bcdfb40288d97b40f43eda548a55aee087 (patch)
tree4cc308173e854195d20d76c879c660aa2201d773 /gas/config
parente4024966b224d376d6b94ec2e10e0c9aeff36691 (diff)
downloadgdb-97aca1bcdfb40288d97b40f43eda548a55aee087.zip
gdb-97aca1bcdfb40288d97b40f43eda548a55aee087.tar.gz
gdb-97aca1bcdfb40288d97b40f43eda548a55aee087.tar.bz2
* config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
BFD_RELOC_PCREL_LO16 are expected to be PC relative.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index dd2b599..1f7e256 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -7671,6 +7671,8 @@ tc_gen_reloc (section, fixp)
case BFD_RELOC_16_PCREL:
case BFD_RELOC_32_PCREL:
case BFD_RELOC_16_PCREL_S2:
+ case BFD_RELOC_PCREL_HI16_S:
+ case BFD_RELOC_PCREL_LO16:
break;
default:
as_bad_where (fixp->fx_file, fixp->fx_line,