forked from Imagelibrary/binutils-gdb
* corefile.c (core_num_syms): Make static.
(core_syms): Likewise. (min_insn_size): Likewise. * gprof.c (abfd): Remove unused variable. * hist.c (hist_dimension): Make static. (hist_dimension_abbrev): Likewise. * sym_ids.c (id_list): Likewise. (table_name): Likewise.
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
2005-04-24 Ben Elliston <bje@au.ibm.com>
|
||||||
|
|
||||||
|
* corefile.c (core_num_syms): Make static.
|
||||||
|
(core_syms): Likewise.
|
||||||
|
(min_insn_size): Likewise.
|
||||||
|
* gprof.c (abfd): Remove unused variable.
|
||||||
|
* hist.c (hist_dimension): Make static.
|
||||||
|
(hist_dimension_abbrev): Likewise.
|
||||||
|
* sym_ids.c (id_list): Likewise.
|
||||||
|
(table_name): Likewise.
|
||||||
|
|
||||||
2005-04-14 Alan Modra <amodra@bigpond.net.au>
|
2005-04-14 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* corefile.c (core_init): Call bfd_get_synthetic_symtab.
|
* corefile.c (core_init): Call bfd_get_synthetic_symtab.
|
||||||
|
|||||||
@@ -28,12 +28,12 @@
|
|||||||
#include "corefile.h"
|
#include "corefile.h"
|
||||||
|
|
||||||
bfd *core_bfd;
|
bfd *core_bfd;
|
||||||
int core_num_syms;
|
static int core_num_syms;
|
||||||
asymbol **core_syms;
|
static asymbol **core_syms;
|
||||||
asection *core_text_sect;
|
asection *core_text_sect;
|
||||||
PTR core_text_space;
|
PTR core_text_space;
|
||||||
|
|
||||||
int min_insn_size;
|
static int min_insn_size;
|
||||||
int offset_to_code;
|
int offset_to_code;
|
||||||
|
|
||||||
/* For mapping symbols to specific .o files during file ordering. */
|
/* For mapping symbols to specific .o files during file ordering. */
|
||||||
|
|||||||
@@ -77,8 +77,6 @@ char copyright[] =
|
|||||||
|
|
||||||
static char *gmon_name = GMONNAME; /* profile filename */
|
static char *gmon_name = GMONNAME; /* profile filename */
|
||||||
|
|
||||||
bfd *abfd;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Functions that get excluded by default:
|
* Functions that get excluded by default:
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -48,8 +48,8 @@ bfd_vma lowpc, highpc; /* Same, but expressed in UNITs. */
|
|||||||
unsigned int hist_num_bins = 0; /* Number of histogram samples. */
|
unsigned int hist_num_bins = 0; /* Number of histogram samples. */
|
||||||
int *hist_sample = 0; /* Histogram samples (shorts in the file!). */
|
int *hist_sample = 0; /* Histogram samples (shorts in the file!). */
|
||||||
double hist_scale;
|
double hist_scale;
|
||||||
char hist_dimension[16] = "seconds";
|
static char hist_dimension[16] = "seconds";
|
||||||
char hist_dimension_abbrev = 's';
|
static char hist_dimension_abbrev = 's';
|
||||||
|
|
||||||
static double accum_time; /* Accumulated time so far for print_line(). */
|
static double accum_time; /* Accumulated time so far for print_line(). */
|
||||||
static double total_time; /* Total time for all routines. */
|
static double total_time; /* Total time for all routines. */
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
#include "cg_arcs.h"
|
#include "cg_arcs.h"
|
||||||
#include "sym_ids.h"
|
#include "sym_ids.h"
|
||||||
|
|
||||||
struct sym_id
|
static struct sym_id
|
||||||
{
|
{
|
||||||
struct sym_id *next;
|
struct sym_id *next;
|
||||||
char *spec; /* Parsing modifies this. */
|
char *spec; /* Parsing modifies this. */
|
||||||
@@ -59,7 +59,7 @@ static void extend_match
|
|||||||
Sym_Table syms[NUM_TABLES];
|
Sym_Table syms[NUM_TABLES];
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
const char *table_name[] =
|
static const char *table_name[] =
|
||||||
{
|
{
|
||||||
"INCL_GRAPH", "EXCL_GRAPH",
|
"INCL_GRAPH", "EXCL_GRAPH",
|
||||||
"INCL_ARCS", "EXCL_ARCS",
|
"INCL_ARCS", "EXCL_ARCS",
|
||||||
|
|||||||
Reference in New Issue
Block a user