mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Silence a build-time warning about constant comparisons when building with clang,
* emultempl/avrelf.em (_before_allocation): Silence build warning using clang.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2019-09-25 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* emultempl/avrelf.em (_before_allocation): Silence build warning
|
||||||
|
using clang.
|
||||||
|
|
||||||
2019-09-23 H.J. Lu <hongjiu.lu@intel.com>
|
2019-09-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
|
* testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
|
||||||
|
@ -77,10 +77,10 @@ avr_elf_${EMULATION_NAME}_before_allocation (void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We only need stubs for avr6, avrxmega6, and avrxmega7. */
|
/* We only need stubs for avr6, avrxmega6, and avrxmega7. */
|
||||||
if (strcmp ("${EMULATION_NAME}","avr6")
|
if (strcmp ("${EMULATION_NAME}", "avr6") != 0
|
||||||
&& strcmp ("${EMULATION_NAME}","avrxmega6")
|
&& strcmp ("${EMULATION_NAME}", "avrxmega6") != 0
|
||||||
&& strcmp ("${EMULATION_NAME}","avrxmega7") )
|
&& strcmp ("${EMULATION_NAME}", "avrxmega7") != 0)
|
||||||
avr_no_stubs = TRUE;
|
avr_no_stubs = TRUE;
|
||||||
|
|
||||||
avr_elf_set_global_bfd_parameters ();
|
avr_elf_set_global_bfd_parameters ();
|
||||||
|
Reference in New Issue
Block a user