summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-01-28 17:58:22 +0000
committermarcel <marcel@FreeBSD.org>2006-01-28 17:58:22 +0000
commit597a7332d8b12ce2f47cbd5c59a94534a4da9637 (patch)
tree49be290141d1ee28124418436dbc410e1b5f6727
parent07b3a00d8376b31fa60b7eb3e31ad1505fdfa0db (diff)
downloadFreeBSD-src-597a7332d8b12ce2f47cbd5c59a94534a4da9637.zip
FreeBSD-src-597a7332d8b12ce2f47cbd5c59a94534a4da9637.tar.gz
s/DT_IA64_PLT_RESERVE/DT_IA_64_PLT_RESERVE/
-rw-r--r--libexec/rtld-elf/ia64/reloc.c6
-rw-r--r--sys/ia64/include/elf.h2
-rw-r--r--usr.bin/elfdump/elfdump.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/libexec/rtld-elf/ia64/reloc.c b/libexec/rtld-elf/ia64/reloc.c
index a45a19c..45f9ef5 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 5d969b6..880675a 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 baae63c..2ddfc85 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";
OpenPOWER on IntegriCloud