* corefile.c (num_of_syms_in): New function - computes the number

of symbols in a given file.
        (core_create_syms_from): New function - populates a symbol table
        from the symbols found in a specified file.
        * corefile.h: Prototype core_create_syms_from.
        * gprof.c (long_options): Add --external-symbol-table.
        (usage): Mention it.
        (main): Initiailize external_symbol_table from
        --external-symbol-table option.  If set use it.
        * gprof.texi: Document the new option.

        * NEWS: Mention new feature added to gprof.
This commit is contained in:
Nick Clifton
2009-06-12 15:33:30 +00:00
parent f37111339e
commit 0e27a8f69b
7 changed files with 154 additions and 19 deletions

View File

@@ -1,4 +1,7 @@
-*- text -*-
* The gprof program has been given a new command line option:
--external-symbols-table=<filename> which reads in symbols from a specified
file.
* The plugin target has been added to bfd. It can load the same shared objects
used by gold and uses them to provide basic support for new file formats.