* gas/config/aout_gnu.h (BYTES_IN_WORD): New define.
(struct exec_bytes): Use it.
(EXEC_BYTES_SIZE): Likewise.
* gas/config/obj-aout.c (CROSS_COMPILE): Convert to a compile time constant
of 0 or 1.
(obj_header_append): Use "struct exec_bytes" when cross compiling.
(obj_symbol_to_chars): Output symbol data with a local "struct nlist_bytes"
utilizing BYTES_IN_WORD.
(obj_crawl_symbol_chain): Ignore symbols without a valid name like BFD.
(obj_emit_strings): Use BYTES_IN_WORD to output string table size when
cross compiling.
Suppress symbols without a valid name like BFD.
* gas/write.c (write_object_file): Replace "sizeof (string_byte_count)" with
BYTES_IN_WORD.