diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-09-11 16:26:12 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-09-11 16:26:12 (GMT) |
commit | 639b71de0fb3ded474b79ec917b9d3eb0fa8548e (patch) | |
tree | fca3650f478c6c411c4ba7146134d319dd152dec /patches/binutils/2.20/130-ld-sysroot.patch | |
parent | 65da1e8e62fc4494d495b3312684df3b14de58af (diff) |
binutils/binutils: fixup version strings
Recently, all binutils versions have been renamed after a GPL compliance
issue was found and fixed in binutils;
http://sourceware.org/ml/binutils/2011-08/msg00198.html
Old versions are no-longer available since the rename (eg. 2.19 has been
superseeded by 2.19.1, and only 2.19.1a was regenerated).
Remove now-missing versions.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 7179903f8d2ea15f1dc2606fdb1fb595002f87d7)
Diffstat (limited to 'patches/binutils/2.20/130-ld-sysroot.patch')
-rw-r--r-- | patches/binutils/2.20/130-ld-sysroot.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/patches/binutils/2.20/130-ld-sysroot.patch b/patches/binutils/2.20/130-ld-sysroot.patch deleted file mode 100644 index 9b52a24..0000000 --- a/patches/binutils/2.20/130-ld-sysroot.patch +++ /dev/null @@ -1,36 +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 - ---- binutils/ld/ldfile.c -+++ binutils/ld/ldfile.c -@@ -308,18 +308,24 @@ - directory first. */ - if (! entry->is_archive) - { -- if (entry->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->sysrooted = is_sysrooted_pathname(entry->filename, FALSE); -+ if (IS_ABSOLUTE_PATH (entry->filename) && ld_sysroot && ! entry->sysrooted) - { - char *name = concat (ld_sysroot, entry->filename, - (const char *) NULL); - if (ldfile_try_open_bfd (name, entry)) - { - entry->filename = name; -+ entry->sysrooted = TRUE; - return TRUE; - } - free (name); - } -- else if (ldfile_try_open_bfd (entry->filename, entry)) -+ -+ if (ldfile_try_open_bfd (entry->filename, entry)) - { - entry->sysrooted = IS_ABSOLUTE_PATH (entry->filename) - && is_sysrooted_pathname (entry->filename, TRUE); |