aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2014-08-26 17:01:04 -0400
committerDJ Delorie <dj@redhat.com>2014-08-26 17:01:04 -0400
commit599b6fb8a35c9af16f0edb8e2ca5a85ae8221767 (patch)
treef3c5be2de8b95455980c2167a31b08be7396cf32 /include/elf
parent32e79d39201271dec352310d597dff430109c8cb (diff)
downloadgdb-599b6fb8a35c9af16f0edb8e2ca5a85ae8221767.zip
gdb-599b6fb8a35c9af16f0edb8e2ca5a85ae8221767.tar.gz
gdb-599b6fb8a35c9af16f0edb8e2ca5a85ae8221767.tar.bz2
rl78.h (RL78_RELAXA_MASK): New. Relax types are enums, not bits
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/rl78.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 35d4f4b..b76588f 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -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.
diff --git a/include/elf/rl78.h b/include/elf/rl78.h
index 342932d..1a526fa 100644
--- a/include/elf/rl78.h
+++ b/include/elf/rl78.h
@@ -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. */