summaryrefslogtreecommitdiff
path: root/sys-devel/binutils/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-01 17:44:07 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-01 17:44:07 +0100
commit5bd02f229a9c4ce484e49ec36dcb1f4eb5dfcdae (patch)
treebd9151b602024702907ff1e5d953f6945b67f25c /sys-devel/binutils/files
parentb447ac3a6d1bb09ddb6a5686620670e223b37642 (diff)
gentoo auto-resync : 01:10:2023 - 17:44:07
Diffstat (limited to 'sys-devel/binutils/files')
-rw-r--r--sys-devel/binutils/files/binutils-2.40-linker-search-path.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/sys-devel/binutils/files/binutils-2.40-linker-search-path.patch b/sys-devel/binutils/files/binutils-2.40-linker-search-path.patch
index 7423f8d70556..bddfa1ec6eb5 100644
--- a/sys-devel/binutils/files/binutils-2.40-linker-search-path.patch
+++ b/sys-devel/binutils/files/binutils-2.40-linker-search-path.patch
@@ -36,39 +36,3 @@ libstdc++.so.6, while other linkers do not use this file at all.
sprintf (filename, "%s/%s", search->name, l->name);
nn.name = filename;
if (ldelf_try_needed (&nn, force, is_linux))
-
-From 8afc65c8d8c0fff2f686ddd8eb9023c7ebabcca9 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Sat, 11 Feb 2023 15:18:58 +0000
-Subject: [PATCH 2/2] ldelf.c: Do not search for libraries using ld.so.conf
-
-Other linkers do not do this. It is problematic for Gentoo Linux,
-because crossdev installs libraries such as libstdc++.so.6 outside of
-the sysroot.
---- a/ld/ld.texi
-+++ b/ld/ld.texi
-@@ -2355,7 +2355,9 @@ For a linker for a Linux system, if the file @file{/etc/ld.so.conf}
- exists, the list of directories found in that file. Note: the path
- to this file is prefixed with the @code{sysroot} value, if that is
- defined, and then any @code{prefix} string if the linker was
--configured with the @command{--prefix=<path>} option.
-+configured with the @command{--prefix=<path>} option. This has feature has
-+been disabled on Gentoo Linux to make it consistent with the other
-+linkers, which do not do this.
- @item
- For a native linker on a FreeBSD system, any directories specified by
- the @code{_PATH_ELF_HINTS} macro defined in the @file{elf-hints.h}
---- a/ld/ldelf.c
-+++ b/ld/ldelf.c
-@@ -1156,10 +1156,6 @@ ldelf_handle_dt_needed (struct elf_link_hash_table *htab,
- if (is_freebsd
- && ldelf_check_ld_elf_hints (l, force, elfsize))
- break;
--
-- if (is_linux
-- && ldelf_check_ld_so_conf (l, force, elfsize, prefix))
-- break;
- }
-
- len = strlen (l->name);
-