PR 33385 unsupported relocs

Alan Modra amodra@gmail.com
Mon Sep 8 12:42:04 GMT 2025


Commit 96d3b80f5498 changed a couple of reloc functions to return
false, and propagated the error.  They previously did nothing, so
revert to that sad state.

	* vms-alpha.c (alpha_vms_add_lw_reloc): Return true.
	(alpha_vms_add_qw_reloc): Likewise.

diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index 1924a761141..80a559dabed 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -8939,13 +8939,13 @@ alpha_vms_add_fixup_lr (struct bfd_link_info *info ATTRIBUTE_UNUSED,
 static bool
 alpha_vms_add_lw_reloc (struct bfd_link_info *info ATTRIBUTE_UNUSED)
 {
-  return false;
+  return true;
 }
 
 static bool
 alpha_vms_add_qw_reloc (struct bfd_link_info *info ATTRIBUTE_UNUSED)
 {
-  return false;
+  return true;
 }
 
 static struct bfd_hash_entry *

-- 
Alan Modra


More information about the Binutils mailing list