avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #54387] minor compiler warnings


From: Dave Braun
Subject: [avrdude-dev] [bug #54387] minor compiler warnings
Date: Sat, 28 Jul 2018 07:57:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #2, bug #54387 (project avrdude):

I'm confused. What is 0x18AD? The ELF package has a bunch of constants define
for use in the e_machine field of the elf32 and elf64 headers. These are
simple integers ranging from 0 (EM_NONE) to 247 (EM_BPF). These are set by
whatever application creates the ELF formatted file. To my knowledge 0x18AD
doesn't fit this definition!

There is a comment in the elf.h file suggesting using large random numbers for
new architectures. But there is a definition for the 32 bit AVR architecture.
Perhaps 0x18AD is left over from ancient history when the 32 bit AVR
architecture was new? If that's the case then there is a need for two
constants - the official value (185) and the unofficial value (0x18AD).

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?54387>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]