📄 100-uclibc-conf.patch
字号:
diff -urN binutils-2.14.90.0.8-001-debian/bfd/config.bfd binutils-2.14.90.0.8/bfd/config.bfd--- binutils-2.14.90.0.8-001-debian/bfd/config.bfd 2004-01-14 15:07:43.000000000 -0600+++ binutils-2.14.90.0.8/bfd/config.bfd 2004-02-12 14:18:14.000000000 -0600@@ -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,8 +216,8 @@ targ_defvec=bfd_elf32_littlearm_vec targ_selvecs=bfd_elf32_bigarm_vec ;;- arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-conix* | \- arm*-*-uclinux* | arm-*-kfreebsd*-gnu | arm-*-vxworks)+ 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" ;;diff -urN binutils-2.14.90.0.8-001-debian/bfd/configure binutils-2.14.90.0.8/bfd/configure--- binutils-2.14.90.0.8-001-debian/bfd/configure 2004-01-14 15:07:43.000000000 -0600+++ binutils-2.14.90.0.8/bfd/configure 2004-02-12 14:09:10.000000000 -0600@@ -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"' ;;diff -urN binutils-2.14.90.0.8-001-debian/bfd/configure.in binutils-2.14.90.0.8/bfd/configure.in--- binutils-2.14.90.0.8-001-debian/bfd/configure.in 2004-01-14 15:07:43.000000000 -0600+++ binutils-2.14.90.0.8/bfd/configure.in 2004-02-12 14:09:10.000000000 -0600@@ -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"' ;;diff -urN binutils-2.14.90.0.8-001-debian/config.sub binutils-2.14.90.0.8/config.sub--- binutils-2.14.90.0.8-001-debian/config.sub 2004-01-14 15:07:42.000000000 -0600+++ binutils-2.14.90.0.8/config.sub 2004-02-12 14:09:10.000000000 -0600@@ -118,7 +118,7 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in- nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)+ nto-qnx* | linux-gnu* | linux-uclibc* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;;@@ -1131,7 +1131,8 @@ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \- | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \+ | -mingw32* | -linux-gnu* | -linux-uclibc* \+ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \diff -urN binutils-2.14.90.0.8-001-debian/configure binutils-2.14.90.0.8/configure--- binutils-2.14.90.0.8-001-debian/configure 2004-01-14 15:07:42.000000000 -0600+++ binutils-2.14.90.0.8/configure 2004-02-12 14:09:10.000000000 -0600@@ -1273,6 +1273,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.14.90.0.8-001-debian/configure.in binutils-2.14.90.0.8/configure.in--- binutils-2.14.90.0.8-001-debian/configure.in 2004-01-14 15:07:42.000000000 -0600+++ binutils-2.14.90.0.8/configure.in 2004-02-12 14:50:56.000000000 -0600@@ -512,6 +512,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.14.90.0.8-001-debian/gas/configure binutils-2.14.90.0.8/gas/configure--- binutils-2.14.90.0.8-001-debian/gas/configure 2004-01-14 15:07:45.000000000 -0600+++ binutils-2.14.90.0.8/gas/configure 2004-02-12 14:57:43.000000000 -0600@@ -3215,6 +3215,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]+$'@@ -4030,6 +4035,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 ;; @@ -4046,6 +4052,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 ;;@@ -4059,6 +4066,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 ;;@@ -4115,7 +4123,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 ;;@@ -4175,6 +4185,7 @@ ia64-*-elf*) fmt=elf ;; ia64-*-aix*) fmt=elf em=ia64aix ;; ia64-*-linux-gnu*) fmt=elf em=linux ;;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -