Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | diff -u -r ../binutils-2.24/ld/ldmain.c ./ld/ldmain.c |
2 | --- ../binutils-2.24/ld/ldmain.c 2013-11-08 11:13:48.000000000 +0100 | |
3 | +++ ./ld/ldmain.c 2014-06-18 08:16:53.945378483 +0200 | |
4 | @@ -263,7 +263,13 @@ | |
5 | config.text_read_only = TRUE; | |
6 | link_info.disable_target_specific_optimizations = -1; | |
7 | ||
8 | - command_line.warn_mismatch = TRUE; | |
9 | + command_line.warn_mismatch = | |
10 | +#if defined(__ANDROID__) && defined(__arm__) | |
11 | + /* --no-warn-mismatch is needed to suppress linker errors about not all functions using VFP register to pass arguments: */ | |
12 | + FALSE; | |
13 | +# else | |
14 | + TRUE; | |
15 | +#endif | |
16 | command_line.warn_search_mismatch = TRUE; | |
17 | command_line.check_section_addresses = -1; | |
18 |