summaryrefslogtreecommitdiffstats
path: root/arch/x86/tools/relocs.h
diff options
context:
space:
mode:
authorMichael Davidson <md@google.com>2014-01-21 12:32:23 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2014-01-22 04:21:45 -0800
commit214a88768d34079b70e0f2ba37b91a3b717fddbb (patch)
treeb06bc0b6da796e31aa9bf5536a991c85f2f88fe3 /arch/x86/tools/relocs.h
parent6f34152f54bcf63a49ea701643c81f5b2168fec8 (diff)
downloadlinux-214a88768d34079b70e0f2ba37b91a3b717fddbb.tar.gz
linux-214a88768d34079b70e0f2ba37b91a3b717fddbb.tar.xz
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 */