diff options
author | 2020-02-03 12:48:41 -0500 | |
---|---|---|
committer | 2020-02-03 12:48:41 -0500 | |
commit | 020e559e8a8f1b39c1553322ee6247a537e1e5e5 (patch) | |
tree | 1eed6b4ce565551e8f0597f1aec77a08aa406d76 | |
parent | Add 20018_all_mysql-5.7.29-fix-libressl-support.patch (diff) | |
download | mysql-extras-020e559e8a8f1b39c1553322ee6247a537e1e5e5.tar.gz mysql-extras-020e559e8a8f1b39c1553322ee6247a537e1e5e5.tar.bz2 mysql-extras-020e559e8a8f1b39c1553322ee6247a537e1e5e5.zip |
mariadb: Add new patch for binutil-libs 2.34 API changemysql-extras-20200203-1749Z
Signed-off-by: Brian Evans <grknight@gentoo.org>
-rw-r--r-- | 20039_all_mariadb-binutil-libs-2.34.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/20039_all_mariadb-binutil-libs-2.34.patch b/20039_all_mariadb-binutil-libs-2.34.patch new file mode 100644 index 0000000..0e57b3e --- /dev/null +++ b/20039_all_mariadb-binutil-libs-2.34.patch @@ -0,0 +1,23 @@ +--- a/mysys/my_addr_resolve.c ++++ b/mysys/my_addr_resolve.c +@@ -74,11 +74,20 @@ int my_addr_resolve(void *ptr, my_addr_loc *loc) + { + bfd_vma start; + ++#ifdef bfd_get_section_flags + if ((bfd_get_section_flags(bfdh, sec) & SEC_ALLOC) == 0) ++#else ++ if ((bfd_section_flags(sec) & SEC_ALLOC) == 0) ++#endif + continue; + ++#ifdef bfd_get_section_vma + start = bfd_get_section_vma(bfdh, sec); + if (addr < start || addr >= start + bfd_get_section_size(sec)) ++#else ++ start = bfd_section_vma(sec); ++ if (addr < start || addr >= start + bfd_section_size(sec)) ++#endif + continue; + + if (bfd_find_nearest_line(bfdh, sec, symtable, addr - start, |