📄 100-uclibc-conf.patch
字号:
diff -urN binutils-2.15-dist/bfd/config.bfd binutils-2.15/bfd/config.bfd--- binutils-2.15-dist/bfd/config.bfd 2004-05-17 14:35:56.000000000 -0500+++ binutils-2.15/bfd/config.bfd 2004-08-04 12:01:44.000000000 -0500@@ -126,7 +126,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 ;;@@ -136,7 +136,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" ;;@@ -213,7 +213,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 ;;@@ -221,7 +221,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@@ -360,7 +360,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 ;;@@ -371,7 +371,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 ;;@@ -494,7 +494,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@@ -508,7 +508,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" ;;@@ -683,7 +683,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 ;;@@ -955,7 +955,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"@@ -987,8 +988,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"@@ -1149,7 +1150,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" ;;@@ -1196,7 +1197,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" ;;@@ -1265,7 +1266,7 @@ targ_underscore=yes ;; - vax-*-linux-gnu*)+ vax-*-linux-gnu* | vax-*-linux-uclibc*) targ_defvec=bfd_elf32_vax_vec ;; diff -urN binutils-2.15-dist/bfd/configure binutils-2.15/bfd/configure--- binutils-2.15-dist/bfd/configure 2004-05-17 14:35:57.000000000 -0500+++ binutils-2.15/bfd/configure 2004-08-04 12:01:44.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"' ;;@@ -5376,7 +5381,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"' ;;@@ -5477,7 +5482,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-dist/bfd/configure.in binutils-2.15/bfd/configure.in--- binutils-2.15-dist/bfd/configure.in 2004-05-17 14:35:57.000000000 -0500+++ binutils-2.15/bfd/configure.in 2004-08-04 12:01:44.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"'@@ -300,7 +300,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"' ;;@@ -385,7 +385,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-dist/binutils/configure binutils-2.15/binutils/configure--- binutils-2.15-dist/binutils/configure 2004-01-02 11:08:04.000000000 -0600+++ binutils-2.15/binutils/configure 2004-08-04 12:01:44.000000000 -0500@@ -1585,6 +1585,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-dist/configure binutils-2.15/configure--- binutils-2.15-dist/configure 2004-05-17 14:36:20.000000000 -0500+++ binutils-2.15/configure 2004-08-04 12:01:44.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-dist/configure.in binutils-2.15/configure.in--- binutils-2.15-dist/configure.in 2004-05-17 14:40:54.000000000 -0500+++ binutils-2.15/configure.in 2004-08-04 12:01:44.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-dist/gas/configure binutils-2.15/gas/configure--- binutils-2.15-dist/gas/configure 2004-05-17 14:36:07.000000000 -0500+++ binutils-2.15/gas/configure 2004-08-04 12:07:50.000000000 -0500@@ -3400,6 +3400,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]+$'@@ -4224,6 +4229,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 ;; @@ -4240,6 +4246,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 ;;@@ -4253,6 +4260,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 ;;@@ -4310,7 +4318,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 ;;@@ -4370,6 +4380,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 ;; @@ -4397,6 +4408,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 ;;@@ -4459,6 +4471,7 @@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -