diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch b/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch index 1a640eac39..5e6be3a653 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch | |||
@@ -6,13 +6,13 @@ Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> | |||
6 | 6 | ||
7 | Always try to prepend the sysroot prefix to absolute filenames first. | 7 | Always try to prepend the sysroot prefix to absolute filenames first. |
8 | 8 | ||
9 | Index: binutils-2.21/ld/ldfile.c | 9 | Index: binutils-2.22/ld/ldfile.c |
10 | =================================================================== | 10 | =================================================================== |
11 | --- binutils-2.21.orig/ld/ldfile.c | 11 | --- binutils-2.22.orig/ld/ldfile.c |
12 | +++ binutils-2.21/ld/ldfile.c | 12 | +++ binutils-2.22/ld/ldfile.c |
13 | @@ -372,18 +372,24 @@ ldfile_open_file_search (const char *arc | 13 | @@ -351,18 +351,24 @@ ldfile_open_file_search (const char *arc |
14 | directory first. */ | 14 | directory first. */ |
15 | if (! entry->is_archive) | 15 | if (! entry->maybe_archive) |
16 | { | 16 | { |
17 | - if (entry->sysrooted && IS_ABSOLUTE_PATH (entry->filename)) | 17 | - if (entry->sysrooted && IS_ABSOLUTE_PATH (entry->filename)) |
18 | + /* For absolute pathnames, try to always open the file in the | 18 | + /* For absolute pathnames, try to always open the file in the |