]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/cairo-1.16.0-binutils-2.34.patch
findutils: Update to 4.8.0
[ipfire-2.x.git] / src / patches / cairo-1.16.0-binutils-2.34.patch
CommitLineData
50a04f78
MT
1--- a/util/cairo-trace/lookup-symbol.c
2+++ b/util/cairo-trace/lookup-symbol.c
3@@ -145,14 +145,14 @@ find_address_in_section (bfd *abfd,
4 if (symbol->found)
5 return;
6
7- if ((bfd_get_section_flags (symtab->bfd, section) & SEC_ALLOC) == 0)
8+ if ((bfd_section_flags (section) & SEC_ALLOC) == 0)
9 return;
10
11- vma = bfd_get_section_vma (symtab->bfd, section);
12+ vma = bfd_section_vma (section);
13 if (symbol->pc < vma)
14 return;
15
16- size = bfd_section_size (symtab->bfd, section);
17+ size = bfd_section_size (section);
18 if (symbol->pc >= vma + size)
19 return;
20