diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch b/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch index e0e257880d..e75104722b 100644 --- a/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch +++ b/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 0a4afdcf0700efd45963568e2d0049127cdf4434 Mon Sep 17 00:00:00 2001 | 1 | From 27e38ee92c24fca86b1c3f6ef156a1892dd06bfd Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 15 Jan 2016 06:31:09 +0000 | 3 | Date: Fri, 15 Jan 2016 06:31:09 +0000 |
4 | Subject: [PATCH 09/15] warn for uses of system directories when cross linking | 4 | Subject: [PATCH 09/15] warn for uses of system directories when cross linking |
@@ -77,7 +77,7 @@ index a846743da6..df3cd5fb60 100644 | |||
77 | #undef EXTRA_SHLIB_EXTENSION | 77 | #undef EXTRA_SHLIB_EXTENSION |
78 | 78 | ||
79 | diff --git a/ld/configure b/ld/configure | 79 | diff --git a/ld/configure b/ld/configure |
80 | index 4e71511bd1..71c6ad1fd1 100755 | 80 | index db8b998722..489ead5c13 100755 |
81 | --- a/ld/configure | 81 | --- a/ld/configure |
82 | +++ b/ld/configure | 82 | +++ b/ld/configure |
83 | @@ -789,6 +789,7 @@ with_lib_path | 83 | @@ -789,6 +789,7 @@ with_lib_path |
@@ -118,7 +118,7 @@ index 4e71511bd1..71c6ad1fd1 100755 | |||
118 | if test "${enable_gold+set}" = set; then : | 118 | if test "${enable_gold+set}" = set; then : |
119 | enableval=$enable_gold; case "${enableval}" in | 119 | enableval=$enable_gold; case "${enableval}" in |
120 | diff --git a/ld/configure.ac b/ld/configure.ac | 120 | diff --git a/ld/configure.ac b/ld/configure.ac |
121 | index 00080f85fd..3aa98e37fb 100644 | 121 | index bada1b50b0..d074a3820b 100644 |
122 | --- a/ld/configure.ac | 122 | --- a/ld/configure.ac |
123 | +++ b/ld/configure.ac | 123 | +++ b/ld/configure.ac |
124 | @@ -95,6 +95,16 @@ AC_SUBST(use_sysroot) | 124 | @@ -95,6 +95,16 @@ AC_SUBST(use_sysroot) |
@@ -139,10 +139,10 @@ index 00080f85fd..3aa98e37fb 100644 | |||
139 | dnl "install_as_default" is set to false if gold is the default linker. | 139 | dnl "install_as_default" is set to false if gold is the default linker. |
140 | dnl "installed_linker" is the installed BFD linker name. | 140 | dnl "installed_linker" is the installed BFD linker name. |
141 | diff --git a/ld/ld.h b/ld/ld.h | 141 | diff --git a/ld/ld.h b/ld/ld.h |
142 | index c6fa1247f0..01c373498f 100644 | 142 | index ba914b921e..9df17dab6c 100644 |
143 | --- a/ld/ld.h | 143 | --- a/ld/ld.h |
144 | +++ b/ld/ld.h | 144 | +++ b/ld/ld.h |
145 | @@ -174,6 +174,14 @@ typedef struct | 145 | @@ -180,6 +180,14 @@ typedef struct |
146 | in the linker script. */ | 146 | in the linker script. */ |
147 | bfd_boolean force_group_allocation; | 147 | bfd_boolean force_group_allocation; |
148 | 148 | ||
@@ -158,10 +158,10 @@ index c6fa1247f0..01c373498f 100644 | |||
158 | enum endian_enum endian; | 158 | enum endian_enum endian; |
159 | 159 | ||
160 | diff --git a/ld/ld.texinfo b/ld/ld.texinfo | 160 | diff --git a/ld/ld.texinfo b/ld/ld.texinfo |
161 | index ebe7e7b7bd..33aa2c62fa 100644 | 161 | index c89915f1aa..df430837e2 100644 |
162 | --- a/ld/ld.texinfo | 162 | --- a/ld/ld.texinfo |
163 | +++ b/ld/ld.texinfo | 163 | +++ b/ld/ld.texinfo |
164 | @@ -2480,6 +2480,18 @@ string identifying the original linked file does not change. | 164 | @@ -2498,6 +2498,18 @@ string identifying the original linked file does not change. |
165 | 165 | ||
166 | Passing @code{none} for @var{style} disables the setting from any | 166 | Passing @code{none} for @var{style} disables the setting from any |
167 | @code{--build-id} options earlier on the command line. | 167 | @code{--build-id} options earlier on the command line. |
@@ -181,7 +181,7 @@ index ebe7e7b7bd..33aa2c62fa 100644 | |||
181 | 181 | ||
182 | @c man end | 182 | @c man end |
183 | diff --git a/ld/ldfile.c b/ld/ldfile.c | 183 | diff --git a/ld/ldfile.c b/ld/ldfile.c |
184 | index 3b37a0a3e2..5c85b01849 100644 | 184 | index 6532a57d96..f943f0b2e5 100644 |
185 | --- a/ld/ldfile.c | 185 | --- a/ld/ldfile.c |
186 | +++ b/ld/ldfile.c | 186 | +++ b/ld/ldfile.c |
187 | @@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) | 187 | @@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) |
@@ -209,7 +209,7 @@ index 3b37a0a3e2..5c85b01849 100644 | |||
209 | 209 | ||
210 | /* Try to open a BFD for a lang_input_statement. */ | 210 | /* Try to open a BFD for a lang_input_statement. */ |
211 | diff --git a/ld/ldlex.h b/ld/ldlex.h | 211 | diff --git a/ld/ldlex.h b/ld/ldlex.h |
212 | index 5aa7f6bc3e..cb655e0399 100644 | 212 | index 140ed1d9da..9965cbc04f 100644 |
213 | --- a/ld/ldlex.h | 213 | --- a/ld/ldlex.h |
214 | +++ b/ld/ldlex.h | 214 | +++ b/ld/ldlex.h |
215 | @@ -147,6 +147,8 @@ enum option_values | 215 | @@ -147,6 +147,8 @@ enum option_values |
@@ -222,7 +222,7 @@ index 5aa7f6bc3e..cb655e0399 100644 | |||
222 | 222 | ||
223 | /* The initial parser states. */ | 223 | /* The initial parser states. */ |
224 | diff --git a/ld/ldmain.c b/ld/ldmain.c | 224 | diff --git a/ld/ldmain.c b/ld/ldmain.c |
225 | index 2b09f20413..89e2a3a805 100644 | 225 | index c473ed24c3..adae0b4610 100644 |
226 | --- a/ld/ldmain.c | 226 | --- a/ld/ldmain.c |
227 | +++ b/ld/ldmain.c | 227 | +++ b/ld/ldmain.c |
228 | @@ -261,6 +261,8 @@ main (int argc, char **argv) | 228 | @@ -261,6 +261,8 @@ main (int argc, char **argv) |
@@ -235,7 +235,7 @@ index 2b09f20413..89e2a3a805 100644 | |||
235 | /* We initialize DEMANGLING based on the environment variable | 235 | /* We initialize DEMANGLING based on the environment variable |
236 | COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the | 236 | COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the |
237 | diff --git a/ld/lexsup.c b/ld/lexsup.c | 237 | diff --git a/ld/lexsup.c b/ld/lexsup.c |
238 | index effa277b16..e4929607e9 100644 | 238 | index f2191602d4..bccb3bdeef 100644 |
239 | --- a/ld/lexsup.c | 239 | --- a/ld/lexsup.c |
240 | +++ b/ld/lexsup.c | 240 | +++ b/ld/lexsup.c |
241 | @@ -538,6 +538,14 @@ static const struct ld_option ld_options[] = | 241 | @@ -538,6 +538,14 @@ static const struct ld_option ld_options[] = |
@@ -269,5 +269,5 @@ index effa277b16..e4929607e9 100644 | |||
269 | } | 269 | } |
270 | 270 | ||
271 | -- | 271 | -- |
272 | 2.14.0 | 272 | 2.16.1 |
273 | 273 | ||