[PATCH v2 09/13] gas/SH: support BFD_RELOC_RVA in the PE/COFF case

Jan Beulich jbeulich@suse.com
Fri Aug 29 12:03:09 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