Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Treat R_X86_64_PLT32 relocation as R_X8...
details: https://anonhg.NetBSD.org/src/rev/2d1e2566ed2c
branches: trunk
changeset: 446907:2d1e2566ed2c
user: christos <christos%NetBSD.org@localhost>
date: Mon Dec 24 21:48:52 2018 +0000
description:
Treat R_X86_64_PLT32 relocation as R_X86_64_PC32 for binutils-2.31
See: https://lore.kernel.org/patchwork/patch/892629/
diffstat:
sys/arch/amd64/amd64/kobj_machdep.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 288b905d2fa7 -r 2d1e2566ed2c sys/arch/amd64/amd64/kobj_machdep.c
--- a/sys/arch/amd64/amd64/kobj_machdep.c Mon Dec 24 21:42:05 2018 +0000
+++ b/sys/arch/amd64/amd64/kobj_machdep.c Mon Dec 24 21:48:52 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kobj_machdep.c,v 1.6 2017/11/03 09:59:08 maxv Exp $ */
+/* $NetBSD: kobj_machdep.c,v 1.7 2018/12/24 21:48:52 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -55,7 +55,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.6 2017/11/03 09:59:08 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.7 2018/12/24 21:48:52 christos Exp $");
#define ELFSIZE ARCH_ELFSIZE
@@ -119,6 +119,7 @@
break;
case R_X86_64_PC32: /* S + A - P */
+ case R_X86_64_PLT32:
error = kobj_sym_lookup(ko, symidx, &addr);
if (error)
return -1;
Home |
Main Index |
Thread Index |
Old Index