arch: introduce BR2_BINFMT_SUPPORTS_SHARED
In preparation for the refactoring of the static/shared library support, we add a BR2_BINFMT_SUPPORTS_SHARED hidden option that binary formats supporting shared libraries should select. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
c1a38829e7
commit
b85837e5d6
|
@ -251,6 +251,10 @@ config BR2_GCC_TARGET_MODE
|
||||||
config BR2_ARCH_HAS_ATOMICS
|
config BR2_ARCH_HAS_ATOMICS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
# Must be selected by binary formats that support shared libraries.
|
||||||
|
config BR2_BINFMT_SUPPORTS_SHARED
|
||||||
|
bool
|
||||||
|
|
||||||
# Set up target binary format
|
# Set up target binary format
|
||||||
choice
|
choice
|
||||||
prompt "Target Binary Format"
|
prompt "Target Binary Format"
|
||||||
|
@ -261,6 +265,7 @@ choice
|
||||||
config BR2_BINFMT_ELF
|
config BR2_BINFMT_ELF
|
||||||
bool "ELF"
|
bool "ELF"
|
||||||
depends on !BR2_bfin && !BR2_m68k
|
depends on !BR2_bfin && !BR2_m68k
|
||||||
|
select BR2_BINFMT_SUPPORTS_SHARED
|
||||||
help
|
help
|
||||||
ELF (Executable and Linkable Format) is a format for libraries and
|
ELF (Executable and Linkable Format) is a format for libraries and
|
||||||
executables used across different architectures and operating
|
executables used across different architectures and operating
|
||||||
|
@ -269,6 +274,7 @@ config BR2_BINFMT_ELF
|
||||||
config BR2_BINFMT_FDPIC
|
config BR2_BINFMT_FDPIC
|
||||||
bool "FDPIC"
|
bool "FDPIC"
|
||||||
depends on BR2_bfin
|
depends on BR2_bfin
|
||||||
|
select BR2_BINFMT_SUPPORTS_SHARED
|
||||||
help
|
help
|
||||||
ELF FDPIC binaries are based on ELF, but allow the individual load
|
ELF FDPIC binaries are based on ELF, but allow the individual load
|
||||||
segments of a binary to be located in memory independently of each
|
segments of a binary to be located in memory independently of each
|
||||||
|
@ -307,6 +313,7 @@ config BR2_BINFMT_FLAT_SEP_DATA
|
||||||
config BR2_BINFMT_FLAT_SHARED
|
config BR2_BINFMT_FLAT_SHARED
|
||||||
bool "Shared binary"
|
bool "Shared binary"
|
||||||
depends on BR2_bfin || BR2_m68k
|
depends on BR2_bfin || BR2_m68k
|
||||||
|
select BR2_BINFMT_SUPPORTS_SHARED
|
||||||
help
|
help
|
||||||
Allow to load and link indiviual FLAT binaries at run time.
|
Allow to load and link indiviual FLAT binaries at run time.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user