aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-01-31 16:43:57 +0000
committerNick Clifton <nickc@redhat.com>2020-01-31 16:43:57 +0000
commitd26cc8a9d6ae9b0ffdb372bd65526cc3137747e5 (patch)
tree7e5dca6b1101ca29b578630233018f04e35f6655 /gas
parent90e9955aef9fa64c3c9264d9ee046739cbce0c92 (diff)
downloadgdb-d26cc8a9d6ae9b0ffdb372bd65526cc3137747e5.zip
gdb-d26cc8a9d6ae9b0ffdb372bd65526cc3137747e5.tar.gz
gdb-d26cc8a9d6ae9b0ffdb372bd65526cc3137747e5.tar.bz2
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.
Diffstat (limited to 'gas')
-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 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. */