diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-04-26 22:15:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-04-26 22:15:10 +0000 |
commit | efa6c49704b5d4a46840c7d93f1312010ad2bae4 (patch) | |
tree | e01dc1a4e85f0798e2a695e127744af92f355ff6 /ld/ldmisc.h | |
parent | ecba7a3a1aa79f341f0b1574e05e634a617247e5 (diff) | |
download | gdb-efa6c49704b5d4a46840c7d93f1312010ad2bae4.zip gdb-efa6c49704b5d4a46840c7d93f1312010ad2bae4.tar.gz gdb-efa6c49704b5d4a46840c7d93f1312010ad2bae4.tar.bz2 |
* ldmisc.h (demangle): Declare.
* ldmisc.c: Include "libiberty.h". Include demangle.h with "",
not <>.
(demangle): Make non-static. Remove remove_underscore paramter.
Always return an allocated string.
(vfinfo): Free result of demangle. Add case 'G'. Use %T to print
functionname, rather than calling demangle. Print a colon between
the BFD(section+offset) and the line number.
* ldmain.c (add_archive_element): Improve format of archive
information in map file.
(constructor_callback): Don't print anything to the map file.
* ldlang.c (lang_one_common): Improve format of common symbol
information in map file.
* ldctor.c (ldctor_build_sets): If producing a map file, print set
information.
* ldwrite.c (print_symbol_table): Print a newline before the
header in the map file.
* Makefile.in: Rebuild dependencies.
Diffstat (limited to 'ld/ldmisc.h')
-rw-r--r-- | ld/ldmisc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldmisc.h b/ld/ldmisc.h index 83920f4..ea93399 100644 --- a/ld/ldmisc.h +++ b/ld/ldmisc.h @@ -1,5 +1,5 @@ /* ldmisc.h - - Copyright (C) 1991, 92, 93, 94 Free Software Foundation, Inc. + Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc. This file is part of GLD, the Gnu Linker. @@ -49,5 +49,6 @@ do { info_assert(__FILE__,__LINE__); } while (0) extern void print_space PARAMS ((void)); extern void print_nl PARAMS ((void)); extern void print_address PARAMS ((bfd_vma value)); +extern char *demangle PARAMS ((const char *)); #endif |