mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Arnaldo Carvalho de Melo](/assets/img/avatar_default.png)
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>
8 lines
183 B
C
8 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);
|
|
}
|