wok view cairo/stuff/patches/lookup-symbol.c-1.16.0 @ rev 25126

updated apulse (0.1.12 -> 0.1.13)
author Hans-G?nter Theisgen
date Tue Jun 28 16:35:11 2022 +0100 (23 months ago)
parents
children
line source
1 --- util/cairo-trace/lookup-symbol.c.orig
2 +++ util/cairo-trace/lookup-symbol.c
3 @@ -145,14 +145,14 @@
4 if (symbol->found)
5 return;
7 - if ((bfd_get_section_flags (symtab->bfd, section) & SEC_ALLOC) == 0)
8 + if ((bfd_section_flags (section) & SEC_ALLOC) == 0)
9 return;
11 - vma = bfd_get_section_vma (symtab->bfd, section);
12 + vma = bfd_section_vma (section);
13 if (symbol->pc < vma)
14 return;
16 - size = bfd_section_size (symtab->bfd, section);
17 + size = bfd_section_size (section);
18 if (symbol->pc >= vma + size)
19 return;