mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 17:59:39 +01:00
- Rebase existing patches - Drop 0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch which is already in - Correct packaging path to libgprofng.so - Below commits on binutils-2.40 stable branch are updated. 4671be001eb Updated Hungarian translation for the gprof directory ded035f913e lto: Don't add indirect symbols for versioned aliases in IR 74cb2ddeabc gas: arm: Change warning message to not reference specific A-class architecture revision 570b9c09bbf gas: arm: Fix a further IT-predicated vcvt issue in the presense of MVE vcvtn bddd62e188c libctf: get the offsets of fields of unnamed structs/unions right 7aa47eafcce libctf: fix assertion failure with no system qsort_r 165accf0752 coff_get_normalized_symtab bfd_release af35798e957 PR30217, dynamic relocations using local dynamic symbols 18bb604f1e1 PR30198, Assertion and segfault when linking x86_64 elf and coff 34a2b4a0e21 PR30155, ld segfault in _bfd_nearby_section 3d0046f39aa PR30046, power cmpi leads to unknown architecture 5c87fb1d59b ppc32 and "LOAD segment with RWX permissions" 11f5c1ebf14 Updated Serbian translations for gold, gprof and opcodes sub-directories 38e455b1d9a Updated translations for the bfd and gprof directories. b2bc62b7b4e gas: correct symbol name comparison in .startof./.sizeof. handling 17294931e3e configure: remove dependencies on gmp and mpfr when gdb is disabled 1fc096a4c59 Regen config files e1815414077 Pass $JANSSON_LIBS and $ZSTD_LIBS to ld-bootstrap/bootrap.exp 3e888977f16 bpf: fix error conversion from long unsigned int to unsigned int [-Werror=overflow] 65dbb942145 Updated Swedish translation for the binutils sub-directory 27f59ec47a1 RISC-V: make C-extension JAL available again for (32-bit) assembly edd36b26f35 gprofng: PR30043 libgprofng.so.* are installed to a wrong location c6e269febbc gprofng: PR29521 [docs] man pages are not in the release tarball bcea253f5fa toplevel: Makefile.def: add install-strip dependency on libsframe (From OE-Core rev: 5d7389770af6613af4ca8a2d30cc79d494a91075) (From OE-Core rev: c4135c692cea9cbeb5df21baa4d76e872d981411) Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dcaf5192599b9474901ab73b66c330a401623fc1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
60 lines
2.1 KiB
Diff
60 lines
2.1 KiB
Diff
From c79005d4d9991593557766ad569f48c26482399f Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Mon, 6 Mar 2017 23:37:05 -0800
|
|
Subject: [PATCH] binutils-cross: Do not generate linker script directories
|
|
|
|
We don't place target libraries within ${exec_prefix}, we'd always place these
|
|
within the target sysroot within the standard library directories. Worse, the
|
|
append_to_lib_path code prefixes these paths with the sysroot which makes even
|
|
less sense.
|
|
|
|
These directories therefore don't make sense in our case and mean we have to
|
|
relocate all the linker scripts if they're present. Dropping them
|
|
gives a reasonable performance improvement/simplification.
|
|
|
|
Upstream-Status: Inappropriate
|
|
|
|
RP 2017/01/30
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
ld/genscripts.sh | 25 -------------------------
|
|
1 file changed, 25 deletions(-)
|
|
|
|
diff --git a/ld/genscripts.sh b/ld/genscripts.sh
|
|
index 9fbd0c4cb8a..6be07038c9b 100755
|
|
--- a/ld/genscripts.sh
|
|
+++ b/ld/genscripts.sh
|
|
@@ -235,31 +235,6 @@ append_to_lib_path()
|
|
fi
|
|
}
|
|
|
|
-# Always search $(tooldir)/lib, aka /usr/local/TARGET/lib when native
|
|
-# except when LIBPATH=":".
|
|
-if [ "${LIB_PATH}" != ":" ] ; then
|
|
- libs=
|
|
- if [ "x${TOOL_LIB}" = "x" ] ; then
|
|
- if [ "x${NATIVE}" = "xyes" ] ; then
|
|
- libs="${exec_prefix}/${target_alias}/lib"
|
|
- fi
|
|
- else
|
|
- # For multilib'ed targets, ensure both ${target_alias}/lib${LIBPATH_SUFFIX}
|
|
- # and ${TOOL_LIB}/lib${LIBPATH_SUFFIX} are in the default search path,
|
|
- # because 64bit libraries may be in both places, depending on
|
|
- # cross-development setup method (e.g.: /usr/s390x-linux/lib64
|
|
- # vs. /usr/s390-linux/lib64)
|
|
- for libpath_suffix in ${LIBPATH_SUFFIX}; do
|
|
- case "${NATIVE}:${libpath_suffix}:${TOOL_LIB}" in
|
|
- :* | *::* | *:*:*${libpath_suffix}) ;;
|
|
- *) libs="${exec_prefix}/${target_alias}/lib${libpath_suffix}" ;;
|
|
- esac
|
|
- done
|
|
- libs="${exec_prefix}/${TOOL_LIB}/lib ${libs}"
|
|
- fi
|
|
- append_to_lib_path ${libs}
|
|
-fi
|
|
-
|
|
if [ "x${LIB_PATH}" = "x" ] && [ "x${USE_LIBPATH}" = xyes ] ; then
|
|
libs=${NATIVE_LIB_DIRS}
|
|
if [ "x${NATIVE}" = "xyes" ] ; then
|