From cf9773f5c014b44b68753d35d5702a63bd233c35 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 6 Jun 2007 07:56:39 +0000 Subject: [PATCH] It is "data_start" not "data" - pointed out by Tom Spindler --- sys/lib/libsa/loadfile_ecoff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/lib/libsa/loadfile_ecoff.c b/sys/lib/libsa/loadfile_ecoff.c index c0802cae1d38..6fb6c5b3bfae 100644 --- a/sys/lib/libsa/loadfile_ecoff.c +++ b/sys/lib/libsa/loadfile_ecoff.c @@ -1,4 +1,4 @@ -/* $NetBSD: loadfile_ecoff.c,v 1.7 2007/06/05 08:48:50 martin Exp $ */ +/* $NetBSD: loadfile_ecoff.c,v 1.8 2007/06/06 07:56:39 martin Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -141,7 +141,7 @@ loadfile_coff(fd, coff, marks, flags) marks[MARK_NSYM] = 1; /* XXX: Kernel needs >= 0 */ marks[MARK_SYM] = LOADADDR(maxp); marks[MARK_END] = LOADADDR(maxp); - marks[MARK_DATA] = LOADADDR(coff->a.data); + marks[MARK_DATA] = LOADADDR(coff->a.data_start); return 0; }