M*Core uses pe-dll.c, but has no entry in the table. Add both big and
little endian ones. Many of the entries aren't relevant when targeting
PE+; move the #endif accordingly. The MIPS entry is actually
questionable altogether: No mips*-*-* target uses pe-dll.c or pep-dll.c.
As I lack sufficient knowledge of the target, introduction of
jmp_mcore_bytes[] will need to be handled by someone else.
#define PE_ARCH_arm 4
#define PE_ARCH_arm_wince 5
#define PE_ARCH_aarch64 6
+#define PE_ARCH_mcore 7
/* Don't make it constant as underscore mode gets possibly overriden
by target or -(no-)leading-underscore option. */
true,
autofilter_symbollist_i386
},
-#endif
{
"pei-shl",
"pe-shl",
true,
autofilter_symbollist_generic
},
+ {
+ "pei-mcore-little",
+ "pe-mcore-little",
+ 7 /* IMAGE_REL_MCORE_RVA */,
+ ~0, 0, ~0, /* none */
+ PE_ARCH_mcore,
+ bfd_arch_mcore,
+ false,
+ autofilter_symbollist_generic
+ },
+ {
+ "pei-mcore-big",
+ "pe-mcore-big",
+ 7 /* IMAGE_REL_MCORE_RVA */,
+ ~0, 0, ~0, /* none */
+ PE_ARCH_mcore,
+ bfd_arch_mcore,
+ false,
+ autofilter_symbollist_generic
+ },
{
"pei-mips",
"pe-mips",
false,
autofilter_symbollist_generic
},
+#endif
{
"pei-aarch64-little",
"pe-aarch64-little",