]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix compile time build problem building the s390 assembler.
authorNick Clifton <nickc@redhat.com>
Fri, 31 Jan 2020 16:43:57 +0000 (16:43 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 31 Jan 2020 16:43:57 +0000 (16:43 +0000)
* config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
rather than BFD_RELOC_NONE.

gas/ChangeLog
gas/config/tc-s390.c

index 4ee4809e51642c75e328828b4d99deaa4394c73b..96d40a9ef08863105c1b48c8e7129cf27891f95d 100644 (file)
@@ -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"
index ebd3e17d2e7ee488e92999b03a26013e285d1b17..7f004d8f29cc1bedf74fc0c2a52ac816ded190cf 100644 (file)
@@ -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.  */