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 | 50 |
1 files changed, 25 insertions, 25 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 e75104722b..9a9e319621 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 27e38ee92c24fca86b1c3f6ef156a1892dd06bfd Mon Sep 17 00:00:00 2001 | 1 | From a3667059fc0d52d890b505bed0e5050ea3d7002e 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 |
@@ -55,7 +55,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
55 | ld/configure | 16 ++++++++++++++++ | 55 | ld/configure | 16 ++++++++++++++++ |
56 | ld/configure.ac | 10 ++++++++++ | 56 | ld/configure.ac | 10 ++++++++++ |
57 | ld/ld.h | 8 ++++++++ | 57 | ld/ld.h | 8 ++++++++ |
58 | ld/ld.texinfo | 12 ++++++++++++ | 58 | ld/ld.texi | 12 ++++++++++++ |
59 | ld/ldfile.c | 17 +++++++++++++++++ | 59 | ld/ldfile.c | 17 +++++++++++++++++ |
60 | ld/ldlex.h | 2 ++ | 60 | ld/ldlex.h | 2 ++ |
61 | ld/ldmain.c | 2 ++ | 61 | ld/ldmain.c | 2 ++ |
@@ -63,10 +63,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
63 | 9 files changed, 86 insertions(+) | 63 | 9 files changed, 86 insertions(+) |
64 | 64 | ||
65 | diff --git a/ld/config.in b/ld/config.in | 65 | diff --git a/ld/config.in b/ld/config.in |
66 | index a846743da6..df3cd5fb60 100644 | 66 | index d93c9b0830..5da2742bea 100644 |
67 | --- a/ld/config.in | 67 | --- a/ld/config.in |
68 | +++ b/ld/config.in | 68 | +++ b/ld/config.in |
69 | @@ -27,6 +27,9 @@ | 69 | @@ -31,6 +31,9 @@ |
70 | language is requested. */ | 70 | language is requested. */ |
71 | #undef ENABLE_NLS | 71 | #undef ENABLE_NLS |
72 | 72 | ||
@@ -77,10 +77,10 @@ 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 db8b998722..489ead5c13 100755 | 80 | index 2b291f0da8..facc386563 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 | @@ -826,6 +826,7 @@ with_lib_path |
84 | enable_targets | 84 | enable_targets |
85 | enable_64_bit_bfd | 85 | enable_64_bit_bfd |
86 | with_sysroot | 86 | with_sysroot |
@@ -88,7 +88,7 @@ index db8b998722..489ead5c13 100755 | |||
88 | enable_gold | 88 | enable_gold |
89 | enable_got | 89 | enable_got |
90 | enable_compressed_debug_sections | 90 | enable_compressed_debug_sections |
91 | @@ -1448,6 +1449,8 @@ Optional Features: | 91 | @@ -1490,6 +1491,8 @@ Optional Features: |
92 | --disable-largefile omit support for large files | 92 | --disable-largefile omit support for large files |
93 | --enable-targets alternative target configurations | 93 | --enable-targets alternative target configurations |
94 | --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) | 94 | --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) |
@@ -97,7 +97,7 @@ index db8b998722..489ead5c13 100755 | |||
97 | --enable-gold[=ARG] build gold [ARG={default,yes,no}] | 97 | --enable-gold[=ARG] build gold [ARG={default,yes,no}] |
98 | --enable-got=<type> GOT handling scheme (target, single, negative, | 98 | --enable-got=<type> GOT handling scheme (target, single, negative, |
99 | multigot) | 99 | multigot) |
100 | @@ -16315,6 +16318,19 @@ fi | 100 | @@ -16618,6 +16621,19 @@ fi |
101 | 101 | ||
102 | 102 | ||
103 | 103 | ||
@@ -118,10 +118,10 @@ index db8b998722..489ead5c13 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 bada1b50b0..d074a3820b 100644 | 121 | index d10c553650..9f1b57b120 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 | @@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) |
125 | AC_SUBST(TARGET_SYSTEM_ROOT) | 125 | AC_SUBST(TARGET_SYSTEM_ROOT) |
126 | AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) | 126 | AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) |
127 | 127 | ||
@@ -157,11 +157,11 @@ index ba914b921e..9df17dab6c 100644 | |||
157 | /* Big or little endian as set on command line. */ | 157 | /* Big or little endian as set on command line. */ |
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.texi b/ld/ld.texi |
161 | index c89915f1aa..df430837e2 100644 | 161 | index b9fe2324da..43486605e0 100644 |
162 | --- a/ld/ld.texinfo | 162 | --- a/ld/ld.texi |
163 | +++ b/ld/ld.texinfo | 163 | +++ b/ld/ld.texi |
164 | @@ -2498,6 +2498,18 @@ string identifying the original linked file does not change. | 164 | @@ -2479,6 +2479,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 c89915f1aa..df430837e2 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 6532a57d96..f943f0b2e5 100644 | 184 | index a72ff13526..dc5148f748 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,10 +209,10 @@ index 6532a57d96..f943f0b2e5 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 140ed1d9da..9965cbc04f 100644 | 212 | index 04d6fd5f96..d7df005bb2 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 | @@ -148,6 +148,8 @@ enum option_values |
216 | OPTION_REQUIRE_DEFINED_SYMBOL, | 216 | OPTION_REQUIRE_DEFINED_SYMBOL, |
217 | OPTION_ORPHAN_HANDLING, | 217 | OPTION_ORPHAN_HANDLING, |
218 | OPTION_FORCE_GROUP_ALLOCATION, | 218 | OPTION_FORCE_GROUP_ALLOCATION, |
@@ -222,10 +222,10 @@ index 140ed1d9da..9965cbc04f 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 c473ed24c3..adae0b4610 100644 | 225 | index f31eeb29c3..25f8497888 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 | @@ -268,6 +268,8 @@ main (int argc, char **argv) |
229 | command_line.warn_mismatch = TRUE; | 229 | command_line.warn_mismatch = TRUE; |
230 | command_line.warn_search_mismatch = TRUE; | 230 | command_line.warn_search_mismatch = TRUE; |
231 | command_line.check_section_addresses = -1; | 231 | command_line.check_section_addresses = -1; |
@@ -235,10 +235,10 @@ index c473ed24c3..adae0b4610 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 f2191602d4..bccb3bdeef 100644 | 238 | index 86a033a383..4a40d48020 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 | @@ -543,6 +543,14 @@ static const struct ld_option ld_options[] = |
242 | { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, | 242 | { {"orphan-handling", required_argument, NULL, OPTION_ORPHAN_HANDLING}, |
243 | '\0', N_("=MODE"), N_("Control how orphan sections are handled."), | 243 | '\0', N_("=MODE"), N_("Control how orphan sections are handled."), |
244 | TWO_DASHES }, | 244 | TWO_DASHES }, |
@@ -253,8 +253,8 @@ index f2191602d4..bccb3bdeef 100644 | |||
253 | }; | 253 | }; |
254 | 254 | ||
255 | #define OPTION_COUNT ARRAY_SIZE (ld_options) | 255 | #define OPTION_COUNT ARRAY_SIZE (ld_options) |
256 | @@ -1568,6 +1576,14 @@ parse_args (unsigned argc, char **argv) | 256 | @@ -1577,6 +1585,14 @@ parse_args (unsigned argc, char **argv) |
257 | einfo (_("%P%F: invalid argument to option" | 257 | einfo (_("%F%P: invalid argument to option" |
258 | " \"--orphan-handling\"\n")); | 258 | " \"--orphan-handling\"\n")); |
259 | break; | 259 | break; |
260 | + | 260 | + |
@@ -269,5 +269,5 @@ index f2191602d4..bccb3bdeef 100644 | |||
269 | } | 269 | } |
270 | 270 | ||
271 | -- | 271 | -- |
272 | 2.16.1 | 272 | 2.18.0 |
273 | 273 | ||