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/arch/i386 Shut gcc up.
details: https://anonhg.NetBSD.org/src/rev/fe62b2eac511
branches: trunk
changeset: 750772:fe62b2eac511
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jan 13 22:34:07 2010 +0000
description:
Shut gcc up.
diffstat:
libexec/ld.elf_so/arch/i386/mdreloc.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 46e4f5ed93b5 -r fe62b2eac511 libexec/ld.elf_so/arch/i386/mdreloc.c
--- a/libexec/ld.elf_so/arch/i386/mdreloc.c Wed Jan 13 20:18:24 2010 +0000
+++ b/libexec/ld.elf_so/arch/i386/mdreloc.c Wed Jan 13 22:34:07 2010 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: mdreloc.c,v 1.29 2010/01/13 20:17:22 christos Exp $ */
+/* $NetBSD: mdreloc.c,v 1.30 2010/01/13 22:34:07 skrll Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.29 2010/01/13 20:17:22 christos Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.30 2010/01/13 22:34:07 skrll Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -192,6 +192,8 @@
Elf_Addr new_value;
int err;
+ new_value = 0; /* XXX gcc */
+
err = _rtld_relocate_plt_object(obj, rel, &new_value);
if (err)
_rtld_die();
Home |
Main Index |
Thread Index |
Old Index