Confusingly, ERROR_INSN() shows "warning:" instead of "error:". Fix that.
Showing the changes to tools/objtool/include/objtool (1 of 1 file). Show all
Unified · Split
| @@ -107,7 +107,7 @@ static inline char *offstr(struct section *sec, unsigned long offset) · 106 unmodified lines | |||
| 107 | #define ERROR_ELF(format, ...) __WARN_ELF(ERROR_STR, format, ##__VA_ARGS__) | 107 | #define ERROR_ELF(format, ...) __WARN_ELF(ERROR_STR, format, ##__VA_ARGS__) |
| 108 | #define ERROR_GLIBC(format, ...) __WARN_GLIBC(ERROR_STR, format, ##__VA_ARGS__) | 108 | #define ERROR_GLIBC(format, ...) __WARN_GLIBC(ERROR_STR, format, ##__VA_ARGS__) |
| 109 | #define ERROR_FUNC(sec, offset, format, ...) __WARN_FUNC(ERROR_STR, sec, offset, format, ##__VA_ARGS__) | 109 | #define ERROR_FUNC(sec, offset, format, ...) __WARN_FUNC(ERROR_STR, sec, offset, format, ##__VA_ARGS__) |
| 110 | #define ERROR_INSN(insn, format, ...) WARN_FUNC(insn->sec, insn->offset, format, ##__VA_ARGS__) | 110 | #define ERROR_INSN(insn, format, ...) ERROR_FUNC(insn->sec, insn->offset, format, ##__VA_ARGS__) |
| 111 | 111 | ||
| 112 | extern bool debug; | 112 | extern bool debug; |
| 113 | extern int indent; | 113 | extern int indent; |