diff options
author | Andi Kleen <ak@suse.de> | 2006-09-26 10:52:37 +0200 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-09-26 10:52:37 +0200 |
commit | 1bb4996bcebca1cde49d964b4e012699ce180e61 (patch) | |
tree | ba761ac65661370b0ed5ce6b7dacd263afcef3c8 /include/asm-ia64 | |
parent | dbf9272e863bf4b17ee8e3c66c26682b2061d40d (diff) | |
download | op-kernel-dev-1bb4996bcebca1cde49d964b4e012699ce180e61.zip op-kernel-dev-1bb4996bcebca1cde49d964b4e012699ce180e61.tar.gz |
[PATCH] Move compiler check for modules to ia64 only
Apparently IA64 needs it, but i386/x86-64 don't anymore
since gcc 2.95 support was dropped. Nobody else on linux-arch
requested keeping it generically
Cc: tony.luck@intel.com
Cc: kaos@sgi.com
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/module.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ia64/module.h b/include/asm-ia64/module.h index 85c82bd..d2da61e 100644 --- a/include/asm-ia64/module.h +++ b/include/asm-ia64/module.h @@ -28,7 +28,8 @@ struct mod_arch_specific { #define Elf_Ehdr Elf64_Ehdr #define MODULE_PROC_FAMILY "ia64" -#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY +#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY \ + "gcc-" __stringify(__GNUC__) "." __stringify(__GNUC_MINOR__) #define ARCH_SHF_SMALL SHF_IA_64_SHORT |