wok-6.x rev 24752

cairo-gl: added patch file
author Hans-G?nter Theisgen
date Wed Mar 16 17:29:46 2022 +0100 (2022-03-16)
parents e9eef82494b4
children c31852fe271f
files cairo-gl/stuff/patches/lookup-symbol.c-1.16.0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cairo-gl/stuff/patches/lookup-symbol.c-1.16.0	Wed Mar 16 17:29:46 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 +