diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-02 22:45:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-02 22:45:15 +0000 |
commit | 3e222a91a5fb0ca2cd022ab083d534fce046bc45 (patch) | |
tree | 044ebb1b90be1b5364ea793c01286904926567fd /src/patchsets/binutils | |
parent | Remove archival (diff) | |
download | gentoo-3e222a91a5fb0ca2cd022ab083d534fce046bc45.tar.gz gentoo-3e222a91a5fb0ca2cd022ab083d534fce046bc45.tar.bz2 gentoo-3e222a91a5fb0ca2cd022ab083d534fce046bc45.zip |
drop ld sysroot patch since upstream has merged a proper fix
Diffstat (limited to 'src/patchsets/binutils')
16 files changed, 22 insertions, 296 deletions
diff --git a/src/patchsets/binutils/2.22.52.0.2/20_all_ld-sysroot.patch b/src/patchsets/binutils/2.22.52.0.2/20_all_ld-sysroot.patch deleted file mode 100644 index 8e8465dccb..0000000000 --- a/src/patchsets/binutils/2.22.52.0.2/20_all_ld-sysroot.patch +++ /dev/null @@ -1,37 +0,0 @@ -Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> - -Always try to prepend the sysroot prefix to absolute filenames first. - -http://bugs.gentoo.org/275666 -http://sourceware.org/bugzilla/show_bug.cgi?id=10340 - ---- ld/ldfile.c -+++ ld/ldfile.c -@@ -308,18 +308,25 @@ - directory first. */ - if (! entry->flags.maybe_archive) - { -- if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) -+ /* For absolute pathnames, try to always open the file in the -+ sysroot first. If this fails, try to open the file at the -+ given location. */ -+ entry->flags.sysrooted = is_sysrooted_pathname (entry->filename); -+ if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename) -+ && ld_sysroot) - { - char *name = concat (ld_sysroot, entry->filename, - (const char *) NULL); - if (ldfile_try_open_bfd (name, entry)) - { - entry->filename = name; -+ entry->flags.sysrooted = TRUE; - return TRUE; - } - free (name); - } -- else if (ldfile_try_open_bfd (entry->filename, entry)) -+ -+ if (ldfile_try_open_bfd (entry->filename, entry)) - return TRUE; - - if (IS_ABSOLUTE_PATH (entry->filename)) diff --git a/src/patchsets/binutils/2.22.52.0.2/README.history b/src/patchsets/binutils/2.22.52.0.2/README.history index 1b95176b2f..44f548f35f 100644 --- a/src/patchsets/binutils/2.22.52.0.2/README.history +++ b/src/patchsets/binutils/2.22.52.0.2/README.history @@ -1,3 +1,6 @@ +1.1 [pending] + - 20_all_ld-sysroot.patch + 1.0 25 Apr 2012 + 03_all_binutils-2.15.92.0.2-ppc64-pie.patch + 08_all_binutils-RPATH_ENVVAR-smack.patch diff --git a/src/patchsets/binutils/2.22.52.0.3/20_all_ld-sysroot.patch b/src/patchsets/binutils/2.22.52.0.3/20_all_ld-sysroot.patch deleted file mode 100644 index 8e8465dccb..0000000000 --- a/src/patchsets/binutils/2.22.52.0.3/20_all_ld-sysroot.patch +++ /dev/null @@ -1,37 +0,0 @@ -Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> - -Always try to prepend the sysroot prefix to absolute filenames first. - -http://bugs.gentoo.org/275666 -http://sourceware.org/bugzilla/show_bug.cgi?id=10340 - ---- ld/ldfile.c -+++ ld/ldfile.c -@@ -308,18 +308,25 @@ - directory first. */ - if (! entry->flags.maybe_archive) - { -- if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) -+ /* For absolute pathnames, try to always open the file in the -+ sysroot first. If this fails, try to open the file at the -+ given location. */ -+ entry->flags.sysrooted = is_sysrooted_pathname (entry->filename); -+ if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename) -+ && ld_sysroot) - { - char *name = concat (ld_sysroot, entry->filename, - (const char *) NULL); - if (ldfile_try_open_bfd (name, entry)) - { - entry->filename = name; -+ entry->flags.sysrooted = TRUE; - return TRUE; - } - free (name); - } -- else if (ldfile_try_open_bfd (entry->filename, entry)) -+ -+ if (ldfile_try_open_bfd (entry->filename, entry)) - return TRUE; - - if (IS_ABSOLUTE_PATH (entry->filename)) diff --git a/src/patchsets/binutils/2.22.52.0.3/README.history b/src/patchsets/binutils/2.22.52.0.3/README.history index 154fc4cc23..0aa46ba594 100644 --- a/src/patchsets/binutils/2.22.52.0.3/README.history +++ b/src/patchsets/binutils/2.22.52.0.3/README.history @@ -1,3 +1,6 @@ +1.1 [pending] + - 20_all_ld-sysroot.patch + 1.0 09 May 2012 + 03_all_binutils-2.15.92.0.2-ppc64-pie.patch + 08_all_binutils-RPATH_ENVVAR-smack.patch diff --git a/src/patchsets/binutils/2.22.52.0.4/20_all_ld-sysroot.patch b/src/patchsets/binutils/2.22.52.0.4/20_all_ld-sysroot.patch deleted file mode 100644 index 8e8465dccb..0000000000 --- a/src/patchsets/binutils/2.22.52.0.4/20_all_ld-sysroot.patch +++ /dev/null @@ -1,37 +0,0 @@ -Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> - -Always try to prepend the sysroot prefix to absolute filenames first. - -http://bugs.gentoo.org/275666 -http://sourceware.org/bugzilla/show_bug.cgi?id=10340 - ---- ld/ldfile.c -+++ ld/ldfile.c -@@ -308,18 +308,25 @@ - directory first. */ - if (! entry->flags.maybe_archive) - { -- if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) -+ /* For absolute pathnames, try to always open the file in the -+ sysroot first. If this fails, try to open the file at the -+ given location. */ -+ entry->flags.sysrooted = is_sysrooted_pathname (entry->filename); -+ if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename) -+ && ld_sysroot) - { - char *name = concat (ld_sysroot, entry->filename, - (const char *) NULL); - if (ldfile_try_open_bfd (name, entry)) - { - entry->filename = name; -+ entry->flags.sysrooted = TRUE; - return TRUE; - } - free (name); - } -- else if (ldfile_try_open_bfd (entry->filename, entry)) -+ -+ if (ldfile_try_open_bfd (entry->filename, entry)) - return TRUE; - - if (IS_ABSOLUTE_PATH (entry->filename)) diff --git a/src/patchsets/binutils/2.22.52.0.4/README.history b/src/patchsets/binutils/2.22.52.0.4/README.history index 329c3e0444..f9c8c180dc 100644 --- a/src/patchsets/binutils/2.22.52.0.4/README.history +++ b/src/patchsets/binutils/2.22.52.0.4/README.history @@ -1,3 +1,6 @@ +1.1 [pending] + - 20_all_ld-sysroot.patch + 1.0 05 Jul 2012 + 03_all_binutils-2.15.92.0.2-ppc64-pie.patch + 08_all_binutils-RPATH_ENVVAR-smack.patch diff --git a/src/patchsets/binutils/2.22.90/20_all_ld-sysroot.patch b/src/patchsets/binutils/2.22.90/20_all_ld-sysroot.patch deleted file mode 100644 index 8e8465dccb..0000000000 --- a/src/patchsets/binutils/2.22.90/20_all_ld-sysroot.patch +++ /dev/null @@ -1,37 +0,0 @@ -Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> - -Always try to prepend the sysroot prefix to absolute filenames first. - -http://bugs.gentoo.org/275666 -http://sourceware.org/bugzilla/show_bug.cgi?id=10340 - ---- ld/ldfile.c -+++ ld/ldfile.c -@@ -308,18 +308,25 @@ - directory first. */ - if (! entry->flags.maybe_archive) - { -- if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) -+ /* For absolute pathnames, try to always open the file in the -+ sysroot first. If this fails, try to open the file at the -+ given location. */ -+ entry->flags.sysrooted = is_sysrooted_pathname (entry->filename); -+ if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename) -+ && ld_sysroot) - { - char *name = concat (ld_sysroot, entry->filename, - (const char *) NULL); - if (ldfile_try_open_bfd (name, entry)) - { - entry->filename = name; -+ entry->flags.sysrooted = TRUE; - return TRUE; - } - free (name); - } -- else if (ldfile_try_open_bfd (entry->filename, entry)) -+ -+ if (ldfile_try_open_bfd (entry->filename, entry)) - return TRUE; - - if (IS_ABSOLUTE_PATH (entry->filename)) diff --git a/src/patchsets/binutils/2.22.90/README.history b/src/patchsets/binutils/2.22.90/README.history index 2efa035a6c..9dd82cd6fe 100644 --- a/src/patchsets/binutils/2.22.90/README.history +++ b/src/patchsets/binutils/2.22.90/README.history @@ -1,4 +1,5 @@ 1.2 [pending] + - 20_all_ld-sysroot.patch - 65_all_binutils-2.20.90-amd64-32bit-path.patch + 65_all_binutils-2.22.90-amd64-32bit-path.patch diff --git a/src/patchsets/binutils/2.23.51.0.1/20_all_ld-sysroot.patch b/src/patchsets/binutils/2.23.51.0.1/20_all_ld-sysroot.patch deleted file mode 100644 index 8e8465dccb..0000000000 --- a/src/patchsets/binutils/2.23.51.0.1/20_all_ld-sysroot.patch +++ /dev/null @@ -1,37 +0,0 @@ -Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> - -Always try to prepend the sysroot prefix to absolute filenames first. - -http://bugs.gentoo.org/275666 -http://sourceware.org/bugzilla/show_bug.cgi?id=10340 - ---- ld/ldfile.c -+++ ld/ldfile.c -@@ -308,18 +308,25 @@ - directory first. */ - if (! entry->flags.maybe_archive) - { -- if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) -+ /* For absolute pathnames, try to always open the file in the -+ sysroot first. If this fails, try to open the file at the -+ given location. */ -+ entry->flags.sysrooted = is_sysrooted_pathname (entry->filename); -+ if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename) -+ && ld_sysroot) - { - char *name = concat (ld_sysroot, entry->filename, - (const char *) NULL); - if (ldfile_try_open_bfd (name, entry)) - { - entry->filename = name; -+ entry->flags.sysrooted = TRUE; - return TRUE; - } - free (name); - } -- else if (ldfile_try_open_bfd (entry->filename, entry)) -+ -+ if (ldfile_try_open_bfd (entry->filename, entry)) - return TRUE; - - if (IS_ABSOLUTE_PATH (entry->filename)) diff --git a/src/patchsets/binutils/2.23.51.0.1/README.history b/src/patchsets/binutils/2.23.51.0.1/README.history index ba55e21220..e084765571 100644 --- a/src/patchsets/binutils/2.23.51.0.1/README.history +++ b/src/patchsets/binutils/2.23.51.0.1/README.history @@ -1,3 +1,6 @@ +1.2 [pending] + - 20_all_ld-sysroot.patch + 1.1 08 Aug 2012 - 65_all_binutils-2.20.90-amd64-32bit-path.patch + 65_all_binutils-2.20-amd64-32bit-path.patch diff --git a/src/patchsets/binutils/2.23.51.0.2/20_all_ld-sysroot.patch b/src/patchsets/binutils/2.23.51.0.2/20_all_ld-sysroot.patch deleted file mode 100644 index 8e8465dccb..0000000000 --- a/src/patchsets/binutils/2.23.51.0.2/20_all_ld-sysroot.patch +++ /dev/null @@ -1,37 +0,0 @@ -Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> - -Always try to prepend the sysroot prefix to absolute filenames first. - -http://bugs.gentoo.org/275666 -http://sourceware.org/bugzilla/show_bug.cgi?id=10340 - ---- ld/ldfile.c -+++ ld/ldfile.c -@@ -308,18 +308,25 @@ - directory first. */ - if (! entry->flags.maybe_archive) - { -- if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) -+ /* For absolute pathnames, try to always open the file in the -+ sysroot first. If this fails, try to open the file at the -+ given location. */ -+ entry->flags.sysrooted = is_sysrooted_pathname (entry->filename); -+ if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename) -+ && ld_sysroot) - { - char *name = concat (ld_sysroot, entry->filename, - (const char *) NULL); - if (ldfile_try_open_bfd (name, entry)) - { - entry->filename = name; -+ entry->flags.sysrooted = TRUE; - return TRUE; - } - free (name); - } -- else if (ldfile_try_open_bfd (entry->filename, entry)) -+ -+ if (ldfile_try_open_bfd (entry->filename, entry)) - return TRUE; - - if (IS_ABSOLUTE_PATH (entry->filename)) diff --git a/src/patchsets/binutils/2.23.51.0.2/README.history b/src/patchsets/binutils/2.23.51.0.2/README.history index 622b67dc79..7b92132e78 100644 --- a/src/patchsets/binutils/2.23.51.0.2/README.history +++ b/src/patchsets/binutils/2.23.51.0.2/README.history @@ -1,3 +1,6 @@ +1.1 [pending] + - 20_all_ld-sysroot.patch + 1.0 11 Sep 2012 + 12_all_sh-targets.patch + 20_all_ld-sysroot.patch diff --git a/src/patchsets/binutils/2.23.51.0.3/20_all_ld-sysroot.patch b/src/patchsets/binutils/2.23.51.0.3/20_all_ld-sysroot.patch deleted file mode 100644 index 8e8465dccb..0000000000 --- a/src/patchsets/binutils/2.23.51.0.3/20_all_ld-sysroot.patch +++ /dev/null @@ -1,37 +0,0 @@ -Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> - -Always try to prepend the sysroot prefix to absolute filenames first. - -http://bugs.gentoo.org/275666 -http://sourceware.org/bugzilla/show_bug.cgi?id=10340 - ---- ld/ldfile.c -+++ ld/ldfile.c -@@ -308,18 +308,25 @@ - directory first. */ - if (! entry->flags.maybe_archive) - { -- if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) -+ /* For absolute pathnames, try to always open the file in the -+ sysroot first. If this fails, try to open the file at the -+ given location. */ -+ entry->flags.sysrooted = is_sysrooted_pathname (entry->filename); -+ if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename) -+ && ld_sysroot) - { - char *name = concat (ld_sysroot, entry->filename, - (const char *) NULL); - if (ldfile_try_open_bfd (name, entry)) - { - entry->filename = name; -+ entry->flags.sysrooted = TRUE; - return TRUE; - } - free (name); - } -- else if (ldfile_try_open_bfd (entry->filename, entry)) -+ -+ if (ldfile_try_open_bfd (entry->filename, entry)) - return TRUE; - - if (IS_ABSOLUTE_PATH (entry->filename)) diff --git a/src/patchsets/binutils/2.23.51.0.3/README.history b/src/patchsets/binutils/2.23.51.0.3/README.history index 543bd6126c..3978f72401 100644 --- a/src/patchsets/binutils/2.23.51.0.3/README.history +++ b/src/patchsets/binutils/2.23.51.0.3/README.history @@ -1,3 +1,6 @@ +1.1 02 Nov 2012 + - 20_all_ld-sysroot.patch + 1.0 19 Sep 2012 + 12_all_sh-targets.patch + 20_all_ld-sysroot.patch diff --git a/src/patchsets/binutils/2.23/20_all_ld-sysroot.patch b/src/patchsets/binutils/2.23/20_all_ld-sysroot.patch deleted file mode 100644 index 8e8465dccb..0000000000 --- a/src/patchsets/binutils/2.23/20_all_ld-sysroot.patch +++ /dev/null @@ -1,37 +0,0 @@ -Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> - -Always try to prepend the sysroot prefix to absolute filenames first. - -http://bugs.gentoo.org/275666 -http://sourceware.org/bugzilla/show_bug.cgi?id=10340 - ---- ld/ldfile.c -+++ ld/ldfile.c -@@ -308,18 +308,25 @@ - directory first. */ - if (! entry->flags.maybe_archive) - { -- if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) -+ /* For absolute pathnames, try to always open the file in the -+ sysroot first. If this fails, try to open the file at the -+ given location. */ -+ entry->flags.sysrooted = is_sysrooted_pathname (entry->filename); -+ if (!entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename) -+ && ld_sysroot) - { - char *name = concat (ld_sysroot, entry->filename, - (const char *) NULL); - if (ldfile_try_open_bfd (name, entry)) - { - entry->filename = name; -+ entry->flags.sysrooted = TRUE; - return TRUE; - } - free (name); - } -- else if (ldfile_try_open_bfd (entry->filename, entry)) -+ -+ if (ldfile_try_open_bfd (entry->filename, entry)) - return TRUE; - - if (IS_ABSOLUTE_PATH (entry->filename)) diff --git a/src/patchsets/binutils/2.23/README.history b/src/patchsets/binutils/2.23/README.history index a81f6d634c..daee1a9405 100644 --- a/src/patchsets/binutils/2.23/README.history +++ b/src/patchsets/binutils/2.23/README.history @@ -1,3 +1,6 @@ +1.1 02 Nov 2012 + - 20_all_ld-sysroot.patch + 1.0 23 Oct 2012 + 12_all_sh-targets.patch + 20_all_ld-sysroot.patch |