xtensa: enable sorting extable at build time
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 18 Feb 2014 11:29:11 +0000 (15:29 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 1 Apr 2014 21:35:50 +0000 (01:35 +0400)
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: David Daney <ddaney.cavm@gmail.com>
arch/xtensa/Kconfig
scripts/sortextable.c

index c87ae7c..df6f86c 100644 (file)
@@ -14,6 +14,7 @@ config XTENSA
        select GENERIC_PCI_IOMAP
        select ARCH_WANT_IPC_PARSE_VERSION
        select ARCH_WANT_OPTIONAL_GPIOLIB
+       select BUILDTIME_EXTABLE_SORT
        select CLONE_BACKWARDS
        select IRQ_DOMAIN
        select HAVE_OPROFILE
index cc49062..1052d48 100644 (file)
 #define EM_ARCOMPACT   93
 #endif
 
+#ifndef EM_XTENSA
+#define EM_XTENSA      94
+#endif
+
 #ifndef EM_AARCH64
 #define EM_AARCH64     183
 #endif
@@ -281,6 +285,7 @@ do_file(char const *const fname)
        case EM_AARCH64:
        case EM_MICROBLAZE:
        case EM_MIPS:
+       case EM_XTENSA:
                break;
        }  /* end switch */