rl78.h (RL78_RELAXA_MASK): New. Relax types are enums, not bits

This commit is contained in:
DJ Delorie 2014-08-26 17:01:04 -04:00
parent 32e79d3920
commit 599b6fb8a3
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-08-26 DJ Delorie <dj@redhat.com>
* rl78.h (RL78_RELAXA_MASK): New. Relax types are enums, not bits
2014-07-07 Barney Stratford <barney_stratford@fastmail.fm>
* avr.h: Add R_AVR_PORT5 and R_AVR_PORT6.

View File

@ -109,6 +109,7 @@ END_RELOC_NUMBERS (R_RL78_max)
#define E_FLAG_RL78_G10 (1 << 2) /* CPU is missing register banks 1-3, so uses different ABI. */
/* These define the addend field of R_RL78_RH_RELAX relocations. */
#define RL78_RELAXA_MASK 0x000000f0 /* Mask for relax types */
#define RL78_RELAXA_BRA 0x00000010 /* Any type of branch (must be decoded). */
#define RL78_RELAXA_ADDR16 0x00000020 /* addr16->sfr/saddr opportunity */
#define RL78_RELAXA_RNUM 0x0000000f /* Number of associated relocations. */