version 1.3, 1996/06/26 05:34:02 |
version 1.4, 2001/03/22 05:18:31 |
|
|
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; |