Merge tag 'xfs-5.10-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux-2.6-microblaze.git] / tools / objtool / weak.c
index 942ea5e..7843e9a 100644 (file)
@@ -9,17 +9,13 @@
 #include <errno.h>
 #include "objtool.h"
 
-#define __weak __attribute__((weak))
-
 #define UNSUPPORTED(name)                                              \
 ({                                                                     \
        fprintf(stderr, "error: objtool: " name " not implemented\n");  \
        return ENOSYS;                                                  \
 })
 
-const char __weak *objname;
-
-int __weak check(const char *_objname, bool orc)
+int __weak check(struct objtool_file *file)
 {
        UNSUPPORTED("check subcommand");
 }