diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2005-12-18 04:52:37 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2005-12-18 04:52:37 +0000 |
| commit | 757686b11510174fffffec96b816204c8d659fba (patch) | |
| tree | c8421e79058b3959c09903a706bc77c9de3e7087 /sys/kern/link_elf_obj.c | |
| parent | 55dfaa916399e969ffb13d6c0562323b12a8ff14 (diff) | |
Notes
Diffstat (limited to 'sys/kern/link_elf_obj.c')
| -rw-r--r-- | sys/kern/link_elf_obj.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c index a338610da77f..de43b7a43068 100644 --- a/sys/kern/link_elf_obj.c +++ b/sys/kern/link_elf_obj.c @@ -124,7 +124,7 @@ static int link_elf_each_function_name(linker_file_t, int (*)(const char *, void *), void *); static void link_elf_reloc_local(linker_file_t); -static Elf_Addr elf_obj_lookup(linker_file_t lf, Elf_Word symidx, int deps); +static Elf_Addr elf_obj_lookup(linker_file_t lf, Elf_Size symidx, int deps); static kobj_method_t link_elf_methods[] = { KOBJMETHOD(linker_lookup_symbol, link_elf_lookup_symbol), @@ -843,7 +843,7 @@ link_elf_unload_file(linker_file_t file) } static const char * -symbol_name(elf_file_t ef, Elf_Word r_info) +symbol_name(elf_file_t ef, Elf_Size r_info) { const Elf_Sym *ref; @@ -879,7 +879,7 @@ relocate_file(elf_file_t ef) const char *symname; const Elf_Sym *sym; int i; - Elf_Word symidx; + Elf_Size symidx; Elf_Addr base; @@ -1069,7 +1069,7 @@ link_elf_each_function_name(linker_file_t file, * the case that the symbol can be found through the hash table. */ static Elf_Addr -elf_obj_lookup(linker_file_t lf, Elf_Word symidx, int deps) +elf_obj_lookup(linker_file_t lf, Elf_Size symidx, int deps) { elf_file_t ef = (elf_file_t)lf; const Elf_Sym *sym; @@ -1122,7 +1122,7 @@ link_elf_reloc_local(linker_file_t lf) const Elf_Sym *sym; Elf_Addr base; int i; - Elf_Word symidx; + Elf_Size symidx; /* Perform relocations without addend if there are any: */ for (i = 0; i < ef->nrel; i++) { |
