]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
main/backtrace: binutils-2.34 fix.
authorJaco Kroon <jaco@uls.co.za>
Wed, 1 Apr 2020 09:00:14 +0000 (11:00 +0200)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 6 Apr 2020 15:58:11 +0000 (10:58 -0500)
My tester missed this one previously, have confirmed a positive build
this time round.

Change-Id: Id06853375954a200f03f9a1b9c97fe0b10d31fbf

main/backtrace.c

index 28f5e40a6f825a190b1461970762d2d768eb1f11..8f09a71f60fe5da4f30e3e16a62c7a23d7720ffb 100644 (file)
@@ -70,6 +70,9 @@
 #ifndef bfd_get_section_vma
 #define bfd_get_section_vma(x, y)      bfd_section_vma(y)
 #endif
+#ifndef bfd_get_section_flags
+#define bfd_get_section_flags(x, y) bfd_section_flags(y)
+#endif
 #endif
 
 #include <pthread.h>