📄 100-uclibc-conf.patch
字号:
diff -urN binutils-2.15.90.0.1.1-dist/bfd/config.bfd binutils-2.15.90.0.1.1/bfd/config.bfd--- binutils-2.15.90.0.1.1-dist/bfd/config.bfd 2004-01-14 15:07:43.000000000 -0600+++ binutils-2.15.90.0.1.1/bfd/config.bfd 2004-08-06 17:29:55.000000000 -0500@@ -121,7 +121,7 @@ targ_defvec=ecoffalpha_little_vec targ_selvecs=bfd_elf64_alpha_vec ;;- alpha*-*-linux-gnu* | alpha*-*-elf*)+ alpha*-*-linux-gnu* | alpha*-*-linux-uclibc* | alpha*-*-elf*) targ_defvec=bfd_elf64_alpha_vec targ_selvecs=ecoffalpha_little_vec ;;@@ -131,7 +131,7 @@ alpha*-*-*) targ_defvec=ecoffalpha_little_vec ;;- ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu)+ ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | ia64*-*-linux-uclibc* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu) targ_defvec=bfd_elf64_ia64_little_vec targ_selvecs="bfd_elf64_ia64_big_vec bfd_efi_app_ia64_vec" ;;@@ -208,7 +208,7 @@ targ_defvec=bfd_elf32_littlearm_vec targ_selvecs=bfd_elf32_bigarm_vec ;;- armeb-*-elf | arm*b-*-linux-gnu*)+ armeb-*-elf | arm*b-*-linux-gnu* | arm*b-*-linux-uclibc*) targ_defvec=bfd_elf32_bigarm_vec targ_selvecs=bfd_elf32_littlearm_vec ;;@@ -216,7 +216,7 @@ targ_defvec=bfd_elf32_littlearm_vec targ_selvecs=bfd_elf32_bigarm_vec ;;- arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-conix* | \+ arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-linux-uclibc* | arm*-*-conix* | \ arm*-*-uclinux* | arm-*-kfreebsd*-gnu | arm-*-vxworks) targ_defvec=bfd_elf32_littlearm_vec targ_selvecs=bfd_elf32_bigarm_vec@@ -350,7 +350,7 @@ ;; #ifdef BFD64- hppa*64*-*-linux-gnu*)+ hppa*64*-*-linux-gnu* | hppa*64*-*-linux-uclibc*) targ_defvec=bfd_elf64_hppa_linux_vec targ_selvecs=bfd_elf64_hppa_vec ;;@@ -361,7 +361,7 @@ ;; #endif - hppa*-*-linux-gnu* | hppa*-*-netbsd*)+ hppa*-*-linux-gnu* | hppa*-*-linux-uclibc* | hppa*-*-netbsd*) targ_defvec=bfd_elf32_hppa_linux_vec targ_selvecs=bfd_elf32_hppa_vec ;;@@ -483,7 +483,7 @@ targ_selvecs=bfd_elf32_i386_vec targ_underscore=yes ;;- i[3-7]86-*-linux-gnu*)+ i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*) targ_defvec=bfd_elf32_i386_vec targ_selvecs="i386linux_vec bfd_efi_app_ia32_vec" targ64_selvecs=bfd_elf64_x86_64_vec@@ -497,7 +497,7 @@ targ_defvec=bfd_elf64_x86_64_vec targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec bfd_efi_app_ia32_vec" ;;- x86_64-*-linux-gnu*)+ x86_64-*-linux-gnu* | x86_64-*-linux-uclibc*) targ_defvec=bfd_elf64_x86_64_vec targ_selvecs="bfd_elf32_i386_vec i386linux_vec bfd_efi_app_ia32_vec" ;;@@ -672,7 +672,7 @@ targ_selvecs=bfd_elf32_m68k_vec targ_underscore=yes ;;- m68*-*-linux-gnu*)+ m68*-*-linux-gnu* | m68*-*-linux-uclibc*) targ_defvec=bfd_elf32_m68k_vec targ_selvecs=m68klinux_vec ;;@@ -952,7 +952,8 @@ ;; #endif powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \- powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-rtems* | \+ powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-linux-uclibc* | \+ powerpc-*-rtems* | \ powerpc-*-chorus* | powerpc-*-vxworks* | powerpc-*-windiss*) targ_defvec=bfd_elf32_powerpc_vec targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec ppcboot_vec"@@ -984,8 +985,8 @@ targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec" ;; powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \- powerpcle-*-solaris2* | powerpcle-*-linux-gnu* | powerpcle-*-vxworks* |\- powerpcle-*-rtems*)+ powerpcle-*-solaris2* | powerpcle-*-linux-gnu* | powerpcle-*-linux-uclibc* |\+ powerpcle-*-vxworks* | powerpcle-*-rtems*) targ_defvec=bfd_elf32_powerpcle_vec targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec" targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec"@@ -1141,7 +1142,7 @@ targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec" targ_underscore=yes ;;- sparc-*-linux-gnu*)+ sparc-*-linux-gnu* | sparc-*-linux-uclibc*) targ_defvec=bfd_elf32_sparc_vec targ_selvecs="sparclinux_vec bfd_elf64_sparc_vec sunos_big_vec" ;;@@ -1188,7 +1189,7 @@ targ_defvec=sunos_big_vec targ_underscore=yes ;;- sparc64-*-linux-gnu*)+ sparc64-*-linux-gnu* | sparc64-*-linux-uclibc*) targ_defvec=bfd_elf64_sparc_vec targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec" ;;@@ -1257,7 +1258,7 @@ targ_underscore=yes ;; - vax-*-linux-gnu*)+ vax-*-linux-gnu* | vax-*-linux-uclibc*) targ_defvec=bfd_elf32_vax_vec ;; diff -urN binutils-2.15.90.0.1.1-dist/bfd/configure binutils-2.15.90.0.1.1/bfd/configure--- binutils-2.15.90.0.1.1-dist/bfd/configure 2004-03-05 19:18:21.000000000 -0600+++ binutils-2.15.90.0.1.1/bfd/configure 2004-08-06 17:29:55.000000000 -0500@@ -1699,6 +1699,11 @@ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; +linux-uclibc*)+ lt_cv_deplibs_check_method=pass_all+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+ ;;+ netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'@@ -5278,7 +5283,7 @@ alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) COREFILE='' ;;- alpha*-*-linux-gnu*)+ alpha*-*-linux-gnu* | alpha*-*-linux-uclibc*) COREFILE=trad-core.lo TRAD_HEADER='"hosts/alphalinux.h"' ;;@@ -5338,7 +5343,7 @@ COREFILE=trad-core.lo TRAD_HEADER='"hosts/i386mach3.h"' ;;- i[3-7]86-*-linux-gnu*)+ i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*) COREFILE=trad-core.lo TRAD_HEADER='"hosts/i386linux.h"' ;;@@ -5388,7 +5393,7 @@ COREFILE=trad-core.lo TRAD_HEADER='"hosts/hp300bsd.h"' ;;- m68*-*-linux-gnu*)+ m68*-*-linux-gnu* | m68*-*-linux-uclibc*) COREFILE=trad-core.lo TRAD_HEADER='"hosts/m68klinux.h"' ;;@@ -5489,7 +5494,7 @@ COREFILE=trad-core.lo TRAD_HEADER='"hosts/vaxult2.h"' ;;- vax-*-linux-gnu*)+ vax-*-linux-gnu* | vax-*-linux-uclibc*) COREFILE=trad-core.lo TRAD_HEADER='"hosts/vaxlinux.h"' ;;diff -urN binutils-2.15.90.0.1.1-dist/bfd/configure.in binutils-2.15.90.0.1.1/bfd/configure.in--- binutils-2.15.90.0.1.1-dist/bfd/configure.in 2004-03-05 19:18:21.000000000 -0600+++ binutils-2.15.90.0.1.1/bfd/configure.in 2004-08-06 17:29:55.000000000 -0500@@ -178,7 +178,7 @@ alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) COREFILE='' ;;- alpha*-*-linux-gnu*)+ alpha*-*-linux-gnu* | alpha*-*-linux-uclibc*) COREFILE=trad-core.lo TRAD_HEADER='"hosts/alphalinux.h"' ;;@@ -259,7 +259,7 @@ TRAD_HEADER='"hosts/i386mach3.h"' ;; changequote(,)dnl- i[3-7]86-*-linux-gnu*)+ i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*) changequote([,])dnl COREFILE=trad-core.lo TRAD_HEADER='"hosts/i386linux.h"'@@ -312,7 +312,7 @@ COREFILE=trad-core.lo TRAD_HEADER='"hosts/hp300bsd.h"' ;;- m68*-*-linux-gnu*)+ m68*-*-linux-gnu* | m68*-*-linux-uclibc*) COREFILE=trad-core.lo TRAD_HEADER='"hosts/m68klinux.h"' ;;@@ -397,7 +397,7 @@ COREFILE=trad-core.lo TRAD_HEADER='"hosts/vaxult2.h"' ;;- vax-*-linux-gnu*)+ vax-*-linux-gnu* | vax-*-linux-uclibc*) COREFILE=trad-core.lo TRAD_HEADER='"hosts/vaxlinux.h"' ;;diff -urN binutils-2.15.90.0.1.1-dist/binutils/configure binutils-2.15.90.0.1.1/binutils/configure--- binutils-2.15.90.0.1.1-dist/binutils/configure 2004-01-14 15:07:44.000000000 -0600+++ binutils-2.15.90.0.1.1/binutils/configure 2004-08-06 17:29:55.000000000 -0500@@ -1574,6 +1574,11 @@ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; +linux-uclibc*)+ lt_cv_deplibs_check_method=pass_all+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+ ;;+ netbsd*) 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 binutils-2.15.90.0.1.1-dist/configure binutils-2.15.90.0.1.1/configure--- binutils-2.15.90.0.1.1-dist/configure 2004-03-03 14:24:33.000000000 -0600+++ binutils-2.15.90.0.1.1/configure 2004-08-06 17:29:55.000000000 -0500@@ -1288,6 +1288,18 @@ i[3456789]86-*-freebsd* | i[3456789]86-*-kfreebsd*-gnu) noconfigdirs="$noconfigdirs target-newlib target-libgloss" ;;+ i[3456789]86-*-linux-uclibc*)+ # This section makes it possible to build newlib natively on linux.+ # If we are using a cross compiler then don't configure newlib.+ if test x${is_cross_compiler} != xno ; then+ noconfigdirs="$noconfigdirs target-newlib"+ fi+ noconfigdirs="$noconfigdirs target-libgloss"+ # If we are not using a cross compiler, do configure newlib.+ # Note however, that newlib will only be configured in this situation+ # if the --with-newlib option has been given, because otherwise+ # 'target-newlib' will appear in skipdirs.+ ;; i[3456789]86-*-linux*) # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's # not build java stuff by default.diff -urN binutils-2.15.90.0.1.1-dist/configure.in binutils-2.15.90.0.1.1/configure.in--- binutils-2.15.90.0.1.1-dist/configure.in 2004-03-03 14:24:33.000000000 -0600+++ binutils-2.15.90.0.1.1/configure.in 2004-08-06 17:29:55.000000000 -0500@@ -521,6 +521,18 @@ i[[3456789]]86-*-freebsd* | i[[3456789]]86-*-kfreebsd*-gnu) noconfigdirs="$noconfigdirs target-newlib target-libgloss" ;;+ i[[3456789]]86-*-linux-uclibc*)+ # This section makes it possible to build newlib natively on linux.+ # If we are using a cross compiler then don't configure newlib.+ if test x${is_cross_compiler} != xno ; then+ noconfigdirs="$noconfigdirs target-newlib"+ fi+ noconfigdirs="$noconfigdirs target-libgloss"+ # If we are not using a cross compiler, do configure newlib.+ # Note however, that newlib will only be configured in this situation+ # if the --with-newlib option has been given, because otherwise+ # 'target-newlib' will appear in skipdirs.+ ;; i[[3456789]]86-*-linux*) # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's # not build java stuff by default.diff -urN binutils-2.15.90.0.1.1-dist/gas/configure binutils-2.15.90.0.1.1/gas/configure--- binutils-2.15.90.0.1.1-dist/gas/configure 2004-03-05 19:18:21.000000000 -0600+++ binutils-2.15.90.0.1.1/gas/configure 2004-08-06 17:29:55.000000000 -0500@@ -3401,6 +3401,11 @@ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; +linux-uclibc*)+ lt_cv_deplibs_check_method=pass_all+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+ ;;+ netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'@@ -4226,6 +4231,7 @@ alpha*-*-osf*) fmt=ecoff ;; alpha*-*-linuxecoff*) fmt=ecoff ;; alpha*-*-linux-gnu*) fmt=elf em=linux ;;+ alpha*-*-linux-uclibc*) fmt=elf em=linux ;; alpha*-*-netbsd*) fmt=elf em=nbsd ;; alpha*-*-openbsd*) fmt=elf em=obsd ;; @@ -4242,6 +4248,7 @@ arm*-*-conix*) fmt=elf ;; arm-*-linux*aout*) fmt=aout em=linux ;; arm*-*-linux-gnu*) fmt=elf em=linux ;;+ arm*-*-linux-uclibc*) fmt=elf em=linux ;; arm*-*-uclinux*) fmt=elf em=linux ;; arm-*-netbsdelf*) fmt=elf em=nbsd ;; arm-*-*n*bsd*) fmt=aout em=nbsd ;;@@ -4255,6 +4262,7 @@ avr-*-*) fmt=elf ;; cris-*-linux-gnu*) fmt=multi bfd_gas=yes em=linux ;;+ cris-*-linux-uclibc*) fmt=multi bfd_gas=yes em=linux ;; cris-*-*) fmt=multi bfd_gas=yes ;; d10v-*-*) fmt=elf ;;@@ -4311,7 +4319,9 @@ i386-*-linux*oldld) fmt=aout em=linux ;; i386-*-linux*coff*) fmt=coff em=linux ;; i386-*-linux-gnu*) fmt=elf em=linux ;;+ i386-*-linux-uclibc*) fmt=elf em=linux ;; x86_64-*-linux-gnu*) fmt=elf em=linux ;;+ x86_64-*-linux-uclibc*) fmt=elf em=linux ;; i386-*-lynxos*) fmt=coff em=lynx ;; i386-*-sysv[45]*) fmt=elf ;; i386-*-solaris*) fmt=elf ;;@@ -4371,6 +4381,7 @@ ia64-*-elf*) fmt=elf ;; ia64-*-aix*) fmt=elf em=ia64aix ;; ia64-*-linux-gnu*) fmt=elf em=linux ;;+ ia64-*-linux-uclibc*) fmt=elf em=linux ;; ia64-*-hpux*) fmt=elf em=hpux ;; ia64-*-netbsd*) fmt=elf em=nbsd ;; @@ -4398,6 +4409,7 @@ m68k-*-hpux*) fmt=hp300 em=hp300 ;; m68k-*-linux*aout*) fmt=aout em=linux ;; m68k-*-linux-gnu*) fmt=elf em=linux ;;+ m68k-*-linux-uclibc*) fmt=elf em=linux ;; m68k-*-uclinux*) fmt=elf ;; m68k-*-gnu*) fmt=elf ;; m68k-*-lynxos*) fmt=coff em=lynx ;;@@ -4461,6 +4473,7 @@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -