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

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
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;