⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 100-uclibc-conf.patch

📁 最新的文件系统生成工具
💻 PATCH
📖 第 1 页 / 共 2 页
字号:
diff -urN gcc-4.0.0-dist/boehm-gc/configure gcc-4.0.0/boehm-gc/configure--- gcc-4.0.0-dist/boehm-gc/configure	2005-04-21 02:04:10.000000000 -0500+++ gcc-4.0.0/boehm-gc/configure	2005-04-30 13:22:27.495094224 -0500@@ -4320,6 +4320,11 @@   lt_cv_deplibs_check_method=pass_all   ;; +linux-uclibc*)+  lt_cv_deplibs_check_method=pass_all+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+  ;;+ netbsd* | knetbsd*-gnu)   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'diff -urN gcc-4.0.0-dist/configure gcc-4.0.0/configure--- gcc-4.0.0-dist/configure	2005-04-21 02:04:10.000000000 -0500+++ gcc-4.0.0/configure	2005-04-30 12:27:56.000000000 -0500@@ -1136,7 +1136,7 @@     ;; "")     case "${target}" in-    *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu)+    *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu | *-*-linux-uclibc*)         # Enable libmudflap by default in GNU and friends. 	;;     *-*-freebsd*)diff -urN gcc-4.0.0-dist/configure.in gcc-4.0.0/configure.in--- gcc-4.0.0-dist/configure.in	2005-04-20 21:45:11.000000000 -0500+++ gcc-4.0.0/configure.in	2005-04-30 12:22:09.000000000 -0500@@ -345,7 +345,7 @@     ;; "")     case "${target}" in-    *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu)+    *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu | *-*-linux-uclibc*)         # Enable libmudflap by default in GNU and friends. 	;;     *-*-freebsd*)diff -urN gcc-4.0.0-dist/contrib/regression/objs-gcc.sh gcc-4.0.0/contrib/regression/objs-gcc.sh--- gcc-4.0.0-dist/contrib/regression/objs-gcc.sh	2002-10-11 15:23:21.000000000 -0500+++ gcc-4.0.0/contrib/regression/objs-gcc.sh	2005-04-30 12:29:58.000000000 -0500@@ -105,6 +105,10 @@  then   make all-gdb all-dejagnu all-ld || exit 1   make install-gdb install-dejagnu install-ld || exit 1+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]+ then+  make all-gdb all-dejagnu all-ld || exit 1+  make install-gdb install-dejagnu install-ld || exit 1 elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then   make bootstrap || exit 1   make install || exit 1diff -urN gcc-4.0.0-dist/gcc/config/arm/linux-elf.h gcc-4.0.0/gcc/config/arm/linux-elf.h--- gcc-4.0.0-dist/gcc/config/arm/linux-elf.h	2005-03-04 10:14:01.000000000 -0600+++ gcc-4.0.0/gcc/config/arm/linux-elf.h	2005-04-28 20:30:00.000000000 -0500@@ -82,6 +82,18 @@   "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"  #undef  LINK_SPEC+#ifdef USE_UCLIBC+#define LINK_SPEC "%{h*} %{version:-v} \+   %{b} %{Wl,*:%*} \+   %{static:-Bstatic} \+   %{shared:-shared} \+   %{symbolic:-Bsymbolic} \+   %{rdynamic:-export-dynamic} \+   %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0} \+   -X \+   %{mbig-endian:-EB}" \+   SUBTARGET_EXTRA_LINK_SPEC+#else #define LINK_SPEC "%{h*} %{version:-v} \    %{b} %{Wl,*:%*} \    %{static:-Bstatic} \@@ -92,6 +104,7 @@    -X \    %{mbig-endian:-EB}" \    SUBTARGET_EXTRA_LINK_SPEC+#endif  #define TARGET_OS_CPP_BUILTINS()		\   do						\diff -urN gcc-4.0.0-dist/gcc/config/cris/linux.h gcc-4.0.0/gcc/config/cris/linux.h--- gcc-4.0.0-dist/gcc/config/cris/linux.h	2003-11-28 21:08:09.000000000 -0600+++ gcc-4.0.0/gcc/config/cris/linux.h	2005-04-28 20:30:00.000000000 -0500@@ -79,6 +79,25 @@ #undef CRIS_DEFAULT_CPU_VERSION #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG +#ifdef USE_UCLIBC++#undef CRIS_SUBTARGET_VERSION+#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc"++#undef CRIS_LINK_SUBTARGET_SPEC+#define CRIS_LINK_SUBTARGET_SPEC \+ "-mcrislinux\+  -rpath-link include/asm/../..%s\+  %{shared} %{static}\+  %{symbolic:-Bdynamic} %{shlib:-Bdynamic} %{static:-Bstatic}\+  %{!shared: \+    %{!static: \+      %{rdynamic:-export-dynamic} \+      %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}}} \+  %{!r:%{O2|O3: --gc-sections}}"++#else  /* USE_UCLIBC */+ #undef CRIS_SUBTARGET_VERSION #define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu" @@ -93,6 +112,8 @@   %{!shared:%{!static:%{rdynamic:-export-dynamic}}}\   %{!r:%{O2|O3: --gc-sections}}" +#endif  /* USE_UCLIBC */+  /* Node: Run-time Target */ diff -urN gcc-4.0.0-dist/gcc/config/cris/t-linux-uclibc gcc-4.0.0/gcc/config/cris/t-linux-uclibc--- gcc-4.0.0-dist/gcc/config/cris/t-linux-uclibc	1969-12-31 18:00:00.000000000 -0600+++ gcc-4.0.0/gcc/config/cris/t-linux-uclibc	2005-04-28 20:30:00.000000000 -0500@@ -0,0 +1,3 @@+T_CFLAGS = -DUSE_UCLIBC+TARGET_LIBGCC2_CFLAGS += -fPIC+CRTSTUFF_T_CFLAGS_S = $(TARGET_LIBGCC2_CFLAGS)diff -urN gcc-4.0.0-dist/gcc/config/i386/linux.h gcc-4.0.0/gcc/config/i386/linux.h--- gcc-4.0.0-dist/gcc/config/i386/linux.h	2004-11-27 10:45:14.000000000 -0600+++ gcc-4.0.0/gcc/config/i386/linux.h	2005-04-28 20:30:00.000000000 -0500@@ -107,6 +107,11 @@ #define LINK_EMULATION "elf_i386" #define DYNAMIC_LINKER "/lib/ld-linux.so.2" +#if defined USE_UCLIBC+#undef DYNAMIC_LINKER+#define DYNAMIC_LINKER "/lib/ld-uClibc.so.0"+#endif+ #undef  SUBTARGET_EXTRA_SPECS #define SUBTARGET_EXTRA_SPECS \   { "link_emulation", LINK_EMULATION },\diff -urN gcc-4.0.0-dist/gcc/config/mips/linux.h gcc-4.0.0/gcc/config/mips/linux.h--- gcc-4.0.0-dist/gcc/config/mips/linux.h	2005-01-25 20:04:46.000000000 -0600+++ gcc-4.0.0/gcc/config/mips/linux.h	2005-04-28 20:30:00.000000000 -0500@@ -108,6 +108,17 @@  /* Borrowed from sparc/linux.h */ #undef LINK_SPEC+#ifdef USE_UCLIBC+#define LINK_SPEC \+ "%(endian_spec) \+  %{shared:-shared} \+  %{!shared: \+    %{!ibcs: \+      %{!static: \+        %{rdynamic:-export-dynamic} \+        %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}} \+        %{static:-static}}}"+#else #define LINK_SPEC \  "%(endian_spec) \   %{shared:-shared} \@@ -117,6 +128,7 @@         %{rdynamic:-export-dynamic} \         %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \         %{static:-static}}}"+#endif  #undef SUBTARGET_ASM_SPEC #define SUBTARGET_ASM_SPEC "%{mabi=64: -64} %{!mno-abicalls:-KPIC}"diff -urN gcc-4.0.0-dist/gcc/config/rs6000/linux.h gcc-4.0.0/gcc/config/rs6000/linux.h--- gcc-4.0.0-dist/gcc/config/rs6000/linux.h	2004-12-01 20:21:28.000000000 -0600+++ gcc-4.0.0/gcc/config/rs6000/linux.h	2005-04-28 20:30:00.000000000 -0500@@ -69,7 +69,11 @@ #define LINK_START_DEFAULT_SPEC "%(link_start_linux)"  #undef	LINK_OS_DEFAULT_SPEC+#ifdef USE_UCLIBC+#define LINK_OS_DEFAULT_SPEC "%(link_os_linux_uclibc)"+#else #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"+#endif  #define LINK_GCC_C_SEQUENCE_SPEC \   "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"diff -urN gcc-4.0.0-dist/gcc/config/rs6000/sysv4.h gcc-4.0.0/gcc/config/rs6000/sysv4.h--- gcc-4.0.0-dist/gcc/config/rs6000/sysv4.h	2005-02-15 09:53:52.000000000 -0600+++ gcc-4.0.0/gcc/config/rs6000/sysv4.h	2005-04-28 20:30:00.000000000 -0500@@ -956,6 +956,7 @@   mcall-linux  : %(link_os_linux)       ; \   mcall-gnu    : %(link_os_gnu)         ; \   mcall-netbsd : %(link_os_netbsd)      ; \+  mcall-linux-uclibc : %(link_os_linux_uclibc); \   mcall-openbsd: %(link_os_openbsd)     ; \                : %(link_os_default)     }" @@ -1134,6 +1135,10 @@   %{rdynamic:-export-dynamic} \   %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}" +#define LINK_OS_LINUX_UCLIBC_SPEC "-m elf32ppclinux %{!shared: %{!static: \+  %{rdynamic:-export-dynamic} \+  %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}}}"+ #if defined(HAVE_LD_EH_FRAME_HDR) # define LINK_EH_SPEC "%{!static:--eh-frame-hdr} " #endif@@ -1300,6 +1305,7 @@   { "link_os_sim",		LINK_OS_SIM_SPEC },			\   { "link_os_freebsd",		LINK_OS_FREEBSD_SPEC },			\   { "link_os_linux",		LINK_OS_LINUX_SPEC },			\+  { "link_os_linux_uclibc",	LINK_OS_LINUX_UCLIBC_SPEC },		\   { "link_os_gnu",		LINK_OS_GNU_SPEC },			\   { "link_os_netbsd",		LINK_OS_NETBSD_SPEC },			\   { "link_os_openbsd",		LINK_OS_OPENBSD_SPEC },			\diff -urN gcc-4.0.0-dist/gcc/config/sh/linux.h gcc-4.0.0/gcc/config/sh/linux.h--- gcc-4.0.0-dist/gcc/config/sh/linux.h	2005-01-25 20:04:48.000000000 -0600+++ gcc-4.0.0/gcc/config/sh/linux.h	2005-04-28 20:30:00.000000000 -0500@@ -67,12 +67,21 @@ #undef SUBTARGET_LINK_EMUL_SUFFIX #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" #undef SUBTARGET_LINK_SPEC+#ifdef USE_UCLIBC+#define SUBTARGET_LINK_SPEC \+  "%{shared:-shared} \+   %{!static: \+     %{rdynamic:-export-dynamic} \+     %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}} \+   %{static:-static}"+#else #define SUBTARGET_LINK_SPEC \   "%{shared:-shared} \    %{!static: \      %{rdynamic:-export-dynamic} \      %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \    %{static:-static}"+#endif  #undef LIB_SPEC #define LIB_SPEC \diff -urN gcc-4.0.0-dist/gcc/config/sh/t-linux-uclibc gcc-4.0.0/gcc/config/sh/t-linux-uclibc--- gcc-4.0.0-dist/gcc/config/sh/t-linux-uclibc	1969-12-31 18:00:00.000000000 -0600+++ gcc-4.0.0/gcc/config/sh/t-linux-uclibc	2005-04-28 20:30:00.000000000 -0500@@ -0,0 +1,47 @@+T_CFLAGS = -DUSE_UCLIBC++TARGET_LIBGCC2_CFLAGS = -fpic -DNO_FPSCR_VALUES+LIB1ASMFUNCS_CACHE = _ic_invalidate++LIB2FUNCS_EXTRA=++MULTILIB_DIRNAMES= +MULTILIB_MATCHES = +MULTILIB_EXCEPTIONS=++EXTRA_MULTILIB_PARTS= crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o++# Override t-slibgcc-elf-ver to export some libgcc symbols with+# the symbol versions that glibc used, and hide some lib1func+# routines which should not be called via PLT.  We have to create+# the list from scratch.+SHLIB_MAPFILES = \+	$(srcdir)/libgcc-std.ver \+	$(srcdir)/config/sh/libgcc-excl.ver \+	$(srcdir)/config/sh/libgcc-glibc.ver++# Override SHLIB_LINK and SHLIB_INSTALL to use linker script+# libgcc_s.so.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -