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

idesk: imlib2 >= 1.7.5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 13 20:03:04 2022 +0000 (2022-05-13)
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;