source:
clfs-embedded/patches/binutils-2.17-uclibc-1.patch@
21e0fdf
Last change on this file since 21e0fdf was 841271e, checked in by , 18 years ago | |
---|---|
|
|
File size: 9.4 KB |
-
bfd/configure
Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2006-11-13 Initial Package Version: 2.17 Origin: uClibc and Buildroot Upstream Status: uClibc Specific Description: Makes Binutils uClibc Friendly diff -Naur binutils-2.17.orig/bfd/configure binutils-2.17/bfd/configure
old new 3576 3576 ;; 3577 3577 3578 3578 # This must be Linux ELF. 3579 linux-gnu* )3579 linux-gnu*|linux-uclibc*) 3580 3580 lt_cv_deplibs_check_method=pass_all 3581 3581 ;; 3582 3582 -
bfd/elf32-mips.c
diff -Naur binutils-2.17.orig/bfd/elf32-mips.c binutils-2.17/bfd/elf32-mips.c
old new 1617 1617 1618 1618 /* The SVR4 MIPS ABI says that this should be 0x10000, and Linux uses 1619 1619 page sizes of up to that limit, so we need to respect it. */ 1620 #define ELF_MAXPAGESIZE 0x10000 1620 /*#define ELF_MAXPAGESIZE 0x10000*/ 1621 /* Use 4K to shrink the elf header. NOT for general use! */ 1622 #define ELF_MAXPAGESIZE 0x1000 1621 1623 #define elf32_bed elf32_tradbed 1622 1624 1623 1625 /* Include the target file again for this target. */ -
bfd/elfn32-mips.c
diff -Naur binutils-2.17.orig/bfd/elfn32-mips.c binutils-2.17/bfd/elfn32-mips.c
old new 2402 2402 2403 2403 /* The SVR4 MIPS ABI says that this should be 0x10000, and Linux uses 2404 2404 page sizes of up to that limit, so we need to respect it. */ 2405 #define ELF_MAXPAGESIZE 0x10000 2405 /*#define ELF_MAXPAGESIZE 0x10000*/ 2406 /* Use 4K to shrink the elf header. NOT for general use! */ 2407 #define ELF_MAXPAGESIZE 0x1000 2406 2408 #define elf32_bed elf32_tradbed 2407 2409 2408 2410 /* Include the target file again for this target. */ -
bfd/opncls.c
diff -Naur binutils-2.17.orig/bfd/opncls.c binutils-2.17/bfd/opncls.c
old new 158 158 { 159 159 bfd *nbfd; 160 160 const bfd_target *target_vec; 161 struct stat s; 162 163 if (stat (filename, &s) == 0) 164 if (S_ISDIR(s.st_mode)) { 165 bfd_set_error (bfd_error_file_not_recognized); 166 return NULL; 167 } 161 168 162 169 nbfd = _bfd_new_bfd (); 163 170 if (nbfd == NULL) -
binutils/configure
diff -Naur binutils-2.17.orig/binutils/configure binutils-2.17/binutils/configure
old new 3411 3411 ;; 3412 3412 3413 3413 # This must be Linux ELF. 3414 linux-gnu* )3414 linux-gnu*|linux-uclibc*) 3415 3415 lt_cv_deplibs_check_method=pass_all 3416 3416 ;; 3417 3417 -
binutils-2.17
diff -Naur binutils-2.17.orig/configure binutils-2.17/configure
old new 1276 1276 am33_2.0-*-linux*) 1277 1277 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 1278 1278 ;; 1279 sh -*-linux*)1279 sh*-*-linux*) 1280 1280 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 1281 1281 ;; 1282 1282 sh*-*-pe|mips*-*-pe|*arm-wince-pe) … … 1305 1305 arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* ) 1306 1306 noconfigdirs="$noconfigdirs target-libffi target-qthreads" 1307 1307 ;; 1308 arm*-*-linux-gnueabi )1308 arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi) 1309 1309 noconfigdirs="$noconfigdirs target-libffi target-qthreads" 1310 1310 noconfigdirs="$noconfigdirs target-libjava target-libobjc" 1311 1311 ;; … … 1584 1584 romp-*-*) 1585 1585 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" 1586 1586 ;; 1587 sh -*-* | sh64-*-*)1587 sh*-*-* | sh64-*-*) 1588 1588 case "${host}" in 1589 1589 i[3456789]86-*-vsta) ;; # don't add gprof back in 1590 1590 i[3456789]86-*-go32*) ;; # don't add gprof back in -
configure.in
diff -Naur binutils-2.17.orig/configure.in binutils-2.17/configure.in
old new 468 468 am33_2.0-*-linux*) 469 469 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 470 470 ;; 471 sh -*-linux*)471 sh*-*-linux*) 472 472 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 473 473 ;; 474 474 sh*-*-pe|mips*-*-pe|*arm-wince-pe) … … 497 497 arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* ) 498 498 noconfigdirs="$noconfigdirs target-libffi target-qthreads" 499 499 ;; 500 arm*-*-linux-gnueabi )500 arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi) 501 501 noconfigdirs="$noconfigdirs target-libffi target-qthreads" 502 502 noconfigdirs="$noconfigdirs target-libjava target-libobjc" 503 503 ;; … … 776 776 romp-*-*) 777 777 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" 778 778 ;; 779 sh -*-* | sh64-*-*)779 sh*-*-* | sh64-*-*) 780 780 case "${host}" in 781 781 i[[3456789]]86-*-vsta) ;; # don't add gprof back in 782 782 i[[3456789]]86-*-go32*) ;; # don't add gprof back in -
gas/configure
diff -Naur binutils-2.17.orig/gas/configure binutils-2.17/gas/configure
old new 3411 3411 ;; 3412 3412 3413 3413 # This must be Linux ELF. 3414 linux-gnu* )3414 linux-gnu*|linux-uclibc*) 3415 3415 lt_cv_deplibs_check_method=pass_all 3416 3416 ;; 3417 3417 -
gprof/configure
diff -Naur binutils-2.17.orig/gprof/configure binutils-2.17/gprof/configure
old new 3414 3414 lt_cv_deplibs_check_method=pass_all 3415 3415 ;; 3416 3416 3417 linux-uclibc*) 3418 lt_cv_deplibs_check_method=pass_all 3419 lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` 3420 ;; 3421 3417 3422 netbsd* | knetbsd*-gnu) 3418 3423 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 3419 3424 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' -
ld/Makefile.am
diff -Naur binutils-2.17.orig/ld/Makefile.am binutils-2.17/ld/Makefile.am
old new 20 20 # We put the scripts in the directory $(scriptdir)/ldscripts. 21 21 # We can't put the scripts in $(datadir) because the SEARCH_DIR 22 22 # directives need to be different for native and cross linkers. 23 scriptdir = $( tooldir)/lib23 scriptdir = $(libdir) 24 24 25 25 EMUL = @EMUL@ 26 26 EMULATION_OFILES = @EMULATION_OFILES@ -
ld/Makefile.in
diff -Naur binutils-2.17.orig/ld/Makefile.in binutils-2.17/ld/Makefile.in
old new 269 269 # We put the scripts in the directory $(scriptdir)/ldscripts. 270 270 # We can't put the scripts in $(datadir) because the SEARCH_DIR 271 271 # directives need to be different for native and cross linkers. 272 scriptdir = $( tooldir)/lib272 scriptdir = $(libdir) 273 273 BASEDIR = $(srcdir)/.. 274 274 BFDDIR = $(BASEDIR)/bfd 275 275 INCDIR = $(BASEDIR)/include -
ld/configure
diff -Naur binutils-2.17.orig/ld/configure binutils-2.17/ld/configure
old new 3413 3413 ;; 3414 3414 3415 3415 # This must be Linux ELF. 3416 linux-gnu* )3416 linux-gnu*|linux-uclibc*) 3417 3417 lt_cv_deplibs_check_method=pass_all 3418 3418 ;; 3419 3419 -
ld/emultempl/elf32.em
diff -Naur binutils-2.17.orig/ld/emultempl/elf32.em binutils-2.17/ld/emultempl/elf32.em
old new 970 970 && command_line.rpath == NULL) 971 971 { 972 972 lib_path = (const char *) getenv ("LD_RUN_PATH"); 973 if ((lib_path) && (strlen (lib_path) == 0)) 974 lib_path = NULL; 973 975 if (gld${EMULATION_NAME}_search_needed (lib_path, &n, 974 976 force)) 975 977 break; … … 1154 1156 rpath = command_line.rpath; 1155 1157 if (rpath == NULL) 1156 1158 rpath = (const char *) getenv ("LD_RUN_PATH"); 1159 if ((rpath) && (strlen (rpath) == 0)) 1160 rpath = NULL; 1157 1161 if (! (bfd_elf_size_dynamic_sections 1158 1162 (output_bfd, command_line.soname, rpath, 1159 1163 command_line.filter_shlib, -
binutils-2.17
diff -Naur binutils-2.17.orig/libtool.m4 binutils-2.17/libtool.m4
old new 739 739 ;; 740 740 741 741 # This must be Linux ELF. 742 linux-gnu* )742 linux-gnu*|linux-uclibc*) 743 743 lt_cv_deplibs_check_method=pass_all 744 744 ;; 745 745 -
binutils-2.17
diff -Naur binutils-2.17.orig/ltconfig binutils-2.17/ltconfig
old new 602 602 603 603 # Transform linux* to *-*-linux-gnu*, to support old configure scripts. 604 604 case $host_os in 605 linux-uclibc*) ;; 605 606 linux-gnu*) ;; 606 607 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 607 608 esac … … 1247 1248 ;; 1248 1249 1249 1250 # This must be Linux ELF. 1250 linux-gnu* )1251 linux-gnu*|linux-uclibc*) 1251 1252 version_type=linux 1252 1253 need_lib_prefix=no 1253 1254 need_version=no -
opcodes/configure
diff -Naur binutils-2.17.orig/opcodes/configure binutils-2.17/opcodes/configure
old new 3579 3579 ;; 3580 3580 3581 3581 # This must be Linux ELF. 3582 linux-gnu* )3582 linux-gnu*|linux-uclibc*) 3583 3583 lt_cv_deplibs_check_method=pass_all 3584 3584 ;; 3585 3585
Note:
See TracBrowser
for help on using the repository browser.