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 Pullup 1.33 [dan]:



details:   https://anonhg.NetBSD.org/src/rev/b72d64340b26
branches:  netbsd-1-5
changeset: 489741:b72d64340b26
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Oct 16 22:06:49 2000 +0000

description:
Pullup 1.33 [dan]:
format warning fixes from he, after testing on 64-bit elf (alpha)

diffstat:

 libexec/ld.elf_so/reloc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 30fca16fa327 -r b72d64340b26 libexec/ld.elf_so/reloc.c
--- a/libexec/ld.elf_so/reloc.c Mon Oct 16 22:02:17 2000 +0000
+++ b/libexec/ld.elf_so/reloc.c Mon Oct 16 22:06:49 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reloc.c,v 1.26.4.1 2000/07/26 23:45:22 mycroft Exp $    */
+/*     $NetBSD: reloc.c,v 1.26.4.2 2000/10/16 22:06:49 tv Exp $         */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -440,9 +440,9 @@
                    (void *)rela->r_offset, (void *)rela->r_addend,
                    (void *)*where,
                    def ? defobj->strtab + def->st_name : "??"));
-               _rtld_error("%s: Unsupported relocation type %d"
+               _rtld_error("%s: Unsupported relocation type %ld "
                    "in non-PLT relocations\n",
-                   obj->path, ELF_R_TYPE(rela->r_info));
+                   obj->path, (u_long) ELF_R_TYPE(rela->r_info));
                return -1;
        }
        return 0;



Home | Main Index | Thread Index | Old Index