diff options
author | Steve Chamberlain <sac@cygnus> | 1992-05-04 23:38:42 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-05-04 23:38:42 +0000 |
commit | bfbdc80f0adfc6000accbc468ed1764f5aeb8aae (patch) | |
tree | 5a9f6bdd80f730a1019bf33ed93fde37b1c20cad /ld/ldver.c | |
parent | f7ebd77dba70ddecdf1588f384666f9f5e4de535 (diff) | |
download | gdb-bfbdc80f0adfc6000accbc468ed1764f5aeb8aae.zip gdb-bfbdc80f0adfc6000accbc468ed1764f5aeb8aae.tar.gz gdb-bfbdc80f0adfc6000accbc468ed1764f5aeb8aae.tar.bz2 |
* ldver.c: Bumped version to 1.96 - new release, resync with the
bfd too #.
* ldexp.c, ldlang.c: now build memory shape tree in obstacks
rather than with raw malloc, makes it easier to track where memory
is going.
* ldsym.h, ldsym.c: create obstack for all global symbols too.
* ldwrite.c (ldwrite): moved malloc so only used when needed.
* sa29200-sc.sh: added support for .lit, data1 and data2 sections.
Diffstat (limited to 'ld/ldver.c')
-rw-r--r-- | ld/ldver.c | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -27,9 +27,25 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "sysdep.h" #include "ldver.h" +#include "ldemul.h" void -ldversion() +DEFUN(ldversion,(noisy), + int noisy) + { - fprintf(stdout,"gld version BFD 0.18\n"); + fprintf(stdout,"ld version 1.96 (with BFD %s)\n", BFD_VERSION); + + if (noisy) + { + extern ld_emulation_xfer_type *ld_emulations[]; + ld_emulation_xfer_type **ptr = ld_emulations; + + printf(" Supported emulations:\n"); + while (*ptr) + { + printf(" %s \n", (*ptr)->emulation_name); + ptr++; + } + } } |