diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-01-02 12:16:36 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-01-02 12:16:36 +0000 |
commit | 4f326cf2825008ca1b36472028d1020626c5fec8 (patch) | |
tree | 6b2d9fff4f220ef42b68697b08c8035a41bc8439 /libexec/ld.so/amd64/archdep.h | |
parent | c687cfed448255b6460411891ac062c4d070679f (diff) |
Fix handling of hppa RELOC_IPLT relocations during 'bootstrap relocation'.
ok miod@, deraadt@, jsing@
Diffstat (limited to 'libexec/ld.so/amd64/archdep.h')
-rw-r--r-- | libexec/ld.so/amd64/archdep.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ld.so/amd64/archdep.h b/libexec/ld.so/amd64/archdep.h index 21b156fe594..364123f0476 100644 --- a/libexec/ld.so/amd64/archdep.h +++ b/libexec/ld.so/amd64/archdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: archdep.h,v 1.3 2004/05/24 20:16:12 drahn Exp $ */ +/* $OpenBSD: archdep.h,v 1.4 2010/01/02 12:16:35 kettenis Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -66,7 +66,8 @@ RELOC_REL(Elf64_Rel *r, const Elf64_Sym *s, Elf64_Addr *p, unsigned long v) } static inline void -RELOC_RELA(Elf64_Rela *r, const Elf64_Sym *s, Elf64_Addr *p, unsigned long v) +RELOC_RELA(Elf64_Rela *r, const Elf64_Sym *s, Elf64_Addr *p, unsigned long v, + Elf_Addr *pltgot) { if (ELF64_R_TYPE(r->r_info) == R_X86_64_RELATIVE) { *p = v + r->r_addend; |