summaryrefslogtreecommitdiff
path: root/mysys/my_addr_resolve.c
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-03-11 17:52:49 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-03-11 17:52:49 +0100
commitfad47df9957d754bec12d4d327c77ae04f71d903 (patch)
tree58aaf6077adcb0bc0003228d30bed59687527650 /mysys/my_addr_resolve.c
parent9d7ed94f6a526748eff29dae2939a3fd341f118b (diff)
parentb7362d5fbc37dec340aeacd1fb0967c4226c022a (diff)
downloadmariadb-git-fad47df9957d754bec12d4d327c77ae04f71d903.tar.gz
Merge branch '10.4' into 10.5
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 ff15558ddd4..b217d4b043c 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.