version 1.8, 2001/03/25 19:23:40 |
version 1.9, 2001/11/19 19:02:14 |
|
|
fclose(nfile); |
fclose(nfile); |
# ifdef DEBUG |
# ifdef DEBUG |
if ( debug & AOUTDEBUG ) { |
if ( debug & AOUTDEBUG ) { |
register int j; |
int j; |
|
|
for (j = 0; j < nname; j++){ |
for (j = 0; j < nname; j++){ |
printf("[getnfile] 0X%08x\t%s\n", nl[j].value, nl[j].name); |
printf("[getnfile] 0X%08x\t%s\n", nl[j].value, nl[j].name); |
|
|
getsymtab(nfile) |
getsymtab(nfile) |
FILE *nfile; |
FILE *nfile; |
{ |
{ |
register long i; |
long i; |
int askfor; |
int askfor; |
struct nlist nbuf; |
struct nlist nbuf; |
|
|
|
|
dumpsum( sumfile ) |
dumpsum( sumfile ) |
char *sumfile; |
char *sumfile; |
{ |
{ |
register nltype *nlp; |
nltype *nlp; |
register arctype *arcp; |
arctype *arcp; |
struct rawarc arc; |
struct rawarc arc; |
FILE *sfile; |
FILE *sfile; |
|
|
|
|
FILE *pfile; |
FILE *pfile; |
{ |
{ |
UNIT sample; |
UNIT sample; |
register int i; |
int i; |
|
|
if (samples == 0) { |
if (samples == 0) { |
samples = (UNIT *) calloc(sampbytes, sizeof (UNIT)); |
samples = (UNIT *) calloc(sampbytes, sizeof (UNIT)); |
|
|
void |
void |
asgnsamples() |
asgnsamples() |
{ |
{ |
register int j; |
int j; |
UNIT ccnt; |
UNIT ccnt; |
double time; |
double time; |
unsigned long pcl, pch; |
unsigned long pcl, pch; |
register int i; |
int i; |
unsigned long overlap; |
unsigned long overlap; |
unsigned long svalue0, svalue1; |
unsigned long svalue0, svalue1; |
|
|
|
|
void |
void |
alignentries() |
alignentries() |
{ |
{ |
register struct nl *nlp; |
struct nl *nlp; |
unsigned long bucket_of_entry; |
unsigned long bucket_of_entry; |
unsigned long bucket_of_code; |
unsigned long bucket_of_code; |
|
|