Cygwin: Update dumper for bfd API changes

Update dumper for bfd API changes in binutils 2.34

libbfd doesn't guarantee API stability, so we've just been lucky this
hasn't broken more often.

See binutils commit fd361982.
This commit is contained in:
Jon Turney
2020-02-26 18:48:51 +00:00
parent c13cdfd00e
commit ba2f251d43
2 changed files with 26 additions and 8 deletions

View File

@@ -25,6 +25,10 @@
#include "dumper.h"
#ifndef bfd_get_section_size
#define bfd_get_section_size(sect) bfd_section_size(sect)
#endif
int
exclusion::add (LPBYTE mem_base, SIZE_T mem_size)
{