• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisão6ba2ed48c8cb591c1ccac172be7f895f59080cfa (tree)
Hora2019-09-25 22:34:23
AutorNick Clifton <nickc@redh...>
CommiterNick Clifton

Mensagem de Log

Silence a build-time warning about constant comparisons when building with clang,

  • emultempl/avrelf.em (_before_allocation): Silence build warning
    using clang.

Mudança Sumário

Diff

--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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+
16 2019-09-23 H.J. Lu <hongjiu.lu@intel.com>
27
38 * testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
--- a/ld/emultempl/avrelf.em
+++ b/ld/emultempl/avrelf.em
@@ -77,10 +77,10 @@ avr_elf_${EMULATION_NAME}_before_allocation (void)
7777 return;
7878 }
7979
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)
8484 avr_no_stubs = TRUE;
8585
8686 avr_elf_set_global_bfd_parameters ();