Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Handle PIC linking for tests
details: https://anonhg.NetBSD.org/src/rev/3e0412fe0993
branches: trunk
changeset: 345502:3e0412fe0993
user: christos <christos%NetBSD.org@localhost>
date: Mon May 30 22:58:52 2016 +0000
description:
Handle PIC linking for tests
diffstat:
sys/arch/i386/i386/cpu_in_cksum.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 17e241f13812 -r 3e0412fe0993 sys/arch/i386/i386/cpu_in_cksum.S
--- a/sys/arch/i386/i386/cpu_in_cksum.S Mon May 30 22:02:41 2016 +0000
+++ b/sys/arch/i386/i386/cpu_in_cksum.S Mon May 30 22:58:52 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_in_cksum.S,v 1.4 2008/04/28 20:23:24 martin Exp $ */
+/* $NetBSD: cpu_in_cksum.S,v 1.5 2016/05/30 22:58:52 christos Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
*/
#include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.S,v 1.4 2008/04/28 20:23:24 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.S,v 1.5 2016/05/30 22:58:52 christos Exp $");
#include "assym.h"
@@ -330,7 +330,7 @@
.Lout_of_mbufs:
pushl $1f
- call _C_LABEL(printf)
+ call PIC_PLT(_C_LABEL(printf))
leal 4(%esp), %esp
jmp .Lreturn
1:
Home |
Main Index |
Thread Index |
Old Index