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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user