[binutils-gdb] Fix compile time build problem building the s390 assembler.

Nick Clifton nickc@sourceware.org
Fri Jan 31 16:44:00 GMT 2020


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

commit d26cc8a9d6ae9b0ffdb372bd65526cc3137747e5
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Jan 31 16:43:57 2020 +0000

    Fix compile time build problem building the s390 assembler.
    
    	* config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
    	rather than BFD_RELOC_NONE.

Diff:
---
 gas/ChangeLog        | 5 +++++
 gas/config/tc-s390.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4ee4809..96d40a9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-31  Nick Clifton  <nickc@redhat.com>
+
+	* config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
+	rather than BFD_RELOC_NONE.
+
 2020-01-31  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
 
 	* config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index ebd3e17..7f004d8 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -896,7 +896,7 @@ s390_elf_suffix (char **str_p, expressionS *exp_p)
 	return ptr->suffix;
       }
 
-  return BFD_RELOC_UNUSED;
+  return ELF_SUFFIX_NONE;
 }
 
 /* Structure used to hold a literal pool entry.  */



More information about the Binutils-cvs mailing list