wok-current annotate cairo/stuff/patches/lookup-symbol.c-1.16.0 @ rev 25524

created recipes for tree-sitter and tree-sitter-dev 0.20.7
author Hans-G?nter Theisgen
date Fri Feb 24 17:21:52 2023 +0100 (20 months ago)
parents
children
rev   line source
Hans-G?nter@24749 1 --- util/cairo-trace/lookup-symbol.c.orig
Hans-G?nter@24749 2 +++ util/cairo-trace/lookup-symbol.c
Hans-G?nter@24749 3 @@ -145,14 +145,14 @@
Hans-G?nter@24749 4 if (symbol->found)
Hans-G?nter@24749 5 return;
Hans-G?nter@24749 6
Hans-G?nter@24749 7 - if ((bfd_get_section_flags (symtab->bfd, section) & SEC_ALLOC) == 0)
Hans-G?nter@24749 8 + if ((bfd_section_flags (section) & SEC_ALLOC) == 0)
Hans-G?nter@24749 9 return;
Hans-G?nter@24749 10
Hans-G?nter@24749 11 - vma = bfd_get_section_vma (symtab->bfd, section);
Hans-G?nter@24749 12 + vma = bfd_section_vma (section);
Hans-G?nter@24749 13 if (symbol->pc < vma)
Hans-G?nter@24749 14 return;
Hans-G?nter@24749 15
Hans-G?nter@24749 16 - size = bfd_section_size (symtab->bfd, section);
Hans-G?nter@24749 17 + size = bfd_section_size (section);
Hans-G?nter@24749 18 if (symbol->pc >= vma + size)
Hans-G?nter@24749 19 return;
Hans-G?nter@24749 20