From b6d971cbda6e769525c6f03c182323f39d791000 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 13 Feb 2011 15:50:48 +0100 Subject: FORMAT_FDPIC_ELF: only for FRV and BFIN Signed-off-by: Bernhard Reutner-Fischer --- extra/Configs/Config.in.arch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch index 8a02cb1a2..068bccc69 100644 --- a/extra/Configs/Config.in.arch +++ b/extra/Configs/Config.in.arch @@ -15,7 +15,7 @@ config UCLIBC_FORMAT_ELF depends on ARCH_USE_MMU config UCLIBC_FORMAT_FDPIC_ELF bool "FDPIC ELF" - depends on !ARCH_USE_MMU + depends on !ARCH_USE_MMU && (TARGET_bfin || TARGET_frv) select DOPIC config UCLIBC_FORMAT_FLAT bool "STATIC FLAT" -- cgit v1.2.3 From a8f3b642f90ae425313b91ee8250e16aa971b8ff Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 13 Feb 2011 16:45:43 +0100 Subject: arm: use EABI per default Signed-off-by: Bernhard Reutner-Fischer --- extra/Configs/Config.arm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm index b060ace96..eb27a3391 100644 --- a/extra/Configs/Config.arm +++ b/extra/Configs/Config.arm @@ -14,7 +14,7 @@ config FORCE_OPTIONS_FOR_ARCH choice prompt "Target ABI" - default CONFIG_ARM_OABI + default CONFIG_ARM_EABI help If you choose "EABI" here, functions and constants required by the ARM EABI will be built into the library. You should choose "EABI" -- cgit v1.2.3 From 73d59554144f429b1cf0d4d7fa7de42bdf59ad92 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 23 Jul 2009 01:11:38 -0400 Subject: unify stub logic Signed-off-by: Mike Frysinger --- extra/Configs/Config.in | 9 --------- 1 file changed, 9 deletions(-) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index aa459e06a..f152a9666 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -665,15 +665,6 @@ config UCLIBC_HAS_STUBS functions which are impossible to implement on the target architecture. Otherwise, such functions are simply omitted. - As of 2008-07, this option makes uClibc provide fork() stub - on NOMMU targets. It always sets errno to ENOSYS and returns -1. - - This may be useful if you port a lot of software and cannot - audit all of it and replace or disable fork() usage. - With this option, a program which uses fork() will build - successfully. Of course, it may be useless if fork() - is essential for its operation. - config UCLIBC_HAS_SHADOW bool "Shadow Password Support" default y -- cgit v1.2.3 From a82ba03b6ff449bdfdae4ad360c2ab59bda09ef4 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 26 Feb 2011 18:28:19 +0100 Subject: add UCLIBC_STRICT_HEADERS config option Add config option to disable the visibility of structures/constants that should not be visible unless a feature is enabled. Signed-off-by: Peter S. Mazinger --- extra/Configs/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index f152a9666..15da168d5 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -657,6 +657,17 @@ config UCLIBC_SUSV4_LEGACY WARNING! ABI incompatibility. +config UCLIBC_STRICT_HEADERS + bool "Enable structures and constants for unsupported features" + default n + help + Enable structures and constants in headers that should not be used, + because the respective feature is disabled. + + WARNING! enabling this option requires to patch many faulty apps, + since they make (wrongly) use of these structures/constants, + although the feature was disabled. + config UCLIBC_HAS_STUBS bool "Provide stubs for unavailable functionality" default n -- cgit v1.2.3 From 8116ca7baec0ff8c9bc35a2920aa36549e6004a4 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 2 Mar 2011 15:31:00 +0100 Subject: make parse_printf_format() depend on UCLIBC_HAS_GLIBC_CUSTOM_PRINTF we already remove the printf.h header if this option is disabled Signed-off-by: Peter S. Mazinger --- extra/Configs/Config.in | 1 + 1 file changed, 1 insertion(+) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 15da168d5..4d2c870bd 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -1499,6 +1499,7 @@ config UCLIBC_HAS_GLIBC_CUSTOM_PRINTF help Answer Y to support glibc's register_printf_function() to allow an application to add its own printf conversion specifiers. + parse_printf_format() is also enabled. NOTE: Limits the number or registered specifiers to 10. NOTE: Requires new conversion specifiers to be ASCII -- cgit v1.2.3 From 1f19ef8f9316e52f4940c34be3e056a8a41540e6 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 3 Mar 2011 13:52:34 +0100 Subject: do not enforce FORCE_SHAREABLE_TEXT_SEGMENTS on sh4 Signed-off-by: Peter S. Mazinger --- extra/Configs/Config.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'extra') diff --git a/extra/Configs/Config.sh b/extra/Configs/Config.sh index 10e9d8b0c..6ce54c265 100644 --- a/extra/Configs/Config.sh +++ b/extra/Configs/Config.sh @@ -41,7 +41,6 @@ config CONFIG_SH3 bool "SH3" config CONFIG_SH4 - select FORCE_SHAREABLE_TEXT_SEGMENTS bool "SH4" endchoice -- cgit v1.2.3 From 46d6a24872b7fa2717f8f71b5e0598a14d38e1f6 Mon Sep 17 00:00:00 2001 From: Aurelien Jacquiot Date: Wed, 23 Feb 2011 13:04:59 +0100 Subject: The C6X port This adds support for the TI C6X family of processors. Signed-off-by: Mark Salter Signed-off-by: Aurelien Jacquiot Signed-off-by: Bernd Schmidt --- extra/Configs/Config.c6x | 34 ++++++++++++++++++++++++++++++++++ extra/Configs/Config.in | 7 +++++++ extra/Configs/Config.in.arch | 4 ++++ 3 files changed, 45 insertions(+) create mode 100644 extra/Configs/Config.c6x (limited to 'extra') diff --git a/extra/Configs/Config.c6x b/extra/Configs/Config.c6x new file mode 100644 index 000000000..d71df3f14 --- /dev/null +++ b/extra/Configs/Config.c6x @@ -0,0 +1,34 @@ +# +# For a description of the syntax of this configuration file, +# see extra/config/Kconfig-language.txt +# + +config TARGET_ARCH + default "c6x" + +config FORCE_OPTIONS_FOR_ARCH + bool + default y + select ARCH_ANY_ENDIAN + +config ARCH_CFLAGS + string + +config ARCH_LDFLAGS + string + +choice + prompt "Target Processor Type" + default CONFIG_GENERIC_C6X + +config CONFIG_GENERIC_C6X + bool "Generic C6X DSP" + +config CONFIG_TMS320C64X + bool "TMS320C64X" + +config CONFIG_TMS320C64XPLUS + bool "TMS320C64X+" + +endchoice + diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 4d2c870bd..8628f28f6 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -114,6 +114,9 @@ config TARGET_x86_64 config TARGET_xtensa bool "xtensa" +config TARGET_c6x + bool "c6x" + endchoice @@ -219,6 +222,10 @@ if TARGET_xtensa source "extra/Configs/Config.xtensa" endif +if TARGET_c6x +source "extra/Configs/Config.c6x" +endif + config TARGET_SUBARCH string default "e500" if CONFIG_E500 diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch index 068bccc69..5f7a2b0c6 100644 --- a/extra/Configs/Config.in.arch +++ b/extra/Configs/Config.in.arch @@ -17,6 +17,10 @@ config UCLIBC_FORMAT_FDPIC_ELF bool "FDPIC ELF" depends on !ARCH_USE_MMU && (TARGET_bfin || TARGET_frv) select DOPIC +config UCLIBC_FORMAT_DSBT_ELF + bool "DBST ELF" + depends on !ARCH_USE_MMU && TARGET_c6x + select DOPIC config UCLIBC_FORMAT_FLAT bool "STATIC FLAT" depends on !ARCH_USE_MMU -- cgit v1.2.3 From 1f08001dd7c51ce09b39310604e4baa5a973629c Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 6 Mar 2011 17:02:56 +0100 Subject: remove unused ARCH_CFLAGS and ARCH_LDFLAGS Signed-off-by: Peter S. Mazinger --- extra/Configs/Config.c6x | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extra') diff --git a/extra/Configs/Config.c6x b/extra/Configs/Config.c6x index d71df3f14..7b5b00528 100644 --- a/extra/Configs/Config.c6x +++ b/extra/Configs/Config.c6x @@ -11,12 +11,6 @@ config FORCE_OPTIONS_FOR_ARCH default y select ARCH_ANY_ENDIAN -config ARCH_CFLAGS - string - -config ARCH_LDFLAGS - string - choice prompt "Target Processor Type" default CONFIG_GENERIC_C6X -- cgit v1.2.3 From 935151992d9385c54a44033d5bf8102ff10fb50f Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Wed, 9 Mar 2011 16:06:59 +0100 Subject: Select ARCH_HAS_NO_MMU for C6X. Signed-off-by: Bernd Schmidt --- extra/Configs/Config.c6x | 1 + 1 file changed, 1 insertion(+) (limited to 'extra') diff --git a/extra/Configs/Config.c6x b/extra/Configs/Config.c6x index 7b5b00528..96adfb398 100644 --- a/extra/Configs/Config.c6x +++ b/extra/Configs/Config.c6x @@ -10,6 +10,7 @@ config FORCE_OPTIONS_FOR_ARCH bool default y select ARCH_ANY_ENDIAN + select ARCH_HAS_NO_MMU choice prompt "Target Processor Type" -- cgit v1.2.3