mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
This updates the package and adds a patch so that it compiles with binutils 2.34. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Reviewed-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
21 lines
587 B
Diff
21 lines
587 B
Diff
--- a/util/cairo-trace/lookup-symbol.c
|
|
+++ b/util/cairo-trace/lookup-symbol.c
|
|
@@ -145,14 +145,14 @@ find_address_in_section (bfd *abfd,
|
|
if (symbol->found)
|
|
return;
|
|
|
|
- if ((bfd_get_section_flags (symtab->bfd, section) & SEC_ALLOC) == 0)
|
|
+ if ((bfd_section_flags (section) & SEC_ALLOC) == 0)
|
|
return;
|
|
|
|
- vma = bfd_get_section_vma (symtab->bfd, section);
|
|
+ vma = bfd_section_vma (section);
|
|
if (symbol->pc < vma)
|
|
return;
|
|
|
|
- size = bfd_section_size (symtab->bfd, section);
|
|
+ size = bfd_section_size (section);
|
|
if (symbol->pc >= vma + size)
|
|
return;
|
|
|