/* Macros for converting between hex and binary */
-static const char digs[] = "0123456789ABCDEF";
+static CONST char digs[] = "0123456789ABCDEF";
static char hex_value[1 + (unsigned char)~0];
TOHEX(dst, check_sum, check_sum);
dst+=2;
+ *dst ++ = '\r';
*dst ++ = '\n';
bfd_write((PTR)buffer, 1, dst - buffer , abfd);
}
srec_write_record(abfd, 10 - tdata->type,
abfd->start_address, buffer, buffer);
-
-
}
+
static boolean
DEFUN(srec_mkobject, (abfd),
bfd *abfd)
#define srec_bfd_debug_info_accumulate (FOO(void, (*), (bfd *, asection *))) bfd_void
#define srec_bfd_get_relocated_section_contents bfd_generic_get_relocated_section_contents
#define srec_bfd_relax_section bfd_generic_relax_section
+#define srec_bfd_seclet_link bfd_generic_seclet_link
+
bfd_target srec_vec =
{
"srec", /* name */