Thu Oct 8 08:52:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Now a bfd knows whether underscores are normally prepended
to symbols in its file format. Helps with error messages.
* aout-adobe.c, aout-target.h, bout.c, coff-a29k.c, coff-h8300.c,
coff-z8k.c: targets set so they have leading underscore
* coff-i386.c, coff-i960.c, coff-m68k.c, coff-mips.c, coff-m88k.c,
coff-rs6000.c, coff-we32k.c, elf.c, ieee.c, srec.c: targets set
without leading underscore flag
* targets.c: add symbol leading char to xvec description
* bfd-in.h (bfd_get_symbol_leading_char): new macro.
(srec_object_p): Avoid assuming any file that starts with 'S' is
an S-record file! (Check for 3 uppercase-hex digits after it.)
(ISHEX): Define new macro for checking supposedly hex characters.
(pass_over): Treat as EOF any S-record line that:
* doesn't have hex in either size character
* produces a size larger than 0x7F
* has an unrecognized type number