mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00: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);
|
|
}
|