summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-01-17 21:03:22 +0000
committermarcel <marcel@FreeBSD.org>2006-01-17 21:03:22 +0000
commit408ca433c59c911b68669883156c617152e6b631 (patch)
tree40739279d2850e221d91946e399d233ff7c63555 /libexec
parente38f514d90d3e1da3bb1452eef8746bf5d24124b (diff)
downloadFreeBSD-src-408ca433c59c911b68669883156c617152e6b631.zip
FreeBSD-src-408ca433c59c911b68669883156c617152e6b631.tar.gz
s/R_IA64_/R_IA_64_/g as per the ia64 psABI.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/ia64/reloc.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libexec/rtld-elf/ia64/reloc.c b/libexec/rtld-elf/ia64/reloc.c
index 0c1621a..a45a19c 100644
--- a/libexec/rtld-elf/ia64/reloc.c
+++ b/libexec/rtld-elf/ia64/reloc.c
@@ -157,7 +157,7 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela,
Elf_Addr *where = (Elf_Addr *) (obj->relocbase + rela->r_offset);
switch (ELF_R_TYPE(rela->r_info)) {
- case R_IA64_REL64LSB:
+ case R_IA_64_REL64LSB:
/*
* We handle rtld's relocations in rtld_start.S
*/
@@ -166,7 +166,7 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela,
load64(where) + (Elf_Addr) obj->relocbase);
break;
- case R_IA64_DIR64LSB: {
+ case R_IA_64_DIR64LSB: {
const Elf_Sym *def;
const Obj_Entry *defobj;
Elf_Addr target;
@@ -182,7 +182,7 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela,
break;
}
- case R_IA64_FPTR64LSB: {
+ case R_IA_64_FPTR64LSB: {
/*
* We have to make sure that all @fptr references to
* the same function are identical so that code can
@@ -229,7 +229,7 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela,
break;
}
- case R_IA64_IPLTLSB: {
+ case R_IA_64_IPLTLSB: {
/*
* Relocation typically used to populate C++ virtual function
* tables. It creates a 128-bit function descriptor at the
@@ -259,7 +259,7 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela,
break;
}
- case R_IA64_DTPMOD64LSB: {
+ case R_IA_64_DTPMOD64LSB: {
const Elf_Sym *def;
const Obj_Entry *defobj;
@@ -272,7 +272,7 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela,
break;
}
- case R_IA64_DTPREL64LSB: {
+ case R_IA_64_DTPREL64LSB: {
const Elf_Sym *def;
const Obj_Entry *defobj;
@@ -285,7 +285,7 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela,
break;
}
- case R_IA64_TPREL64LSB: {
+ case R_IA_64_TPREL64LSB: {
const Elf_Sym *def;
const Obj_Entry *defobj;
@@ -314,7 +314,7 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela,
break;
}
- case R_IA64_NONE:
+ case R_IA_64_NONE:
break;
default:
@@ -396,7 +396,7 @@ reloc_plt(Obj_Entry *obj)
for (rel = obj->pltrel; rel < rellim; rel++) {
Elf_Addr *where;
- assert(ELF_R_TYPE(rel->r_info) == R_IA64_IPLTLSB);
+ assert(ELF_R_TYPE(rel->r_info) == R_IA_64_IPLTLSB);
/* Relocate the @fptr pointing into the PLT. */
where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
@@ -411,7 +411,7 @@ reloc_plt(Obj_Entry *obj)
for (rela = obj->pltrela; rela < relalim; rela++) {
Elf_Addr *where;
- assert(ELF_R_TYPE(rela->r_info) == R_IA64_IPLTLSB);
+ assert(ELF_R_TYPE(rela->r_info) == R_IA_64_IPLTLSB);
/* Relocate the @fptr pointing into the PLT. */
where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
@@ -439,7 +439,7 @@ reloc_jmpslots(Obj_Entry *obj)
const Elf_Sym *def;
const Obj_Entry *defobj;
- assert(ELF_R_TYPE(rel->r_info) == R_IA64_IPLTLSB);
+ assert(ELF_R_TYPE(rel->r_info) == R_IA_64_IPLTLSB);
where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
def = find_symdef(ELF_R_SYM(rel->r_info), obj,
&defobj, true, NULL);
OpenPOWER on IntegriCloud