From: Jan Beulich Date: Fri, 10 Oct 2025 14:00:30 +0000 (+0200) Subject: gas/SH: support BFD_RELOC_RVA in the PE/COFF case X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=023d89bf4b2811b2465d199330c5ddf24b19755c;p=thirdparty%2Fbinutils-gdb.git gas/SH: support BFD_RELOC_RVA in the PE/COFF case This is just so the target won't need excluding in a forthcoming new testcase, which uses the .rva directive. --- diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 551d8e8b24d..8ab8414feac 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -3602,6 +3602,9 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED) case BFD_RELOC_32: case BFD_RELOC_32_PCREL: +#if defined (OBJ_COFF) && defined (TE_PE) + case BFD_RELOC_RVA: +#endif apply_full_field_fix (fixP, buf, val, 4); break;