[Buildroot] [PATCH] m68k: binfmt flat configuration fixes

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 3 18:25:10 UTC 2016


Hello,

On Sun, 3 Jul 2016 19:08:19 +0200, Waldemar Brodkorb wrote:

> diff --git a/arch/Config.in b/arch/Config.in
> index 1fdd36a..92b094a 100644
> --- a/arch/Config.in
> +++ b/arch/Config.in
> @@ -360,11 +360,13 @@ 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

Are you sure? I think sep-data is also available on Blackfin. From the
gcc documentation:

     _Blackfin Options_
          -mcpu=CPU[-SIREVISION]
          -msim -momit-leaf-frame-pointer  -mno-omit-leaf-frame-pointer
          -mspecld-anomaly  -mno-specld-anomaly  -mcsync-anomaly  -mno-csync-anomaly
          -mlow-64k -mno-low64k  -mstack-check-l1  -mid-shared-library
          -mno-id-shared-library  -mshared-library-id=N
          -mleaf-id-shared-library  -mno-leaf-id-shared-library
          -msep-data  -mno-sep-data  -mlong-calls  -mno-long-calls
          -mfast-fp -minline-plt -mmulticore  -mcorea  -mcoreb  -msdram
          -micplb

Also, what about ARM noMMU ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list