From 31a898f13aa220265b4f481125843f20ae53d938 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 2 Aug 2015 11:30:46 +0200 Subject: add uclibc.config for meta, disable gcc honour copts for this old gcc --- target/config/Config.in.gcc.choice | 1 + target/metag/uclibc.config | 78 ++++++++++++++++++++++++-------------- 2 files changed, 50 insertions(+), 29 deletions(-) diff --git a/target/config/Config.in.gcc.choice b/target/config/Config.in.gcc.choice index 6d0057c55..2d69f5ed4 100644 --- a/target/config/Config.in.gcc.choice +++ b/target/config/Config.in.gcc.choice @@ -78,5 +78,6 @@ config ADK_TOOLCHAIN_GCC_4_4_7 config ADK_TOOLCHAIN_GCC_4_2_4 bool "4.2.4" depends on ADK_TARGET_ARCH_METAG + select ADK_DISABLE_HONOUR_CFLAGS endchoice diff --git a/target/metag/uclibc.config b/target/metag/uclibc.config index 1a0aef14f..66ecd40e0 100644 --- a/target/metag/uclibc.config +++ b/target/metag/uclibc.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# uClibc 1.0.0-git C Library Configuration +# uClibc 1.0.4 C Library Configuration # # TARGET_arc is not set # TARGET_arm is not set @@ -8,11 +8,13 @@ # TARGET_bfin is not set # TARGET_c6x is not set # TARGET_cris is not set +# TARGET_h8300 is not set # TARGET_i386 is not set # TARGET_m68k is not set +TARGET_metag=y # TARGET_microblaze is not set # TARGET_mips is not set -TARGET_nios2=y +# TARGET_nios2 is not set # TARGET_powerpc is not set # TARGET_sh is not set # TARGET_sparc is not set @@ -22,55 +24,69 @@ TARGET_nios2=y # # Target Architecture Features and Options # -TARGET_ARCH="nios2" +TARGET_ARCH="metag" FORCE_OPTIONS_FOR_ARCH=y +# CONFIG_META_1_2 is not set +CONFIG_META_2_1=y TARGET_SUBARCH="" -UCLIBC_FORMAT_FLAT=y -# UCLIBC_FORMAT_FLAT_SEP_DATA is not set -# UCLIBC_FORMAT_SHARED_FLAT is not set -ARCH_HAS_DEPRECATED_SYSCALLS=y -ARCH_LITTLE_ENDIAN=y -# ARCH_WANTS_BIG_ENDIAN is not set -# ARCH_WANTS_LITTLE_ENDIAN is not set # -# Using Little Endian +# Using ELF file format # -ARCH_HAS_NO_MMU=y +ARCH_LITTLE_ENDIAN=y # -# Target CPU lacks a memory management unit (MMU) +# Using Little Endian # +ARCH_HAS_MMU=y +ARCH_USE_MMU=y UCLIBC_HAS_FLOATS=y # UCLIBC_HAS_FPU is not set UCLIBC_HAS_SOFT_FLOAT=y DO_C99_MATH=y # DO_XSI_MATH is not set -UCLIBC_HAS_FENV=y +# UCLIBC_HAS_FENV is not set KERNEL_HEADERS="" -UCLIBC_UCLINUX_BROKEN_MUNMAP=y HAVE_DOT_CONFIG=y # # General Library Settings # -HAVE_NO_PIC=y -ARCH_HAS_NO_SHARED=y -ARCH_HAS_NO_LDSO=y +DOPIC=y +HAVE_SHARED=y +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set +LDSO_LDD_SUPPORT=y +LDSO_CACHE_SUPPORT=y +# LDSO_PRELOAD_ENV_SUPPORT is not set +# LDSO_PRELOAD_FILE_SUPPORT is not set +LDSO_BASE_FILENAME="ld.so" +# LDSO_STANDALONE_SUPPORT is not set +# LDSO_PRELINK_SUPPORT is not set +# UCLIBC_STATIC_LDCONFIG is not set +LDSO_RUNPATH=y +LDSO_RUNPATH_OF_EXECUTABLE=y +LDSO_SAFE_RUNPATH=y +LDSO_SEARCH_INTERP_PATH=y +LDSO_LD_LIBRARY_PATH=y +# LDSO_NO_CLEANUP is not set UCLIBC_CTOR_DTOR=y -HAS_NO_THREADS=y -# LINUXTHREADS_OLD is not set -# LINUXTHREADS_NEW is not set -# UCLIBC_HAS_THREADS_NATIVE is not set +# LDSO_GNU_HASH_SUPPORT is not set +# HAS_NO_THREADS is not set +UCLIBC_HAS_THREADS_NATIVE=y +UCLIBC_HAS_THREADS=y +UCLIBC_HAS_TLS=y +PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_SYSLOG=y UCLIBC_HAS_LFS=y -MALLOC=y +# MALLOC is not set # MALLOC_SIMPLE is not set -# MALLOC_STANDARD is not set -MALLOC_GLIBC_COMPAT=y +MALLOC_STANDARD=y +# MALLOC_GLIBC_COMPAT is not set UCLIBC_HAS_OBSTACK=y UCLIBC_DYNAMIC_ATEXIT=y COMPAT_ATEXIT=y +UCLIBC_HAS_UTMPX=y +UCLIBC_HAS_UTMP=y UCLIBC_SUSV2_LEGACY=y UCLIBC_SUSV3_LEGACY=y # UCLIBC_SUSV3_LEGACY_MACROS is not set @@ -139,6 +155,7 @@ UCLIBC_HAS_LIBNSL_STUB=y # UCLIBC_HAS_STRING_GENERIC_OPT=y UCLIBC_HAS_STRING_ARCH_OPT=y +UCLIBC_HAS_STDIO_FUTEXES=y UCLIBC_HAS_CTYPE_TABLES=y UCLIBC_HAS_CTYPE_SIGNED=y # UCLIBC_HAS_CTYPE_UNSAFE is not set @@ -179,17 +196,15 @@ UCLIBC_HAS_GNU_GETSUBOPT=y # Big and Tall # UCLIBC_HAS_REGEX=y -# UCLIBC_HAS_REGEX_OLD is not set +UCLIBC_HAS_REGEX_OLD=y UCLIBC_HAS_FNMATCH=y -# UCLIBC_HAS_FNMATCH_OLD is not set +UCLIBC_HAS_FNMATCH_OLD=y UCLIBC_HAS_WORDEXP=y UCLIBC_HAS_NFTW=y UCLIBC_HAS_FTW=y UCLIBC_HAS_FTS=y UCLIBC_HAS_GLOB=y UCLIBC_HAS_GNU_GLOB=y -UCLIBC_HAS_UTMP=y -UCLIBC_HAS_UTMPX=y # # Library Installation Options @@ -205,6 +220,8 @@ HARDWIRED_ABSPATH=y UCLIBC_HAS_ARC4RANDOM=y # ARC4RANDOM_USES_NODEV is not set # UCLIBC_HAS_SSP is not set +UCLIBC_BUILD_RELRO=y +UCLIBC_BUILD_NOW=y UCLIBC_BUILD_NOEXECSTACK=y # @@ -215,7 +232,10 @@ UCLIBC_EXTRA_CFLAGS="" # DODEBUG is not set # DOSTRIP is not set # DOASSERTS is not set +# SUPPORT_LD_DEBUG is not set +# SUPPORT_LD_DEBUG_EARLY is not set # UCLIBC_MALLOC_DEBUGGING is not set +# UCLIBC_HAS_BACKTRACE is not set WARNINGS="-Wall" # EXTRA_WARNINGS is not set # DOMULTI is not set -- cgit v1.2.3