diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 7 | ||||
-rw-r--r-- | include/coff/internal.h | 1 | ||||
-rw-r--r-- | include/elf/z80.h | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 1a37078..6facd28 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,10 @@ +2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com> + + PR 25469 + * coff/internal.h (R_IMM16BE): Define. + * elf/z80.h (EF_Z80_MACH_Z80N): Define. + (R_Z80_16_BE): New reloc. + 2020-02-04 Alan Modra <amodra@gmail.com> * opcode/d30v.h (struct pd_reg): Make value field unsigned. diff --git a/include/coff/internal.h b/include/coff/internal.h index cbeb016..86fe070 100644 --- a/include/coff/internal.h +++ b/include/coff/internal.h @@ -812,6 +812,7 @@ struct internal_reloc /* Z80 modes */ #define R_OFF8 0x32 /* 8 bit signed abs, for (i[xy]+d) */ #define R_IMM24 0x33 /* 24 bit abs */ +#define R_IMM16BE 0x3A /* 16 bit abs, big endian */ /* R_JR, R_IMM8, R_IMM16, R_IMM32 - as for Z8k */ #define R_BYTE0 0x34 /* first (lowest) 8 bits of multibyte value */ #define R_BYTE1 0x35 /* second 8 bits of multibyte value */ diff --git a/include/elf/z80.h b/include/elf/z80.h index a7f72c9..9b5e86f 100644 --- a/include/elf/z80.h +++ b/include/elf/z80.h @@ -30,6 +30,7 @@ #define EF_Z80_MACH_EZ80_Z80 0x04 #define EF_Z80_MACH_EZ80_ADL 0x84 #define EF_Z80_MACH_GBZ80 0x05 +#define EF_Z80_MACH_Z80N 0x06 #define EF_Z80_MACH_MSK 0xff /* Relocations. */ @@ -47,6 +48,7 @@ START_RELOC_NUMBERS (elf_z80_reloc_type) RELOC_NUMBER (R_Z80_BYTE3, 10) RELOC_NUMBER (R_Z80_WORD0, 11) RELOC_NUMBER (R_Z80_WORD1, 12) + RELOC_NUMBER (R_Z80_16_BE, 13) END_RELOC_NUMBERS (R_Z80_max) #endif /* _ELF_Z80_H */ |