aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 50d266a..2b38f16 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jul 22 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
+ BFD_RELOC_PCREL_LO16 are expected to be PC relative.
+
Mon Jul 22 12:46:55 1996 Richard Henderson <rth@tamu.edu>
* tc-alpha.c: Patches to track current minimum alignment to reduce
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,