wok view cairo/stuff/patches/lookup-symbol.c-1.16.0 @ rev 24957
*/stuff/bootloader.S: add CHK_DOS_INT19 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 23 15:41:59 2022 +0000 (2022-04-23) |
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;