summaryrefslogtreecommitdiff
path: root/mysys/my_addr_resolve.c
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-03-06 15:42:45 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-03-06 15:42:45 +0100
commit75d286c2cc46092148f13b6b9026f52a54926a84 (patch)
tree54dd28d5e52b69a89c02e5069384bfbee8083d50 /mysys/my_addr_resolve.c
parent91aae18cc44e4ae7931b380077920124c3e42179 (diff)
parent345aaca14ca77cc50f6804691de38681e151507a (diff)
downloadmariadb-git-75d286c2cc46092148f13b6b9026f52a54926a84.tar.gz
Merge branch '10.1' into 10.2
Diffstat (limited to 'mysys/my_addr_resolve.c')
-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 7590d576a7c..3f20f535d37 100644
--- a/mysys/my_addr_resolve.c
+++ b/mysys/my_addr_resolve.c
@@ -56,6 +56,18 @@ static ElfW(Addr) offset= 0;
#define offset 0
#endif
+#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.