Changeset 364 for asp3_tinet_ecnl_rx/trunk/musl-1.1.18
- Timestamp:
- Feb 1, 2019, 9:57:09 PM (5 years ago)
- Location:
- asp3_tinet_ecnl_rx/trunk/musl-1.1.18
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/.cproject
r337 r364 24 24 <storageModule moduleId="com.renesas.cdt.managedbuild.core.toolchainInfo"> 25 25 <option id="toolchain.id" value="RENESAS_GCC_RX"/> 26 <option id="toolchain.version" value="4.8.4.201 703"/>26 <option id="toolchain.version" value="4.8.4.201803"/> 27 27 </storageModule> 28 28 <storageModule moduleId="cdtBuildSystem" version="4.0.0"> … … 38 38 <option id="com.renesas.cdt.managedbuild.gcc.core.option.deviceCommand.614640820" name="DeviceCommand" superClass="com.renesas.cdt.managedbuild.gcc.core.option.deviceCommand" useByScannerDiscovery="false" value="R5F563NB" valueType="string"/> 39 39 <option id="com.renesas.cdt.managedbuild.gcc.core.option.debug.warnStackSize.223830224" name="Warn if stack size exceeds the limit (-Wstack-usage) (H')" superClass="com.renesas.cdt.managedbuild.gcc.core.option.debug.warnStackSize" useByScannerDiscovery="false" value="100" valueType="string"/> 40 <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.core.option.warnings.otherFlags.1638796861" name="Other Flags" superClass="com.renesas.cdt.managedbuild.gcc.core.option.warnings.otherFlags" valueType="stringList">40 <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.core.option.warnings.otherFlags.1638796861" name="Other Flags" superClass="com.renesas.cdt.managedbuild.gcc.core.option.warnings.otherFlags" useByScannerDiscovery="false" valueType="stringList"> 41 41 <listOptionValue builtIn="false" value="-Werror=implicit-function-declaration"/> 42 42 <listOptionValue builtIn="false" value="-Werror=implicit-int"/> … … 44 44 <listOptionValue builtIn="false" value="-Werror=pointer-arith"/> 45 45 </option> 46 <option id="com.renesas.cdt.managedbuild.gcc.core.option.optimization.functionsections.730653111" name="Function sections (-ffunction-sections)" superClass="com.renesas.cdt.managedbuild.gcc.core.option.optimization.functionsections" value="true" valueType="boolean"/> 46 <option id="com.renesas.cdt.managedbuild.gcc.core.option.optimization.functionsections.730653111" name="Function sections (-ffunction-sections)" superClass="com.renesas.cdt.managedbuild.gcc.core.option.optimization.functionsections" useByScannerDiscovery="true" value="true" valueType="boolean"/> 47 <option id="com.renesas.cdt.managedbuild.gcc.core.option.cpu.64bitdouble.1900028908" name="Make the double data type be 64 bits in size" superClass="com.renesas.cdt.managedbuild.gcc.core.option.cpu.64bitdouble" useByScannerDiscovery="true" value="true" valueType="boolean"/> 47 48 <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.renesas.cdt.managedbuild.gcc.core.targetPlatform.1287712370" isAbstract="false" osList="all" superClass="com.renesas.cdt.managedbuild.gcc.core.targetPlatform"/> 48 49 <builder buildPath="${workspace_loc:/musl}/Debug" id="com.renesas.cdt.managedbuild.gcc.core.builder.1709148240" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="GCC for Renesas Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gcc.core.builder"/> -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/arch/rx/crt_arch.h
r342 r364 1 #ifndef __c2__ 1 2 #define main sta_ker 3 #else 4 #define main dummy_start 5 static int dummy_start(int argc, char **argv, char **envp) 6 { 7 return 0; 8 } 9 #endif -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/arch/rx/syscall_arch.h
r342 r364 87 87 long __syscall_ret(unsigned long), __syscall_nr(long nr, ...); 88 88 89 #define __syscall(n, ...) n(__VA_ARGS__) 90 #define __syscall_cp(n, ...) n(__VA_ARGS__) 91 #define syscall(n, ...) __syscall_ret(__syscall(n, __VA_ARGS__)) 92 #define syscall_cp(n, ...) __syscall_ret(__syscall_cp(n, __VA_ARGS__)) 89 #define __syscall0(n) n() 90 #define __syscall1(n,a) n(__scc(a)) 91 #define __syscall2(n,a,b) n(__scc(a),__scc(b)) 92 #define __syscall3(n,a,b,c) n(__scc(a),__scc(b),__scc(c)) 93 #define __syscall4(n,a,b,c,d) n(__scc(a),__scc(b),__scc(c),__scc(d)) 94 #define __syscall5(n,a,b,c,d,e) n(__scc(a),__scc(b),__scc(c),__scc(d),__scc(e)) 95 #define __syscall6(n,a,b,c,d,e,f) n(__scc(a),__scc(b),__scc(c),__scc(d),__scc(e),__scc(f)) 96 #define __syscall7(n,a,b,c,d,e,f,g) n(__scc(a),__scc(b),__scc(c),__scc(d),__scc(e),__scc(f),__scc(g)) 93 97 94 #define __syscall2(n, ...) n(__VA_ARGS__) 95 #define __syscall3(n, ...) n(__VA_ARGS__) 96 #define __syscall_cp2(n, ...) n(__VA_ARGS__) 97 #define __syscall_cp3(n, ...) n(__VA_ARGS__) 98 #define __syscall_cp0(n) n() 99 #define __syscall_cp1(n,a) n(__scc(a)) 100 #define __syscall_cp2(n,a,b) n(__scc(a),__scc(b)) 101 #define __syscall_cp3(n,a,b,c) n(__scc(a),__scc(b),__scc(c)) 102 #define __syscall_cp4(n,a,b,c,d) n(__scc(a),__scc(b),__scc(c),__scc(d)) 103 #define __syscall_cp5(n,a,b,c,d,e) n(__scc(a),__scc(b),__scc(c),__scc(d),__scc(e)) 104 #define __syscall_cp6(n,a,b,c,d,e,f) n(__scc(a),__scc(b),__scc(c),__scc(d),__scc(e),__scc(f)) 105 #define __syscall_cp7(n,a,b,c,d,e,f,g) n(__scc(a),__scc(b),__scc(c),__scc(d),__scc(e),__scc(f),__scc(g)) 106 107 #define __SYSCALL_NARGS_X(a,b,c,d,e,f,g,h,n,...) n 108 #define __SYSCALL_NARGS(...) __SYSCALL_NARGS_X(__VA_ARGS__,7,6,5,4,3,2,1,0,) 109 #define __SYSCALL_CONCAT_X(a,b) a##b 110 #define __SYSCALL_CONCAT(a,b) __SYSCALL_CONCAT_X(a,b) 111 #define __SYSCALL_DISP(b,...) __SYSCALL_CONCAT(b,__SYSCALL_NARGS(__VA_ARGS__))(__VA_ARGS__) 112 113 #define syscall(...) __syscall_ret(__SYSCALL_DISP(__syscall, __VA_ARGS__)) 114 #define syscall_cp(...) __syscall_ret(__SYSCALL_DISP(__syscall_cp, __VA_ARGS__)) 98 115 #endif -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/include/bits/alltypes.h
r340 r364 1 1 #if defined(_MSC_VER) || defined(__c2__) 2 #define asctime musl_asctime 3 #define calloc musl_calloc 4 #define clock musl_clock 2 5 #define close musl_close 3 6 #define execvp musl_execvp 7 #define exit musl_exit 4 8 #define fclose musl_fclose 5 9 #define fdopen musl_fdopen 6 10 #define fflush musl_fflush 11 #define fma _musl_fma 12 #define fgetc musl_fgetc 7 13 #define fopen musl_fopen 14 #define fprintf musl_fprintf 15 #define fputc musl_fputc 8 16 #define free musl_free 9 17 #define fwrite musl_fwrite … … 11 19 #define localtime musl_localtime 12 20 #define lseek musl_lseek 21 #define malloc musl_malloc 22 #define memmove musl_memmove 13 23 #define open musl_open 24 #define perror musl_perror 14 25 #define read musl_read 15 #define malloc musl_malloc16 #define calloc musl_calloc17 26 #define realloc musl_realloc 27 #define strftime musl_strftime 28 #define strnlen musl_strnlen 29 #define strtoul musl_strtoul 18 30 #define time musl_time 31 #define tzset musl_tzset 19 32 #define unlink musl_unlink 20 #define perror musl_perror21 #define strnlen musl_strnlen22 #define strftime musl_strftime23 #define asctime musl_asctime24 #define tzset musl_tzset25 #define clock musl_clock26 33 #endif 27 34 #ifdef _MSC_VER … … 72 79 73 80 #if defined(__NEED_time_t) && !defined(__DEFINED_time_t) 81 #if defined(_MSC_VER) || defined(__c2__) 82 typedef long long time_t; 83 #else 74 84 typedef long time_t; 85 #endif 75 86 #define __DEFINED_time_t 76 87 #endif -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/include/math.h
r337 r364 15 15 #define NAN __builtin_nanf("") 16 16 #define INFINITY __builtin_inff() 17 #el se17 #elif !defined(_MSC_VER) 18 18 #define NAN (0.0f/0.0f) 19 19 #define INFINITY 1e5000f 20 #else 21 #define _HUGE_ENUF 1e+300 22 #define INFINITY ((float)(_HUGE_ENUF * _HUGE_ENUF)) 23 #define NAN ((float)(INFINITY * 0.0F)) 20 24 #endif 21 25 -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/include/stdarg.h
r337 r364 10 10 #include <bits/alltypes.h> 11 11 12 #if !defined(_MSC_VER) && !defined(__c2__) 13 12 14 #define va_start(v,l) __builtin_va_start(v,l) 13 15 #define va_end(v) __builtin_va_end(v) 14 16 #define va_arg(v,l) __builtin_va_arg(v,l) 15 17 #define va_copy(d,s) __builtin_va_copy(d,s) 18 19 #else 20 21 #define _INTSIZEOF(n) ((sizeof(n) + sizeof(int) - 1) & ~(sizeof(int) - 1)) 22 23 #define __crt_va_start(ap, v) ((void)(ap = (va_list)&(v) + _INTSIZEOF(v))) 24 #define __crt_va_arg(ap, t) (*(t*)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t))) 25 #define __crt_va_end(ap) ((void)(ap = (va_list)0)) 26 27 #define va_start __crt_va_start 28 #define va_arg __crt_va_arg 29 #define va_end __crt_va_end 30 #define va_copy(destination, source) ((destination) = (source)) 31 32 #endif 16 33 17 34 #ifdef __cplusplus -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/env/__libc_start_main.c
r337 r364 84 84 libc_start_init(); 85 85 } 86 #undef exit 87 #define exit(x) x 86 88 #endif 87 89 -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/internal/syscall.h
r342 r364 44 44 #endif 45 45 #define __syscall7(n,a,b,c,d,e,f,g) (__syscall)(n,__scc(a),__scc(b),__scc(c),__scc(d),__scc(e),__scc(f),__scc(g)) 46 #endif 46 47 47 #define __SYSCALL_NARGS_X(a,b,c,d,e,f,g,h,n,...) n 48 48 #define __SYSCALL_NARGS(...) __SYSCALL_NARGS_X(__VA_ARGS__,7,6,5,4,3,2,1,0,) … … 50 50 #define __SYSCALL_CONCAT(a,b) __SYSCALL_CONCAT_X(a,b) 51 51 #define __SYSCALL_DISP(b,...) __SYSCALL_CONCAT(b,__SYSCALL_NARGS(__VA_ARGS__))(__VA_ARGS__) 52 # if 052 #endif 53 53 #define __syscall(...) __SYSCALL_DISP(__syscall,__VA_ARGS__) 54 #define syscall(...) __syscall_ret(__syscall(__VA_ARGS__))55 #endif 54 //#define syscall(...) __syscall_ret(__syscall(__VA_ARGS__)) 55 56 56 #define socketcall __socketcall 57 57 #define socketcall_cp __socketcall_cp … … 64 64 #define __syscall_cp5(n,a,b,c,d,e) (__syscall_cp)(n,__scc(a),__scc(b),__scc(c),__scc(d),__scc(e),0) 65 65 #define __syscall_cp6(n,a,b,c,d,e,f) (__syscall_cp)(n,__scc(a),__scc(b),__scc(c),__scc(d),__scc(e),__scc(f)) 66 66 #endif 67 67 #define __syscall_cp(...) __SYSCALL_DISP(__syscall_cp,__VA_ARGS__) 68 #define syscall_cp(...) __syscall_ret(__syscall_cp(__VA_ARGS__)) 69 #endif 68 //#define syscall_cp(...) __syscall_ret(__syscall_cp(__VA_ARGS__)) 70 69 71 70 #ifndef SYSCALL_USE_SOCKETCALL -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdlib/strtol.c
r337 r364 58 58 59 59 weak_alias(strtol, __strtol_internal); 60 #if defined(_MSC_VER) || defined(__c2__) 61 weak_alias(musl_strtoul, __strtoul_internal); 62 #else 60 63 weak_alias(strtoul, __strtoul_internal); 64 #endif 61 65 weak_alias(strtoll, __strtoll_internal); 62 66 weak_alias(strtoull, __strtoull_internal);
Note:
See TracChangeset
for help on using the changeset viewer.