![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0-or-later 0002 /* 0003 * Copyright (C) 2020 Matt Helsley <mhelsley@vmware.com> 0004 * Weak definitions necessary to compile objtool without 0005 * some subcommands (e.g. check, orc). 0006 */ 0007 0008 #include <stdbool.h> 0009 #include <errno.h> 0010 #include <objtool/objtool.h> 0011 0012 #define UNSUPPORTED(name) \ 0013 ({ \ 0014 fprintf(stderr, "error: objtool: " name " not implemented\n"); \ 0015 return ENOSYS; \ 0016 }) 0017 0018 int __weak orc_dump(const char *_objname) 0019 { 0020 UNSUPPORTED("ORC"); 0021 } 0022 0023 int __weak orc_create(struct objtool_file *file) 0024 { 0025 UNSUPPORTED("ORC"); 0026 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |