commit | eef50fa1f4dbaf3686290769e8e6cbbc358a6eaa | [log] [tgz] |
---|---|---|
author | Changbin Du <[email protected]> | Tue Jun 30 23:46:07 2020 +0900 |
committer | Greg Kroah-Hartman <[email protected]> | Fri Jul 31 16:44:07 2020 +0200 |
tree | 7fcf91b1ce8c98401c219080873c668ce87d6fda | |
parent | f578600eba26b94388968fa8cb2144606ca58b41 [diff] |
perf: Make perf able to build with latest libbfd commit 0ada120c883d4f1f6aafd01cf0fbb10d8bbba015 upstream. libbfd has changed the bfd_section_* macros to inline functions bfd_section_<field> since 2019-09-18. See below two commits: o http://www.sourceware.org/ml/gdb-cvs/2019-09/msg00064.html o https://www.sourceware.org/ml/gdb-cvs/2019-09/msg00072.html This fix make perf able to build with both old and new libbfd. Signed-off-by: Changbin Du <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>