Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/libexec/ld.elf_so/arch/powerpc Pull up revision 1.9 (re...



details:   https://anonhg.NetBSD.org/src/rev/4a345a6740d8
branches:  netbsd-1-5
changeset: 491516:4a345a6740d8
user:      he <he%NetBSD.org@localhost>
date:      Tue May 01 12:06:49 2001 +0000

description:
Pull up revision 1.9 (requested by kleink):
  Rename ElfNN_RelA to ElfNN_Rela, which is what SVR4 ABIs and the
  rest of the world uses.  Fixes PR#12274.

diffstat:

 libexec/ld.elf_so/arch/powerpc/ppc_reloc.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r f5d09b23a7ba -r 4a345a6740d8 libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
--- a/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c        Tue May 01 12:06:31 2001 +0000
+++ b/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c        Tue May 01 12:06:49 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ppc_reloc.c,v 1.8 1999/11/07 06:48:21 mycroft Exp $    */
+/*     $NetBSD: ppc_reloc.c,v 1.8.4.1 2001/05/01 12:06:49 he Exp $     */
 
 /*-
  * Copyright (C) 1998  Tsubai Masanari
@@ -42,7 +42,7 @@
 void _rtld_powerpc_pltcall __P((Elf_Word));
 void _rtld_powerpc_pltresolve __P((Elf_Word, Elf_Word));
 
-static Elf_Addr _rtld_bind_pltgot __P((Obj_Entry *, const Elf_RelA *));
+static Elf_Addr _rtld_bind_pltgot __P((Obj_Entry *, const Elf_Rela *));
 
 #define ha(x) ((((u_int32_t)(x) & 0x8000) ? \
                        ((u_int32_t)(x) + 0x10000) : (u_int32_t)(x)) >> 16)
@@ -57,7 +57,7 @@
        Elf_Word reloff;
 {
        Elf_Addr addr;
-       const Elf_RelA *rela;
+       const Elf_Rela *rela;
 
        if (reloff < 0 || reloff >= 0x8000) {
                dbg(("_rtld_bind_powerpc: broken reloff %x", reloff));
@@ -79,7 +79,7 @@
 int
 _rtld_reloc_powerpc_plt(
        Obj_Entry *obj,
-       const Elf_RelA *rela,
+       const Elf_Rela *rela,
        bool bind_now)
 {
        if (bind_now) {
@@ -110,7 +110,7 @@
 Elf_Addr
 _rtld_bind_pltgot(obj, rela)
        Obj_Entry *obj;
-       const Elf_RelA *rela;
+       const Elf_Rela *rela;
 {
        Elf_Word *where = (Elf_Word *)(obj->relocbase + rela->r_offset);
        const Elf_Sym *def;



Home | Main Index | Thread Index | Old Index