* coffgen.c (coff_write_symbol): Reindented. Changed to return
authorIan Lance Taylor <ian@airs.com>
Thu, 31 Mar 1994 16:58:23 +0000 (16:58 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 31 Mar 1994 16:58:23 +0000 (16:58 +0000)
commitbfe8224f3e58132636e352fae6f3b943438fccb4
tree41f7c2953ebca64829f49733d972f4a95dc6ff48
parentd2d324f8310ce0c3bc21326f4c988591dbfd29c2
* coffgen.c (coff_write_symbol): Reindented.  Changed to return
boolean, and changed written to unsigned int *.  Check error
returns from called functions.
(coff_write_alien_symbol): Likewise.
(coff_write_native_symbol): Likewise.
(coff_write_symbols): Likewise.  Reworked checks on whether to
write symbol name to string table for clarity and to avoid core
dumping when given a non COFF symbol.
* libcoff-in.h (coff_write_symbols): Declare as returning boolean.
* libcoff.h: Rebuilt.
* coffcode.h (coff_write_object_contents): Check return value of
coff_write_symbols.
bfd/ChangeLog
bfd/coffcode.h
bfd/coffgen.c