tsymopen - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0a76e9690e8e9e128a9836a338deb32310e49cb3
(DIR) parent 6af7b776112bdc45bc8168ea5dc2fc4eb94180d7
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 7 Jan 2005 23:10:37 +0000
symopen
Diffstat:
M src/libmach/cmdline.c | 2 +-
M src/libmach/elfdl386.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/libmach/cmdline.c b/src/libmach/cmdline.c
t@@ -102,7 +102,7 @@ attachargs(int argc, char **argv, int omode)
}
if(symhdr)
- syminit(symhdr);
+ symopen(symhdr);
if(!mach)
mach = machcpu;
(DIR) diff --git a/src/libmach/elfdl386.c b/src/libmach/elfdl386.c
t@@ -124,7 +124,7 @@ print("elfdl386mapdl\n");
unmapfile(corhdr, cormap);
mapfile(hdr, addr, cormap, nil);
}
- if(syminit(hdr) < 0)
+ if(symopen(hdr) < 0)
fprint(2, "syminit %s: %\r", buf);
}
}