From efa5bf1dd2cf3cdee0bfe97cfd76ff2296179ae4 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 21 May 2007 18:41:17 -0700 Subject: Revert "kbuild: make better section mismatch reports on i386, arm and mips" This reverts commit f892b7d480eec809a5dfbd6e65742b3f3155e50e, which totally broke the build on x86 with CONFIG_RELOCATABLE (which, as far as I can tell, is the only case where it should even matter!) due to a SIGSEGV in modpost. Cc: Sam Ravnborg Cc: Atsushi Nemoto Signed-off-by: Linus Torvalds --- scripts/mod/modpost.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripts/mod/modpost.h') diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h index 4156dd34c5d..0858caa9c03 100644 --- a/scripts/mod/modpost.h +++ b/scripts/mod/modpost.h @@ -60,9 +60,6 @@ typedef union #define ELF64_MIPS_R_SYM(i) \ ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_sym) -#define ELF64_MIPS_R_TYPE(i) \ - ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_type1) - #if KERNEL_ELFDATA != HOST_ELFDATA static inline void __endian(const void *src, void *dest, unsigned int size) -- cgit v1.2.3