Browse Source

binfmt: finetune selection

m68k one memory region generates broken code with SIGILL exceptions.
bfin is only one memory region only.
Waldemar Brodkorb 8 years ago
parent
commit
58048eea0e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      target/config/Config.in.binfmt

+ 2 - 0
target/config/Config.in.binfmt

@@ -33,11 +33,13 @@ default ADK_TARGET_BINFMT_FLAT_ONE
 
 
 config ADK_TARGET_BINFMT_FLAT_ONE
 config ADK_TARGET_BINFMT_FLAT_ONE
 	bool "One memory region"
 	bool "One memory region"
+	depends on ADK_TARGET_ARCH_BFIN
 	help
 	help
 	  All segments are linked into one memory region.
 	  All segments are linked into one memory region.
 
 
 config ADK_TARGET_BINFMT_FLAT_SEP_DATA
 config ADK_TARGET_BINFMT_FLAT_SEP_DATA
 	bool "Separate data and code region"
 	bool "Separate data and code region"
+	depends on ADK_TARGET_ARCH_M68K
 	help
 	help
 	  Allow for the data and text segments to be separated and placed in
 	  Allow for the data and text segments to be separated and placed in
 	  different regions of memory.
 	  different regions of memory.