remove support for ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34432v19.07.3_mercusys_ac12_duma
parent
4a1e2123eb
commit
4801705d83
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
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -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…
Reference in New Issue