mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
e71e19a9ea
Which is needed by the PE executable support, for instance. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jacek Caban <jacek@codeweavers.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Remi Bernon <rbernon@codeweavers.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
9 lines
183 B
C
9 lines
183 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <bfd.h>
|
|
|
|
int main(void)
|
|
{
|
|
bfd *abfd = bfd_openr("Pedro", 0);
|
|
return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f);
|
|
}
|