version 1.2, 1996/06/26 05:34:01 |
version 1.3, 2001/03/22 05:18:30 |
|
|
cp += 1; /* skip over the mode */ |
cp += 1; /* skip over the mode */ |
switch ( mode ) { |
switch ( mode ) { |
default: |
default: |
fprintf( stderr , "[reladdr] not relative address\n" ); |
warnx("[reladdr] not relative address"); |
return (unsigned long) modep; |
return (unsigned long) modep; |
case byterel: |
case byterel: |
return (unsigned long) ( cp + sizeof *cp + *cp ); |
return (unsigned long) ( cp + sizeof *cp + *cp ); |
|
|
} |
} |
} |
} |
|
|
|
void |
findcall( parentp , p_lowpc , p_highpc ) |
findcall( parentp , p_lowpc , p_highpc ) |
nltype *parentp; |
nltype *parentp; |
unsigned long p_lowpc; |
unsigned long p_lowpc; |