]> git.pld-linux.org Git - packages/kernel-tools.git/blob - binutils-2.34.patch
- fix building with binutils 2.34
[packages/kernel-tools.git] / binutils-2.34.patch
1 --- linux-5.5/tools/perf/util/srcline.c~        2020-01-27 01:23:03.000000000 +0100
2 +++ linux-5.5/tools/perf/util/srcline.c 2020-03-24 22:05:05.941464830 +0100
3 @@ -197,12 +197,12 @@
4         if (a2l->found)
5                 return;
6  
7 -       if ((bfd_get_section_flags(abfd, section) & SEC_ALLOC) == 0)
8 +       if ((bfd_section_flags(section) & SEC_ALLOC) == 0)
9                 return;
10  
11         pc = a2l->addr;
12 -       vma = bfd_get_section_vma(abfd, section);
13 -       size = bfd_get_section_size(section);
14 +       vma = bfd_section_vma(section);
15 +       size = bfd_section_size(section);
16  
17         if (pc < vma || pc >= vma + size)
18                 return;
This page took 0.05144 seconds and 3 git commands to generate.