diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /toolchain/binutils/patches/2.23.1/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'toolchain/binutils/patches/2.23.1/.svn')
6 files changed, 307 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.23.1/.svn/entries b/toolchain/binutils/patches/2.23.1/.svn/entries new file mode 100644 index 0000000..d9a8140 --- /dev/null +++ b/toolchain/binutils/patches/2.23.1/.svn/entries @@ -0,0 +1,198 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/toolchain/binutils/patches/2.23.1 +svn://svn.openwrt.org/openwrt + + + +2013-02-26T16:40:20.769167Z +35814 +florian + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +300-012_check_ldrunpath_length.patch +file + + + + +2013-03-17T12:13:23.000000Z +7268c3265cafab385172929150537d13 +2013-02-26T16:40:12.115568Z +35812 +florian + + + + + + + + + + + + + + + + + + + + + +724 + +112-arm-uclibc-gas-needs-libm.patch +file + + + + +2013-03-17T12:13:23.000000Z +8c54ab65f6e13afa6459fc2af26db39a +2013-02-26T16:40:12.115568Z +35812 +florian + + + + + + + + + + + + + + + + + + + + + +1434 + +300-001_ld_makefile_patch.patch +file + + + + +2013-03-17T12:13:23.000000Z +38ae7dfbc166a87bccce97ad71824b8c +2013-02-26T16:40:12.115568Z +35812 +florian + + + + + + + + + + + + + + + + + + + + + +777 + +120-sh-conf.patch +file + + + + +2013-03-17T12:13:23.000000Z +39ab3d10b566276afd3b8540d51e7318 +2013-02-26T16:40:12.115568Z +35812 +florian + + + + + + + + + + + + + + + + + + + + + +480 + +200-musl.patch +file + + + + +2013-03-17T12:13:23.000000Z +99c53f839555bf9093f1e48e0332648f +2013-02-26T16:40:20.769167Z +35814 +florian + + + + + + + + + + + + + + + + + + + + + +368 + diff --git a/toolchain/binutils/patches/2.23.1/.svn/text-base/112-arm-uclibc-gas-needs-libm.patch.svn-base b/toolchain/binutils/patches/2.23.1/.svn/text-base/112-arm-uclibc-gas-needs-libm.patch.svn-base new file mode 100644 index 0000000..5d0e5ff --- /dev/null +++ b/toolchain/binutils/patches/2.23.1/.svn/text-base/112-arm-uclibc-gas-needs-libm.patch.svn-base @@ -0,0 +1,35 @@ +Source: Khem Raj <raj.khem@gmail.com> +Disposition: submit upstream. + +Description: + +We do not need to have the libtool patch anymore for binutils after +libtool has been updated upstream it include support for it. However +for building gas natively on uclibc systems we have to link it with +-lm so that it picks up missing symbols. + +/local/build_area/BUILD/arm_v5t_le_uclibc/binutils-2.17.50/objdir/libiberty/pic/libiberty.a(floatformat.o): In function `floatformat_from_double': +floatformat.c:(.text+0x1ec): undefined reference to `frexp' +floatformat.c:(.text+0x2f8): undefined reference to `ldexp' +/local/build_area/BUILD/arm_v5t_le_uclibc/binutils-2.17.50/objdir/libiberty/pic/libiberty.a(floatformat.o): In function `floatformat_to_double': +floatformat.c:(.text+0x38a): undefined reference to `ldexp' +floatformat.c:(.text+0x3d2): undefined reference to `ldexp' +floatformat.c:(.text+0x43e): undefined reference to `ldexp' floatformat.c:(.text+0x4e2): undefined reference to `ldexp' +collect2: ld returned 1 exit status +make[4]: *** [as-new] Error 1 + +--- a/gas/configure.tgt ++++ b/gas/configure.tgt +@@ -450,6 +450,12 @@ case ${generic_target} in + *-*-netware) fmt=elf em=netware ;; + esac + ++case ${generic_target} in ++ arm-*-*uclibc*) ++ need_libm=yes ++ ;; ++esac ++ + case ${cpu_type} in + aarch64 | alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k) + bfd_gas=yes diff --git a/toolchain/binutils/patches/2.23.1/.svn/text-base/120-sh-conf.patch.svn-base b/toolchain/binutils/patches/2.23.1/.svn/text-base/120-sh-conf.patch.svn-base new file mode 100644 index 0000000..ce0ec81 --- /dev/null +++ b/toolchain/binutils/patches/2.23.1/.svn/text-base/120-sh-conf.patch.svn-base @@ -0,0 +1,22 @@ +--- a/configure ++++ b/configure +@@ -3595,7 +3595,7 @@ case "${target}" in + mips*-*-*) + noconfigdirs="$noconfigdirs gprof" + ;; +- sh-*-* | sh64-*-*) ++ sh*-*-* | sh64-*-*) + case "${target}" in + sh*-*-elf) + ;; +--- a/configure.ac ++++ b/configure.ac +@@ -1021,7 +1021,7 @@ case "${target}" in + mips*-*-*) + noconfigdirs="$noconfigdirs gprof" + ;; +- sh-*-* | sh64-*-*) ++ sh*-*-* | sh64-*-*) + case "${target}" in + sh*-*-elf) + ;; diff --git a/toolchain/binutils/patches/2.23.1/.svn/text-base/200-musl.patch.svn-base b/toolchain/binutils/patches/2.23.1/.svn/text-base/200-musl.patch.svn-base new file mode 100644 index 0000000..40fe76d --- /dev/null +++ b/toolchain/binutils/patches/2.23.1/.svn/text-base/200-musl.patch.svn-base @@ -0,0 +1,10 @@ +--- a/config.sub ++++ b/config.sub +@@ -125,6 +125,7 @@ esac + maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` + case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ ++ linux-musl* | \ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ diff --git a/toolchain/binutils/patches/2.23.1/.svn/text-base/300-001_ld_makefile_patch.patch.svn-base b/toolchain/binutils/patches/2.23.1/.svn/text-base/300-001_ld_makefile_patch.patch.svn-base new file mode 100644 index 0000000..323655a --- /dev/null +++ b/toolchain/binutils/patches/2.23.1/.svn/text-base/300-001_ld_makefile_patch.patch.svn-base @@ -0,0 +1,22 @@ +--- a/ld/Makefile.am ++++ b/ld/Makefile.am +@@ -37,7 +37,7 @@ endif + # We put the scripts in the directory $(scriptdir)/ldscripts. + # We can't put the scripts in $(datadir) because the SEARCH_DIR + # directives need to be different for native and cross linkers. +-scriptdir = $(tooldir)/lib ++scriptdir = $(libdir) + + EMUL = @EMUL@ + EMULATION_OFILES = @EMULATION_OFILES@ +--- a/ld/Makefile.in ++++ b/ld/Makefile.in +@@ -367,7 +367,7 @@ AM_CFLAGS = $(WARN_CFLAGS) + # We put the scripts in the directory $(scriptdir)/ldscripts. + # We can't put the scripts in $(datadir) because the SEARCH_DIR + # directives need to be different for native and cross linkers. +-scriptdir = $(tooldir)/lib ++scriptdir = $(libdir) + BASEDIR = $(srcdir)/.. + BFDDIR = $(BASEDIR)/bfd + INCDIR = $(BASEDIR)/include diff --git a/toolchain/binutils/patches/2.23.1/.svn/text-base/300-012_check_ldrunpath_length.patch.svn-base b/toolchain/binutils/patches/2.23.1/.svn/text-base/300-012_check_ldrunpath_length.patch.svn-base new file mode 100644 index 0000000..7e90d22 --- /dev/null +++ b/toolchain/binutils/patches/2.23.1/.svn/text-base/300-012_check_ldrunpath_length.patch.svn-base @@ -0,0 +1,20 @@ +--- a/ld/emultempl/elf32.em ++++ b/ld/emultempl/elf32.em +@@ -1274,6 +1274,8 @@ fragment <<EOF + && command_line.rpath == NULL) + { + lib_path = (const char *) getenv ("LD_RUN_PATH"); ++ if ((lib_path) && (strlen (lib_path) == 0)) ++ lib_path = NULL; + if (gld${EMULATION_NAME}_search_needed (lib_path, &n, + force)) + break; +@@ -1501,6 +1503,8 @@ gld${EMULATION_NAME}_before_allocation ( + rpath = command_line.rpath; + if (rpath == NULL) + rpath = (const char *) getenv ("LD_RUN_PATH"); ++ if ((rpath) && (strlen (rpath) == 0)) ++ rpath = NULL; + + for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next) + if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) |