wok diff cairo/stuff/patches/lookup-symbol.c-1.16.0 @ rev 25126
updated apulse (0.1.12 -> 0.1.13)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:35:11 2022 +0100 (2022-06-28) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cairo/stuff/patches/lookup-symbol.c-1.16.0 Tue Jun 28 16:35:11 2022 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +--- util/cairo-trace/lookup-symbol.c.orig 1.5 ++++ util/cairo-trace/lookup-symbol.c 1.6 +@@ -145,14 +145,14 @@ 1.7 + if (symbol->found) 1.8 + return; 1.9 + 1.10 +- if ((bfd_get_section_flags (symtab->bfd, section) & SEC_ALLOC) == 0) 1.11 ++ if ((bfd_section_flags (section) & SEC_ALLOC) == 0) 1.12 + return; 1.13 + 1.14 +- vma = bfd_get_section_vma (symtab->bfd, section); 1.15 ++ vma = bfd_section_vma (section); 1.16 + if (symbol->pc < vma) 1.17 + return; 1.18 + 1.19 +- size = bfd_section_size (symtab->bfd, section); 1.20 ++ size = bfd_section_size (section); 1.21 + if (symbol->pc >= vma + size) 1.22 + return; 1.23 +