[PATCH 08/17] gas/SH: support BFD_RELOC_RVA in the PE/COFF case

Jan Beulich jbeulich@suse.com
Mon Aug 4 09:20:50 GMT 2025


This is just so the target won't need excluding in a forthcoming new
testcase, which uses the .rva directive.

--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -3602,6 +3602,9 @@ md_apply_fix (fixS *fixP, valueT *valP,
 
     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;
 



More information about the Binutils mailing list