mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
add comments about magic numbers
This commit is contained in:
@ -92,7 +92,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||||||
|
|
||||||
/* If it is necessary to assign new unofficial EM_* values, please pick large
|
/* If it is necessary to assign new unofficial EM_* values, please pick large
|
||||||
random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision
|
random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision
|
||||||
with official or non-GNU unofficial values. */
|
with official or non-GNU unofficial values.
|
||||||
|
|
||||||
|
NOTE: Do not just increment the most recent number by one.
|
||||||
|
Somebody else somewhere will do exactly the same thing, and you
|
||||||
|
will have a collision. Instead, pick a random number. */
|
||||||
|
|
||||||
/* Cygnus PowerPC ELF backend. Written in the absence of an ABI. */
|
/* Cygnus PowerPC ELF backend. Written in the absence of an ABI. */
|
||||||
#define EM_CYGNUS_POWERPC 0x9025
|
#define EM_CYGNUS_POWERPC 0x9025
|
||||||
@ -113,6 +117,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||||||
#define EM_CYGNUS_D10V 0x9027
|
#define EM_CYGNUS_D10V 0x9027
|
||||||
/* end-sanitize-d10v */
|
/* end-sanitize-d10v */
|
||||||
|
|
||||||
|
/* See the above comment before you add a new EM_* value here. */
|
||||||
|
|
||||||
/* Values for e_version */
|
/* Values for e_version */
|
||||||
|
|
||||||
#define EV_NONE 0 /* Invalid ELF version */
|
#define EV_NONE 0 /* Invalid ELF version */
|
||||||
|
Reference in New Issue
Block a user