diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-08 15:07:08 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-08 15:07:08 +0000 |
commit | 58b57e65cc2cee5f33260bef009c074409669564 (patch) | |
tree | 06b40ef9a026f2851275fd62758bc65afa5c3326 /ldso/libdl/libdl.c | |
parent | 9f2d19bf1ef216e536c5e89b82a5ce422002fd01 (diff) |
Missed a spot
-Erik
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r-- | ldso/libdl/libdl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c index 118927dff..2ae9d3487 100644 --- a/ldso/libdl/libdl.c +++ b/ldso/libdl/libdl.c @@ -39,7 +39,7 @@ static void __attribute__ ((unused)) foobar(void) static int __attribute__ ((unused)) foobar1 = (int) foobar; /* Use as pointer */ extern void _dl_dprintf(int, const char *, ...) __attribute__ ((__weak__, __alias__ ("foobar"))); -extern char *_dl_find_hash(char *, struct dyn_elf *, struct elf_resolve *, int) +extern char *_dl_find_hash(char *, struct dyn_elf *, struct elf_resolve *, enum caller_type) __attribute__ ((__weak__, __alias__ ("foobar"))); extern struct elf_resolve * _dl_load_shared_library(int, struct dyn_elf **, struct elf_resolve *, char *) __attribute__ ((__weak__, __alias__ ("foobar"))); @@ -199,7 +199,7 @@ void *_dlopen(const char *libname, int flag) rpnt->next = _dl_symbol_tables; if (do_fixup(tpnt, flag)) { - _dl_error_number = DL_NO_SYMBOL; + _dl_error_number = LD_NO_SYMBOL; goto oops; } @@ -311,7 +311,7 @@ void *_dlsym(void *vhandle, const char *name) if (rpnt == handle) break; if (!rpnt) { - _dl_error_number = DL_BAD_HANDLE; + _dl_error_number = LD_BAD_HANDLE; return NULL; } } else if (handle == RTLD_NEXT) { @@ -335,13 +335,13 @@ void *_dlsym(void *vhandle, const char *name) } } - ret = _dl_find_hash((char*)name, handle, NULL, 1); + ret = _dl_find_hash((char*)name, handle, NULL, copyrel); /* * Nothing found. */ if (!ret) - _dl_error_number = DL_NO_SYMBOL; + _dl_error_number = LD_NO_SYMBOL; return ret; } @@ -372,7 +372,7 @@ static int do_dlclose(void *vhandle, int need_fini) } if (!rpnt) { - _dl_error_number = DL_BAD_HANDLE; + _dl_error_number = LD_BAD_HANDLE; return 1; } |