diff options
author | John Gilmore <gnu@cygnus> | 1993-02-16 04:44:28 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1993-02-16 04:44:28 +0000 |
commit | 3039e8eeaf3fbea75cd866bbd5b13f458f6f6584 (patch) | |
tree | 429a249119cf9cb329412312d8d17aa5d5e8adff /bfd/srec.c | |
parent | 054240ecf0fac2eeea4384c4519160440ba521b9 (diff) | |
download | gdb-3039e8eeaf3fbea75cd866bbd5b13f458f6f6584.zip gdb-3039e8eeaf3fbea75cd866bbd5b13f458f6f6584.tar.gz gdb-3039e8eeaf3fbea75cd866bbd5b13f458f6f6584.tar.bz2 |
* oasys.c (oasys_write_object_contents): Lint.
* srec.c: Whitespace cleanup.
Diffstat (limited to 'bfd/srec.c')
-rw-r--r-- | bfd/srec.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -78,7 +78,7 @@ DESCRIPTION /* 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]; @@ -438,6 +438,7 @@ void DEFUN(srec_write_record,(abfd, type, address, data, end), TOHEX(dst, check_sum, check_sum); dst+=2; + *dst ++ = '\r'; *dst ++ = '\n'; bfd_write((PTR)buffer, 1, dst - buffer , abfd); } @@ -503,9 +504,8 @@ DEFUN(srec_write_terminator,(abfd, tdata), srec_write_record(abfd, 10 - tdata->type, abfd->start_address, buffer, buffer); - - } + static boolean DEFUN(srec_mkobject, (abfd), bfd *abfd) @@ -589,6 +589,8 @@ DEFUN(srec_make_empty_symbol, (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 */ |