Skip to content

Commit 345aaca

Browse files
committed
Merge branch '5.5' into 10.1
2 parents 395f23a + be77fa9 commit 345aaca

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

mysys/my_addr_resolve.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ static const char *strip_path(const char *s)
4949
static bfd *bfdh= 0;
5050
static asymbol **symtable= 0;
5151

52+
#ifndef bfd_get_section_flags
53+
#define bfd_get_section_flags(H, S) bfd_section_flags(S)
54+
#endif /* bfd_get_section_flags */
55+
56+
#ifndef bfd_get_section_size
57+
#define bfd_get_section_size(S) bfd_section_size(S)
58+
#endif /* bfd_get_section_size */
59+
60+
#ifndef bfd_get_section_vma
61+
#define bfd_get_section_vma(H, S) bfd_section_vma(S)
62+
#endif /* bfd_get_section_vma */
63+
5264
/**
5365
finds a file name, a line number, and a function name corresponding to addr.
5466

0 commit comments

Comments
 (0)