Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so Make ldd happy
details: https://anonhg.NetBSD.org/src/rev/8b029edbbaee
branches: trunk
changeset: 327409:8b029edbbaee
user: matt <matt%NetBSD.org@localhost>
date: Fri Mar 07 01:27:14 2014 +0000
description:
Make ldd happy
diffstat:
libexec/ld.elf_so/headers.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r feec054b849a -r 8b029edbbaee libexec/ld.elf_so/headers.c
--- a/libexec/ld.elf_so/headers.c Fri Mar 07 01:07:01 2014 +0000
+++ b/libexec/ld.elf_so/headers.c Fri Mar 07 01:27:14 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: headers.c,v 1.53 2014/03/06 19:19:40 matt Exp $ */
+/* $NetBSD: headers.c,v 1.54 2014/03/07 01:27:14 matt Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: headers.c,v 1.53 2014/03/06 19:19:40 matt Exp $");
+__RCSID("$NetBSD: headers.c,v 1.54 2014/03/07 01:27:14 matt Exp $");
#endif /* not lint */
#include <err.h>
@@ -300,7 +300,7 @@
#ifdef __powerpc__
#ifdef _LP64
case DT_PPC64_GLINK:
- obj->glink = (Elf_Addr)(obj->relocbase + dynp->d_un.d_ptr);
+ obj->glink = (Elf_Addr)(uintptr_t)obj->relocbase + dynp->d_un.d_ptr;
break;
#else
case DT_PPC_GOT:
Home |
Main Index |
Thread Index |
Old Index