wok view cairo/stuff/patches/lookup-symbol.c-1.16.0 @ rev 24981
Up pce (20220220-991c55d9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 10:57:53 2022 +0000 (2022-05-08) |
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;