+2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
+
+ * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
+ * bfd/bfd-in2.h: Regenerate.
+ * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
+ * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
+
2019-01-04 Lifang Xia <lifang_xia@c-sky.com>
* config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
.#define bfd_mach_rl78 0x75
. bfd_arch_rx, {* Renesas RX. *}
.#define bfd_mach_rx 0x75
+.#define bfd_mach_rx_v2 0x76
+.#define bfd_mach_rx_v3 0x77
. bfd_arch_s390, {* IBM s390. *}
.#define bfd_mach_s390_31 31
.#define bfd_mach_s390_64 64
#define bfd_mach_rl78 0x75
bfd_arch_rx, /* Renesas RX. */
#define bfd_mach_rx 0x75
+#define bfd_mach_rx_v2 0x76
+#define bfd_mach_rx_v3 0x77
bfd_arch_s390, /* IBM s390. */
#define bfd_mach_s390_31 31
#define bfd_mach_s390_64 64
bfd_default_compatible, /* Architecture comparison fn. */
bfd_default_scan, /* String to architecture convert fn. */
bfd_arch_default_fill, /* Default fill. */
+ &arch_info_struct[1] /* Next in list. */
+ },
+ {
+ 32, /* Bits per word. */
+ 32, /* Bits per address. */
+ 8, /* Bits per byte. */
+ bfd_arch_rx, /* Architecture. */
+ bfd_mach_rx_v2, /* Machine. */
+ "rx:v2", /* Architecture name. */
+ "rx:v2", /* Printable name. */
+ 3, /* Section align power. */
+ FALSE, /* The default ? */
+ bfd_default_compatible, /* Architecture comparison fn. */
+ bfd_default_scan, /* String to architecture convert fn. */
+ bfd_arch_default_fill, /* Default fill. */
+ &arch_info_struct[2] /* Next in list. */
+ },
+ {
+ 32, /* Bits per word. */
+ 32, /* Bits per address. */
+ 8, /* Bits per byte. */
+ bfd_arch_rx, /* Architecture. */
+ bfd_mach_rx_v3, /* Machine. */
+ "rx:v3", /* Architecture name. */
+ "rx:v3", /* Printable name. */
+ 3, /* Section align power. */
+ FALSE, /* The default ? */
+ bfd_default_compatible, /* Architecture comparison fn. */
+ bfd_default_scan, /* String to architecture convert fn. */
+ bfd_arch_default_fill, /* Default fill. */
NULL /* Next in list. */
},
};