GNU Binutils with patches for OS216
修訂 | 6ba2ed48c8cb591c1ccac172be7f895f59080cfa (tree) |
---|---|
時間 | 2019-09-25 22:34:23 |
作者 | Nick Clifton <nickc@redh...> |
Commiter | Nick Clifton |
Silence a build-time warning about constant comparisons when building with clang,
@@ -1,3 +1,8 @@ | ||
1 | +2019-09-25 Nick Clifton <nickc@redhat.com> | |
2 | + | |
3 | + * emultempl/avrelf.em (_before_allocation): Silence build warning | |
4 | + using clang. | |
5 | + | |
1 | 6 | 2019-09-23 H.J. Lu <hongjiu.lu@intel.com> |
2 | 7 | |
3 | 8 | * testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size |
@@ -77,10 +77,10 @@ avr_elf_${EMULATION_NAME}_before_allocation (void) | ||
77 | 77 | return; |
78 | 78 | } |
79 | 79 | |
80 | - /* We only need stubs for avr6, avrxmega6, and avrxmega7. */ | |
81 | - if (strcmp ("${EMULATION_NAME}","avr6") | |
82 | - && strcmp ("${EMULATION_NAME}","avrxmega6") | |
83 | - && strcmp ("${EMULATION_NAME}","avrxmega7") ) | |
80 | + /* We only need stubs for avr6, avrxmega6, and avrxmega7. */ | |
81 | + if (strcmp ("${EMULATION_NAME}", "avr6") != 0 | |
82 | + && strcmp ("${EMULATION_NAME}", "avrxmega6") != 0 | |
83 | + && strcmp ("${EMULATION_NAME}", "avrxmega7") != 0) | |
84 | 84 | avr_no_stubs = TRUE; |
85 | 85 | |
86 | 86 | avr_elf_set_global_bfd_parameters (); |