diff options
author | Russ Cox <rsc@swtch.com> | 2012-02-19 18:11:39 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-02-19 18:11:39 -0500 |
commit | 443d6288386f5521efa7d49bc8ea5be04f5fd696 (patch) | |
tree | 443a41a36f0bb96502fe218c4423a9e5571d7e17 /src/libmach/symstabs.c | |
parent | 60d96f2e4385f0b4cee12add6dea545880a0e6a1 (diff) | |
download | plan9port-443d6288386f5521efa7d49bc8ea5be04f5fd696.tar.gz plan9port-443d6288386f5521efa7d49bc8ea5be04f5fd696.tar.bz2 plan9port-443d6288386f5521efa7d49bc8ea5be04f5fd696.zip |
libmach, acid, db: 64-bit support
Diffstat (limited to 'src/libmach/symstabs.c')
-rw-r--r-- | src/libmach/symstabs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libmach/symstabs.c b/src/libmach/symstabs.c index 472dd872..a8c2af71 100644 --- a/src/libmach/symstabs.c +++ b/src/libmach/symstabs.c @@ -254,6 +254,7 @@ stabssyminit(Fhdr *fp) break; } } + USED(locals); free(inc); return 0; @@ -263,7 +264,7 @@ err: } static int -stabspc2file(Fhdr *fhdr, ulong pc, char *buf, uint nbuf, ulong *pline) +stabspc2file(Fhdr *fhdr, u64int pc, char *buf, uint nbuf, ulong *pline) { int i; Symbol *s; @@ -298,7 +299,7 @@ stabspc2file(Fhdr *fhdr, ulong pc, char *buf, uint nbuf, ulong *pline) } static int -stabsline2pc(Fhdr *fhdr, ulong startpc, ulong line, ulong *pc) +stabsline2pc(Fhdr *fhdr, u64int startpc, ulong line, u64int *pc) { int i, trigger; Symbol *s; |