summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-03-06 11:06:48 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-03-06 11:06:48 +0100
commit345aaca14ca77cc50f6804691de38681e151507a (patch)
tree52c764a84d0cac80a7dbd12936501f3b0b153573
parent395f23a10d44a63732dd69f79fb7372bc5834443 (diff)
parentbe77fa914c30e92e33e60feb5a3e098c765798af (diff)
downloadmariadb-git-345aaca14ca77cc50f6804691de38681e151507a.tar.gz
Merge branch '5.5' into 10.1
-rw-r--r--mysys/my_addr_resolve.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysys/my_addr_resolve.c b/mysys/my_addr_resolve.c
index d16f33036ab..ecb512572b1 100644
--- a/mysys/my_addr_resolve.c
+++ b/mysys/my_addr_resolve.c
@@ -49,6 +49,18 @@ static const char *strip_path(const char *s)
static bfd *bfdh= 0;
static asymbol **symtable= 0;
+#ifndef bfd_get_section_flags
+#define bfd_get_section_flags(H, S) bfd_section_flags(S)
+#endif /* bfd_get_section_flags */
+
+#ifndef bfd_get_section_size
+#define bfd_get_section_size(S) bfd_section_size(S)
+#endif /* bfd_get_section_size */
+
+#ifndef bfd_get_section_vma
+#define bfd_get_section_vma(H, S) bfd_section_vma(S)
+#endif /* bfd_get_section_vma */
+
/**
finds a file name, a line number, and a function name corresponding to addr.