#include "bfd.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum
{
HEX_0,
#define arch_sh_no_co (1 << 28) /* Neither FPU nor DSP co-processor. */
#define arch_sh_sp_fpu (1 << 29) /* Single precision FPU. */
#define arch_sh_dp_fpu (1 << 30) /* Double precision FPU. */
-#define arch_sh_has_dsp (1 << 31)
+#define arch_sh_has_dsp (1u << 31)
#define arch_sh_co_mask MASK (28, 31)
unsigned int sh_get_arch_from_bfd_mach (unsigned long mach);
unsigned int sh_get_arch_up_from_bfd_mach (unsigned long mach);
unsigned long sh_get_bfd_mach_from_arch_set (unsigned int arch_set);
-bfd_boolean sh_merge_bfd_arch (bfd *ibfd, bfd *obfd);
/* Below are the 'architecture sets'.
They describe the following inheritance graph:
{ 0, {0}, {0}, 0 }
};
+#ifdef __cplusplus
+}
+#endif
+
#endif