summaryrefslogtreecommitdiffstats
path: root/arch/x86/tools/relocs.h
diff options
context:
space:
mode:
authorMichael Davidson2014-01-21 21:32:23 +0100
committerH. Peter Anvin2014-01-22 13:21:45 +0100
commit214a88768d34079b70e0f2ba37b91a3b717fddbb (patch)
treeb06bc0b6da796e31aa9bf5536a991c85f2f88fe3 /arch/x86/tools/relocs.h
parentx86, boot: Move intcall() to the .inittext section (diff)
downloadkernel-qcow2-linux-214a88768d34079b70e0f2ba37b91a3b717fddbb.tar.gz
kernel-qcow2-linux-214a88768d34079b70e0f2ba37b91a3b717fddbb.tar.xz
kernel-qcow2-linux-214a88768d34079b70e0f2ba37b91a3b717fddbb.zip
x86, relocs: Add manual debug mode
Improve the debuggability of relocations output. When trying to compare the output between different linkers, it's handy to be able to see the section names in output. Signed-off-by: Michael Davidson <md@google.com> Link: http://lkml.kernel.org/r/20140121203223.GA12649@www.outflux.net Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/tools/relocs.h')
-rw-r--r--arch/x86/tools/relocs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/tools/relocs.h b/arch/x86/tools/relocs.h
index 07cdb1eca4fa..f59590645b68 100644
--- a/arch/x86/tools/relocs.h
+++ b/arch/x86/tools/relocs.h
@@ -29,8 +29,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 */