You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emulation/ski/files/ski-1.3.2-binutils-2.34.patch

23 lines
706 B

diff --git a/src/linux/dwarf-linux.c b/src/linux/dwarf-linux.c
index 73be0e6..c4051a3 100644
--- a/src/linux/dwarf-linux.c
+++ b/src/linux/dwarf-linux.c
@@ -116,14 +116,14 @@ find_in_section (bfd * bfd, asection * sect, PTR obj)
/*
* we're looking at loadable code only
*/
- if ((bfd_get_section_flags (bfd, sect) & (SEC_CODE | SEC_ALLOC)) == 0)
+ if ((bfd_section_flags (sect) & (SEC_CODE | SEC_ALLOC)) == 0)
return;
/*
* check if address belongs to this section
*/
- vma = bfd_get_section_vma (bfd, sect);
- size = bfd_section_size (bfd, sect);
+ vma = bfd_section_vma (sect);
+ size = bfd_section_size (sect);
offset = info->address - vma;
if (offset >= size)