remove support for ubicom32

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34432
v19.07.3_mercusys_ac12_duma
Florian Fainelli 12 years ago
parent 4a1e2123eb
commit 4801705d83

@ -298,7 +298,6 @@ case $basic_machine in
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
| spu | strongarm \
| tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
| ubicom32 \
| v850 | v850e \
| we32k \
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
@ -395,7 +394,6 @@ case $basic_machine in
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
| tile-* | tilegx-* \
| tron-* \
| ubicom32-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \

@ -2,14 +2,13 @@
choice
prompt "Binutils Version" if TOOLCHAINOPTS
default BINUTILS_VERSION_2_19_1 if ubicom32
default BINUTILS_VERSION_2_19_1
default BINUTILS_VERSION_2_20_1 if avr32
default BINUTILS_VERSION_2_22
help
Select the version of binutils you wish to use.
config BINUTILS_VERSION_2_19_1
depends ubicom32
bool "binutils 2.19.1"
config BINUTILS_VERSION_2_20_1
@ -17,17 +16,14 @@ choice
bool "binutils 2.20.1"
config BINUTILS_VERSION_2_21_1
depends !ubicom32
depends !avr32 || (avr32 && BROKEN)
bool "binutils 2.21.1"
config BINUTILS_VERSION_2_22
depends !ubicom32 || (ubicom32 && BROKEN)
depends !avr32 || (avr32 && BROKEN)
bool "binutils 2.22"
config BINUTILS_VERSION_2_23_1
depends !ubicom32 || (ubicom32 && BROKEN)
depends !avr32 || (avr32 && BROKEN)
bool "binutils 2.23.1"
@ -48,6 +44,5 @@ config BINUTILS_VERSION
default "2.21.1" if BINUTILS_VERSION_2_21_1
default "2.22" if BINUTILS_VERSION_2_22
default "2.23.1" if BINUTILS_VERSION_2_23_1
default "2.19.1" if ubicom32
default "2.20.1" if avr32
default "2.22"

@ -9,7 +9,7 @@ choice
config GCC_VERSION_4_4_7
bool "gcc 4.4.7"
depends (avr32 || ubicom32)
depends avr32
config GCC_VERSION_4_6_2
bool "gcc 4.6.2"

@ -3,7 +3,7 @@ config GCC_DEFAULT_VERSION
config GCC_DEFAULT_VERSION_4_4_7
select GCC_DEFAULT_VERSION
default y if (avr32 || ubicom32)
default y if avr32
bool
config GCC_DEFAULT_VERSION_4_6_LINARO

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -70,15 +70,6 @@ define Host/Configure/post/cris
$(SED) '/#include <asm\/page\.h>/d' $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/asm/user.h
endef
define Host/Configure/post/ubicom32
$(CP) \
$(HOST_BUILD_DIR)/arch/ubicom32/include/asm/elf.h \
$(HOST_BUILD_DIR)/arch/ubicom32/include/asm/user.h \
$(HOST_BUILD_DIR)/arch/ubicom32/include/asm/page.h \
$(HOST_BUILD_DIR)/arch/ubicom32/include/asm/page_offset.h \
$(BUILD_DIR_TOOLCHAIN)/linux-dev/include/asm/
endef
define Host/Configure/post/mips
$(call Host/Configure/lzma)
endef

@ -76,7 +76,6 @@ TARGET_SUBARCH=""
# TARGET_sh is not set
# TARGET_sh64 is not set
# TARGET_sparc is not set
# TARGET_ubicom32 is not set
# TARGET_v850 is not set
# TARGET_vax is not set
# TARGET_x86_64 is not set

@ -1,36 +0,0 @@
ARCH_BIG_ENDIAN=y
ARCH_HAS_NO_MMU=y
COMPAT_ATEXIT=y
# CONFIG_UC_UBICOM32_V3 is not set
CONFIG_UC_UBICOM32_V4=y
# DOSTRIP is not set
EXCLUDE_BRK=y
FORCE_SHAREABLE_TEXT_SEGMENTS=y
LDSO_PRELOAD_FILE_SUPPORT=y
LINUXTHREADS_OLD=y
MALLOC=y
# MALLOC_STANDARD is not set
PTHREADS_DEBUG_SUPPORT=y
SUPPORT_LD_DEBUG=y
TARGET_ARCH="ubicom32"
TARGET_ubicom32=y
# UCLIBC_FORMAT_ELF is not set
UCLIBC_FORMAT_FDPIC_ELF=y
# UCLIBC_FORMAT_FLAT is not set
# UCLIBC_FORMAT_FLAT_SEP_DATA is not set
# UCLIBC_FORMAT_SHARED_FLAT is not set
UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
UCLIBC_HAS_FPU=y
# UCLIBC_HAS_GETPT is not set
UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL=y
UCLIBC_HAS_PROFILING=y
UCLIBC_HAS_REENTRANT_RPC=y
UCLIBC_HAS_STUBS=y
# UCLIBC_HAS_THREADS_NATIVE is not set
UCLIBC_HAS_XATTR=y
UCLIBC_NTP_LEGACY=y
UCLIBC_STATIC_LDCONFIG=y
UCLIBC_SV4_DEPRECATED=y
UCLIBC_UCLINUX_BROKEN_MUNMAP=y
UNIX98PTY_ONLY=y

File diff suppressed because it is too large Load Diff

@ -1,32 +0,0 @@
--- a/ldso/include/dl-elf.h
+++ b/ldso/include/dl-elf.h
@@ -45,6 +45,10 @@ extern int _dl_linux_resolve(void);
extern int _dl_fixup(struct dyn_elf *rpnt, struct r_scope_elem *scope, int flag);
extern void _dl_protect_relro (struct elf_resolve *l);
+#ifndef DL_LOADADDR_ISSET(_loadaddr)
+#define DL_LOADADDR_ISSET(_loadaddr) ((_loadaddr) != 0)
+#endif
+
/*
* Bitsize related settings for things ElfW()
* does not handle already
@@ -206,7 +210,7 @@ unsigned int __dl_parse_dynamic_info(Elf
we'd have to walk all the loadsegs to find out if it was
actually unnecessary, so skip this optimization. */
#if !defined __FDPIC__ && !defined __DSBT__
- if (load_off != 0)
+ if (DL_LOADADDR_ISSET(load_off))
#endif
{
ADJUST_DYN_INFO(DT_HASH, load_off);
--- a/ldso/ldso/ubicom32/dl-sysdep.h
+++ b/ldso/ldso/ubicom32/dl-sysdep.h
@@ -101,6 +101,7 @@ do { \
} while (0)
#define DL_LOADADDR_TYPE struct elf32_fdpic_loadaddr
+#define DL_LOADADDR_ISSET(_loadaddr) ((_loadaddr).map != NULL)
#define DL_RELOC_ADDR(LOADADDR, ADDR) \
((ElfW(Addr))__reloc_pointer ((void*)(ADDR), (LOADADDR).map))
Loading…
Cancel
Save