From 97aca1bcdfb40288d97b40f43eda548a55aee087 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 22 Jul 1996 18:03:41 +0000 Subject: [PATCH] * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16 are expected to be PC relative. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 50d266a38b1..2b38f16fc9e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 22 14:01:33 1996 Ian Lance Taylor + + * 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 * 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 dd2b599afc7..1f7e256faf0 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, -- 2.30.2