[binutils-gdb] PR 33385 unsupported relocs

Alan Modra amodra@sourceware.org
Mon Sep 8 12:48:34 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1595b0fbd42f152ca3096eacea4852a05b073fad

commit 1595b0fbd42f152ca3096eacea4852a05b073fad
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Sep 8 08:30:56 2025 +0930

    PR 33385 unsupported relocs
    
    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:
---
 bfd/vms-alpha.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 *


More information about the Binutils-cvs mailing list