summaryrefslogtreecommitdiff
path: root/arch/x86/tools/relocs.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/tools/relocs.h')
-rw-r--r--arch/x86/tools/relocs.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/x86/tools/relocs.h b/arch/x86/tools/relocs.h
index 07cdb1eca4fa..4c49c82446eb 100644
--- a/arch/x86/tools/relocs.h
+++ b/arch/x86/tools/relocs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef RELOCS_H
#define RELOCS_H
@@ -16,7 +17,8 @@
#include <regex.h>
#include <tools/le_byteshift.h>
-void die(char *fmt, ...);
+__attribute__((__format__(printf, 1, 2)))
+void die(char *fmt, ...) __attribute__((noreturn));
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
@@ -29,8 +31,9 @@ enum symtype {
};
void process_32(FILE *fp, int use_real_mode, int as_text,
- int show_absolute_syms, int show_absolute_relocs);
+ int show_absolute_syms, int show_absolute_relocs,
+ int show_reloc_info);
void process_64(FILE *fp, int use_real_mode, int as_text,
- int show_absolute_syms, int show_absolute_relocs);
-
+ int show_absolute_syms, int show_absolute_relocs,
+ int show_reloc_info);
#endif /* RELOCS_H */