Skip to contentSkip to conversation

m68k: disable BR2_BINFMT_FLAT_SEP_DATA

PATCH Superseded Waldemar Brodkorb 1 participant 1 message Aug 20, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m68k: disable BR2_BINFMT_FLAT_SEP_DATA

As some packages like pcre have bigger functions than sep-data format allows for this kind of CPU, simple disable this format for now.

Fixes gcc compile errors like:

Fatal error: Tried to convert PC relative branch to absolute jump or
error: value -yyyyy out of range

Fixes:
http://autobuild.buildroot.net/results/20b/20b1586757450d6aad8583ad7a787a7ca11acef1/
http://autobuild.buildroot.net/results/d31/d311955ada1ffcd7f69e82965c8fe33eabe488cd/

---

It would be nice if the autobuilder toolchain could be recompiled.

---
 arch/Config.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/Config.in +1 -2
index b980e05..4906be3 100644
@@ -331,13 +331,12 @@ choice
 
 config BR2_BINFMT_FLAT_ONE
 	bool "One memory region"
-	depends on !BR2_m68k
 	help
 	  All segments are linked into one memory region.
 
 config BR2_BINFMT_FLAT_SEP_DATA
 	bool "Separate data and code region"
-	depends on BR2_m68k || BR2_bfin
+	depends on BR2_bfin
 	help
 	  Allow for the data and text segments to be separated and placed in
 	  different regions of memory.
Signature · 1 line
2.1.4