Skip to contentSkip to conversation

microblaze-extable-sort-the-exception-table-at-build-time.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 24, 2014 Microblaze architecture

lore
Share & tools
lore
#0 lore raw

Subject: [merged] microblaze-extable-sort-the-exception-table-at-build-time.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 24 Jan 2014 10:58:19 -0800

The patch titled
Subject: microblaze: extable: sort the exception table at build time
has been removed from the -mm tree. Its filename was
microblaze-extable-sort-the-exception-table-at-build-time.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Michal Simek <[email protected]>
Subject: microblaze: extable: sort the exception table at build time

Sort the exception table at build-time rather than during boot.

Microblaze is the same case as AARCH64 that's why EM_MICROBLAZE conditional check was added to allow cross-compilation on machines which are not running the latest libc-dev.

Inspired by AARCH64 commit adace89562c7a9645b ("arm64: extable: sort the exception table at build time").

---

 arch/microblaze/Kconfig |    1 +
 scripts/sortextable.c   |    5 +++++
 2 files changed, 6 insertions(+)
arch/microblaze/Kconfig renamed from arch/microblaze/Kconfig~microblaze-extable-sort-the-exception-table-at-build-time +1 -0
diff -puN arch/microblaze/Kconfig~microblaze-extable-sort-the-exception-table-at-build-time arch/microblaze/Kconfig
@@ -30,6 +30,7 @@ config MICROBLAZE
 	select MODULES_USE_ELF_RELA
 	select CLONE_BACKWARDS3
 	select CLKSRC_OF
+	select BUILDTIME_EXTABLE_SORT
 
 config SWAP
 	def_bool n
scripts/sortextable.c renamed from scripts/sortextable.c~microblaze-extable-sort-the-exception-table-at-build-time +5 -0
diff -puN scripts/sortextable.c~microblaze-extable-sort-the-exception-table-at-build-time scripts/sortextable.c
@@ -39,6 +39,10 @@
 #define EM_AARCH64	183
 #endif
 
+#ifndef EM_MICROBLAZE
+#define EM_MICROBLAZE	189
+#endif
+
 static int fd_map;	/* File descriptor for file being modified. */
 static int mmap_failed; /* Boolean flag. */
 static void *ehdr_curr; /* current ElfXX_Ehdr *  for resource cleanup */
@@ -275,6 +279,7 @@ do_file(char const *const fname)
 	case EM_ARCOMPACT:
 	case EM_ARM:
 	case EM_AARCH64:
+	case EM_MICROBLAZE:
 	case EM_MIPS:
 		break;
 	}  /* end switch */

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch