wok annotate cairo-gl/stuff/patches/lookup-symbol.c-1.16.0 @ rev 25073
Up dropbear (2022.82)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 11 11:22:52 2022 +0000 (2022-06-11) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@24752 | 1 --- util/cairo-trace/lookup-symbol.c.orig |
Hans-G?nter@24752 | 2 +++ util/cairo-trace/lookup-symbol.c |
Hans-G?nter@24752 | 3 @@ -145,14 +145,14 @@ |
Hans-G?nter@24752 | 4 if (symbol->found) |
Hans-G?nter@24752 | 5 return; |
Hans-G?nter@24752 | 6 |
Hans-G?nter@24752 | 7 - if ((bfd_get_section_flags (symtab->bfd, section) & SEC_ALLOC) == 0) |
Hans-G?nter@24752 | 8 + if ((bfd_section_flags (section) & SEC_ALLOC) == 0) |
Hans-G?nter@24752 | 9 return; |
Hans-G?nter@24752 | 10 |
Hans-G?nter@24752 | 11 - vma = bfd_get_section_vma (symtab->bfd, section); |
Hans-G?nter@24752 | 12 + vma = bfd_section_vma (section); |
Hans-G?nter@24752 | 13 if (symbol->pc < vma) |
Hans-G?nter@24752 | 14 return; |
Hans-G?nter@24752 | 15 |
Hans-G?nter@24752 | 16 - size = bfd_section_size (symtab->bfd, section); |
Hans-G?nter@24752 | 17 + size = bfd_section_size (section); |
Hans-G?nter@24752 | 18 if (symbol->pc >= vma + size) |
Hans-G?nter@24752 | 19 return; |
Hans-G?nter@24752 | 20 |