diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2005-12-18 01:38:26 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2005-12-18 01:38:26 +0000 |
| commit | 55dfaa916399e969ffb13d6c0562323b12a8ff14 (patch) | |
| tree | 8a8b5e88251751631c7692cb1c131d46afb7ebd1 /libexec | |
| parent | f4f1e650cf0be230ccc490bf68203f603a6e9f44 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rtld-elf/alpha/reloc.c | 4 | ||||
| -rw-r--r-- | libexec/rtld-elf/amd64/reloc.c | 4 | ||||
| -rw-r--r-- | libexec/rtld-elf/ia64/reloc.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libexec/rtld-elf/alpha/reloc.c b/libexec/rtld-elf/alpha/reloc.c index 74aaf9cfa8ac7..e1ed135bf6841 100644 --- a/libexec/rtld-elf/alpha/reloc.c +++ b/libexec/rtld-elf/alpha/reloc.c @@ -135,9 +135,9 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela, break; default: - _rtld_error("%s: Unsupported relocation type %d" + _rtld_error("%s: Unsupported relocation type %u" " in non-PLT relocations\n", obj->path, - ELF_R_TYPE(rela->r_info)); + (unsigned int)ELF_R_TYPE(rela->r_info)); return -1; } return(0); diff --git a/libexec/rtld-elf/amd64/reloc.c b/libexec/rtld-elf/amd64/reloc.c index 985b4818500d3..72977d68dd921 100644 --- a/libexec/rtld-elf/amd64/reloc.c +++ b/libexec/rtld-elf/amd64/reloc.c @@ -312,9 +312,9 @@ reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld) /* missing: R_X86_64_GOTPCREL, R_X86_64_32, R_X86_64_32S, R_X86_64_16, R_X86_64_PC16, R_X86_64_8, R_X86_64_PC8 */ default: - _rtld_error("%s: Unsupported relocation type %d" + _rtld_error("%s: Unsupported relocation type %u" " in non-PLT relocations\n", obj->path, - ELF_R_TYPE(rela->r_info)); + (unsigned int)ELF_R_TYPE(rela->r_info)); goto done; } } diff --git a/libexec/rtld-elf/ia64/reloc.c b/libexec/rtld-elf/ia64/reloc.c index d71829371457a..0c1621af94d21 100644 --- a/libexec/rtld-elf/ia64/reloc.c +++ b/libexec/rtld-elf/ia64/reloc.c @@ -318,9 +318,9 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela, break; default: - _rtld_error("%s: Unsupported relocation type %d" + _rtld_error("%s: Unsupported relocation type %u" " in non-PLT relocations\n", obj->path, - ELF_R_TYPE(rela->r_info)); + (unsigned int)ELF_R_TYPE(rela->r_info)); return -1; } |
