s/DT_IA64_PLT_RESERVE/DT_IA_64_PLT_RESERVE/
This commit is contained in:
parent
4af16b88cc
commit
05157fa0a1
@ -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
|
||||
|
@ -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_ */
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user