diff --git a/libexec/rtld-elf/ia64/reloc.c b/libexec/rtld-elf/ia64/reloc.c index a45a19c40294..45f9ef54f590 100644 --- a/libexec/rtld-elf/ia64/reloc.c +++ b/libexec/rtld-elf/ia64/reloc.c @@ -564,7 +564,7 @@ init_pltgot(Obj_Entry *obj) Elf_Addr *pltres = 0; /* - * When there are no PLT relocations, the DT_IA64_PLT_RESERVE entry + * When there are no PLT relocations, the DT_IA_64_PLT_RESERVE entry * is bogus. Do not setup the BOR pointers in that case. An example * of where this happens is /usr/lib/libxpg4.so.3. */ @@ -575,12 +575,12 @@ init_pltgot(Obj_Entry *obj) * Find the PLT RESERVE section. */ for (dynp = obj->dynamic; dynp->d_tag != DT_NULL; dynp++) { - if (dynp->d_tag == DT_IA64_PLT_RESERVE) + if (dynp->d_tag == DT_IA_64_PLT_RESERVE) pltres = (u_int64_t *) (obj->relocbase + dynp->d_un.d_ptr); } if (!pltres) - errx(1, "Can't find DT_IA64_PLT_RESERVE entry"); + errx(1, "Can't find DT_IA_64_PLT_RESERVE entry"); /* * The PLT RESERVE section is used to get values to pass to diff --git a/sys/ia64/include/elf.h b/sys/ia64/include/elf.h index 5d969b6e5d7a..880675ab3912 100644 --- a/sys/ia64/include/elf.h +++ b/sys/ia64/include/elf.h @@ -239,6 +239,6 @@ __ElfType(Auxinfo); /* Processor specific dynmamic section tags. */ -#define DT_IA64_PLT_RESERVE 0x70000000 +#define DT_IA_64_PLT_RESERVE 0x70000000 #endif /* !_MACHINE_ELF_H_ */ diff --git a/usr.bin/elfdump/elfdump.c b/usr.bin/elfdump/elfdump.c index baae63c552e2..2ddfc857c46f 100644 --- a/usr.bin/elfdump/elfdump.c +++ b/usr.bin/elfdump/elfdump.c @@ -232,7 +232,7 @@ d_tags(u_int64_t tag) { case 0x6fffffff: return "DT_VERNEEDNUM"; case 0x6ffffff0: return "DT_GNU_VERSYM"; /* 0x70000000 - 0x7fffffff processor-specific semantics */ - case 0x70000000: return "DT_IA64_PLT_RESERVE"; + case 0x70000000: return "DT_IA_64_PLT_RESERVE"; case 0x7ffffffd: return "DT_SUNW_AUXILIARY"; case 0x7ffffffe: return "DT_SUNW_USED"; case 0x7fffffff: return "DT_SUNW_FILTER";