Changeset 30374


Ignore:
Timestamp:
2012-02-08T16:45:44+01:00 (4 years ago)
Author:
kaloz
Message:

[toolchain/uClibc]: add 0.9.33

Location:
trunk/toolchain/uClibc
Files:
10 deleted
11 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/uClibc/Config.in

    r25542 r30374  
    1111                bool "uClibc 0.9.32-git" 
    1212 
     13        config UCLIBC_VERSION_0_9_33 
     14                bool "uClibc 0.9.33" 
     15 
    1316endchoice 
    1417 
  • trunk/toolchain/uClibc/Config.version

    r27882 r30374  
    33        depends on USE_UCLIBC 
    44        default "0.9.32"       if UCLIBC_VERSION_0_9_32 
     5        default "0.9.33"       if UCLIBC_VERSION_0_9_33 
    56        default "0.9.32" 
    67 
  • trunk/toolchain/uClibc/Makefile

    r29633 r30374  
    11# 
    2 # Copyright (C) 2006-2011 OpenWrt.org 
     2# Copyright (C) 2006-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    2626CONFIG_DIR:=./config-$(PKG_VERSION) 
    2727 
     28PKG_MD5SUM_0.9.33 = cf9d25e4b3c87af1a99d33a6b959fbf1 
    2829PKG_MD5SUM=$(PKG_MD5SUM_$(PKG_VERSION)) 
    2930 
  • trunk/toolchain/uClibc/config-0.9.33/common

    r29646 r30374  
    3232LDSO_CACHE_SUPPORT=y 
    3333# LDSO_GNU_HASH_SUPPORT is not set 
     34LDSO_LD_LIBRARY_PATH=y 
    3435LDSO_LDD_SUPPORT=y 
     36# LDSO_NO_CLEANUP is not set 
     37# LDSO_PRELINK_SUPPORT is not set 
    3538# LDSO_PRELOAD_FILE_SUPPORT is not set 
    3639# LDSO_PRELOAD_ENV_SUPPORT is not set 
    3740LDSO_RUNPATH=y 
    3841# LDSO_SEARCH_INTERP_PATH is not set 
     42# LDSO_STANDALONE_SUPPORT is not set 
    3943# LINUXTHREADS_NEW is not set 
    4044# LINUXTHREADS_OLD is not set 
     
    106110UCLIBC_HAS_FNMATCH=y 
    107111UCLIBC_HAS_FNMATCH_OLD=y 
     112# UCLIBC_HAS_FOPEN_CLOSEEXEC_MODE is not set 
    108113UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y 
    109114# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set 
     
    142147UCLIBC_HAS_REGEX=y 
    143148UCLIBC_HAS_REGEX_OLD=y 
     149UCLIBC_HAS_RESOLVER_SUPPORT=y 
    144150# UCLIBC_HAS_RPC is not set 
    145151UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     152UCLIBC_HAS_SHA256_CRYPT_IMPL=y 
     153UCLIBC_HAS_SHA512_CRYPT_IMPL=y 
    146154UCLIBC_HAS_SHADOW=y 
    147155UCLIBC_HAS_SIGNUM_MESSAGES=y 
     
    181189UCLIBC_HAS___PROGNAME=y 
    182190# UCLIBC_LINUX_MODULE_24 is not set 
     191UCLIBC_LINUX_MODULE_26=y 
    183192UCLIBC_LINUX_SPECIFIC=y 
    184193# UCLIBC_MALLOC_DEBUGGING is not set 
  • trunk/toolchain/uClibc/patches-0.9.33/131-inet-fix-__read_etc_hosts_r-segfault.patch

    r27131 r30374  
    11--- a/libc/inet/resolv.c 
    22+++ b/libc/inet/resolv.c 
    3 @@ -1631,6 +1631,7 @@ int attribute_hidden __read_etc_hosts_r( 
     3@@ -1634,6 +1634,7 @@ int attribute_hidden __read_etc_hosts_r( 
    44         * struct in[6]_addr 
    55         * char line_buffer[BUFSZ+]; 
  • trunk/toolchain/uClibc/patches-0.9.33/160-mips_signalfd_sfd_nonblock.patch

    r28087 r30374  
    88Signed-off-by: Khem Raj <raj.khem@gmail.com> 
    99--- 
    10 diff --git a/include/sys/signalfd.h b/include/sys/signalfd.h 
    11 index 8cee17c..f1cb63a 100644 
    1210--- a/include/sys/signalfd.h 
    1311+++ b/include/sys/signalfd.h 
    14 @@ -64,6 +64,15 @@ enum 
     12@@ -73,6 +73,15 @@ enum 
    1513 # define SFD_NONBLOCK SFD_NONBLOCK 
    1614   }; 
     
    2826 enum 
    2927   { 
    30 -- 
    31 cgit v0.9.0.1-2-gef13 
    32  
  • trunk/toolchain/uClibc/patches-0.9.33/200-no_forced_unwind.patch

    r27772 r30374  
    11--- a/Rules.mak 
    22+++ b/Rules.mak 
    3 @@ -656,7 +656,6 @@ endif 
     3@@ -707,7 +707,6 @@ endif 
    44 ifeq ($(UCLIBC_HAS_THREADS),y) 
    55 ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) 
  • trunk/toolchain/uClibc/patches-0.9.33/480-powerpc_rel24_support.patch

    r26703 r30374  
    11--- a/ldso/ldso/powerpc/elfinterp.c 
    22+++ b/ldso/ldso/powerpc/elfinterp.c 
    3 @@ -293,22 +293,17 @@ _dl_do_reloc (struct elf_resolve *tpnt,s 
     3@@ -297,22 +297,17 @@ _dl_do_reloc (struct elf_resolve *tpnt,s 
    44                break; 
    55 #endif 
  • trunk/toolchain/uClibc/patches-0.9.33/600-ubicom32-uClibc.patch

    r27772 r30374  
    11--- a/Rules.mak 
    22+++ b/Rules.mak 
    3 @@ -482,6 +482,17 @@ ifeq ($(TARGET_ARCH),i960) 
     3@@ -524,6 +524,17 @@ ifeq ($(TARGET_ARCH),i960) 
    44       SYMBOL_PREFIX=_ 
    55 endif 
     
    4444--- a/extra/Configs/Config.in.arch 
    4545+++ b/extra/Configs/Config.in.arch 
    46 @@ -153,7 +153,7 @@ config UCLIBC_HAS_SOFT_FLOAT 
     46@@ -152,7 +152,7 @@ config UCLIBC_HAS_SOFT_FLOAT 
    4747 config DO_C99_MATH 
    4848        bool "Enable full C99 math library support" 
     
    111111 #define EM_CYGNUS_FRV  0x5441 
    112112  
    113 @@ -3108,6 +3110,55 @@ typedef Elf32_Addr Elf32_Conflict; 
    114   
    115  #define DT_C6000_NUM    4 
     113@@ -3141,6 +3143,55 @@ typedef Elf32_Addr Elf32_Conflict; 
     114 #define R_MICROBLAZE_COPY 21  /* runtime copy */ 
     115 #define R_MICROBLAZE_NUM 22 
    116116  
    117117+/* Ubicom32 ELF relocation types */ 
     
    180180+#endif 
    181181 #endif /* features.h  */ 
    182 --- a/ldso/ldso/dl-startup.c 
    183 +++ b/ldso/ldso/dl-startup.c 
    184 @@ -164,10 +164,13 @@ DL_START(unsigned long args) 
    185                 aux_dat += 2; 
    186         } 
    187   
    188 +#if !defined __FDPIC__ 
    189         /* locate the ELF header.   We need this done as soon as possible 
    190          * (esp since SEND_STDERR() needs this on some platforms... */ 
    191         if (!auxvt[AT_BASE].a_un.a_val) 
    192                 auxvt[AT_BASE].a_un.a_val = elf_machine_load_address(); 
    193 +#endif 
    194 + 
    195         DL_INIT_LOADADDR_BOOT(load_addr, auxvt[AT_BASE].a_un.a_val); 
    196         header = (ElfW(Ehdr) *) auxvt[AT_BASE].a_un.a_val; 
    197   
    198 --- a/ldso/ldso/ldso.c 
    199 +++ b/ldso/ldso/ldso.c 
    200 @@ -325,10 +325,12 @@ void _dl_get_ready_to_run(struct elf_res 
    201                 _dl_progname = argv[0]; 
    202         } 
    203   
    204 +#if 0 // blackfin does this, we do to avoid die during reloc 
    205         if (_start == (void *) auxvt[AT_ENTRY].a_un.a_val) { 
    206                 _dl_dprintf(_dl_debug_file, "Standalone execution is not supported yet\n"); 
    207                 _dl_exit(1); 
    208         } 
    209 +#endif 
    210   
    211         /* Start to build the tables of the modules that are required for 
    212          * this beast to run.  We start with the basic executable, and then 
    213182--- /dev/null 
    214183+++ b/ldso/ldso/ubicom32/dl-debug.h 
  • trunk/toolchain/uClibc/patches-0.9.33/601-ubicom32_uClibc_fixes.patch

    r26703 r30374  
    11--- a/ldso/include/dl-elf.h 
    22+++ b/ldso/include/dl-elf.h 
    3 @@ -42,6 +42,10 @@ extern int _dl_linux_resolve(void); 
    4  extern int _dl_fixup(struct dyn_elf *rpnt, int flag); 
     3@@ -45,6 +45,10 @@ extern int _dl_linux_resolve(void); 
     4 extern int _dl_fixup(struct dyn_elf *rpnt, struct r_scope_elem *scope, int flag); 
    55 extern void _dl_protect_relro (struct elf_resolve *l); 
    66  
     
    1212  * Bitsize related settings for things ElfW() 
    1313  * does not handle already 
    14 @@ -166,7 +170,7 @@ unsigned int __dl_parse_dynamic_info(Elf 
     14@@ -206,7 +210,7 @@ unsigned int __dl_parse_dynamic_info(Elf 
    1515           we'd have to walk all the loadsegs to find out if it was 
    1616           actually unnecessary, so skip this optimization.  */ 
  • trunk/toolchain/uClibc/patches-0.9.33/960-remove_eabi_oabi_selection.patch

    r25698 r30374  
    1010Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> 
    1111--- 
    12  extra/Configs/Config.arm               |   11 ----------- 
    13  libc/sysdeps/linux/arm/Makefile.arch   |    9 +++++++-- 
    14  libc/sysdeps/linux/arm/bits/huge_val.h |    4 ++-- 
    15  3 files changed, 9 insertions(+), 15 deletions(-) 
    1612 
    1713--- a/extra/Configs/Config.arm 
     
    2824-         if your compiler uses the ARM EABI, in which case you will also 
    2925-         need a kernel supporting the EABI system call interface. 
    30 -          
     26- 
    3127-         If you say 'n' here, then the library will be built for the 
    3228-         old Linux ABI. 
     
    3531        bool "Build using Thumb mode" 
    3632        select USE_BX 
    37 --- a/libc/sysdeps/linux/arm/Makefile.arch 
    38 +++ b/libc/sysdeps/linux/arm/Makefile.arch 
    39 @@ -24,7 +24,12 @@ ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y) 
    40  CSRC += posix_fadvise.c posix_fadvise64.c 
    41  endif 
    42   
    43 -ifeq ($(CONFIG_ARM_EABI),y) 
    44 +# Is our compiler set up for EABI ? 
    45 +IS_EABI:=$(shell $(CC) $(CFLAGS) -x c - -E -dM </dev/null 2>/dev/null \ 
    46 +                 |sed -r -e '/^\#[[:space:]]*define[[:space:]]+__ARM_EABI__([[:space:]]+1)?$$/!d; s/.+/y/;' \ 
    47 +          ) 
    48 + 
    49 +ifeq ($(IS_EABI),y) 
    50  CSRC += aeabi_assert.c aeabi_atexit.c aeabi_errno_addr.c \ 
    51         aeabi_localeconv.c aeabi_memclr.c aeabi_memcpy.c \ 
    52         aeabi_memmove.c aeabi_memset.c find_exidx.c 
    53 @@ -37,7 +42,7 @@ else 
    54  CSRC += syscall.c 
    55  endif 
    56   
    57 -ifeq ($(CONFIG_ARM_EABI),y) 
    58 +ifeq ($(IS_EABI),y) 
    59  libc-static-y += $(ARCH_OUT)/aeabi_lcsts.o $(ARCH_OUT)/aeabi_math.o \ 
    60         $(ARCH_OUT)/aeabi_sighandlers.o 
    61  libc-nonshared-y += $(ARCH_OUT)/aeabi_lcsts.os $(ARCH_OUT)/aeabi_math.os \ 
    62 --- a/libc/sysdeps/linux/arm/bits/huge_val.h 
    63 +++ b/libc/sysdeps/linux/arm/bits/huge_val.h 
    64 @@ -32,7 +32,7 @@ 
    65  # define HUGE_VAL (__extension__ 0x1.0p2047) 
    66  #elif defined __GNUC__ 
    67   
    68 -#ifndef __CONFIG_ARM_EABI__ 
    69 +#ifndef __ARM_EABI__ 
    70  # define HUGE_VAL \ 
    71    (__extension__                                                             \ 
    72     ((union { unsigned __l __attribute__((__mode__(__DI__))); double __d; })   \ 
    73 @@ -50,7 +50,7 @@ 
    74   
    75  typedef union { unsigned char __c[8]; double __d; } __huge_val_t; 
    76   
    77 -#ifndef __CONFIG_ARM_EABI__ 
    78 +#ifndef __ARM_EABI__ 
    79  # if __BYTE_ORDER == __BIG_ENDIAN 
    80  #  define __HUGE_VAL_bytes     { 0, 0, 0, 0, 0x7f, 0xf0, 0, 0 } 
    81  # endif 
Note: See TracChangeset for help on using the changeset viewer.