Jaco Kroon
33b2c7f79b
Update main/backtrace.c to deal with changes in binutils 2.34.
...
binutils 2.34 merged this commit:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff ;\
h=fd3619828e94a24a92cddec42cbc0ab33352eeb4
Which effectively does things like:
-#define bfd_section_size(bfd, ptr) ((ptr)->size)
-#define bfd_get_section_size(ptr) ((ptr)->size)
+#define bfd_section_size(sec) ((sec)->size)
So in order to remain backwards compatible we need to detect this API
change, and adjust accordingly. The simplest is to notice that the
bfd_get_section_size and bfd_get_section_vma MACROs are no longer
defined, and define then onto the new API. The alternative is to litter
the code with a number of #ifdef #else #endif splatters right through
the code.
Change-Id: I3efe0f8e8f3e338d16fcbc2b26a505367b6e172f
2020-03-17 09:14:03 -05:00
..
2018-03-06 13:17:54 -06:00
2019-09-18 15:26:00 -05:00
2020-01-08 08:37:37 -06:00
2017-12-22 09:23:22 -05:00
2018-12-07 09:04:55 -05:00
2019-08-01 15:31:23 -06:00
2019-11-18 08:30:05 -06:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2020-02-03 12:57:59 -07:00
2018-12-12 12:14:44 -05:00
2018-10-12 13:21:24 -04:00
2019-09-23 06:23:05 -06:00
2019-09-23 12:34:41 -05:00
2019-09-24 11:20:21 -05:00
2019-09-23 12:34:41 -05:00
2019-09-23 12:34:41 -05:00
2019-09-25 07:41:35 -05:00
2020-03-13 09:57:02 -05:00
2018-06-19 15:02:52 -05:00
2020-03-17 09:14:03 -05:00
2017-09-06 13:00:49 -05:00
2017-12-22 09:23:22 -05:00
2018-06-05 05:37:54 -06:00
2018-02-15 14:31:32 -06:00
2019-12-16 15:54:05 +00:00
2018-10-19 17:33:02 -04:00
2018-03-07 16:03:01 -06:00
2019-08-01 15:31:23 -06:00
2020-01-22 13:08:36 -06:00
2019-08-07 04:47:12 -06:00
2019-03-11 08:39:39 -06:00
2020-02-18 16:22:27 +00:00
2018-03-01 13:13:55 -06:00
2018-12-03 17:47:18 -05:00
2019-09-12 11:16:09 +02:00
2018-10-19 17:33:02 -04:00
2018-11-21 09:56:12 -05:00
2019-12-19 04:48:20 -06:00
2019-05-06 16:26:46 -05:00
2019-08-01 15:31:23 -06:00
2017-08-28 11:12:50 -05:00
2017-06-08 10:42:54 -05:00
2018-07-18 13:37:03 -05:00
2018-11-21 09:56:12 -05:00
2019-12-27 17:31:50 -06:00
2019-03-11 08:39:39 -06:00
2020-03-13 10:01:01 -05:00
2018-11-14 09:25:06 -05:00
2016-10-27 09:53:55 -04:00
2018-11-14 09:25:06 -05:00
2018-03-13 13:46:08 -04:00
2020-03-13 10:01:01 -05:00
2017-12-22 09:23:22 -05:00
2018-07-26 15:29:39 -04:00
2018-07-26 15:29:39 -04:00
2019-03-11 08:39:39 -06:00
2020-03-09 10:04:27 -05:00
2019-11-18 08:30:05 -06:00
2018-10-19 17:33:02 -04:00
2018-03-14 05:20:12 -04:00
2020-01-05 21:15:40 -06:00
2020-02-17 10:58:25 -06:00
2019-09-12 11:16:09 +02:00
2020-02-24 13:37:31 -06:00
2017-12-22 09:23:22 -05:00
2018-10-19 17:33:02 -04:00
2018-10-02 11:25:17 -05:00
2017-12-22 09:23:22 -05:00
2018-03-01 13:13:55 -06:00
2018-03-01 13:13:55 -06:00
2020-01-22 10:09:54 -06:00
2019-11-18 08:30:05 -06:00
2017-06-19 13:33:48 -04:00
2020-01-02 16:51:14 -05:00
2017-12-20 12:40:01 -05:00
2019-04-05 02:33:14 +02:00
2018-05-20 13:55:26 +02:00
2019-07-29 07:38:36 -06:00
2018-10-19 11:43:25 -05:00
2018-11-19 05:48:42 -07:00
2018-08-14 12:45:10 -05:00
2019-01-23 09:51:38 -06:00
2017-12-22 09:23:22 -05:00
2019-04-23 17:39:57 -05:00
2017-12-19 09:42:19 -05:00
2019-11-21 09:40:41 -06:00
2019-11-22 16:38:12 -05:00
2019-01-28 13:28:22 -06:00
2020-03-02 12:11:50 -06:00
2019-04-23 17:39:57 -05:00
2018-11-21 09:56:12 -05:00
2017-12-30 13:20:16 -05:00
2018-05-21 11:03:10 -05:00
2018-02-12 22:53:35 -05:00
2020-02-03 12:57:59 -07:00
2019-03-11 08:39:39 -06:00
2018-03-15 07:25:28 -04:00
2018-03-13 13:46:08 -04:00
2018-06-19 10:46:46 -06:00
2017-12-22 09:23:22 -05:00
2019-11-18 08:30:05 -06:00
2020-01-16 12:37:57 -06:00
2018-10-19 17:33:02 -04:00
2018-07-26 15:29:39 -04:00
2017-12-22 09:23:22 -05:00
2019-03-11 08:39:39 -06:00
2019-09-19 08:10:52 -05:00
2020-02-25 10:00:25 -06:00
2019-07-18 01:22:30 -06:00
2017-12-22 09:23:22 -05:00
2019-03-11 08:39:39 -06:00
2019-11-07 12:01:47 -05:00
2017-12-22 09:23:22 -05:00
2020-02-19 19:32:16 +00:00
2019-02-04 14:40:30 -06:00
2019-06-13 14:06:08 -06:00
2019-03-11 08:39:39 -06:00
2019-11-18 08:30:05 -06:00
2019-08-01 15:31:23 -06:00
2019-03-11 08:39:39 -06:00
2019-01-17 12:52:08 -06:00
2018-12-07 08:58:51 -05:00
2019-03-11 08:39:39 -06:00
2020-02-15 08:04:35 -06:00
2018-03-01 13:13:55 -06:00
2020-02-18 16:22:27 +00:00
2018-03-13 16:24:06 -04:00
2019-02-19 09:44:08 -06:00
2017-08-10 14:38:12 -05:00
2019-10-07 16:49:39 -05:00
2020-02-19 14:32:04 -05:00
2017-12-22 09:23:22 -05:00
2019-03-11 08:39:39 -06:00
2019-02-20 10:46:47 -07:00
2017-12-22 09:23:22 -05:00
2018-01-03 17:23:36 -05:00
2020-01-20 15:58:08 -06:00
2019-07-30 06:48:31 -06:00
2017-12-22 09:23:22 -05:00
2018-12-11 10:08:02 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:31 -05:00
2018-11-21 09:56:12 -05:00