summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-01-31 16:45:04 +0000
committerNick Clifton <nickc@redhat.com>2020-01-31 16:45:04 +0000
commit7e1a4f55c428855343d25b43c083922f37ba7a98 (patch)
tree1415c9552a5f9dc807ca8070439f07c72baeaabf
parentf23bd9891fce239179e9ee9a6d2657869824993c (diff)
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.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-s390.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6eb9cb3c96..26f24547f7 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 ebd3e17d2e..7f004d8f29 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. */